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/tmpj2uhjp4w 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: rhel-8_setup.yml ***************************************************** 1 plays in /cache/rhel-8_setup.yml PLAY [Setup repos] ************************************************************* META: ran handlers TASK [set up internal repositories] ******************************************** task path: /cache/rhel-8_setup.yml:5 Thursday 21 July 2022 14:20:13 +0000 (0:00:00.017) 0:00:00.018 ********* changed: [/cache/rhel-8.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } changed: [/cache/rhel-8.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } changed: [/cache/rhel-8.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } changed: [/cache/rhel-8.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-8.qcow2 : ok=1 changed=1 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Thursday 21 July 2022 14:20:14 +0000 (0:00:01.419) 0:00:01.437 ********* =============================================================================== set up internal repositories -------------------------------------------- 1.42s /cache/rhel-8_setup.yml:5 ----------------------------------------------------- PLAYBOOK: tests_create_raid_pool_then_remove_scsi_generated.yml **************** 2 plays in /tmp/tmpw6dixrb5/tests/tests_create_raid_pool_then_remove_scsi_generated.yml PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpw6dixrb5/tests/tests_create_raid_pool_then_remove_scsi_generated.yml:3 Thursday 21 July 2022 14:20:14 +0000 (0:00:00.019) 0:00:01.456 ********* ok: [/cache/rhel-8.qcow2] META: ran handlers TASK [set disk interface for test] ********************************************* task path: /tmp/tmpw6dixrb5/tests/tests_create_raid_pool_then_remove_scsi_generated.yml:7 Thursday 21 July 2022 14:20:15 +0000 (0:00:01.239) 0:00:02.696 ********* ok: [/cache/rhel-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/tmpw6dixrb5/tests/tests_create_raid_pool_then_remove.yml:2 Thursday 21 July 2022 14:20:15 +0000 (0:00:00.047) 0:00:02.743 ********* ok: [/cache/rhel-8.qcow2] META: ran handlers TASK [include_role : linux-system-roles.storage] ******************************* task path: /tmp/tmpw6dixrb5/tests/tests_create_raid_pool_then_remove.yml:17 Thursday 21 July 2022 14:20:18 +0000 (0:00:02.205) 0:00:04.949 ********* TASK [linux-system-roles.storage : set platform/version specific variables] **** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Thursday 21 July 2022 14:20:18 +0000 (0:00:00.036) 0:00:04.985 ********* included: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/set_vars.yml for /cache/rhel-8.qcow2 TASK [linux-system-roles.storage : Ensure ansible_facts used by role] ********** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Thursday 21 July 2022 14:20:18 +0000 (0:00:00.030) 0:00:05.015 ********* ok: [/cache/rhel-8.qcow2] TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Thursday 21 July 2022 14:20:18 +0000 (0:00:00.722) 0:00:05.738 ********* skipping: [/cache/rhel-8.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/rhel-8.qcow2] => (item=RedHat_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/tmpw6dixrb5/tests/roles/linux-system-roles.storage/vars/RedHat_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.yml" } skipping: [/cache/rhel-8.qcow2] => (item=RedHat_8.6.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.6.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Thursday 21 July 2022 14:20:18 +0000 (0:00:00.054) 0:00:05.792 ********* ok: [/cache/rhel-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/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Thursday 21 July 2022 14:20:18 +0000 (0:00:00.028) 0:00:05.821 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : include the appropriate provider tasks] ***** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Thursday 21 July 2022 14:20:18 +0000 (0:00:00.053) 0:00:05.874 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml for /cache/rhel-8.qcow2 TASK [linux-system-roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 14:20:19 +0000 (0:00:00.045) 0:00:05.919 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure blivet is available] ************** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 14:20:19 +0000 (0:00:00.020) 0:00:05.939 ********* changed: [/cache/rhel-8.qcow2] => { "changed": true, "rc": 0, "results": [ "Installed: libblockdev-loop-2.24-8.el8.x86_64", "Installed: libblockdev-lvm-2.24-8.el8.x86_64", "Installed: device-mapper-event-8:1.02.181-3.el8.x86_64", "Installed: libblockdev-mdraid-2.24-8.el8.x86_64", "Installed: device-mapper-event-libs-8:1.02.181-3.el8.x86_64", "Installed: libblockdev-mpath-2.24-8.el8.x86_64", "Installed: device-mapper-multipath-0.8.4-22.el8.x86_64", "Installed: libblockdev-nvdimm-2.24-8.el8.x86_64", "Installed: device-mapper-multipath-libs-0.8.4-22.el8.x86_64", "Installed: libblockdev-part-2.24-8.el8.x86_64", "Installed: device-mapper-persistent-data-0.9.0-6.el8.x86_64", "Installed: libblockdev-swap-2.24-8.el8.x86_64", "Installed: libaio-0.3.112-1.el8.x86_64", "Installed: libblockdev-utils-2.24-8.el8.x86_64", "Installed: libbytesize-1.4-3.el8.x86_64", "Installed: python3-blivet-1:3.4.0-9.el8.noarch", "Installed: python3-blockdev-2.24-8.el8.x86_64", "Installed: python3-pyparted-1:3.11.7-4.el8.x86_64", "Installed: python3-bytesize-1.4-3.el8.x86_64", "Installed: blivet-data-1:3.4.0-9.el8.noarch", "Installed: lsof-4.93.2-1.el8.x86_64", "Installed: lvm2-8:2.03.14-3.el8.x86_64", "Installed: lvm2-libs-8:2.03.14-3.el8.x86_64", "Installed: volume_key-libs-0.3.11-5.el8.x86_64", "Installed: nspr-4.32.0-1.el8_4.x86_64", "Installed: nss-3.67.0-7.el8_5.x86_64", "Installed: mdadm-4.2-2.el8.x86_64", "Installed: nss-softokn-3.67.0-7.el8_5.x86_64", "Installed: nss-softokn-freebl-3.67.0-7.el8_5.x86_64", "Installed: nss-sysinit-3.67.0-7.el8_5.x86_64", "Installed: nss-util-3.67.0-7.el8_5.x86_64", "Installed: userspace-rcu-0.10.1-4.el8.x86_64", "Installed: vdo-6.2.6.14-14.el8.x86_64", "Installed: ndctl-71.1-3.el8.x86_64", "Installed: ndctl-libs-71.1-3.el8.x86_64", "Installed: daxctl-libs-71.1-3.el8.x86_64", "Installed: libblockdev-2.24-8.el8.x86_64", "Installed: kmod-kvdo-6.2.6.14-84.el8.x86_64", "Installed: libblockdev-crypto-2.24-8.el8.x86_64", "Installed: libblockdev-dm-2.24-8.el8.x86_64", "Installed: libblockdev-fs-2.24-8.el8.x86_64", "Installed: libblockdev-kbd-2.24-8.el8.x86_64" ] } TASK [linux-system-roles.storage : show storage_pools] ************************* task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:14 Thursday 21 July 2022 14:21:10 +0000 (0:00:51.670) 0:00:57.610 ********* ok: [/cache/rhel-8.qcow2] => { "storage_pools": "VARIABLE IS NOT DEFINED!: 'storage_pools' is undefined" } TASK [linux-system-roles.storage : show storage_volumes] *********************** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:19 Thursday 21 July 2022 14:21:10 +0000 (0:00:00.034) 0:00:57.645 ********* ok: [/cache/rhel-8.qcow2] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [linux-system-roles.storage : get required packages] ********************** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:24 Thursday 21 July 2022 14:21:10 +0000 (0:00:00.031) 0:00:57.677 ********* ok: [/cache/rhel-8.qcow2] => { "actions": [], "changed": false, "crypts": [], "leaves": [], "mounts": [], "packages": [], "pools": [], "volumes": [] } TASK [linux-system-roles.storage : enable copr repositories if needed] ********* task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:37 Thursday 21 July 2022 14:21:11 +0000 (0:00:00.735) 0:00:58.412 ********* included: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/enable_coprs.yml for /cache/rhel-8.qcow2 TASK [linux-system-roles.storage : check if the COPR support packages should be installed] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/enable_coprs.yml:2 Thursday 21 July 2022 14:21:11 +0000 (0:00:00.041) 0:00:58.453 ********* TASK [linux-system-roles.storage : make sure COPR support packages are present] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/enable_coprs.yml:13 Thursday 21 July 2022 14:21:11 +0000 (0:00:00.032) 0:00:58.486 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : enable COPRs] ******************************* task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/enable_coprs.yml:18 Thursday 21 July 2022 14:21:11 +0000 (0:00:00.040) 0:00:58.526 ********* TASK [linux-system-roles.storage : make sure required packages are installed] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:44 Thursday 21 July 2022 14:21:11 +0000 (0:00:00.036) 0:00:58.563 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.storage : get service facts] ************************** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 Thursday 21 July 2022 14:21:12 +0000 (0:00:01.272) 0:00:59.835 ********* ok: [/cache/rhel-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" }, "arp-ethers.service": { "name": "arp-ethers.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "auditd.service": { "name": "auditd.service", "source": "systemd", "state": "running", "status": "enabled" }, "auth-rpcgss-module.service": { "name": "auth-rpcgss-module.service", "source": "systemd", "state": "stopped", "status": "static" }, "autovt@.service": { "name": "autovt@.service", "source": "systemd", "state": "unknown", "status": "enabled" }, "blivet.service": { "name": "blivet.service", "source": "systemd", "state": "inactive", "status": "static" }, "blk-availability.service": { "name": "blk-availability.service", "source": "systemd", "state": "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" }, "dbxtool.service": { "name": "dbxtool.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "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" }, "insights-client-boot.service": { "name": "insights-client-boot.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "insights-client-results.service": { "name": "insights-client-results.service", "source": "systemd", "state": "inactive", "status": "static" }, "insights-client.service": { "name": "insights-client.service", "source": "systemd", "state": "inactive", "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" }, "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" }, "rhcd.service": { "name": "rhcd.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "rhsm-facts.service": { "name": "rhsm-facts.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "rhsm.service": { "name": "rhsm.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "rhsmcertd.service": { "name": "rhsmcertd.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-r22936d3a7fd04e02a3873c0318c6e686.service": { "name": "run-r22936d3a7fd04e02a3873c0318c6e686.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-fsck@dev-disk-by\\x2duuid-7B77\\x2d95E7.service": { "name": "systemd-fsck@dev-disk-by\\x2duuid-7B77\\x2d95E7.service", "source": "systemd", "state": "stopped", "status": "active" }, "systemd-halt.service": { "name": "systemd-halt.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-hibernate-resume@.service": { "name": "systemd-hibernate-resume@.service", "source": "systemd", "state": "unknown", "status": "static" }, "systemd-hibernate.service": { "name": "systemd-hibernate.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-hostnamed.service": { "name": "systemd-hostnamed.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-hwdb-update.service": { "name": "systemd-hwdb-update.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-hybrid-sleep.service": { "name": "systemd-hybrid-sleep.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-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": "stopped", "status": "static" }, "systemd-random-seed.service": { "name": "systemd-random-seed.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-reboot.service": { "name": "systemd-reboot.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-remount-fs.service": { "name": "systemd-remount-fs.service", "source": "systemd", "state": "stopped", "status": "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/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 14:21:14 +0000 (0:00:01.825) 0:01:01.660 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [linux-system-roles.storage : Mask the systemd cryptsetup services] ******* task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:71 Thursday 21 July 2022 14:21:14 +0000 (0:00:00.059) 0:01:01.720 ********* TASK [linux-system-roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Thursday 21 July 2022 14:21:14 +0000 (0:00:00.022) 0:01:01.742 ********* ok: [/cache/rhel-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/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:91 Thursday 21 July 2022 14:21:15 +0000 (0:00:00.580) 0:01:02.323 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Unmask the systemd cryptsetup services] ***** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:103 Thursday 21 July 2022 14:21:15 +0000 (0:00:00.038) 0:01:02.361 ********* TASK [linux-system-roles.storage : show blivet_output] ************************* task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:109 Thursday 21 July 2022 14:21:15 +0000 (0:00:00.024) 0:01:02.385 ********* ok: [/cache/rhel-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/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:114 Thursday 21 July 2022 14:21:15 +0000 (0:00:00.116) 0:01:02.502 ********* ok: [/cache/rhel-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/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:118 Thursday 21 July 2022 14:21:15 +0000 (0:00:00.035) 0:01:02.538 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : remove obsolete mounts] ********************* task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:134 Thursday 21 July 2022 14:21:15 +0000 (0:00:00.036) 0:01:02.575 ********* TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:146 Thursday 21 July 2022 14:21:15 +0000 (0:00:00.035) 0:01:02.610 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : set up new/current mounts] ****************** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:151 Thursday 21 July 2022 14:21:15 +0000 (0:00:00.025) 0:01:02.635 ********* TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:163 Thursday 21 July 2022 14:21:15 +0000 (0:00:00.034) 0:01:02.670 ********* skipping: [/cache/rhel-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/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:171 Thursday 21 July 2022 14:21:15 +0000 (0:00:00.023) 0:01:02.694 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:176 Thursday 21 July 2022 14:21:16 +0000 (0:00:00.462) 0:01:03.156 ********* TASK [linux-system-roles.storage : Update facts] ******************************* task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 Thursday 21 July 2022 14:21:16 +0000 (0:00:00.020) 0:01:03.177 ********* ok: [/cache/rhel-8.qcow2] META: role_complete for /cache/rhel-8.qcow2 TASK [Mark tasks to be skipped] ************************************************ task path: /tmp/tmpw6dixrb5/tests/tests_create_raid_pool_then_remove.yml:20 Thursday 21 July 2022 14:21:17 +0000 (0:00:00.920) 0:01:04.097 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_skip_checks": [ "blivet_available", "packages_installed", "service_facts" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpw6dixrb5/tests/tests_create_raid_pool_then_remove.yml:27 Thursday 21 July 2022 14:21:17 +0000 (0:00:00.033) 0:01:04.130 ********* included: /tmp/tmpw6dixrb5/tests/get_unused_disk.yml for /cache/rhel-8.qcow2 TASK [Find unused disks in the system] ***************************************** task path: /tmp/tmpw6dixrb5/tests/get_unused_disk.yml:2 Thursday 21 July 2022 14:21:17 +0000 (0:00:00.037) 0:01:04.168 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "disks": [ "sda", "sdb" ] } TASK [Set unused_disks if necessary] ******************************************* task path: /tmp/tmpw6dixrb5/tests/get_unused_disk.yml:9 Thursday 21 July 2022 14:21:17 +0000 (0:00:00.498) 0:01:04.667 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "unused_disks": [ "sda", "sdb" ] }, "changed": false } TASK [Exit playbook when there's not enough unused disks in the system] ******** task path: /tmp/tmpw6dixrb5/tests/get_unused_disk.yml:14 Thursday 21 July 2022 14:21:17 +0000 (0:00:00.038) 0:01:04.705 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Print unused disks] ****************************************************** task path: /tmp/tmpw6dixrb5/tests/get_unused_disk.yml:19 Thursday 21 July 2022 14:21:17 +0000 (0:00:00.040) 0:01:04.746 ********* ok: [/cache/rhel-8.qcow2] => { "unused_disks": [ "sda", "sdb" ] } TASK [Create a RAID0 device] *************************************************** task path: /tmp/tmpw6dixrb5/tests/tests_create_raid_pool_then_remove.yml:31 Thursday 21 July 2022 14:21:17 +0000 (0:00:00.033) 0:01:04.780 ********* TASK [linux-system-roles.storage : set platform/version specific variables] **** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Thursday 21 July 2022 14:21:17 +0000 (0:00:00.045) 0:01:04.826 ********* included: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/set_vars.yml for /cache/rhel-8.qcow2 TASK [linux-system-roles.storage : Ensure ansible_facts used by role] ********** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Thursday 21 July 2022 14:21:17 +0000 (0:00:00.034) 0:01:04.860 ********* ok: [/cache/rhel-8.qcow2] TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Thursday 21 July 2022 14:21:18 +0000 (0:00:00.529) 0:01:05.390 ********* skipping: [/cache/rhel-8.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/rhel-8.qcow2] => (item=RedHat_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/tmpw6dixrb5/tests/roles/linux-system-roles.storage/vars/RedHat_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.yml" } skipping: [/cache/rhel-8.qcow2] => (item=RedHat_8.6.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.6.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Thursday 21 July 2022 14:21:18 +0000 (0:00:00.089) 0:01:05.479 ********* ok: [/cache/rhel-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/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Thursday 21 July 2022 14:21:18 +0000 (0:00:00.086) 0:01:05.565 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : include the appropriate provider tasks] ***** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Thursday 21 July 2022 14:21:18 +0000 (0:00:00.032) 0:01:05.598 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml for /cache/rhel-8.qcow2 TASK [linux-system-roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 14:21:18 +0000 (0:00:00.045) 0:01:05.643 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure blivet is available] ************** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 14:21:18 +0000 (0:00:00.020) 0:01:05.663 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : show storage_pools] ************************* task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:14 Thursday 21 July 2022 14:21:18 +0000 (0:00:00.027) 0:01:05.691 ********* ok: [/cache/rhel-8.qcow2] => { "storage_pools": [ { "disks": [ "sda", "sdb" ], "name": "vg1", "raid_level": "raid0", "state": "present", "type": "lvm", "volumes": [ { "mount_point": "/opt/test1", "name": "lv1", "size": "2g" }, { "mount_point": "/opt/test2", "name": "lv2", "size": "3g" }, { "mount_point": "/opt/test3", "name": "lv3", "size": "3g" } ] } ] } TASK [linux-system-roles.storage : show storage_volumes] *********************** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:19 Thursday 21 July 2022 14:21:18 +0000 (0:00:00.039) 0:01:05.730 ********* ok: [/cache/rhel-8.qcow2] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [linux-system-roles.storage : get required packages] ********************** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:24 Thursday 21 July 2022 14:21:18 +0000 (0:00:00.036) 0:01:05.767 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : enable copr repositories if needed] ********* task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:37 Thursday 21 July 2022 14:21:18 +0000 (0:00:00.027) 0:01:05.794 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure required packages are installed] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:44 Thursday 21 July 2022 14:21:18 +0000 (0:00:00.029) 0:01:05.824 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : get service facts] ************************** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 Thursday 21 July 2022 14:21:18 +0000 (0:00:00.029) 0:01:05.854 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set storage_cryptsetup_services] ************ task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 14:21:18 +0000 (0:00:00.029) 0:01:05.883 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [linux-system-roles.storage : Mask the systemd cryptsetup services] ******* task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:71 Thursday 21 July 2022 14:21:19 +0000 (0:00:00.055) 0:01:05.939 ********* TASK [linux-system-roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Thursday 21 July 2022 14:21:19 +0000 (0:00:00.020) 0:01:05.960 ********* changed: [/cache/rhel-8.qcow2] => { "actions": [ { "action": "create format", "device": "/dev/sdb", "fs_type": "disklabel" }, { "action": "create device", "device": "/dev/sdb1", "fs_type": null }, { "action": "create format", "device": "/dev/sdb1", "fs_type": "mdmember" }, { "action": "create format", "device": "/dev/sda", "fs_type": "disklabel" }, { "action": "create device", "device": "/dev/sda1", "fs_type": null }, { "action": "create format", "device": "/dev/sda1", "fs_type": "mdmember" }, { "action": "create device", "device": "/dev/md/vg1-1", "fs_type": null }, { "action": "create format", "device": "/dev/md/vg1-1", "fs_type": "lvmpv" }, { "action": "create device", "device": "/dev/vg1", "fs_type": null }, { "action": "create device", "device": "/dev/mapper/vg1-lv3", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/vg1-lv3", "fs_type": "xfs" }, { "action": "create device", "device": "/dev/mapper/vg1-lv2", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/vg1-lv2", "fs_type": "xfs" }, { "action": "create device", "device": "/dev/mapper/vg1-lv1", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/vg1-lv1", "fs_type": "xfs" } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb", "/dev/vdc", "/dev/vdd", "/dev/mapper/vg1-lv1", "/dev/mapper/vg1-lv2", "/dev/mapper/vg1-lv3" ], "mounts": [ { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/vg1-lv1", "state": "mounted" }, { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test2", "src": "/dev/mapper/vg1-lv2", "state": "mounted" }, { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test3", "src": "/dev/mapper/vg1-lv3", "state": "mounted" } ], "packages": [ "mdadm", "xfsprogs", "dosfstools", "lvm2" ], "pools": [ { "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": "raid0", "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_kernel_device": "/dev/dm-2", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "_raw_kernel_device": "/dev/dm-2", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "/dev/mapper/vg1-lv2", "_kernel_device": "/dev/dm-1", "_mount_id": "/dev/mapper/vg1-lv2", "_raw_device": "/dev/mapper/vg1-lv2", "_raw_kernel_device": "/dev/dm-1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "lv2", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "/dev/mapper/vg1-lv3", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/vg1-lv3", "_raw_device": "/dev/mapper/vg1-lv3", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test3", "name": "lv3", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } TASK [linux-system-roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:91 Thursday 21 July 2022 14:21:27 +0000 (0:00:08.353) 0:01:14.313 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Unmask the systemd cryptsetup services] ***** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:103 Thursday 21 July 2022 14:21:27 +0000 (0:00:00.042) 0:01:14.355 ********* TASK [linux-system-roles.storage : show blivet_output] ************************* task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:109 Thursday 21 July 2022 14:21:27 +0000 (0:00:00.023) 0:01:14.378 ********* ok: [/cache/rhel-8.qcow2] => { "blivet_output": { "actions": [ { "action": "create format", "device": "/dev/sdb", "fs_type": "disklabel" }, { "action": "create device", "device": "/dev/sdb1", "fs_type": null }, { "action": "create format", "device": "/dev/sdb1", "fs_type": "mdmember" }, { "action": "create format", "device": "/dev/sda", "fs_type": "disklabel" }, { "action": "create device", "device": "/dev/sda1", "fs_type": null }, { "action": "create format", "device": "/dev/sda1", "fs_type": "mdmember" }, { "action": "create device", "device": "/dev/md/vg1-1", "fs_type": null }, { "action": "create format", "device": "/dev/md/vg1-1", "fs_type": "lvmpv" }, { "action": "create device", "device": "/dev/vg1", "fs_type": null }, { "action": "create device", "device": "/dev/mapper/vg1-lv3", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/vg1-lv3", "fs_type": "xfs" }, { "action": "create device", "device": "/dev/mapper/vg1-lv2", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/vg1-lv2", "fs_type": "xfs" }, { "action": "create device", "device": "/dev/mapper/vg1-lv1", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/vg1-lv1", "fs_type": "xfs" } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb", "/dev/vdc", "/dev/vdd", "/dev/mapper/vg1-lv1", "/dev/mapper/vg1-lv2", "/dev/mapper/vg1-lv3" ], "mounts": [ { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/vg1-lv1", "state": "mounted" }, { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test2", "src": "/dev/mapper/vg1-lv2", "state": "mounted" }, { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test3", "src": "/dev/mapper/vg1-lv3", "state": "mounted" } ], "packages": [ "mdadm", "xfsprogs", "dosfstools", "lvm2" ], "pools": [ { "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": "raid0", "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_kernel_device": "/dev/dm-2", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "_raw_kernel_device": "/dev/dm-2", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "/dev/mapper/vg1-lv2", "_kernel_device": "/dev/dm-1", "_mount_id": "/dev/mapper/vg1-lv2", "_raw_device": "/dev/mapper/vg1-lv2", "_raw_kernel_device": "/dev/dm-1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "lv2", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "/dev/mapper/vg1-lv3", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/vg1-lv3", "_raw_device": "/dev/mapper/vg1-lv3", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test3", "name": "lv3", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } } TASK [linux-system-roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:114 Thursday 21 July 2022 14:21:27 +0000 (0:00:00.081) 0:01:14.460 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": "raid0", "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_kernel_device": "/dev/dm-2", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "_raw_kernel_device": "/dev/dm-2", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "/dev/mapper/vg1-lv2", "_kernel_device": "/dev/dm-1", "_mount_id": "/dev/mapper/vg1-lv2", "_raw_device": "/dev/mapper/vg1-lv2", "_raw_kernel_device": "/dev/dm-1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "lv2", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "/dev/mapper/vg1-lv3", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/vg1-lv3", "_raw_device": "/dev/mapper/vg1-lv3", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test3", "name": "lv3", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] }, "changed": false } TASK [linux-system-roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:118 Thursday 21 July 2022 14:21:27 +0000 (0:00:00.041) 0:01:14.501 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : remove obsolete mounts] ********************* task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:134 Thursday 21 July 2022 14:21:27 +0000 (0:00:00.035) 0:01:14.537 ********* TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:146 Thursday 21 July 2022 14:21:27 +0000 (0:00:00.035) 0:01:14.573 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : set up new/current mounts] ****************** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:151 Thursday 21 July 2022 14:21:28 +0000 (0:00:00.899) 0:01:15.472 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/rhel-8.qcow2] => (item={'src': '/dev/mapper/vg1-lv1', 'path': '/opt/test1', 'fstype': 'xfs', 'opts': 'defaults', 'dump': 0, 'passno': 0, 'state': 'mounted'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "xfs", "mount_info": { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/vg1-lv1", "state": "mounted" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "/dev/mapper/vg1-lv1" } redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/rhel-8.qcow2] => (item={'src': '/dev/mapper/vg1-lv2', 'path': '/opt/test2', 'fstype': 'xfs', 'opts': 'defaults', 'dump': 0, 'passno': 0, 'state': 'mounted'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "xfs", "mount_info": { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test2", "src": "/dev/mapper/vg1-lv2", "state": "mounted" }, "name": "/opt/test2", "opts": "defaults", "passno": "0", "src": "/dev/mapper/vg1-lv2" } redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/rhel-8.qcow2] => (item={'src': '/dev/mapper/vg1-lv3', 'path': '/opt/test3', 'fstype': 'xfs', 'opts': 'defaults', 'dump': 0, 'passno': 0, 'state': 'mounted'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "xfs", "mount_info": { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test3", "src": "/dev/mapper/vg1-lv3", "state": "mounted" }, "name": "/opt/test3", "opts": "defaults", "passno": "0", "src": "/dev/mapper/vg1-lv3" } TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:163 Thursday 21 July 2022 14:21:29 +0000 (0:00:01.328) 0:01:16.801 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:171 Thursday 21 July 2022 14:21:30 +0000 (0:00:00.608) 0:01:17.409 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:176 Thursday 21 July 2022 14:21:30 +0000 (0:00:00.358) 0:01:17.767 ********* TASK [linux-system-roles.storage : Update facts] ******************************* task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 Thursday 21 July 2022 14:21:30 +0000 (0:00:00.023) 0:01:17.791 ********* ok: [/cache/rhel-8.qcow2] META: role_complete for /cache/rhel-8.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmpw6dixrb5/tests/tests_create_raid_pool_then_remove.yml:52 Thursday 21 July 2022 14:21:31 +0000 (0:00:00.978) 0:01:18.769 ********* included: /tmp/tmpw6dixrb5/tests/verify-role-results.yml for /cache/rhel-8.qcow2 TASK [Print out pool information] ********************************************** task path: /tmp/tmpw6dixrb5/tests/verify-role-results.yml:1 Thursday 21 July 2022 14:21:31 +0000 (0:00:00.043) 0:01:18.813 ********* ok: [/cache/rhel-8.qcow2] => { "_storage_pools_list": [ { "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": "raid0", "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_kernel_device": "/dev/dm-2", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "_raw_kernel_device": "/dev/dm-2", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "/dev/mapper/vg1-lv2", "_kernel_device": "/dev/dm-1", "_mount_id": "/dev/mapper/vg1-lv2", "_raw_device": "/dev/mapper/vg1-lv2", "_raw_kernel_device": "/dev/dm-1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "lv2", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "/dev/mapper/vg1-lv3", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/vg1-lv3", "_raw_device": "/dev/mapper/vg1-lv3", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test3", "name": "lv3", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] } TASK [Print out volume information] ******************************************** task path: /tmp/tmpw6dixrb5/tests/verify-role-results.yml:6 Thursday 21 July 2022 14:21:31 +0000 (0:00:00.059) 0:01:18.872 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpw6dixrb5/tests/verify-role-results.yml:14 Thursday 21 July 2022 14:21:32 +0000 (0:00:00.038) 0:01:18.910 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "info": { "/dev/mapper/vg1-lv1": { "fstype": "xfs", "label": "", "name": "/dev/mapper/vg1-lv1", "size": "2G", "type": "lvm", "uuid": "3e9a1e28-d8d0-4d3d-bee6-c059157774d9" }, "/dev/mapper/vg1-lv2": { "fstype": "xfs", "label": "", "name": "/dev/mapper/vg1-lv2", "size": "3G", "type": "lvm", "uuid": "eca802b2-0423-4809-96ab-843e00b2bb9b" }, "/dev/mapper/vg1-lv3": { "fstype": "xfs", "label": "", "name": "/dev/mapper/vg1-lv3", "size": "3G", "type": "lvm", "uuid": "73bec7a7-26db-4de9-9695-08cadc04cc65" }, "/dev/md/vg1-1": { "fstype": "LVM2_member", "label": "", "name": "/dev/md/vg1-1", "size": "20G", "type": "raid0", "uuid": "auFEwL-w4Zv-dNah-fe5W-fWoC-nBnd-KgMn3r" }, "/dev/nvme0n1": { "fstype": "", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme1n1": { "fstype": "", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme2n1": { "fstype": "", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda": { "fstype": "", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda1": { "fstype": "linux_raid_member", "label": "vg1-1", "name": "/dev/sda1", "size": "10G", "type": "partition", "uuid": "3b3c90b6-96ab-dfca-3c4f-3053f60e9fe5" }, "/dev/sdb": { "fstype": "", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdb1": { "fstype": "linux_raid_member", "label": "vg1-1", "name": "/dev/sdb1", "size": "10G", "type": "partition", "uuid": "3b3c90b6-96ab-dfca-3c4f-3053f60e9fe5" }, "/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-14-20-00-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "", "label": "", "name": "/dev/vda1", "size": "1M", "type": "partition", "uuid": "" }, "/dev/vda2": { "fstype": "vfat", "label": "", "name": "/dev/vda2", "size": "100M", "type": "partition", "uuid": "7B77-95E7" }, "/dev/vda3": { "fstype": "xfs", "label": "root", "name": "/dev/vda3", "size": "9.9G", "type": "partition", "uuid": "853ae189-b3fe-4a45-8485-75bbb1421bbe" }, "/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/tmpw6dixrb5/tests/verify-role-results.yml:19 Thursday 21 July 2022 14:21:32 +0000 (0:00:00.518) 0:01:19.429 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.002366", "end": "2022-07-21 10:21:32.566765", "rc": 0, "start": "2022-07-21 10:21:32.564399" } STDOUT: UUID=853ae189-b3fe-4a45-8485-75bbb1421bbe / xfs defaults 0 0 UUID=7B77-95E7 /boot/efi vfat defaults,uid=0,gid=0,umask=077,shortname=winnt 0 2 /dev/mapper/vg1-lv1 /opt/test1 xfs defaults 0 0 /dev/mapper/vg1-lv2 /opt/test2 xfs defaults 0 0 /dev/mapper/vg1-lv3 /opt/test3 xfs defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpw6dixrb5/tests/verify-role-results.yml:24 Thursday 21 July 2022 14:21:33 +0000 (0:00:00.489) 0:01:19.918 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.002313", "end": "2022-07-21 10:21:32.934173", "failed_when_result": false, "rc": 1, "start": "2022-07-21 10:21:32.931860" } STDERR: cat: /etc/crypttab: No such file or directory MSG: non-zero return code TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmpw6dixrb5/tests/verify-role-results.yml:33 Thursday 21 July 2022 14:21:33 +0000 (0:00:00.367) 0:01:20.286 ********* included: /tmp/tmpw6dixrb5/tests/test-verify-pool.yml for /cache/rhel-8.qcow2 => (item={'disks': ['sda', 'sdb'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'name': 'vg1', 'raid_level': 'raid0', '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': 'lv1', 'raid_level': None, 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1', '_kernel_device': '/dev/dm-2', '_raw_kernel_device': '/dev/dm-2'}, {'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test2', 'name': 'lv2', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv2', '_raw_device': '/dev/mapper/vg1-lv2', '_mount_id': '/dev/mapper/vg1-lv2', '_kernel_device': '/dev/dm-1', '_raw_kernel_device': '/dev/dm-1'}, {'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test3', 'name': 'lv3', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv3', '_raw_device': '/dev/mapper/vg1-lv3', '_mount_id': '/dev/mapper/vg1-lv3', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}], 'raid_chunk_size': None}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-pool.yml:5 Thursday 21 July 2022 14:21:33 +0000 (0:00:00.091) 0:01:20.377 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool.yml:18 Thursday 21 July 2022 14:21:33 +0000 (0:00:00.035) 0:01:20.413 ********* included: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml for /cache/rhel-8.qcow2 => (item=members) included: /tmp/tmpw6dixrb5/tests/test-verify-pool-volumes.yml for /cache/rhel-8.qcow2 => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:1 Thursday 21 July 2022 14:21:33 +0000 (0:00:00.048) 0:01:20.462 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_count": "1", "_storage_test_pool_pvs_lvm": [ "/dev/md127" ] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:10 Thursday 21 July 2022 14:21:33 +0000 (0:00:00.056) 0:01:20.519 ********* ok: [/cache/rhel-8.qcow2] => (item=/dev/md127) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/md/vg1-1", "pv": "/dev/md127" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:19 Thursday 21 July 2022 14:21:34 +0000 (0:00:00.472) 0:01:20.991 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "__pvs_lvm_len": "1" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:23 Thursday 21 July 2022 14:21:34 +0000 (0:00:00.049) 0:01:21.040 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/md/vg1-1" ] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:27 Thursday 21 July 2022 14:21:34 +0000 (0:00:00.051) 0:01:21.092 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:34 Thursday 21 July 2022 14:21:34 +0000 (0:00:00.062) 0:01:21.155 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:38 Thursday 21 July 2022 14:21:34 +0000 (0:00:00.042) 0:01:21.198 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_type": "partition" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:42 Thursday 21 July 2022 14:21:34 +0000 (0:00:00.053) 0:01:21.252 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_type": "raid0" }, "changed": false } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:46 Thursday 21 July 2022 14:21:34 +0000 (0:00:00.041) 0:01:21.293 ********* ok: [/cache/rhel-8.qcow2] => (item=/dev/md/vg1-1) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/md/vg1-1" } MSG: All assertions passed TASK [Check MD RAID] *********************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:56 Thursday 21 July 2022 14:21:34 +0000 (0:00:00.043) 0:01:21.336 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml for /cache/rhel-8.qcow2 TASK [get information about RAID] ********************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:6 Thursday 21 July 2022 14:21:34 +0000 (0:00:00.045) 0:01:21.381 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "mdadm", "--detail", "/dev/md/vg1-1" ], "delta": "0:00:00.006958", "end": "2022-07-21 10:21:34.409463", "rc": 0, "start": "2022-07-21 10:21:34.402505" } STDOUT: /dev/md/vg1-1: Version : 1.2 Creation Time : Thu Jul 21 10:21:20 2022 Raid Level : raid0 Array Size : 20951040 (19.98 GiB 21.45 GB) Raid Devices : 2 Total Devices : 2 Persistence : Superblock is persistent Update Time : Thu Jul 21 10:21:20 2022 State : clean Active Devices : 2 Working Devices : 2 Failed Devices : 0 Spare Devices : 0 Layout : -unknown- Chunk Size : 512K Consistency Policy : none Name : vg1-1 UUID : 3b3c90b6:96abdfca:3c4f3053:f60e9fe5 Events : 0 Number Major Minor RaidDevice State 0 8 1 0 active sync /dev/sda1 1 8 17 1 active sync /dev/sdb1 TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:12 Thursday 21 July 2022 14:21:34 +0000 (0:00:00.381) 0:01:21.763 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_md_active_devices_re": "Active\\ Devices\\ :\\ None\\\n" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:16 Thursday 21 July 2022 14:21:34 +0000 (0:00:00.058) 0:01:21.821 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_md_spare_devices_re": "Spare\\ Devices\\ :\\ None\\\n" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:20 Thursday 21 July 2022 14:21:34 +0000 (0:00:00.056) 0:01:21.877 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_md_metadata_version_re": "Version\\ :\\ None\\\n" }, "changed": false } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:24 Thursday 21 July 2022 14:21:35 +0000 (0:00:00.060) 0:01:21.938 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:30 Thursday 21 July 2022 14:21:35 +0000 (0:00:00.031) 0:01:21.970 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:36 Thursday 21 July 2022 14:21:35 +0000 (0:00:00.030) 0:01:22.000 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:44 Thursday 21 July 2022 14:21:35 +0000 (0:00:00.030) 0:01:22.030 ********* ok: [/cache/rhel-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/tmpw6dixrb5/tests/test-verify-pool-members.yml:59 Thursday 21 July 2022 14:21:35 +0000 (0:00:00.037) 0:01:22.068 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-members-lvmraid.yml for /cache/rhel-8.qcow2 TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-members-lvmraid.yml:1 Thursday 21 July 2022 14:21:35 +0000 (0:00:00.045) 0:01:22.113 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-member-lvmraid.yml for /cache/rhel-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': 'lv1', 'raid_level': None, 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1', '_kernel_device': '/dev/dm-2', '_raw_kernel_device': '/dev/dm-2'}) included: /tmp/tmpw6dixrb5/tests/verify-pool-member-lvmraid.yml for /cache/rhel-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': 'lv2', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv2', '_raw_device': '/dev/mapper/vg1-lv2', '_mount_id': '/dev/mapper/vg1-lv2', '_kernel_device': '/dev/dm-1', '_raw_kernel_device': '/dev/dm-1'}) included: /tmp/tmpw6dixrb5/tests/verify-pool-member-lvmraid.yml for /cache/rhel-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/test3', 'name': 'lv3', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv3', '_raw_device': '/dev/mapper/vg1-lv3', '_mount_id': '/dev/mapper/vg1-lv3', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-lvmraid.yml:3 Thursday 21 July 2022 14:21:35 +0000 (0:00:00.057) 0:01:22.171 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-lvmraid.yml:8 Thursday 21 July 2022 14:21:35 +0000 (0:00:00.027) 0:01:22.199 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-lvmraid.yml:12 Thursday 21 July 2022 14:21:35 +0000 (0:00:00.027) 0:01:22.226 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-lvmraid.yml:3 Thursday 21 July 2022 14:21:35 +0000 (0:00:00.060) 0:01:22.287 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-lvmraid.yml:8 Thursday 21 July 2022 14:21:35 +0000 (0:00:00.028) 0:01:22.315 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-lvmraid.yml:12 Thursday 21 July 2022 14:21:35 +0000 (0:00:00.028) 0:01:22.344 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-lvmraid.yml:3 Thursday 21 July 2022 14:21:35 +0000 (0:00:00.027) 0:01:22.372 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-lvmraid.yml:8 Thursday 21 July 2022 14:21:35 +0000 (0:00:00.028) 0:01:22.400 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-lvmraid.yml:12 Thursday 21 July 2022 14:21:35 +0000 (0:00:00.027) 0:01:22.428 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:62 Thursday 21 July 2022 14:21:35 +0000 (0:00:00.028) 0:01:22.456 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-members-thin.yml for /cache/rhel-8.qcow2 TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-members-thin.yml:1 Thursday 21 July 2022 14:21:35 +0000 (0:00:00.045) 0:01:22.502 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-member-thin.yml for /cache/rhel-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': 'lv1', 'raid_level': None, 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1', '_kernel_device': '/dev/dm-2', '_raw_kernel_device': '/dev/dm-2'}) included: /tmp/tmpw6dixrb5/tests/verify-pool-member-thin.yml for /cache/rhel-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': 'lv2', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv2', '_raw_device': '/dev/mapper/vg1-lv2', '_mount_id': '/dev/mapper/vg1-lv2', '_kernel_device': '/dev/dm-1', '_raw_kernel_device': '/dev/dm-1'}) included: /tmp/tmpw6dixrb5/tests/verify-pool-member-thin.yml for /cache/rhel-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/test3', 'name': 'lv3', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv3', '_raw_device': '/dev/mapper/vg1-lv3', '_mount_id': '/dev/mapper/vg1-lv3', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [Get information about thinpool] ****************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-thin.yml:3 Thursday 21 July 2022 14:21:35 +0000 (0:00:00.058) 0:01:22.561 ********* skipping: [/cache/rhel-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/tmpw6dixrb5/tests/verify-pool-member-thin.yml:8 Thursday 21 July 2022 14:21:35 +0000 (0:00:00.024) 0:01:22.585 ********* skipping: [/cache/rhel-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/tmpw6dixrb5/tests/verify-pool-member-thin.yml:13 Thursday 21 July 2022 14:21:35 +0000 (0:00:00.026) 0:01:22.612 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-thin.yml:17 Thursday 21 July 2022 14:21:35 +0000 (0:00:00.024) 0:01:22.637 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about thinpool] ****************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-thin.yml:3 Thursday 21 July 2022 14:21:35 +0000 (0:00:00.024) 0:01:22.661 ********* skipping: [/cache/rhel-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/tmpw6dixrb5/tests/verify-pool-member-thin.yml:8 Thursday 21 July 2022 14:21:35 +0000 (0:00:00.024) 0:01:22.686 ********* skipping: [/cache/rhel-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/tmpw6dixrb5/tests/verify-pool-member-thin.yml:13 Thursday 21 July 2022 14:21:35 +0000 (0:00:00.023) 0:01:22.709 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-thin.yml:17 Thursday 21 July 2022 14:21:35 +0000 (0:00:00.023) 0:01:22.733 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about thinpool] ****************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-thin.yml:3 Thursday 21 July 2022 14:21:35 +0000 (0:00:00.023) 0:01:22.757 ********* skipping: [/cache/rhel-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/tmpw6dixrb5/tests/verify-pool-member-thin.yml:8 Thursday 21 July 2022 14:21:35 +0000 (0:00:00.027) 0:01:22.784 ********* skipping: [/cache/rhel-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/tmpw6dixrb5/tests/verify-pool-member-thin.yml:13 Thursday 21 July 2022 14:21:35 +0000 (0:00:00.024) 0:01:22.809 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-thin.yml:17 Thursday 21 July 2022 14:21:35 +0000 (0:00:00.023) 0:01:22.832 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:65 Thursday 21 July 2022 14:21:35 +0000 (0:00:00.023) 0:01:22.856 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-members-encryption.yml for /cache/rhel-8.qcow2 TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-members-encryption.yml:4 Thursday 21 July 2022 14:21:36 +0000 (0:00:00.047) 0:01:22.903 ********* ok: [/cache/rhel-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/tmpw6dixrb5/tests/verify-pool-members-encryption.yml:8 Thursday 21 July 2022 14:21:36 +0000 (0:00:00.049) 0:01:22.953 ********* skipping: [/cache/rhel-8.qcow2] => (item=/dev/md/vg1-1) => { "_storage_test_pool_member_path": "/dev/md/vg1-1", "ansible_loop_var": "_storage_test_pool_member_path", "changed": false, "skip_reason": "Conditional result was False" } TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-members-encryption.yml:15 Thursday 21 July 2022 14:21:36 +0000 (0:00:00.028) 0:01:22.981 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-member-crypttab.yml for /cache/rhel-8.qcow2 => (item=/dev/md/vg1-1) TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-crypttab.yml:1 Thursday 21 July 2022 14:21:36 +0000 (0:00:00.043) 0:01:23.025 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": [] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-crypttab.yml:6 Thursday 21 July 2022 14:21:36 +0000 (0:00:00.048) 0:01:23.073 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-crypttab.yml:11 Thursday 21 July 2022 14:21:36 +0000 (0:00:00.049) 0:01:23.123 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-crypttab.yml:17 Thursday 21 July 2022 14:21:36 +0000 (0:00:00.036) 0:01:23.160 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-crypttab.yml:23 Thursday 21 July 2022 14:21:36 +0000 (0:00:00.044) 0:01:23.205 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-crypttab.yml:29 Thursday 21 July 2022 14:21:36 +0000 (0:00:00.048) 0:01:23.253 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-members-encryption.yml:22 Thursday 21 July 2022 14:21:36 +0000 (0:00:00.035) 0:01:23.289 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:68 Thursday 21 July 2022 14:21:36 +0000 (0:00:00.035) 0:01:23.324 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-members-vdo.yml for /cache/rhel-8.qcow2 TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-members-vdo.yml:1 Thursday 21 July 2022 14:21:36 +0000 (0:00:00.048) 0:01:23.373 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml for /cache/rhel-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': 'lv1', 'raid_level': None, 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1', '_kernel_device': '/dev/dm-2', '_raw_kernel_device': '/dev/dm-2'}) included: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml for /cache/rhel-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': 'lv2', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv2', '_raw_device': '/dev/mapper/vg1-lv2', '_mount_id': '/dev/mapper/vg1-lv2', '_kernel_device': '/dev/dm-1', '_raw_kernel_device': '/dev/dm-1'}) included: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml for /cache/rhel-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/test3', 'name': 'lv3', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv3', '_raw_device': '/dev/mapper/vg1-lv3', '_mount_id': '/dev/mapper/vg1-lv3', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:3 Thursday 21 July 2022 14:21:36 +0000 (0:00:00.058) 0:01:23.431 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:8 Thursday 21 July 2022 14:21:36 +0000 (0:00:00.058) 0:01:23.489 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:11 Thursday 21 July 2022 14:21:36 +0000 (0:00:00.027) 0:01:23.517 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:16 Thursday 21 July 2022 14:21:36 +0000 (0:00:00.024) 0:01:23.542 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:21 Thursday 21 July 2022 14:21:36 +0000 (0:00:00.029) 0:01:23.571 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:24 Thursday 21 July 2022 14:21:36 +0000 (0:00:00.027) 0:01:23.598 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:29 Thursday 21 July 2022 14:21:36 +0000 (0:00:00.024) 0:01:23.623 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:39 Thursday 21 July 2022 14:21:36 +0000 (0:00:00.024) 0:01:23.648 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:3 Thursday 21 July 2022 14:21:36 +0000 (0:00:00.039) 0:01:23.687 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:8 Thursday 21 July 2022 14:21:36 +0000 (0:00:00.024) 0:01:23.712 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:11 Thursday 21 July 2022 14:21:36 +0000 (0:00:00.022) 0:01:23.735 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:16 Thursday 21 July 2022 14:21:36 +0000 (0:00:00.024) 0:01:23.759 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:21 Thursday 21 July 2022 14:21:36 +0000 (0:00:00.023) 0:01:23.782 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:24 Thursday 21 July 2022 14:21:36 +0000 (0:00:00.027) 0:01:23.810 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:29 Thursday 21 July 2022 14:21:36 +0000 (0:00:00.025) 0:01:23.835 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:39 Thursday 21 July 2022 14:21:36 +0000 (0:00:00.029) 0:01:23.865 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:3 Thursday 21 July 2022 14:21:37 +0000 (0:00:00.039) 0:01:23.904 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:8 Thursday 21 July 2022 14:21:37 +0000 (0:00:00.027) 0:01:23.931 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:11 Thursday 21 July 2022 14:21:37 +0000 (0:00:00.026) 0:01:23.957 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:16 Thursday 21 July 2022 14:21:37 +0000 (0:00:00.024) 0:01:23.982 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:21 Thursday 21 July 2022 14:21:37 +0000 (0:00:00.024) 0:01:24.007 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:24 Thursday 21 July 2022 14:21:37 +0000 (0:00:00.025) 0:01:24.033 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:29 Thursday 21 July 2022 14:21:37 +0000 (0:00:00.024) 0:01:24.057 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:39 Thursday 21 July 2022 14:21:37 +0000 (0:00:00.024) 0:01:24.082 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:71 Thursday 21 July 2022 14:21:37 +0000 (0:00:00.037) 0:01:24.119 ********* ok: [/cache/rhel-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/tmpw6dixrb5/tests/test-verify-pool-volumes.yml:3 Thursday 21 July 2022 14:21:37 +0000 (0:00:00.036) 0:01:24.156 ********* included: /tmp/tmpw6dixrb5/tests/test-verify-volume.yml for /cache/rhel-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': 'lv1', 'raid_level': None, 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1', '_kernel_device': '/dev/dm-2', '_raw_kernel_device': '/dev/dm-2'}) included: /tmp/tmpw6dixrb5/tests/test-verify-volume.yml for /cache/rhel-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': 'lv2', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv2', '_raw_device': '/dev/mapper/vg1-lv2', '_mount_id': '/dev/mapper/vg1-lv2', '_kernel_device': '/dev/dm-1', '_raw_kernel_device': '/dev/dm-1'}) included: /tmp/tmpw6dixrb5/tests/test-verify-volume.yml for /cache/rhel-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/test3', 'name': 'lv3', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv3', '_raw_device': '/dev/mapper/vg1-lv3', '_mount_id': '/dev/mapper/vg1-lv3', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume.yml:2 Thursday 21 July 2022 14:21:37 +0000 (0:00:00.051) 0:01:24.207 ********* ok: [/cache/rhel-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/tmpw6dixrb5/tests/test-verify-volume.yml:10 Thursday 21 July 2022 14:21:37 +0000 (0:00:00.053) 0:01:24.261 ********* included: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml for /cache/rhel-8.qcow2 => (item=mount) included: /tmp/tmpw6dixrb5/tests/test-verify-volume-fstab.yml for /cache/rhel-8.qcow2 => (item=fstab) included: /tmp/tmpw6dixrb5/tests/test-verify-volume-fs.yml for /cache/rhel-8.qcow2 => (item=fs) included: /tmp/tmpw6dixrb5/tests/test-verify-volume-device.yml for /cache/rhel-8.qcow2 => (item=device) included: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml for /cache/rhel-8.qcow2 => (item=encryption) included: /tmp/tmpw6dixrb5/tests/test-verify-volume-md.yml for /cache/rhel-8.qcow2 => (item=md) included: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml for /cache/rhel-8.qcow2 => (item=size) included: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml for /cache/rhel-8.qcow2 => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:6 Thursday 21 July 2022 14:21:37 +0000 (0:00:00.083) 0:01:24.345 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/vg1-lv1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:14 Thursday 21 July 2022 14:21:37 +0000 (0:00:00.042) 0:01:24.387 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 508753, "block_size": 4096, "block_total": 520704, "block_used": 11951, "device": "/dev/mapper/vg1-lv1", "fstype": "xfs", "inode_available": 1046525, "inode_total": 1046528, "inode_used": 3, "mount": "/opt/test1", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,sunit=1024,swidth=2048,noquota", "size_available": 2083852288, "size_total": 2132803584, "uuid": "3e9a1e28-d8d0-4d3d-bee6-c059157774d9" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 508753, "block_size": 4096, "block_total": 520704, "block_used": 11951, "device": "/dev/mapper/vg1-lv1", "fstype": "xfs", "inode_available": 1046525, "inode_total": 1046528, "inode_used": 3, "mount": "/opt/test1", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,sunit=1024,swidth=2048,noquota", "size_available": 2083852288, "size_total": 2132803584, "uuid": "3e9a1e28-d8d0-4d3d-bee6-c059157774d9" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:28 Thursday 21 July 2022 14:21:37 +0000 (0:00:00.057) 0:01:24.445 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:37 Thursday 21 July 2022 14:21:37 +0000 (0:00:00.051) 0:01:24.496 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:45 Thursday 21 July 2022 14:21:37 +0000 (0:00:00.048) 0:01:24.545 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:54 Thursday 21 July 2022 14:21:37 +0000 (0:00:00.052) 0:01:24.598 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:58 Thursday 21 July 2022 14:21:37 +0000 (0:00:00.025) 0:01:24.623 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:63 Thursday 21 July 2022 14:21:37 +0000 (0:00:00.024) 0:01:24.648 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:75 Thursday 21 July 2022 14:21:37 +0000 (0:00:00.023) 0:01:24.671 ********* ok: [/cache/rhel-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/tmpw6dixrb5/tests/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 14:21:37 +0000 (0:00:00.098) 0:01:24.770 ********* ok: [/cache/rhel-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/vg1-lv1 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test1 xfs defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test1 " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 14:21:37 +0000 (0:00:00.062) 0:01:24.832 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-fstab.yml:32 Thursday 21 July 2022 14:21:37 +0000 (0:00:00.051) 0:01:24.884 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-fstab.yml:39 Thursday 21 July 2022 14:21:38 +0000 (0:00:00.066) 0:01:24.950 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-fstab.yml:49 Thursday 21 July 2022 14:21:38 +0000 (0:00:00.043) 0:01:24.994 ********* ok: [/cache/rhel-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/tmpw6dixrb5/tests/test-verify-volume-fs.yml:4 Thursday 21 July 2022 14:21:38 +0000 (0:00:00.036) 0:01:25.030 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-fs.yml:10 Thursday 21 July 2022 14:21:38 +0000 (0:00:00.046) 0:01:25.076 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-device.yml:4 Thursday 21 July 2022 14:21:38 +0000 (0:00:00.041) 0:01:25.118 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "stat": { "atime": 1658413286.8750126, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658413286.8750126, "dev": 6, "device_type": 64770, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 77239, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1658413286.8750126, "nlink": 1, "path": "/dev/mapper/vg1-lv1", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-device.yml:10 Thursday 21 July 2022 14:21:38 +0000 (0:00:00.381) 0:01:25.500 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-device.yml:18 Thursday 21 July 2022 14:21:38 +0000 (0:00:00.037) 0:01:25.538 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-device.yml:24 Thursday 21 July 2022 14:21:38 +0000 (0:00:00.038) 0:01:25.576 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-device.yml:28 Thursday 21 July 2022 14:21:38 +0000 (0:00:00.037) 0:01:25.614 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-device.yml:33 Thursday 21 July 2022 14:21:38 +0000 (0:00:00.023) 0:01:25.637 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 14:21:38 +0000 (0:00:00.041) 0:01:25.679 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 14:21:38 +0000 (0:00:00.028) 0:01:25.707 ********* changed: [/cache/rhel-8.qcow2] => { "changed": true, "rc": 0, "results": [ "Installed: cryptsetup-2.3.7-2.el8.x86_64" ] } TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 14:21:40 +0000 (0:00:01.771) 0:01:27.479 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 14:21:40 +0000 (0:00:00.025) 0:01:27.505 ********* skipping: [/cache/rhel-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/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:30 Thursday 21 July 2022 14:21:40 +0000 (0:00:00.023) 0:01:27.529 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:38 Thursday 21 July 2022 14:21:40 +0000 (0:00:00.054) 0:01:27.583 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 14:21:40 +0000 (0:00:00.027) 0:01:27.611 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:49 Thursday 21 July 2022 14:21:40 +0000 (0:00:00.025) 0:01:27.636 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:55 Thursday 21 July 2022 14:21:40 +0000 (0:00:00.025) 0:01:27.662 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:61 Thursday 21 July 2022 14:21:40 +0000 (0:00:00.025) 0:01:27.687 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 14:21:40 +0000 (0:00:00.026) 0:01:27.714 ********* ok: [/cache/rhel-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/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:74 Thursday 21 July 2022 14:21:40 +0000 (0:00:00.097) 0:01:27.811 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:79 Thursday 21 July 2022 14:21:41 +0000 (0:00:00.083) 0:01:27.895 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:85 Thursday 21 July 2022 14:21:41 +0000 (0:00:00.037) 0:01:27.933 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:91 Thursday 21 July 2022 14:21:41 +0000 (0:00:00.036) 0:01:27.969 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:97 Thursday 21 July 2022 14:21:41 +0000 (0:00:00.037) 0:01:28.007 ********* ok: [/cache/rhel-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/tmpw6dixrb5/tests/test-verify-volume-md.yml:7 Thursday 21 July 2022 14:21:41 +0000 (0:00:00.104) 0:01:28.111 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-md.yml:13 Thursday 21 July 2022 14:21:41 +0000 (0:00:00.037) 0:01:28.149 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-md.yml:17 Thursday 21 July 2022 14:21:41 +0000 (0:00:00.043) 0:01:28.193 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-md.yml:21 Thursday 21 July 2022 14:21:41 +0000 (0:00:00.040) 0:01:28.233 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-md.yml:25 Thursday 21 July 2022 14:21:41 +0000 (0:00:00.042) 0:01:28.276 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-md.yml:31 Thursday 21 July 2022 14:21:41 +0000 (0:00:00.037) 0:01:28.314 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-md.yml:37 Thursday 21 July 2022 14:21:41 +0000 (0:00:00.037) 0:01:28.351 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:3 Thursday 21 July 2022 14:21:41 +0000 (0:00:00.036) 0:01:28.388 ********* ok: [/cache/rhel-8.qcow2] => { "bytes": 2147483648, "changed": false, "lvm": "2g", "parted": "2GiB", "size": "2 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:9 Thursday 21 July 2022 14:21:41 +0000 (0:00:00.506) 0:01:28.895 ********* ok: [/cache/rhel-8.qcow2] => { "bytes": 2147483648, "changed": false, "lvm": "2g", "parted": "2GiB", "size": "2 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:15 Thursday 21 July 2022 14:21:42 +0000 (0:00:00.367) 0:01:29.263 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_expected_size": "2147483648" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:20 Thursday 21 July 2022 14:21:42 +0000 (0:00:00.050) 0:01:29.313 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_expected_size": "2147483648" } TASK [debug] ******************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:25 Thursday 21 July 2022 14:21:42 +0000 (0:00:00.035) 0:01:29.349 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:28 Thursday 21 July 2022 14:21:42 +0000 (0:00:00.036) 0:01:29.385 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:31 Thursday 21 July 2022 14:21:42 +0000 (0:00:00.040) 0:01:29.426 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:36 Thursday 21 July 2022 14:21:42 +0000 (0:00:00.038) 0:01:29.465 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:39 Thursday 21 July 2022 14:21:42 +0000 (0:00:00.037) 0:01:29.503 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:44 Thursday 21 July 2022 14:21:42 +0000 (0:00:00.039) 0:01:29.542 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_actual_size": { "bytes": 2147483648, "changed": false, "failed": false, "lvm": "2g", "parted": "2GiB", "size": "2 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:47 Thursday 21 July 2022 14:21:42 +0000 (0:00:00.040) 0:01:29.582 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_expected_size": "2147483648" } TASK [assert] ****************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:50 Thursday 21 July 2022 14:21:42 +0000 (0:00:00.035) 0:01:29.618 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml:6 Thursday 21 July 2022 14:21:42 +0000 (0:00:00.055) 0:01:29.673 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "lvs", "--noheadings", "--nameprefixes", "--units=b", "--nosuffix", "--unquoted", "-o", "name,attr,cache_total_blocks,chunk_size,segtype", "vg1/lv1" ], "delta": "0:00:00.035069", "end": "2022-07-21 10:21:42.725569", "rc": 0, "start": "2022-07-21 10:21:42.690500" } STDOUT: LVM2_LV_NAME=lv1 LVM2_LV_ATTR=-wi-ao---- LVM2_CACHE_TOTAL_BLOCKS= LVM2_CHUNK_SIZE=0 LVM2_SEGTYPE=linear TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml:14 Thursday 21 July 2022 14:21:43 +0000 (0:00:00.415) 0:01:30.089 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_lv_segtype": [ "linear" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml:17 Thursday 21 July 2022 14:21:43 +0000 (0:00:00.059) 0:01:30.148 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml:22 Thursday 21 July 2022 14:21:43 +0000 (0:00:00.055) 0:01:30.204 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml:26 Thursday 21 July 2022 14:21:43 +0000 (0:00:00.039) 0:01:30.244 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml:32 Thursday 21 July 2022 14:21:43 +0000 (0:00:00.041) 0:01:30.285 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml:36 Thursday 21 July 2022 14:21:43 +0000 (0:00:00.040) 0:01:30.326 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume.yml:16 Thursday 21 July 2022 14:21:43 +0000 (0:00:00.040) 0:01:30.366 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume.yml:2 Thursday 21 July 2022 14:21:43 +0000 (0:00:00.090) 0:01:30.457 ********* ok: [/cache/rhel-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/tmpw6dixrb5/tests/test-verify-volume.yml:10 Thursday 21 July 2022 14:21:43 +0000 (0:00:00.100) 0:01:30.557 ********* included: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml for /cache/rhel-8.qcow2 => (item=mount) included: /tmp/tmpw6dixrb5/tests/test-verify-volume-fstab.yml for /cache/rhel-8.qcow2 => (item=fstab) included: /tmp/tmpw6dixrb5/tests/test-verify-volume-fs.yml for /cache/rhel-8.qcow2 => (item=fs) included: /tmp/tmpw6dixrb5/tests/test-verify-volume-device.yml for /cache/rhel-8.qcow2 => (item=device) included: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml for /cache/rhel-8.qcow2 => (item=encryption) included: /tmp/tmpw6dixrb5/tests/test-verify-volume-md.yml for /cache/rhel-8.qcow2 => (item=md) included: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml for /cache/rhel-8.qcow2 => (item=size) included: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml for /cache/rhel-8.qcow2 => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:6 Thursday 21 July 2022 14:21:43 +0000 (0:00:00.130) 0:01:30.687 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/vg1-lv2" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:14 Thursday 21 July 2022 14:21:43 +0000 (0:00:00.045) 0:01:30.732 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 769066, "block_size": 4096, "block_total": 782848, "block_used": 13782, "device": "/dev/mapper/vg1-lv2", "fstype": "xfs", "inode_available": 1570813, "inode_total": 1570816, "inode_used": 3, "mount": "/opt/test2", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,sunit=1024,swidth=2048,noquota", "size_available": 3150094336, "size_total": 3206545408, "uuid": "eca802b2-0423-4809-96ab-843e00b2bb9b" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 769066, "block_size": 4096, "block_total": 782848, "block_used": 13782, "device": "/dev/mapper/vg1-lv2", "fstype": "xfs", "inode_available": 1570813, "inode_total": 1570816, "inode_used": 3, "mount": "/opt/test2", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,sunit=1024,swidth=2048,noquota", "size_available": 3150094336, "size_total": 3206545408, "uuid": "eca802b2-0423-4809-96ab-843e00b2bb9b" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:28 Thursday 21 July 2022 14:21:43 +0000 (0:00:00.057) 0:01:30.790 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:37 Thursday 21 July 2022 14:21:43 +0000 (0:00:00.052) 0:01:30.843 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:45 Thursday 21 July 2022 14:21:44 +0000 (0:00:00.052) 0:01:30.896 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:54 Thursday 21 July 2022 14:21:44 +0000 (0:00:00.051) 0:01:30.947 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:58 Thursday 21 July 2022 14:21:44 +0000 (0:00:00.025) 0:01:30.973 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:63 Thursday 21 July 2022 14:21:44 +0000 (0:00:00.025) 0:01:30.999 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:75 Thursday 21 July 2022 14:21:44 +0000 (0:00:00.027) 0:01:31.026 ********* ok: [/cache/rhel-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/tmpw6dixrb5/tests/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 14:21:44 +0000 (0:00:00.034) 0:01:31.061 ********* ok: [/cache/rhel-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/vg1-lv2 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test2 xfs defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test2 " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 14:21:44 +0000 (0:00:00.067) 0:01:31.128 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-fstab.yml:32 Thursday 21 July 2022 14:21:44 +0000 (0:00:00.058) 0:01:31.186 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-fstab.yml:39 Thursday 21 July 2022 14:21:44 +0000 (0:00:00.059) 0:01:31.246 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-fstab.yml:49 Thursday 21 July 2022 14:21:44 +0000 (0:00:00.044) 0:01:31.291 ********* ok: [/cache/rhel-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/tmpw6dixrb5/tests/test-verify-volume-fs.yml:4 Thursday 21 July 2022 14:21:44 +0000 (0:00:00.037) 0:01:31.328 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-fs.yml:10 Thursday 21 July 2022 14:21:44 +0000 (0:00:00.043) 0:01:31.372 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-device.yml:4 Thursday 21 July 2022 14:21:44 +0000 (0:00:00.040) 0:01:31.412 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "stat": { "atime": 1658413286.6790125, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658413286.6790125, "dev": 6, "device_type": 64769, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 78989, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1658413286.6790125, "nlink": 1, "path": "/dev/mapper/vg1-lv2", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-device.yml:10 Thursday 21 July 2022 14:21:44 +0000 (0:00:00.383) 0:01:31.796 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-device.yml:18 Thursday 21 July 2022 14:21:44 +0000 (0:00:00.040) 0:01:31.837 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-device.yml:24 Thursday 21 July 2022 14:21:44 +0000 (0:00:00.039) 0:01:31.876 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-device.yml:28 Thursday 21 July 2022 14:21:45 +0000 (0:00:00.039) 0:01:31.915 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-device.yml:33 Thursday 21 July 2022 14:21:45 +0000 (0:00:00.024) 0:01:31.940 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 14:21:45 +0000 (0:00:00.046) 0:01:31.986 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 14:21:45 +0000 (0:00:00.024) 0:01:32.011 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 14:21:46 +0000 (0:00:01.289) 0:01:33.300 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 14:21:46 +0000 (0:00:00.024) 0:01:33.325 ********* skipping: [/cache/rhel-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/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:30 Thursday 21 July 2022 14:21:46 +0000 (0:00:00.025) 0:01:33.350 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:38 Thursday 21 July 2022 14:21:46 +0000 (0:00:00.050) 0:01:33.401 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 14:21:46 +0000 (0:00:00.025) 0:01:33.426 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:49 Thursday 21 July 2022 14:21:46 +0000 (0:00:00.024) 0:01:33.450 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:55 Thursday 21 July 2022 14:21:46 +0000 (0:00:00.024) 0:01:33.475 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:61 Thursday 21 July 2022 14:21:46 +0000 (0:00:00.023) 0:01:33.498 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 14:21:46 +0000 (0:00:00.025) 0:01:33.523 ********* ok: [/cache/rhel-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/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:74 Thursday 21 July 2022 14:21:46 +0000 (0:00:00.051) 0:01:33.575 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:79 Thursday 21 July 2022 14:21:46 +0000 (0:00:00.050) 0:01:33.625 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:85 Thursday 21 July 2022 14:21:46 +0000 (0:00:00.038) 0:01:33.664 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:91 Thursday 21 July 2022 14:21:46 +0000 (0:00:00.038) 0:01:33.702 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:97 Thursday 21 July 2022 14:21:46 +0000 (0:00:00.036) 0:01:33.738 ********* ok: [/cache/rhel-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/tmpw6dixrb5/tests/test-verify-volume-md.yml:7 Thursday 21 July 2022 14:21:46 +0000 (0:00:00.035) 0:01:33.774 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-md.yml:13 Thursday 21 July 2022 14:21:46 +0000 (0:00:00.038) 0:01:33.812 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-md.yml:17 Thursday 21 July 2022 14:21:46 +0000 (0:00:00.040) 0:01:33.853 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-md.yml:21 Thursday 21 July 2022 14:21:46 +0000 (0:00:00.041) 0:01:33.894 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-md.yml:25 Thursday 21 July 2022 14:21:47 +0000 (0:00:00.042) 0:01:33.937 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-md.yml:31 Thursday 21 July 2022 14:21:47 +0000 (0:00:00.040) 0:01:33.977 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-md.yml:37 Thursday 21 July 2022 14:21:47 +0000 (0:00:00.037) 0:01:34.015 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:3 Thursday 21 July 2022 14:21:47 +0000 (0:00:00.039) 0:01:34.055 ********* ok: [/cache/rhel-8.qcow2] => { "bytes": 3221225472, "changed": false, "lvm": "3g", "parted": "3GiB", "size": "3 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:9 Thursday 21 July 2022 14:21:47 +0000 (0:00:00.386) 0:01:34.441 ********* ok: [/cache/rhel-8.qcow2] => { "bytes": 3221225472, "changed": false, "lvm": "3g", "parted": "3GiB", "size": "3 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:15 Thursday 21 July 2022 14:21:48 +0000 (0:00:00.560) 0:01:35.002 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_expected_size": "3221225472" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:20 Thursday 21 July 2022 14:21:48 +0000 (0:00:00.053) 0:01:35.055 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_expected_size": "3221225472" } TASK [debug] ******************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:25 Thursday 21 July 2022 14:21:48 +0000 (0:00:00.038) 0:01:35.094 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:28 Thursday 21 July 2022 14:21:48 +0000 (0:00:00.038) 0:01:35.133 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:31 Thursday 21 July 2022 14:21:48 +0000 (0:00:00.040) 0:01:35.173 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:36 Thursday 21 July 2022 14:21:48 +0000 (0:00:00.038) 0:01:35.211 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:39 Thursday 21 July 2022 14:21:48 +0000 (0:00:00.037) 0:01:35.248 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:44 Thursday 21 July 2022 14:21:48 +0000 (0:00:00.035) 0:01:35.284 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_actual_size": { "bytes": 3221225472, "changed": false, "failed": false, "lvm": "3g", "parted": "3GiB", "size": "3 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:47 Thursday 21 July 2022 14:21:48 +0000 (0:00:00.040) 0:01:35.324 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_expected_size": "3221225472" } TASK [assert] ****************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:50 Thursday 21 July 2022 14:21:48 +0000 (0:00:00.037) 0:01:35.362 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml:6 Thursday 21 July 2022 14:21:48 +0000 (0:00:00.092) 0:01:35.455 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "lvs", "--noheadings", "--nameprefixes", "--units=b", "--nosuffix", "--unquoted", "-o", "name,attr,cache_total_blocks,chunk_size,segtype", "vg1/lv2" ], "delta": "0:00:00.035081", "end": "2022-07-21 10:21:48.538946", "rc": 0, "start": "2022-07-21 10:21:48.503865" } STDOUT: LVM2_LV_NAME=lv2 LVM2_LV_ATTR=-wi-ao---- LVM2_CACHE_TOTAL_BLOCKS= LVM2_CHUNK_SIZE=0 LVM2_SEGTYPE=linear TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml:14 Thursday 21 July 2022 14:21:49 +0000 (0:00:00.444) 0:01:35.899 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_lv_segtype": [ "linear" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml:17 Thursday 21 July 2022 14:21:49 +0000 (0:00:00.103) 0:01:36.003 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml:22 Thursday 21 July 2022 14:21:49 +0000 (0:00:00.127) 0:01:36.130 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml:26 Thursday 21 July 2022 14:21:49 +0000 (0:00:00.040) 0:01:36.171 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml:32 Thursday 21 July 2022 14:21:49 +0000 (0:00:00.039) 0:01:36.210 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml:36 Thursday 21 July 2022 14:21:49 +0000 (0:00:00.041) 0:01:36.252 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume.yml:16 Thursday 21 July 2022 14:21:49 +0000 (0:00:00.038) 0:01:36.290 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume.yml:2 Thursday 21 July 2022 14:21:49 +0000 (0:00:00.037) 0:01:36.328 ********* ok: [/cache/rhel-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/tmpw6dixrb5/tests/test-verify-volume.yml:10 Thursday 21 July 2022 14:21:49 +0000 (0:00:00.052) 0:01:36.380 ********* included: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml for /cache/rhel-8.qcow2 => (item=mount) included: /tmp/tmpw6dixrb5/tests/test-verify-volume-fstab.yml for /cache/rhel-8.qcow2 => (item=fstab) included: /tmp/tmpw6dixrb5/tests/test-verify-volume-fs.yml for /cache/rhel-8.qcow2 => (item=fs) included: /tmp/tmpw6dixrb5/tests/test-verify-volume-device.yml for /cache/rhel-8.qcow2 => (item=device) included: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml for /cache/rhel-8.qcow2 => (item=encryption) included: /tmp/tmpw6dixrb5/tests/test-verify-volume-md.yml for /cache/rhel-8.qcow2 => (item=md) included: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml for /cache/rhel-8.qcow2 => (item=size) included: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml for /cache/rhel-8.qcow2 => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:6 Thursday 21 July 2022 14:21:49 +0000 (0:00:00.083) 0:01:36.464 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/vg1-lv3" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:14 Thursday 21 July 2022 14:21:49 +0000 (0:00:00.043) 0:01:36.508 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 769066, "block_size": 4096, "block_total": 782848, "block_used": 13782, "device": "/dev/mapper/vg1-lv3", "fstype": "xfs", "inode_available": 1570813, "inode_total": 1570816, "inode_used": 3, "mount": "/opt/test3", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,sunit=1024,swidth=2048,noquota", "size_available": 3150094336, "size_total": 3206545408, "uuid": "73bec7a7-26db-4de9-9695-08cadc04cc65" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 769066, "block_size": 4096, "block_total": 782848, "block_used": 13782, "device": "/dev/mapper/vg1-lv3", "fstype": "xfs", "inode_available": 1570813, "inode_total": 1570816, "inode_used": 3, "mount": "/opt/test3", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,sunit=1024,swidth=2048,noquota", "size_available": 3150094336, "size_total": 3206545408, "uuid": "73bec7a7-26db-4de9-9695-08cadc04cc65" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:28 Thursday 21 July 2022 14:21:49 +0000 (0:00:00.058) 0:01:36.566 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:37 Thursday 21 July 2022 14:21:49 +0000 (0:00:00.054) 0:01:36.621 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:45 Thursday 21 July 2022 14:21:49 +0000 (0:00:00.053) 0:01:36.675 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:54 Thursday 21 July 2022 14:21:49 +0000 (0:00:00.052) 0:01:36.728 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:58 Thursday 21 July 2022 14:21:49 +0000 (0:00:00.025) 0:01:36.753 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:63 Thursday 21 July 2022 14:21:49 +0000 (0:00:00.026) 0:01:36.780 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:75 Thursday 21 July 2022 14:21:49 +0000 (0:00:00.025) 0:01:36.805 ********* ok: [/cache/rhel-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/tmpw6dixrb5/tests/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 14:21:49 +0000 (0:00:00.040) 0:01:36.846 ********* ok: [/cache/rhel-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/vg1-lv3 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test3 xfs defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test3 " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 14:21:50 +0000 (0:00:00.064) 0:01:36.910 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-fstab.yml:32 Thursday 21 July 2022 14:21:50 +0000 (0:00:00.053) 0:01:36.964 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-fstab.yml:39 Thursday 21 July 2022 14:21:50 +0000 (0:00:00.051) 0:01:37.015 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-fstab.yml:49 Thursday 21 July 2022 14:21:50 +0000 (0:00:00.037) 0:01:37.053 ********* ok: [/cache/rhel-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/tmpw6dixrb5/tests/test-verify-volume-fs.yml:4 Thursday 21 July 2022 14:21:50 +0000 (0:00:00.038) 0:01:37.091 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-fs.yml:10 Thursday 21 July 2022 14:21:50 +0000 (0:00:00.042) 0:01:37.134 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-device.yml:4 Thursday 21 July 2022 14:21:50 +0000 (0:00:00.041) 0:01:37.175 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "stat": { "atime": 1658413286.4780126, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658413286.4780126, "dev": 6, "device_type": 64768, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 78890, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1658413286.4780126, "nlink": 1, "path": "/dev/mapper/vg1-lv3", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-device.yml:10 Thursday 21 July 2022 14:21:50 +0000 (0:00:00.388) 0:01:37.563 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-device.yml:18 Thursday 21 July 2022 14:21:50 +0000 (0:00:00.041) 0:01:37.605 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-device.yml:24 Thursday 21 July 2022 14:21:50 +0000 (0:00:00.041) 0:01:37.646 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-device.yml:28 Thursday 21 July 2022 14:21:50 +0000 (0:00:00.039) 0:01:37.686 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-device.yml:33 Thursday 21 July 2022 14:21:50 +0000 (0:00:00.025) 0:01:37.711 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 14:21:50 +0000 (0:00:00.041) 0:01:37.752 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 14:21:50 +0000 (0:00:00.024) 0:01:37.777 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 14:21:52 +0000 (0:00:01.310) 0:01:39.088 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 14:21:52 +0000 (0:00:00.025) 0:01:39.113 ********* skipping: [/cache/rhel-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/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:30 Thursday 21 July 2022 14:21:52 +0000 (0:00:00.026) 0:01:39.139 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:38 Thursday 21 July 2022 14:21:52 +0000 (0:00:00.049) 0:01:39.189 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 14:21:52 +0000 (0:00:00.023) 0:01:39.212 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:49 Thursday 21 July 2022 14:21:52 +0000 (0:00:00.024) 0:01:39.237 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:55 Thursday 21 July 2022 14:21:52 +0000 (0:00:00.024) 0:01:39.262 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:61 Thursday 21 July 2022 14:21:52 +0000 (0:00:00.025) 0:01:39.287 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 14:21:52 +0000 (0:00:00.024) 0:01:39.312 ********* ok: [/cache/rhel-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/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:74 Thursday 21 July 2022 14:21:52 +0000 (0:00:00.054) 0:01:39.367 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:79 Thursday 21 July 2022 14:21:52 +0000 (0:00:00.051) 0:01:39.418 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:85 Thursday 21 July 2022 14:21:52 +0000 (0:00:00.038) 0:01:39.457 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:91 Thursday 21 July 2022 14:21:52 +0000 (0:00:00.037) 0:01:39.495 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:97 Thursday 21 July 2022 14:21:52 +0000 (0:00:00.040) 0:01:39.536 ********* ok: [/cache/rhel-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/tmpw6dixrb5/tests/test-verify-volume-md.yml:7 Thursday 21 July 2022 14:21:52 +0000 (0:00:00.036) 0:01:39.572 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-md.yml:13 Thursday 21 July 2022 14:21:52 +0000 (0:00:00.036) 0:01:39.609 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-md.yml:17 Thursday 21 July 2022 14:21:52 +0000 (0:00:00.038) 0:01:39.647 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-md.yml:21 Thursday 21 July 2022 14:21:52 +0000 (0:00:00.041) 0:01:39.689 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-md.yml:25 Thursday 21 July 2022 14:21:52 +0000 (0:00:00.036) 0:01:39.725 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-md.yml:31 Thursday 21 July 2022 14:21:52 +0000 (0:00:00.038) 0:01:39.764 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-md.yml:37 Thursday 21 July 2022 14:21:52 +0000 (0:00:00.038) 0:01:39.803 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:3 Thursday 21 July 2022 14:21:52 +0000 (0:00:00.039) 0:01:39.842 ********* ok: [/cache/rhel-8.qcow2] => { "bytes": 3221225472, "changed": false, "lvm": "3g", "parted": "3GiB", "size": "3 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:9 Thursday 21 July 2022 14:21:53 +0000 (0:00:00.362) 0:01:40.204 ********* ok: [/cache/rhel-8.qcow2] => { "bytes": 3221225472, "changed": false, "lvm": "3g", "parted": "3GiB", "size": "3 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:15 Thursday 21 July 2022 14:21:53 +0000 (0:00:00.370) 0:01:40.575 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_expected_size": "3221225472" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:20 Thursday 21 July 2022 14:21:53 +0000 (0:00:00.054) 0:01:40.630 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_expected_size": "3221225472" } TASK [debug] ******************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:25 Thursday 21 July 2022 14:21:53 +0000 (0:00:00.037) 0:01:40.668 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:28 Thursday 21 July 2022 14:21:53 +0000 (0:00:00.037) 0:01:40.705 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:31 Thursday 21 July 2022 14:21:53 +0000 (0:00:00.038) 0:01:40.743 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:36 Thursday 21 July 2022 14:21:53 +0000 (0:00:00.040) 0:01:40.784 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:39 Thursday 21 July 2022 14:21:53 +0000 (0:00:00.039) 0:01:40.823 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:44 Thursday 21 July 2022 14:21:53 +0000 (0:00:00.037) 0:01:40.860 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_actual_size": { "bytes": 3221225472, "changed": false, "failed": false, "lvm": "3g", "parted": "3GiB", "size": "3 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:47 Thursday 21 July 2022 14:21:54 +0000 (0:00:00.071) 0:01:40.932 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_expected_size": "3221225472" } TASK [assert] ****************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:50 Thursday 21 July 2022 14:21:54 +0000 (0:00:00.037) 0:01:40.969 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml:6 Thursday 21 July 2022 14:21:54 +0000 (0:00:00.084) 0:01:41.054 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "lvs", "--noheadings", "--nameprefixes", "--units=b", "--nosuffix", "--unquoted", "-o", "name,attr,cache_total_blocks,chunk_size,segtype", "vg1/lv3" ], "delta": "0:00:00.036493", "end": "2022-07-21 10:21:54.146560", "rc": 0, "start": "2022-07-21 10:21:54.110067" } STDOUT: LVM2_LV_NAME=lv3 LVM2_LV_ATTR=-wi-ao---- LVM2_CACHE_TOTAL_BLOCKS= LVM2_CHUNK_SIZE=0 LVM2_SEGTYPE=linear TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml:14 Thursday 21 July 2022 14:21:54 +0000 (0:00:00.445) 0:01:41.499 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_lv_segtype": [ "linear" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml:17 Thursday 21 July 2022 14:21:54 +0000 (0:00:00.052) 0:01:41.552 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml:22 Thursday 21 July 2022 14:21:54 +0000 (0:00:00.054) 0:01:41.607 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml:26 Thursday 21 July 2022 14:21:54 +0000 (0:00:00.041) 0:01:41.648 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml:32 Thursday 21 July 2022 14:21:54 +0000 (0:00:00.038) 0:01:41.687 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml:36 Thursday 21 July 2022 14:21:54 +0000 (0:00:00.038) 0:01:41.726 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume.yml:16 Thursday 21 July 2022 14:21:54 +0000 (0:00:00.039) 0:01:41.765 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpw6dixrb5/tests/verify-role-results.yml:43 Thursday 21 July 2022 14:21:54 +0000 (0:00:00.038) 0:01:41.803 ********* TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpw6dixrb5/tests/verify-role-results.yml:53 Thursday 21 July 2022 14:21:54 +0000 (0:00:00.026) 0:01:41.830 ********* ok: [/cache/rhel-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/tmpw6dixrb5/tests/tests_create_raid_pool_then_remove.yml:54 Thursday 21 July 2022 14:21:54 +0000 (0:00:00.043) 0:01:41.874 ********* TASK [linux-system-roles.storage : set platform/version specific variables] **** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Thursday 21 July 2022 14:21:55 +0000 (0:00:00.052) 0:01:41.927 ********* included: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/set_vars.yml for /cache/rhel-8.qcow2 TASK [linux-system-roles.storage : Ensure ansible_facts used by role] ********** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Thursday 21 July 2022 14:21:55 +0000 (0:00:00.037) 0:01:41.964 ********* ok: [/cache/rhel-8.qcow2] TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Thursday 21 July 2022 14:21:55 +0000 (0:00:00.543) 0:01:42.508 ********* skipping: [/cache/rhel-8.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/rhel-8.qcow2] => (item=RedHat_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/tmpw6dixrb5/tests/roles/linux-system-roles.storage/vars/RedHat_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.yml" } skipping: [/cache/rhel-8.qcow2] => (item=RedHat_8.6.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.6.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Thursday 21 July 2022 14:21:55 +0000 (0:00:00.066) 0:01:42.574 ********* ok: [/cache/rhel-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/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Thursday 21 July 2022 14:21:55 +0000 (0:00:00.037) 0:01:42.611 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : include the appropriate provider tasks] ***** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Thursday 21 July 2022 14:21:55 +0000 (0:00:00.039) 0:01:42.651 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml for /cache/rhel-8.qcow2 TASK [linux-system-roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 14:21:55 +0000 (0:00:00.050) 0:01:42.701 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure blivet is available] ************** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 14:21:55 +0000 (0:00:00.022) 0:01:42.723 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : show storage_pools] ************************* task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:14 Thursday 21 July 2022 14:21:55 +0000 (0:00:00.031) 0:01:42.755 ********* ok: [/cache/rhel-8.qcow2] => { "storage_pools": [ { "disks": [ "sda", "sdb" ], "name": "vg1", "raid_level": "raid0", "state": "present", "type": "lvm", "volumes": [ { "mount_point": "/opt/test1", "name": "lv1", "size": "2g" }, { "mount_point": "/opt/test2", "name": "lv2", "size": "3g" }, { "mount_point": "/opt/test3", "name": "lv3", "size": "3g" } ] } ] } TASK [linux-system-roles.storage : show storage_volumes] *********************** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:19 Thursday 21 July 2022 14:21:55 +0000 (0:00:00.050) 0:01:42.806 ********* ok: [/cache/rhel-8.qcow2] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [linux-system-roles.storage : get required packages] ********************** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:24 Thursday 21 July 2022 14:21:55 +0000 (0:00:00.038) 0:01:42.844 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : enable copr repositories if needed] ********* task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:37 Thursday 21 July 2022 14:21:55 +0000 (0:00:00.034) 0:01:42.879 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure required packages are installed] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:44 Thursday 21 July 2022 14:21:56 +0000 (0:00:00.029) 0:01:42.909 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : get service facts] ************************** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 Thursday 21 July 2022 14:21:56 +0000 (0:00:00.031) 0:01:42.941 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set storage_cryptsetup_services] ************ task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 14:21:56 +0000 (0:00:00.030) 0:01:42.971 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [linux-system-roles.storage : Mask the systemd cryptsetup services] ******* task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:71 Thursday 21 July 2022 14:21:56 +0000 (0:00:00.101) 0:01:43.072 ********* TASK [linux-system-roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Thursday 21 July 2022 14:21:56 +0000 (0:00:00.062) 0:01:43.135 ********* ok: [/cache/rhel-8.qcow2] => { "actions": [], "changed": false, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/mapper/vg1-lv1", "/dev/mapper/vg1-lv2", "/dev/mapper/vg1-lv3", "/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/vg1-lv1", "state": "mounted" }, { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test2", "src": "/dev/mapper/vg1-lv2", "state": "mounted" }, { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test3", "src": "/dev/mapper/vg1-lv3", "state": "mounted" } ], "packages": [ "dosfstools", "xfsprogs", "mdadm", "lvm2" ], "pools": [ { "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": "512 KiB", "raid_device_count": 2, "raid_level": "raid0", "raid_metadata_version": "1.2", "raid_spare_count": 0, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_kernel_device": "/dev/dm-2", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "_raw_kernel_device": "/dev/dm-2", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "/dev/mapper/vg1-lv2", "_kernel_device": "/dev/dm-1", "_mount_id": "/dev/mapper/vg1-lv2", "_raw_device": "/dev/mapper/vg1-lv2", "_raw_kernel_device": "/dev/dm-1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "lv2", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "/dev/mapper/vg1-lv3", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/vg1-lv3", "_raw_device": "/dev/mapper/vg1-lv3", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test3", "name": "lv3", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } TASK [linux-system-roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:91 Thursday 21 July 2022 14:21:58 +0000 (0:00:02.136) 0:01:45.272 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Unmask the systemd cryptsetup services] ***** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:103 Thursday 21 July 2022 14:21:58 +0000 (0:00:00.036) 0:01:45.309 ********* TASK [linux-system-roles.storage : show blivet_output] ************************* task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:109 Thursday 21 July 2022 14:21:58 +0000 (0:00:00.023) 0:01:45.332 ********* ok: [/cache/rhel-8.qcow2] => { "blivet_output": { "actions": [], "changed": false, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/mapper/vg1-lv1", "/dev/mapper/vg1-lv2", "/dev/mapper/vg1-lv3", "/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/vg1-lv1", "state": "mounted" }, { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test2", "src": "/dev/mapper/vg1-lv2", "state": "mounted" }, { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test3", "src": "/dev/mapper/vg1-lv3", "state": "mounted" } ], "packages": [ "dosfstools", "xfsprogs", "mdadm", "lvm2" ], "pools": [ { "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": "512 KiB", "raid_device_count": 2, "raid_level": "raid0", "raid_metadata_version": "1.2", "raid_spare_count": 0, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_kernel_device": "/dev/dm-2", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "_raw_kernel_device": "/dev/dm-2", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "/dev/mapper/vg1-lv2", "_kernel_device": "/dev/dm-1", "_mount_id": "/dev/mapper/vg1-lv2", "_raw_device": "/dev/mapper/vg1-lv2", "_raw_kernel_device": "/dev/dm-1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "lv2", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "/dev/mapper/vg1-lv3", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/vg1-lv3", "_raw_device": "/dev/mapper/vg1-lv3", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test3", "name": "lv3", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } } TASK [linux-system-roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:114 Thursday 21 July 2022 14:21:58 +0000 (0:00:00.041) 0:01:45.374 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": "512 KiB", "raid_device_count": 2, "raid_level": "raid0", "raid_metadata_version": "1.2", "raid_spare_count": 0, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_kernel_device": "/dev/dm-2", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "_raw_kernel_device": "/dev/dm-2", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "/dev/mapper/vg1-lv2", "_kernel_device": "/dev/dm-1", "_mount_id": "/dev/mapper/vg1-lv2", "_raw_device": "/dev/mapper/vg1-lv2", "_raw_kernel_device": "/dev/dm-1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "lv2", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "/dev/mapper/vg1-lv3", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/vg1-lv3", "_raw_device": "/dev/mapper/vg1-lv3", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test3", "name": "lv3", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] }, "changed": false } TASK [linux-system-roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:118 Thursday 21 July 2022 14:21:58 +0000 (0:00:00.038) 0:01:45.413 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : remove obsolete mounts] ********************* task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:134 Thursday 21 July 2022 14:21:58 +0000 (0:00:00.035) 0:01:45.448 ********* TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:146 Thursday 21 July 2022 14:21:58 +0000 (0:00:00.039) 0:01:45.488 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : set up new/current mounts] ****************** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:151 Thursday 21 July 2022 14:21:59 +0000 (0:00:00.624) 0:01:46.112 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount ok: [/cache/rhel-8.qcow2] => (item={'src': '/dev/mapper/vg1-lv1', 'path': '/opt/test1', 'fstype': 'xfs', 'opts': 'defaults', 'dump': 0, 'passno': 0, 'state': 'mounted'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": false, "dump": "0", "fstab": "/etc/fstab", "fstype": "xfs", "mount_info": { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/vg1-lv1", "state": "mounted" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "/dev/mapper/vg1-lv1" } redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount ok: [/cache/rhel-8.qcow2] => (item={'src': '/dev/mapper/vg1-lv2', 'path': '/opt/test2', 'fstype': 'xfs', 'opts': 'defaults', 'dump': 0, 'passno': 0, 'state': 'mounted'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": false, "dump": "0", "fstab": "/etc/fstab", "fstype": "xfs", "mount_info": { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test2", "src": "/dev/mapper/vg1-lv2", "state": "mounted" }, "name": "/opt/test2", "opts": "defaults", "passno": "0", "src": "/dev/mapper/vg1-lv2" } redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount ok: [/cache/rhel-8.qcow2] => (item={'src': '/dev/mapper/vg1-lv3', 'path': '/opt/test3', 'fstype': 'xfs', 'opts': 'defaults', 'dump': 0, 'passno': 0, 'state': 'mounted'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": false, "dump": "0", "fstab": "/etc/fstab", "fstype": "xfs", "mount_info": { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test3", "src": "/dev/mapper/vg1-lv3", "state": "mounted" }, "name": "/opt/test3", "opts": "defaults", "passno": "0", "src": "/dev/mapper/vg1-lv3" } TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:163 Thursday 21 July 2022 14:22:00 +0000 (0:00:01.128) 0:01:47.241 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:171 Thursday 21 July 2022 14:22:00 +0000 (0:00:00.612) 0:01:47.854 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:176 Thursday 21 July 2022 14:22:01 +0000 (0:00:00.386) 0:01:48.240 ********* TASK [linux-system-roles.storage : Update facts] ******************************* task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 Thursday 21 July 2022 14:22:01 +0000 (0:00:00.024) 0:01:48.264 ********* ok: [/cache/rhel-8.qcow2] META: role_complete for /cache/rhel-8.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmpw6dixrb5/tests/tests_create_raid_pool_then_remove.yml:75 Thursday 21 July 2022 14:22:02 +0000 (0:00:01.002) 0:01:49.267 ********* included: /tmp/tmpw6dixrb5/tests/verify-role-results.yml for /cache/rhel-8.qcow2 TASK [Print out pool information] ********************************************** task path: /tmp/tmpw6dixrb5/tests/verify-role-results.yml:1 Thursday 21 July 2022 14:22:02 +0000 (0:00:00.043) 0:01:49.310 ********* ok: [/cache/rhel-8.qcow2] => { "_storage_pools_list": [ { "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": "512 KiB", "raid_device_count": 2, "raid_level": "raid0", "raid_metadata_version": "1.2", "raid_spare_count": 0, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_kernel_device": "/dev/dm-2", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "_raw_kernel_device": "/dev/dm-2", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "/dev/mapper/vg1-lv2", "_kernel_device": "/dev/dm-1", "_mount_id": "/dev/mapper/vg1-lv2", "_raw_device": "/dev/mapper/vg1-lv2", "_raw_kernel_device": "/dev/dm-1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "lv2", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "/dev/mapper/vg1-lv3", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/vg1-lv3", "_raw_device": "/dev/mapper/vg1-lv3", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test3", "name": "lv3", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] } TASK [Print out volume information] ******************************************** task path: /tmp/tmpw6dixrb5/tests/verify-role-results.yml:6 Thursday 21 July 2022 14:22:02 +0000 (0:00:00.054) 0:01:49.364 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpw6dixrb5/tests/verify-role-results.yml:14 Thursday 21 July 2022 14:22:02 +0000 (0:00:00.036) 0:01:49.400 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "info": { "/dev/mapper/vg1-lv1": { "fstype": "xfs", "label": "", "name": "/dev/mapper/vg1-lv1", "size": "2G", "type": "lvm", "uuid": "3e9a1e28-d8d0-4d3d-bee6-c059157774d9" }, "/dev/mapper/vg1-lv2": { "fstype": "xfs", "label": "", "name": "/dev/mapper/vg1-lv2", "size": "3G", "type": "lvm", "uuid": "eca802b2-0423-4809-96ab-843e00b2bb9b" }, "/dev/mapper/vg1-lv3": { "fstype": "xfs", "label": "", "name": "/dev/mapper/vg1-lv3", "size": "3G", "type": "lvm", "uuid": "73bec7a7-26db-4de9-9695-08cadc04cc65" }, "/dev/md/vg1-1": { "fstype": "LVM2_member", "label": "", "name": "/dev/md/vg1-1", "size": "20G", "type": "raid0", "uuid": "auFEwL-w4Zv-dNah-fe5W-fWoC-nBnd-KgMn3r" }, "/dev/nvme0n1": { "fstype": "", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme1n1": { "fstype": "", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme2n1": { "fstype": "", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda": { "fstype": "", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda1": { "fstype": "linux_raid_member", "label": "vg1-1", "name": "/dev/sda1", "size": "10G", "type": "partition", "uuid": "3b3c90b6-96ab-dfca-3c4f-3053f60e9fe5" }, "/dev/sdb": { "fstype": "", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdb1": { "fstype": "linux_raid_member", "label": "vg1-1", "name": "/dev/sdb1", "size": "10G", "type": "partition", "uuid": "3b3c90b6-96ab-dfca-3c4f-3053f60e9fe5" }, "/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-14-20-00-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "", "label": "", "name": "/dev/vda1", "size": "1M", "type": "partition", "uuid": "" }, "/dev/vda2": { "fstype": "vfat", "label": "", "name": "/dev/vda2", "size": "100M", "type": "partition", "uuid": "7B77-95E7" }, "/dev/vda3": { "fstype": "xfs", "label": "root", "name": "/dev/vda3", "size": "9.9G", "type": "partition", "uuid": "853ae189-b3fe-4a45-8485-75bbb1421bbe" }, "/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/tmpw6dixrb5/tests/verify-role-results.yml:19 Thursday 21 July 2022 14:22:02 +0000 (0:00:00.399) 0:01:49.799 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.002690", "end": "2022-07-21 10:22:02.846300", "rc": 0, "start": "2022-07-21 10:22:02.843610" } STDOUT: UUID=853ae189-b3fe-4a45-8485-75bbb1421bbe / xfs defaults 0 0 UUID=7B77-95E7 /boot/efi vfat defaults,uid=0,gid=0,umask=077,shortname=winnt 0 2 /dev/mapper/vg1-lv1 /opt/test1 xfs defaults 0 0 /dev/mapper/vg1-lv2 /opt/test2 xfs defaults 0 0 /dev/mapper/vg1-lv3 /opt/test3 xfs defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpw6dixrb5/tests/verify-role-results.yml:24 Thursday 21 July 2022 14:22:03 +0000 (0:00:00.399) 0:01:50.199 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.002595", "end": "2022-07-21 10:22:03.216808", "failed_when_result": false, "rc": 1, "start": "2022-07-21 10:22:03.214213" } STDERR: cat: /etc/crypttab: No such file or directory MSG: non-zero return code TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmpw6dixrb5/tests/verify-role-results.yml:33 Thursday 21 July 2022 14:22:03 +0000 (0:00:00.370) 0:01:50.570 ********* included: /tmp/tmpw6dixrb5/tests/test-verify-pool.yml for /cache/rhel-8.qcow2 => (item={'disks': ['sda', 'sdb'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'name': 'vg1', 'raid_level': 'raid0', 'raid_device_count': 2, 'raid_spare_count': 0, 'raid_metadata_version': '1.2', 'state': 'present', 'type': 'lvm', 'volumes': [{'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'lv1', 'raid_level': None, 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1', '_kernel_device': '/dev/dm-2', '_raw_kernel_device': '/dev/dm-2'}, {'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test2', 'name': 'lv2', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv2', '_raw_device': '/dev/mapper/vg1-lv2', '_mount_id': '/dev/mapper/vg1-lv2', '_kernel_device': '/dev/dm-1', '_raw_kernel_device': '/dev/dm-1'}, {'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test3', 'name': 'lv3', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv3', '_raw_device': '/dev/mapper/vg1-lv3', '_mount_id': '/dev/mapper/vg1-lv3', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}], 'raid_chunk_size': '512 KiB'}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-pool.yml:5 Thursday 21 July 2022 14:22:03 +0000 (0:00:00.062) 0:01:50.633 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool.yml:18 Thursday 21 July 2022 14:22:03 +0000 (0:00:00.033) 0:01:50.666 ********* included: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml for /cache/rhel-8.qcow2 => (item=members) included: /tmp/tmpw6dixrb5/tests/test-verify-pool-volumes.yml for /cache/rhel-8.qcow2 => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:1 Thursday 21 July 2022 14:22:03 +0000 (0:00:00.047) 0:01:50.714 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_count": "1", "_storage_test_pool_pvs_lvm": [ "/dev/md127" ] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:10 Thursday 21 July 2022 14:22:03 +0000 (0:00:00.054) 0:01:50.769 ********* ok: [/cache/rhel-8.qcow2] => (item=/dev/md127) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/md/vg1-1", "pv": "/dev/md127" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:19 Thursday 21 July 2022 14:22:04 +0000 (0:00:00.374) 0:01:51.143 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "__pvs_lvm_len": "1" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:23 Thursday 21 July 2022 14:22:04 +0000 (0:00:00.052) 0:01:51.196 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/md/vg1-1" ] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:27 Thursday 21 July 2022 14:22:04 +0000 (0:00:00.053) 0:01:51.249 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:34 Thursday 21 July 2022 14:22:04 +0000 (0:00:00.050) 0:01:51.300 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:38 Thursday 21 July 2022 14:22:04 +0000 (0:00:00.040) 0:01:51.341 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_type": "partition" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:42 Thursday 21 July 2022 14:22:04 +0000 (0:00:00.051) 0:01:51.392 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_type": "raid0" }, "changed": false } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:46 Thursday 21 July 2022 14:22:04 +0000 (0:00:00.040) 0:01:51.432 ********* ok: [/cache/rhel-8.qcow2] => (item=/dev/md/vg1-1) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/md/vg1-1" } MSG: All assertions passed TASK [Check MD RAID] *********************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:56 Thursday 21 July 2022 14:22:04 +0000 (0:00:00.046) 0:01:51.479 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml for /cache/rhel-8.qcow2 TASK [get information about RAID] ********************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:6 Thursday 21 July 2022 14:22:04 +0000 (0:00:00.043) 0:01:51.523 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "mdadm", "--detail", "/dev/md/vg1-1" ], "delta": "0:00:00.007560", "end": "2022-07-21 10:22:04.545087", "rc": 0, "start": "2022-07-21 10:22:04.537527" } STDOUT: /dev/md/vg1-1: Version : 1.2 Creation Time : Thu Jul 21 10:21:20 2022 Raid Level : raid0 Array Size : 20951040 (19.98 GiB 21.45 GB) Raid Devices : 2 Total Devices : 2 Persistence : Superblock is persistent Update Time : Thu Jul 21 10:21:20 2022 State : clean Active Devices : 2 Working Devices : 2 Failed Devices : 0 Spare Devices : 0 Layout : -unknown- Chunk Size : 512K Consistency Policy : none Name : vg1-1 UUID : 3b3c90b6:96abdfca:3c4f3053:f60e9fe5 Events : 0 Number Major Minor RaidDevice State 0 8 1 0 active sync /dev/sda1 1 8 17 1 active sync /dev/sdb1 TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:12 Thursday 21 July 2022 14:22:05 +0000 (0:00:00.380) 0:01:51.903 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_md_active_devices_re": "Active\\ Devices\\ :\\ 2\\\n" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:16 Thursday 21 July 2022 14:22:05 +0000 (0:00:00.058) 0:01:51.962 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_md_spare_devices_re": "Spare\\ Devices\\ :\\ 0\\\n" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:20 Thursday 21 July 2022 14:22:05 +0000 (0:00:00.085) 0:01:52.047 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_md_metadata_version_re": "Version\\ :\\ 1\\.2\\\n" }, "changed": false } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:24 Thursday 21 July 2022 14:22:05 +0000 (0:00:00.120) 0:01:52.167 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:30 Thursday 21 July 2022 14:22:05 +0000 (0:00:00.047) 0:01:52.215 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:36 Thursday 21 July 2022 14:22:05 +0000 (0:00:00.045) 0:01:52.260 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:44 Thursday 21 July 2022 14:22:05 +0000 (0:00:00.048) 0:01:52.309 ********* ok: [/cache/rhel-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/tmpw6dixrb5/tests/test-verify-pool-members.yml:59 Thursday 21 July 2022 14:22:05 +0000 (0:00:00.034) 0:01:52.344 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-members-lvmraid.yml for /cache/rhel-8.qcow2 TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-members-lvmraid.yml:1 Thursday 21 July 2022 14:22:05 +0000 (0:00:00.045) 0:01:52.389 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-member-lvmraid.yml for /cache/rhel-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': 'lv1', 'raid_level': None, 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1', '_kernel_device': '/dev/dm-2', '_raw_kernel_device': '/dev/dm-2'}) included: /tmp/tmpw6dixrb5/tests/verify-pool-member-lvmraid.yml for /cache/rhel-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': 'lv2', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv2', '_raw_device': '/dev/mapper/vg1-lv2', '_mount_id': '/dev/mapper/vg1-lv2', '_kernel_device': '/dev/dm-1', '_raw_kernel_device': '/dev/dm-1'}) included: /tmp/tmpw6dixrb5/tests/verify-pool-member-lvmraid.yml for /cache/rhel-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/test3', 'name': 'lv3', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv3', '_raw_device': '/dev/mapper/vg1-lv3', '_mount_id': '/dev/mapper/vg1-lv3', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-lvmraid.yml:3 Thursday 21 July 2022 14:22:05 +0000 (0:00:00.058) 0:01:52.448 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-lvmraid.yml:8 Thursday 21 July 2022 14:22:05 +0000 (0:00:00.030) 0:01:52.478 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-lvmraid.yml:12 Thursday 21 July 2022 14:22:05 +0000 (0:00:00.031) 0:01:52.509 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-lvmraid.yml:3 Thursday 21 July 2022 14:22:05 +0000 (0:00:00.028) 0:01:52.538 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-lvmraid.yml:8 Thursday 21 July 2022 14:22:05 +0000 (0:00:00.027) 0:01:52.566 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-lvmraid.yml:12 Thursday 21 July 2022 14:22:05 +0000 (0:00:00.030) 0:01:52.596 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-lvmraid.yml:3 Thursday 21 July 2022 14:22:05 +0000 (0:00:00.030) 0:01:52.627 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-lvmraid.yml:8 Thursday 21 July 2022 14:22:05 +0000 (0:00:00.030) 0:01:52.657 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-lvmraid.yml:12 Thursday 21 July 2022 14:22:05 +0000 (0:00:00.029) 0:01:52.687 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:62 Thursday 21 July 2022 14:22:05 +0000 (0:00:00.029) 0:01:52.716 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-members-thin.yml for /cache/rhel-8.qcow2 TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-members-thin.yml:1 Thursday 21 July 2022 14:22:05 +0000 (0:00:00.048) 0:01:52.765 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-member-thin.yml for /cache/rhel-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': 'lv1', 'raid_level': None, 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1', '_kernel_device': '/dev/dm-2', '_raw_kernel_device': '/dev/dm-2'}) included: /tmp/tmpw6dixrb5/tests/verify-pool-member-thin.yml for /cache/rhel-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': 'lv2', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv2', '_raw_device': '/dev/mapper/vg1-lv2', '_mount_id': '/dev/mapper/vg1-lv2', '_kernel_device': '/dev/dm-1', '_raw_kernel_device': '/dev/dm-1'}) included: /tmp/tmpw6dixrb5/tests/verify-pool-member-thin.yml for /cache/rhel-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/test3', 'name': 'lv3', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv3', '_raw_device': '/dev/mapper/vg1-lv3', '_mount_id': '/dev/mapper/vg1-lv3', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [Get information about thinpool] ****************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-thin.yml:3 Thursday 21 July 2022 14:22:05 +0000 (0:00:00.058) 0:01:52.823 ********* skipping: [/cache/rhel-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/tmpw6dixrb5/tests/verify-pool-member-thin.yml:8 Thursday 21 July 2022 14:22:05 +0000 (0:00:00.025) 0:01:52.849 ********* skipping: [/cache/rhel-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/tmpw6dixrb5/tests/verify-pool-member-thin.yml:13 Thursday 21 July 2022 14:22:05 +0000 (0:00:00.025) 0:01:52.875 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-thin.yml:17 Thursday 21 July 2022 14:22:06 +0000 (0:00:00.024) 0:01:52.900 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about thinpool] ****************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-thin.yml:3 Thursday 21 July 2022 14:22:06 +0000 (0:00:00.024) 0:01:52.925 ********* skipping: [/cache/rhel-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/tmpw6dixrb5/tests/verify-pool-member-thin.yml:8 Thursday 21 July 2022 14:22:06 +0000 (0:00:00.024) 0:01:52.950 ********* skipping: [/cache/rhel-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/tmpw6dixrb5/tests/verify-pool-member-thin.yml:13 Thursday 21 July 2022 14:22:06 +0000 (0:00:00.023) 0:01:52.973 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-thin.yml:17 Thursday 21 July 2022 14:22:06 +0000 (0:00:00.024) 0:01:52.998 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about thinpool] ****************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-thin.yml:3 Thursday 21 July 2022 14:22:06 +0000 (0:00:00.024) 0:01:53.022 ********* skipping: [/cache/rhel-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/tmpw6dixrb5/tests/verify-pool-member-thin.yml:8 Thursday 21 July 2022 14:22:06 +0000 (0:00:00.023) 0:01:53.046 ********* skipping: [/cache/rhel-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/tmpw6dixrb5/tests/verify-pool-member-thin.yml:13 Thursday 21 July 2022 14:22:06 +0000 (0:00:00.023) 0:01:53.070 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-thin.yml:17 Thursday 21 July 2022 14:22:06 +0000 (0:00:00.022) 0:01:53.093 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:65 Thursday 21 July 2022 14:22:06 +0000 (0:00:00.025) 0:01:53.119 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-members-encryption.yml for /cache/rhel-8.qcow2 TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-members-encryption.yml:4 Thursday 21 July 2022 14:22:06 +0000 (0:00:00.055) 0:01:53.174 ********* ok: [/cache/rhel-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/tmpw6dixrb5/tests/verify-pool-members-encryption.yml:8 Thursday 21 July 2022 14:22:06 +0000 (0:00:00.054) 0:01:53.229 ********* skipping: [/cache/rhel-8.qcow2] => (item=/dev/md/vg1-1) => { "_storage_test_pool_member_path": "/dev/md/vg1-1", "ansible_loop_var": "_storage_test_pool_member_path", "changed": false, "skip_reason": "Conditional result was False" } TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-members-encryption.yml:15 Thursday 21 July 2022 14:22:06 +0000 (0:00:00.030) 0:01:53.259 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-member-crypttab.yml for /cache/rhel-8.qcow2 => (item=/dev/md/vg1-1) TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-crypttab.yml:1 Thursday 21 July 2022 14:22:06 +0000 (0:00:00.043) 0:01:53.302 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": [] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-crypttab.yml:6 Thursday 21 July 2022 14:22:06 +0000 (0:00:00.134) 0:01:53.436 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-crypttab.yml:11 Thursday 21 July 2022 14:22:06 +0000 (0:00:00.049) 0:01:53.486 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-crypttab.yml:17 Thursday 21 July 2022 14:22:06 +0000 (0:00:00.034) 0:01:53.520 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-crypttab.yml:23 Thursday 21 July 2022 14:22:06 +0000 (0:00:00.039) 0:01:53.559 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-crypttab.yml:29 Thursday 21 July 2022 14:22:06 +0000 (0:00:00.038) 0:01:53.598 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-members-encryption.yml:22 Thursday 21 July 2022 14:22:06 +0000 (0:00:00.037) 0:01:53.635 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:68 Thursday 21 July 2022 14:22:06 +0000 (0:00:00.039) 0:01:53.675 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-members-vdo.yml for /cache/rhel-8.qcow2 TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-members-vdo.yml:1 Thursday 21 July 2022 14:22:06 +0000 (0:00:00.088) 0:01:53.763 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml for /cache/rhel-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': 'lv1', 'raid_level': None, 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1', '_kernel_device': '/dev/dm-2', '_raw_kernel_device': '/dev/dm-2'}) included: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml for /cache/rhel-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': 'lv2', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv2', '_raw_device': '/dev/mapper/vg1-lv2', '_mount_id': '/dev/mapper/vg1-lv2', '_kernel_device': '/dev/dm-1', '_raw_kernel_device': '/dev/dm-1'}) included: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml for /cache/rhel-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/test3', 'name': 'lv3', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv3', '_raw_device': '/dev/mapper/vg1-lv3', '_mount_id': '/dev/mapper/vg1-lv3', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:3 Thursday 21 July 2022 14:22:06 +0000 (0:00:00.065) 0:01:53.829 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:8 Thursday 21 July 2022 14:22:06 +0000 (0:00:00.032) 0:01:53.861 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:11 Thursday 21 July 2022 14:22:06 +0000 (0:00:00.027) 0:01:53.889 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:16 Thursday 21 July 2022 14:22:07 +0000 (0:00:00.026) 0:01:53.915 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:21 Thursday 21 July 2022 14:22:07 +0000 (0:00:00.028) 0:01:53.943 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:24 Thursday 21 July 2022 14:22:07 +0000 (0:00:00.025) 0:01:53.969 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:29 Thursday 21 July 2022 14:22:07 +0000 (0:00:00.028) 0:01:53.997 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:39 Thursday 21 July 2022 14:22:07 +0000 (0:00:00.023) 0:01:54.021 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:3 Thursday 21 July 2022 14:22:07 +0000 (0:00:00.036) 0:01:54.058 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:8 Thursday 21 July 2022 14:22:07 +0000 (0:00:00.025) 0:01:54.083 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:11 Thursday 21 July 2022 14:22:07 +0000 (0:00:00.025) 0:01:54.108 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:16 Thursday 21 July 2022 14:22:07 +0000 (0:00:00.025) 0:01:54.134 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:21 Thursday 21 July 2022 14:22:07 +0000 (0:00:00.026) 0:01:54.160 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:24 Thursday 21 July 2022 14:22:07 +0000 (0:00:00.024) 0:01:54.185 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:29 Thursday 21 July 2022 14:22:07 +0000 (0:00:00.024) 0:01:54.210 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:39 Thursday 21 July 2022 14:22:07 +0000 (0:00:00.025) 0:01:54.235 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:3 Thursday 21 July 2022 14:22:07 +0000 (0:00:00.037) 0:01:54.273 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:8 Thursday 21 July 2022 14:22:07 +0000 (0:00:00.023) 0:01:54.297 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:11 Thursday 21 July 2022 14:22:07 +0000 (0:00:00.024) 0:01:54.322 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:16 Thursday 21 July 2022 14:22:07 +0000 (0:00:00.023) 0:01:54.345 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:21 Thursday 21 July 2022 14:22:07 +0000 (0:00:00.027) 0:01:54.373 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:24 Thursday 21 July 2022 14:22:07 +0000 (0:00:00.025) 0:01:54.399 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:29 Thursday 21 July 2022 14:22:07 +0000 (0:00:00.025) 0:01:54.424 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:39 Thursday 21 July 2022 14:22:07 +0000 (0:00:00.025) 0:01:54.449 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:71 Thursday 21 July 2022 14:22:07 +0000 (0:00:00.039) 0:01:54.488 ********* ok: [/cache/rhel-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/tmpw6dixrb5/tests/test-verify-pool-volumes.yml:3 Thursday 21 July 2022 14:22:07 +0000 (0:00:00.035) 0:01:54.524 ********* included: /tmp/tmpw6dixrb5/tests/test-verify-volume.yml for /cache/rhel-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': 'lv1', 'raid_level': None, 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1', '_kernel_device': '/dev/dm-2', '_raw_kernel_device': '/dev/dm-2'}) included: /tmp/tmpw6dixrb5/tests/test-verify-volume.yml for /cache/rhel-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': 'lv2', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv2', '_raw_device': '/dev/mapper/vg1-lv2', '_mount_id': '/dev/mapper/vg1-lv2', '_kernel_device': '/dev/dm-1', '_raw_kernel_device': '/dev/dm-1'}) included: /tmp/tmpw6dixrb5/tests/test-verify-volume.yml for /cache/rhel-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/test3', 'name': 'lv3', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv3', '_raw_device': '/dev/mapper/vg1-lv3', '_mount_id': '/dev/mapper/vg1-lv3', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume.yml:2 Thursday 21 July 2022 14:22:07 +0000 (0:00:00.053) 0:01:54.578 ********* ok: [/cache/rhel-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/tmpw6dixrb5/tests/test-verify-volume.yml:10 Thursday 21 July 2022 14:22:07 +0000 (0:00:00.050) 0:01:54.628 ********* included: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml for /cache/rhel-8.qcow2 => (item=mount) included: /tmp/tmpw6dixrb5/tests/test-verify-volume-fstab.yml for /cache/rhel-8.qcow2 => (item=fstab) included: /tmp/tmpw6dixrb5/tests/test-verify-volume-fs.yml for /cache/rhel-8.qcow2 => (item=fs) included: /tmp/tmpw6dixrb5/tests/test-verify-volume-device.yml for /cache/rhel-8.qcow2 => (item=device) included: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml for /cache/rhel-8.qcow2 => (item=encryption) included: /tmp/tmpw6dixrb5/tests/test-verify-volume-md.yml for /cache/rhel-8.qcow2 => (item=md) included: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml for /cache/rhel-8.qcow2 => (item=size) included: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml for /cache/rhel-8.qcow2 => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:6 Thursday 21 July 2022 14:22:07 +0000 (0:00:00.116) 0:01:54.744 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/vg1-lv1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:14 Thursday 21 July 2022 14:22:07 +0000 (0:00:00.042) 0:01:54.787 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 508753, "block_size": 4096, "block_total": 520704, "block_used": 11951, "device": "/dev/mapper/vg1-lv1", "fstype": "xfs", "inode_available": 1046525, "inode_total": 1046528, "inode_used": 3, "mount": "/opt/test1", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,sunit=1024,swidth=2048,noquota", "size_available": 2083852288, "size_total": 2132803584, "uuid": "3e9a1e28-d8d0-4d3d-bee6-c059157774d9" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 508753, "block_size": 4096, "block_total": 520704, "block_used": 11951, "device": "/dev/mapper/vg1-lv1", "fstype": "xfs", "inode_available": 1046525, "inode_total": 1046528, "inode_used": 3, "mount": "/opt/test1", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,sunit=1024,swidth=2048,noquota", "size_available": 2083852288, "size_total": 2132803584, "uuid": "3e9a1e28-d8d0-4d3d-bee6-c059157774d9" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:28 Thursday 21 July 2022 14:22:07 +0000 (0:00:00.058) 0:01:54.846 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:37 Thursday 21 July 2022 14:22:08 +0000 (0:00:00.051) 0:01:54.898 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:45 Thursday 21 July 2022 14:22:08 +0000 (0:00:00.051) 0:01:54.949 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:54 Thursday 21 July 2022 14:22:08 +0000 (0:00:00.055) 0:01:55.005 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:58 Thursday 21 July 2022 14:22:08 +0000 (0:00:00.024) 0:01:55.030 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:63 Thursday 21 July 2022 14:22:08 +0000 (0:00:00.024) 0:01:55.055 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:75 Thursday 21 July 2022 14:22:08 +0000 (0:00:00.024) 0:01:55.080 ********* ok: [/cache/rhel-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/tmpw6dixrb5/tests/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 14:22:08 +0000 (0:00:00.040) 0:01:55.120 ********* ok: [/cache/rhel-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/vg1-lv1 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test1 xfs defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test1 " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 14:22:08 +0000 (0:00:00.060) 0:01:55.181 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-fstab.yml:32 Thursday 21 July 2022 14:22:08 +0000 (0:00:00.051) 0:01:55.232 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-fstab.yml:39 Thursday 21 July 2022 14:22:08 +0000 (0:00:00.054) 0:01:55.287 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-fstab.yml:49 Thursday 21 July 2022 14:22:08 +0000 (0:00:00.038) 0:01:55.325 ********* ok: [/cache/rhel-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/tmpw6dixrb5/tests/test-verify-volume-fs.yml:4 Thursday 21 July 2022 14:22:08 +0000 (0:00:00.037) 0:01:55.362 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-fs.yml:10 Thursday 21 July 2022 14:22:08 +0000 (0:00:00.040) 0:01:55.403 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-device.yml:4 Thursday 21 July 2022 14:22:08 +0000 (0:00:00.043) 0:01:55.446 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "stat": { "atime": 1658413286.8750126, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658413286.8750126, "dev": 6, "device_type": 64770, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 77239, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1658413286.8750126, "nlink": 1, "path": "/dev/mapper/vg1-lv1", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-device.yml:10 Thursday 21 July 2022 14:22:08 +0000 (0:00:00.381) 0:01:55.828 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-device.yml:18 Thursday 21 July 2022 14:22:08 +0000 (0:00:00.040) 0:01:55.868 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-device.yml:24 Thursday 21 July 2022 14:22:09 +0000 (0:00:00.041) 0:01:55.909 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-device.yml:28 Thursday 21 July 2022 14:22:09 +0000 (0:00:00.040) 0:01:55.950 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-device.yml:33 Thursday 21 July 2022 14:22:09 +0000 (0:00:00.024) 0:01:55.975 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 14:22:09 +0000 (0:00:00.042) 0:01:56.017 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 14:22:09 +0000 (0:00:00.026) 0:01:56.043 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 14:22:10 +0000 (0:00:01.325) 0:01:57.369 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 14:22:10 +0000 (0:00:00.026) 0:01:57.395 ********* skipping: [/cache/rhel-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/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:30 Thursday 21 July 2022 14:22:10 +0000 (0:00:00.025) 0:01:57.421 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:38 Thursday 21 July 2022 14:22:10 +0000 (0:00:00.126) 0:01:57.547 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 14:22:10 +0000 (0:00:00.027) 0:01:57.574 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:49 Thursday 21 July 2022 14:22:10 +0000 (0:00:00.024) 0:01:57.599 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:55 Thursday 21 July 2022 14:22:10 +0000 (0:00:00.027) 0:01:57.626 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:61 Thursday 21 July 2022 14:22:10 +0000 (0:00:00.024) 0:01:57.651 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 14:22:10 +0000 (0:00:00.025) 0:01:57.677 ********* ok: [/cache/rhel-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/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:74 Thursday 21 July 2022 14:22:10 +0000 (0:00:00.053) 0:01:57.730 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:79 Thursday 21 July 2022 14:22:10 +0000 (0:00:00.052) 0:01:57.783 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:85 Thursday 21 July 2022 14:22:10 +0000 (0:00:00.035) 0:01:57.818 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:91 Thursday 21 July 2022 14:22:10 +0000 (0:00:00.038) 0:01:57.856 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:97 Thursday 21 July 2022 14:22:10 +0000 (0:00:00.036) 0:01:57.893 ********* ok: [/cache/rhel-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/tmpw6dixrb5/tests/test-verify-volume-md.yml:7 Thursday 21 July 2022 14:22:11 +0000 (0:00:00.039) 0:01:57.933 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-md.yml:13 Thursday 21 July 2022 14:22:11 +0000 (0:00:00.037) 0:01:57.970 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-md.yml:17 Thursday 21 July 2022 14:22:11 +0000 (0:00:00.034) 0:01:58.005 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-md.yml:21 Thursday 21 July 2022 14:22:11 +0000 (0:00:00.037) 0:01:58.042 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-md.yml:25 Thursday 21 July 2022 14:22:11 +0000 (0:00:00.038) 0:01:58.081 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-md.yml:31 Thursday 21 July 2022 14:22:11 +0000 (0:00:00.034) 0:01:58.115 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-md.yml:37 Thursday 21 July 2022 14:22:11 +0000 (0:00:00.037) 0:01:58.153 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:3 Thursday 21 July 2022 14:22:11 +0000 (0:00:00.038) 0:01:58.191 ********* ok: [/cache/rhel-8.qcow2] => { "bytes": 2147483648, "changed": false, "lvm": "2g", "parted": "2GiB", "size": "2 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:9 Thursday 21 July 2022 14:22:11 +0000 (0:00:00.384) 0:01:58.576 ********* ok: [/cache/rhel-8.qcow2] => { "bytes": 2147483648, "changed": false, "lvm": "2g", "parted": "2GiB", "size": "2 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:15 Thursday 21 July 2022 14:22:12 +0000 (0:00:00.397) 0:01:58.973 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_expected_size": "2147483648" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:20 Thursday 21 July 2022 14:22:12 +0000 (0:00:00.052) 0:01:59.025 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_expected_size": "2147483648" } TASK [debug] ******************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:25 Thursday 21 July 2022 14:22:12 +0000 (0:00:00.037) 0:01:59.063 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:28 Thursday 21 July 2022 14:22:12 +0000 (0:00:00.037) 0:01:59.100 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:31 Thursday 21 July 2022 14:22:12 +0000 (0:00:00.037) 0:01:59.137 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:36 Thursday 21 July 2022 14:22:12 +0000 (0:00:00.041) 0:01:59.179 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:39 Thursday 21 July 2022 14:22:12 +0000 (0:00:00.039) 0:01:59.218 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:44 Thursday 21 July 2022 14:22:12 +0000 (0:00:00.038) 0:01:59.256 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_actual_size": { "bytes": 2147483648, "changed": false, "failed": false, "lvm": "2g", "parted": "2GiB", "size": "2 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:47 Thursday 21 July 2022 14:22:12 +0000 (0:00:00.042) 0:01:59.299 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_expected_size": "2147483648" } TASK [assert] ****************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:50 Thursday 21 July 2022 14:22:12 +0000 (0:00:00.046) 0:01:59.346 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml:6 Thursday 21 July 2022 14:22:12 +0000 (0:00:00.056) 0:01:59.403 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "lvs", "--noheadings", "--nameprefixes", "--units=b", "--nosuffix", "--unquoted", "-o", "name,attr,cache_total_blocks,chunk_size,segtype", "vg1/lv1" ], "delta": "0:00:00.034395", "end": "2022-07-21 10:22:12.493675", "rc": 0, "start": "2022-07-21 10:22:12.459280" } STDOUT: LVM2_LV_NAME=lv1 LVM2_LV_ATTR=-wi-ao---- LVM2_CACHE_TOTAL_BLOCKS= LVM2_CHUNK_SIZE=0 LVM2_SEGTYPE=linear TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml:14 Thursday 21 July 2022 14:22:12 +0000 (0:00:00.447) 0:01:59.850 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_lv_segtype": [ "linear" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml:17 Thursday 21 July 2022 14:22:13 +0000 (0:00:00.086) 0:01:59.936 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml:22 Thursday 21 July 2022 14:22:13 +0000 (0:00:00.086) 0:02:00.023 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml:26 Thursday 21 July 2022 14:22:13 +0000 (0:00:00.073) 0:02:00.097 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml:32 Thursday 21 July 2022 14:22:13 +0000 (0:00:00.039) 0:02:00.137 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml:36 Thursday 21 July 2022 14:22:13 +0000 (0:00:00.038) 0:02:00.175 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume.yml:16 Thursday 21 July 2022 14:22:13 +0000 (0:00:00.076) 0:02:00.252 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume.yml:2 Thursday 21 July 2022 14:22:13 +0000 (0:00:00.036) 0:02:00.288 ********* ok: [/cache/rhel-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/tmpw6dixrb5/tests/test-verify-volume.yml:10 Thursday 21 July 2022 14:22:13 +0000 (0:00:00.052) 0:02:00.341 ********* included: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml for /cache/rhel-8.qcow2 => (item=mount) included: /tmp/tmpw6dixrb5/tests/test-verify-volume-fstab.yml for /cache/rhel-8.qcow2 => (item=fstab) included: /tmp/tmpw6dixrb5/tests/test-verify-volume-fs.yml for /cache/rhel-8.qcow2 => (item=fs) included: /tmp/tmpw6dixrb5/tests/test-verify-volume-device.yml for /cache/rhel-8.qcow2 => (item=device) included: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml for /cache/rhel-8.qcow2 => (item=encryption) included: /tmp/tmpw6dixrb5/tests/test-verify-volume-md.yml for /cache/rhel-8.qcow2 => (item=md) included: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml for /cache/rhel-8.qcow2 => (item=size) included: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml for /cache/rhel-8.qcow2 => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:6 Thursday 21 July 2022 14:22:13 +0000 (0:00:00.081) 0:02:00.422 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/vg1-lv2" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:14 Thursday 21 July 2022 14:22:13 +0000 (0:00:00.042) 0:02:00.464 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 769066, "block_size": 4096, "block_total": 782848, "block_used": 13782, "device": "/dev/mapper/vg1-lv2", "fstype": "xfs", "inode_available": 1570813, "inode_total": 1570816, "inode_used": 3, "mount": "/opt/test2", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,sunit=1024,swidth=2048,noquota", "size_available": 3150094336, "size_total": 3206545408, "uuid": "eca802b2-0423-4809-96ab-843e00b2bb9b" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 769066, "block_size": 4096, "block_total": 782848, "block_used": 13782, "device": "/dev/mapper/vg1-lv2", "fstype": "xfs", "inode_available": 1570813, "inode_total": 1570816, "inode_used": 3, "mount": "/opt/test2", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,sunit=1024,swidth=2048,noquota", "size_available": 3150094336, "size_total": 3206545408, "uuid": "eca802b2-0423-4809-96ab-843e00b2bb9b" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:28 Thursday 21 July 2022 14:22:13 +0000 (0:00:00.056) 0:02:00.521 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:37 Thursday 21 July 2022 14:22:13 +0000 (0:00:00.051) 0:02:00.573 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:45 Thursday 21 July 2022 14:22:13 +0000 (0:00:00.051) 0:02:00.624 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:54 Thursday 21 July 2022 14:22:13 +0000 (0:00:00.055) 0:02:00.679 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:58 Thursday 21 July 2022 14:22:13 +0000 (0:00:00.026) 0:02:00.706 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:63 Thursday 21 July 2022 14:22:13 +0000 (0:00:00.026) 0:02:00.733 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:75 Thursday 21 July 2022 14:22:13 +0000 (0:00:00.026) 0:02:00.760 ********* ok: [/cache/rhel-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/tmpw6dixrb5/tests/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 14:22:13 +0000 (0:00:00.036) 0:02:00.796 ********* ok: [/cache/rhel-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/vg1-lv2 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test2 xfs defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test2 " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 14:22:13 +0000 (0:00:00.063) 0:02:00.859 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-fstab.yml:32 Thursday 21 July 2022 14:22:14 +0000 (0:00:00.053) 0:02:00.912 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-fstab.yml:39 Thursday 21 July 2022 14:22:14 +0000 (0:00:00.055) 0:02:00.968 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-fstab.yml:49 Thursday 21 July 2022 14:22:14 +0000 (0:00:00.044) 0:02:01.012 ********* ok: [/cache/rhel-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/tmpw6dixrb5/tests/test-verify-volume-fs.yml:4 Thursday 21 July 2022 14:22:14 +0000 (0:00:00.043) 0:02:01.056 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-fs.yml:10 Thursday 21 July 2022 14:22:14 +0000 (0:00:00.048) 0:02:01.105 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-device.yml:4 Thursday 21 July 2022 14:22:14 +0000 (0:00:00.045) 0:02:01.150 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "stat": { "atime": 1658413286.6790125, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658413286.6790125, "dev": 6, "device_type": 64769, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 78989, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1658413286.6790125, "nlink": 1, "path": "/dev/mapper/vg1-lv2", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-device.yml:10 Thursday 21 July 2022 14:22:14 +0000 (0:00:00.396) 0:02:01.546 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-device.yml:18 Thursday 21 July 2022 14:22:14 +0000 (0:00:00.040) 0:02:01.587 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-device.yml:24 Thursday 21 July 2022 14:22:14 +0000 (0:00:00.041) 0:02:01.628 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-device.yml:28 Thursday 21 July 2022 14:22:14 +0000 (0:00:00.039) 0:02:01.668 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-device.yml:33 Thursday 21 July 2022 14:22:14 +0000 (0:00:00.025) 0:02:01.693 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 14:22:14 +0000 (0:00:00.047) 0:02:01.741 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 14:22:14 +0000 (0:00:00.024) 0:02:01.766 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 14:22:16 +0000 (0:00:01.250) 0:02:03.016 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 14:22:16 +0000 (0:00:00.026) 0:02:03.043 ********* skipping: [/cache/rhel-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/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:30 Thursday 21 July 2022 14:22:16 +0000 (0:00:00.025) 0:02:03.068 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:38 Thursday 21 July 2022 14:22:16 +0000 (0:00:00.100) 0:02:03.169 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 14:22:16 +0000 (0:00:00.025) 0:02:03.195 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:49 Thursday 21 July 2022 14:22:16 +0000 (0:00:00.025) 0:02:03.220 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:55 Thursday 21 July 2022 14:22:16 +0000 (0:00:00.026) 0:02:03.246 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:61 Thursday 21 July 2022 14:22:16 +0000 (0:00:00.025) 0:02:03.271 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 14:22:16 +0000 (0:00:00.024) 0:02:03.296 ********* ok: [/cache/rhel-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/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:74 Thursday 21 July 2022 14:22:16 +0000 (0:00:00.052) 0:02:03.349 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:79 Thursday 21 July 2022 14:22:16 +0000 (0:00:00.059) 0:02:03.408 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:85 Thursday 21 July 2022 14:22:16 +0000 (0:00:00.043) 0:02:03.452 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:91 Thursday 21 July 2022 14:22:16 +0000 (0:00:00.039) 0:02:03.492 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:97 Thursday 21 July 2022 14:22:16 +0000 (0:00:00.038) 0:02:03.530 ********* ok: [/cache/rhel-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/tmpw6dixrb5/tests/test-verify-volume-md.yml:7 Thursday 21 July 2022 14:22:16 +0000 (0:00:00.037) 0:02:03.568 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-md.yml:13 Thursday 21 July 2022 14:22:16 +0000 (0:00:00.040) 0:02:03.608 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-md.yml:17 Thursday 21 July 2022 14:22:16 +0000 (0:00:00.042) 0:02:03.651 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-md.yml:21 Thursday 21 July 2022 14:22:16 +0000 (0:00:00.038) 0:02:03.690 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-md.yml:25 Thursday 21 July 2022 14:22:16 +0000 (0:00:00.042) 0:02:03.733 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-md.yml:31 Thursday 21 July 2022 14:22:16 +0000 (0:00:00.039) 0:02:03.773 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-md.yml:37 Thursday 21 July 2022 14:22:16 +0000 (0:00:00.039) 0:02:03.812 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:3 Thursday 21 July 2022 14:22:16 +0000 (0:00:00.044) 0:02:03.856 ********* ok: [/cache/rhel-8.qcow2] => { "bytes": 3221225472, "changed": false, "lvm": "3g", "parted": "3GiB", "size": "3 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:9 Thursday 21 July 2022 14:22:17 +0000 (0:00:00.387) 0:02:04.243 ********* ok: [/cache/rhel-8.qcow2] => { "bytes": 3221225472, "changed": false, "lvm": "3g", "parted": "3GiB", "size": "3 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:15 Thursday 21 July 2022 14:22:17 +0000 (0:00:00.375) 0:02:04.619 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_expected_size": "3221225472" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:20 Thursday 21 July 2022 14:22:17 +0000 (0:00:00.053) 0:02:04.673 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_expected_size": "3221225472" } TASK [debug] ******************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:25 Thursday 21 July 2022 14:22:17 +0000 (0:00:00.036) 0:02:04.710 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:28 Thursday 21 July 2022 14:22:17 +0000 (0:00:00.037) 0:02:04.747 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:31 Thursday 21 July 2022 14:22:17 +0000 (0:00:00.039) 0:02:04.787 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:36 Thursday 21 July 2022 14:22:17 +0000 (0:00:00.041) 0:02:04.829 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:39 Thursday 21 July 2022 14:22:17 +0000 (0:00:00.039) 0:02:04.868 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:44 Thursday 21 July 2022 14:22:18 +0000 (0:00:00.039) 0:02:04.907 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_actual_size": { "bytes": 3221225472, "changed": false, "failed": false, "lvm": "3g", "parted": "3GiB", "size": "3 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:47 Thursday 21 July 2022 14:22:18 +0000 (0:00:00.039) 0:02:04.946 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_expected_size": "3221225472" } TASK [assert] ****************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:50 Thursday 21 July 2022 14:22:18 +0000 (0:00:00.038) 0:02:04.985 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml:6 Thursday 21 July 2022 14:22:18 +0000 (0:00:00.051) 0:02:05.037 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "lvs", "--noheadings", "--nameprefixes", "--units=b", "--nosuffix", "--unquoted", "-o", "name,attr,cache_total_blocks,chunk_size,segtype", "vg1/lv2" ], "delta": "0:00:00.034618", "end": "2022-07-21 10:22:18.139664", "rc": 0, "start": "2022-07-21 10:22:18.105046" } STDOUT: LVM2_LV_NAME=lv2 LVM2_LV_ATTR=-wi-ao---- LVM2_CACHE_TOTAL_BLOCKS= LVM2_CHUNK_SIZE=0 LVM2_SEGTYPE=linear TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml:14 Thursday 21 July 2022 14:22:18 +0000 (0:00:00.459) 0:02:05.496 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_lv_segtype": [ "linear" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml:17 Thursday 21 July 2022 14:22:18 +0000 (0:00:00.101) 0:02:05.597 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml:22 Thursday 21 July 2022 14:22:18 +0000 (0:00:00.051) 0:02:05.648 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml:26 Thursday 21 July 2022 14:22:18 +0000 (0:00:00.040) 0:02:05.688 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml:32 Thursday 21 July 2022 14:22:18 +0000 (0:00:00.042) 0:02:05.731 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml:36 Thursday 21 July 2022 14:22:18 +0000 (0:00:00.039) 0:02:05.771 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume.yml:16 Thursday 21 July 2022 14:22:18 +0000 (0:00:00.038) 0:02:05.809 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume.yml:2 Thursday 21 July 2022 14:22:18 +0000 (0:00:00.038) 0:02:05.848 ********* ok: [/cache/rhel-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/tmpw6dixrb5/tests/test-verify-volume.yml:10 Thursday 21 July 2022 14:22:19 +0000 (0:00:00.054) 0:02:05.902 ********* included: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml for /cache/rhel-8.qcow2 => (item=mount) included: /tmp/tmpw6dixrb5/tests/test-verify-volume-fstab.yml for /cache/rhel-8.qcow2 => (item=fstab) included: /tmp/tmpw6dixrb5/tests/test-verify-volume-fs.yml for /cache/rhel-8.qcow2 => (item=fs) included: /tmp/tmpw6dixrb5/tests/test-verify-volume-device.yml for /cache/rhel-8.qcow2 => (item=device) included: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml for /cache/rhel-8.qcow2 => (item=encryption) included: /tmp/tmpw6dixrb5/tests/test-verify-volume-md.yml for /cache/rhel-8.qcow2 => (item=md) included: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml for /cache/rhel-8.qcow2 => (item=size) included: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml for /cache/rhel-8.qcow2 => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:6 Thursday 21 July 2022 14:22:19 +0000 (0:00:00.081) 0:02:05.984 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/vg1-lv3" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:14 Thursday 21 July 2022 14:22:19 +0000 (0:00:00.040) 0:02:06.025 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 769066, "block_size": 4096, "block_total": 782848, "block_used": 13782, "device": "/dev/mapper/vg1-lv3", "fstype": "xfs", "inode_available": 1570813, "inode_total": 1570816, "inode_used": 3, "mount": "/opt/test3", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,sunit=1024,swidth=2048,noquota", "size_available": 3150094336, "size_total": 3206545408, "uuid": "73bec7a7-26db-4de9-9695-08cadc04cc65" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 769066, "block_size": 4096, "block_total": 782848, "block_used": 13782, "device": "/dev/mapper/vg1-lv3", "fstype": "xfs", "inode_available": 1570813, "inode_total": 1570816, "inode_used": 3, "mount": "/opt/test3", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,sunit=1024,swidth=2048,noquota", "size_available": 3150094336, "size_total": 3206545408, "uuid": "73bec7a7-26db-4de9-9695-08cadc04cc65" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:28 Thursday 21 July 2022 14:22:19 +0000 (0:00:00.058) 0:02:06.083 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:37 Thursday 21 July 2022 14:22:19 +0000 (0:00:00.050) 0:02:06.134 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:45 Thursday 21 July 2022 14:22:19 +0000 (0:00:00.045) 0:02:06.179 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:54 Thursday 21 July 2022 14:22:19 +0000 (0:00:00.049) 0:02:06.229 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:58 Thursday 21 July 2022 14:22:19 +0000 (0:00:00.027) 0:02:06.257 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:63 Thursday 21 July 2022 14:22:19 +0000 (0:00:00.025) 0:02:06.282 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:75 Thursday 21 July 2022 14:22:19 +0000 (0:00:00.025) 0:02:06.307 ********* ok: [/cache/rhel-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/tmpw6dixrb5/tests/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 14:22:19 +0000 (0:00:00.037) 0:02:06.345 ********* ok: [/cache/rhel-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/vg1-lv3 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test3 xfs defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test3 " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 14:22:19 +0000 (0:00:00.064) 0:02:06.410 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-fstab.yml:32 Thursday 21 July 2022 14:22:19 +0000 (0:00:00.050) 0:02:06.460 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-fstab.yml:39 Thursday 21 July 2022 14:22:19 +0000 (0:00:00.052) 0:02:06.513 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-fstab.yml:49 Thursday 21 July 2022 14:22:19 +0000 (0:00:00.042) 0:02:06.556 ********* ok: [/cache/rhel-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/tmpw6dixrb5/tests/test-verify-volume-fs.yml:4 Thursday 21 July 2022 14:22:19 +0000 (0:00:00.035) 0:02:06.592 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-fs.yml:10 Thursday 21 July 2022 14:22:19 +0000 (0:00:00.040) 0:02:06.632 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-device.yml:4 Thursday 21 July 2022 14:22:19 +0000 (0:00:00.039) 0:02:06.671 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "stat": { "atime": 1658413286.4780126, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658413286.4780126, "dev": 6, "device_type": 64768, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 78890, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1658413286.4780126, "nlink": 1, "path": "/dev/mapper/vg1-lv3", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-device.yml:10 Thursday 21 July 2022 14:22:20 +0000 (0:00:00.370) 0:02:07.042 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-device.yml:18 Thursday 21 July 2022 14:22:20 +0000 (0:00:00.041) 0:02:07.084 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-device.yml:24 Thursday 21 July 2022 14:22:20 +0000 (0:00:00.042) 0:02:07.126 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-device.yml:28 Thursday 21 July 2022 14:22:20 +0000 (0:00:00.038) 0:02:07.165 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-device.yml:33 Thursday 21 July 2022 14:22:20 +0000 (0:00:00.025) 0:02:07.190 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 14:22:20 +0000 (0:00:00.039) 0:02:07.230 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 14:22:20 +0000 (0:00:00.025) 0:02:07.255 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 14:22:21 +0000 (0:00:01.269) 0:02:08.525 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 14:22:21 +0000 (0:00:00.061) 0:02:08.586 ********* skipping: [/cache/rhel-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/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:30 Thursday 21 July 2022 14:22:21 +0000 (0:00:00.025) 0:02:08.612 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:38 Thursday 21 July 2022 14:22:21 +0000 (0:00:00.056) 0:02:08.668 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 14:22:21 +0000 (0:00:00.026) 0:02:08.694 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:49 Thursday 21 July 2022 14:22:21 +0000 (0:00:00.027) 0:02:08.722 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:55 Thursday 21 July 2022 14:22:21 +0000 (0:00:00.025) 0:02:08.748 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:61 Thursday 21 July 2022 14:22:21 +0000 (0:00:00.026) 0:02:08.774 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 14:22:21 +0000 (0:00:00.025) 0:02:08.799 ********* ok: [/cache/rhel-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/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:74 Thursday 21 July 2022 14:22:21 +0000 (0:00:00.055) 0:02:08.855 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:79 Thursday 21 July 2022 14:22:22 +0000 (0:00:00.052) 0:02:08.907 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:85 Thursday 21 July 2022 14:22:22 +0000 (0:00:00.036) 0:02:08.943 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:91 Thursday 21 July 2022 14:22:22 +0000 (0:00:00.041) 0:02:08.985 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:97 Thursday 21 July 2022 14:22:22 +0000 (0:00:00.037) 0:02:09.023 ********* ok: [/cache/rhel-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/tmpw6dixrb5/tests/test-verify-volume-md.yml:7 Thursday 21 July 2022 14:22:22 +0000 (0:00:00.037) 0:02:09.060 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-md.yml:13 Thursday 21 July 2022 14:22:22 +0000 (0:00:00.038) 0:02:09.098 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-md.yml:17 Thursday 21 July 2022 14:22:22 +0000 (0:00:00.042) 0:02:09.141 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-md.yml:21 Thursday 21 July 2022 14:22:22 +0000 (0:00:00.037) 0:02:09.178 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-md.yml:25 Thursday 21 July 2022 14:22:22 +0000 (0:00:00.037) 0:02:09.216 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-md.yml:31 Thursday 21 July 2022 14:22:22 +0000 (0:00:00.037) 0:02:09.253 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-md.yml:37 Thursday 21 July 2022 14:22:22 +0000 (0:00:00.042) 0:02:09.296 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:3 Thursday 21 July 2022 14:22:22 +0000 (0:00:00.038) 0:02:09.334 ********* ok: [/cache/rhel-8.qcow2] => { "bytes": 3221225472, "changed": false, "lvm": "3g", "parted": "3GiB", "size": "3 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:9 Thursday 21 July 2022 14:22:22 +0000 (0:00:00.428) 0:02:09.762 ********* ok: [/cache/rhel-8.qcow2] => { "bytes": 3221225472, "changed": false, "lvm": "3g", "parted": "3GiB", "size": "3 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:15 Thursday 21 July 2022 14:22:23 +0000 (0:00:00.374) 0:02:10.137 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_expected_size": "3221225472" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:20 Thursday 21 July 2022 14:22:23 +0000 (0:00:00.052) 0:02:10.189 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_expected_size": "3221225472" } TASK [debug] ******************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:25 Thursday 21 July 2022 14:22:23 +0000 (0:00:00.038) 0:02:10.227 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:28 Thursday 21 July 2022 14:22:23 +0000 (0:00:00.041) 0:02:10.269 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:31 Thursday 21 July 2022 14:22:23 +0000 (0:00:00.038) 0:02:10.308 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:36 Thursday 21 July 2022 14:22:23 +0000 (0:00:00.036) 0:02:10.344 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:39 Thursday 21 July 2022 14:22:23 +0000 (0:00:00.035) 0:02:10.379 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:44 Thursday 21 July 2022 14:22:23 +0000 (0:00:00.036) 0:02:10.415 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_actual_size": { "bytes": 3221225472, "changed": false, "failed": false, "lvm": "3g", "parted": "3GiB", "size": "3 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:47 Thursday 21 July 2022 14:22:23 +0000 (0:00:00.038) 0:02:10.454 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_expected_size": "3221225472" } TASK [assert] ****************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:50 Thursday 21 July 2022 14:22:23 +0000 (0:00:00.073) 0:02:10.527 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml:6 Thursday 21 July 2022 14:22:23 +0000 (0:00:00.101) 0:02:10.629 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "lvs", "--noheadings", "--nameprefixes", "--units=b", "--nosuffix", "--unquoted", "-o", "name,attr,cache_total_blocks,chunk_size,segtype", "vg1/lv3" ], "delta": "0:00:00.031799", "end": "2022-07-21 10:22:23.672512", "rc": 0, "start": "2022-07-21 10:22:23.640713" } STDOUT: LVM2_LV_NAME=lv3 LVM2_LV_ATTR=-wi-ao---- LVM2_CACHE_TOTAL_BLOCKS= LVM2_CHUNK_SIZE=0 LVM2_SEGTYPE=linear TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml:14 Thursday 21 July 2022 14:22:24 +0000 (0:00:00.397) 0:02:11.027 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_lv_segtype": [ "linear" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml:17 Thursday 21 July 2022 14:22:24 +0000 (0:00:00.091) 0:02:11.118 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml:22 Thursday 21 July 2022 14:22:24 +0000 (0:00:00.087) 0:02:11.206 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml:26 Thursday 21 July 2022 14:22:24 +0000 (0:00:00.042) 0:02:11.249 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml:32 Thursday 21 July 2022 14:22:24 +0000 (0:00:00.039) 0:02:11.288 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml:36 Thursday 21 July 2022 14:22:24 +0000 (0:00:00.037) 0:02:11.325 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume.yml:16 Thursday 21 July 2022 14:22:24 +0000 (0:00:00.035) 0:02:11.360 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpw6dixrb5/tests/verify-role-results.yml:43 Thursday 21 July 2022 14:22:24 +0000 (0:00:00.032) 0:02:11.393 ********* TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpw6dixrb5/tests/verify-role-results.yml:53 Thursday 21 July 2022 14:22:24 +0000 (0:00:00.020) 0:02:11.413 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Remove the device created above] ***************************************** task path: /tmp/tmpw6dixrb5/tests/tests_create_raid_pool_then_remove.yml:77 Thursday 21 July 2022 14:22:24 +0000 (0:00:00.039) 0:02:11.453 ********* TASK [linux-system-roles.storage : set platform/version specific variables] **** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Thursday 21 July 2022 14:22:24 +0000 (0:00:00.054) 0:02:11.508 ********* included: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/set_vars.yml for /cache/rhel-8.qcow2 TASK [linux-system-roles.storage : Ensure ansible_facts used by role] ********** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Thursday 21 July 2022 14:22:24 +0000 (0:00:00.037) 0:02:11.545 ********* ok: [/cache/rhel-8.qcow2] TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Thursday 21 July 2022 14:22:25 +0000 (0:00:00.513) 0:02:12.059 ********* skipping: [/cache/rhel-8.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/rhel-8.qcow2] => (item=RedHat_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/tmpw6dixrb5/tests/roles/linux-system-roles.storage/vars/RedHat_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.yml" } skipping: [/cache/rhel-8.qcow2] => (item=RedHat_8.6.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.6.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Thursday 21 July 2022 14:22:25 +0000 (0:00:00.059) 0:02:12.119 ********* ok: [/cache/rhel-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/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Thursday 21 July 2022 14:22:25 +0000 (0:00:00.033) 0:02:12.152 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : include the appropriate provider tasks] ***** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Thursday 21 July 2022 14:22:25 +0000 (0:00:00.033) 0:02:12.186 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml for /cache/rhel-8.qcow2 TASK [linux-system-roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 14:22:25 +0000 (0:00:00.043) 0:02:12.230 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure blivet is available] ************** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 14:22:25 +0000 (0:00:00.020) 0:02:12.250 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : show storage_pools] ************************* task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:14 Thursday 21 July 2022 14:22:25 +0000 (0:00:00.030) 0:02:12.280 ********* ok: [/cache/rhel-8.qcow2] => { "storage_pools": [ { "disks": [ "sda", "sdb" ], "name": "vg1", "raid_level": "raid0", "state": "absent", "type": "lvm", "volumes": [ { "mount_point": "/opt/test1", "name": "lv1", "size": "2g" }, { "mount_point": "/opt/test2", "name": "lv2", "size": "3g" }, { "mount_point": "/opt/test3", "name": "lv3", "size": "3g" } ] } ] } TASK [linux-system-roles.storage : show storage_volumes] *********************** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:19 Thursday 21 July 2022 14:22:25 +0000 (0:00:00.038) 0:02:12.319 ********* ok: [/cache/rhel-8.qcow2] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [linux-system-roles.storage : get required packages] ********************** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:24 Thursday 21 July 2022 14:22:25 +0000 (0:00:00.035) 0:02:12.354 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : enable copr repositories if needed] ********* task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:37 Thursday 21 July 2022 14:22:25 +0000 (0:00:00.027) 0:02:12.382 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure required packages are installed] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:44 Thursday 21 July 2022 14:22:25 +0000 (0:00:00.026) 0:02:12.408 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : get service facts] ************************** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 Thursday 21 July 2022 14:22:25 +0000 (0:00:00.026) 0:02:12.435 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set storage_cryptsetup_services] ************ task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 14:22:25 +0000 (0:00:00.026) 0:02:12.461 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [linux-system-roles.storage : Mask the systemd cryptsetup services] ******* task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:71 Thursday 21 July 2022 14:22:25 +0000 (0:00:00.057) 0:02:12.519 ********* TASK [linux-system-roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Thursday 21 July 2022 14:22:25 +0000 (0:00:00.023) 0:02:12.543 ********* changed: [/cache/rhel-8.qcow2] => { "actions": [ { "action": "destroy format", "device": "/dev/mapper/vg1-lv3", "fs_type": "xfs" }, { "action": "destroy device", "device": "/dev/mapper/vg1-lv3", "fs_type": null }, { "action": "destroy format", "device": "/dev/mapper/vg1-lv2", "fs_type": "xfs" }, { "action": "destroy device", "device": "/dev/mapper/vg1-lv2", "fs_type": null }, { "action": "destroy format", "device": "/dev/mapper/vg1-lv1", "fs_type": "xfs" }, { "action": "destroy device", "device": "/dev/mapper/vg1-lv1", "fs_type": null }, { "action": "destroy device", "device": "/dev/vg1", "fs_type": null }, { "action": "destroy format", "device": "/dev/md/vg1-1", "fs_type": "lvmpv" }, { "action": "destroy device", "device": "/dev/md/vg1-1", "fs_type": null }, { "action": "destroy format", "device": "/dev/sdb1", "fs_type": "mdmember" }, { "action": "destroy device", "device": "/dev/sdb1", "fs_type": null }, { "action": "destroy format", "device": "/dev/sdb", "fs_type": "disklabel" }, { "action": "destroy format", "device": "/dev/sda1", "fs_type": "mdmember" }, { "action": "destroy device", "device": "/dev/sda1", "fs_type": null }, { "action": "destroy format", "device": "/dev/sda", "fs_type": "disklabel" } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb", "/dev/vdc", "/dev/vdd" ], "mounts": [ { "fstype": "xfs", "path": "/opt/test3", "src": "/dev/mapper/vg1-lv3", "state": "absent" }, { "fstype": "xfs", "path": "/opt/test2", "src": "/dev/mapper/vg1-lv2", "state": "absent" }, { "fstype": "xfs", "path": "/opt/test1", "src": "/dev/mapper/vg1-lv1", "state": "absent" } ], "packages": [ "dosfstools", "xfsprogs" ], "pools": [ { "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": "512 KiB", "raid_device_count": 2, "raid_level": "raid0", "raid_metadata_version": "1.2", "raid_spare_count": 0, "state": "absent", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "/dev/mapper/vg1-lv2", "_mount_id": "/dev/mapper/vg1-lv2", "_raw_device": "/dev/mapper/vg1-lv2", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "lv2", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "/dev/mapper/vg1-lv3", "_mount_id": "/dev/mapper/vg1-lv3", "_raw_device": "/dev/mapper/vg1-lv3", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test3", "name": "lv3", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } TASK [linux-system-roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:91 Thursday 21 July 2022 14:22:29 +0000 (0:00:03.673) 0:02:16.216 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Unmask the systemd cryptsetup services] ***** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:103 Thursday 21 July 2022 14:22:29 +0000 (0:00:00.039) 0:02:16.256 ********* TASK [linux-system-roles.storage : show blivet_output] ************************* task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:109 Thursday 21 July 2022 14:22:29 +0000 (0:00:00.022) 0:02:16.278 ********* ok: [/cache/rhel-8.qcow2] => { "blivet_output": { "actions": [ { "action": "destroy format", "device": "/dev/mapper/vg1-lv3", "fs_type": "xfs" }, { "action": "destroy device", "device": "/dev/mapper/vg1-lv3", "fs_type": null }, { "action": "destroy format", "device": "/dev/mapper/vg1-lv2", "fs_type": "xfs" }, { "action": "destroy device", "device": "/dev/mapper/vg1-lv2", "fs_type": null }, { "action": "destroy format", "device": "/dev/mapper/vg1-lv1", "fs_type": "xfs" }, { "action": "destroy device", "device": "/dev/mapper/vg1-lv1", "fs_type": null }, { "action": "destroy device", "device": "/dev/vg1", "fs_type": null }, { "action": "destroy format", "device": "/dev/md/vg1-1", "fs_type": "lvmpv" }, { "action": "destroy device", "device": "/dev/md/vg1-1", "fs_type": null }, { "action": "destroy format", "device": "/dev/sdb1", "fs_type": "mdmember" }, { "action": "destroy device", "device": "/dev/sdb1", "fs_type": null }, { "action": "destroy format", "device": "/dev/sdb", "fs_type": "disklabel" }, { "action": "destroy format", "device": "/dev/sda1", "fs_type": "mdmember" }, { "action": "destroy device", "device": "/dev/sda1", "fs_type": null }, { "action": "destroy format", "device": "/dev/sda", "fs_type": "disklabel" } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb", "/dev/vdc", "/dev/vdd" ], "mounts": [ { "fstype": "xfs", "path": "/opt/test3", "src": "/dev/mapper/vg1-lv3", "state": "absent" }, { "fstype": "xfs", "path": "/opt/test2", "src": "/dev/mapper/vg1-lv2", "state": "absent" }, { "fstype": "xfs", "path": "/opt/test1", "src": "/dev/mapper/vg1-lv1", "state": "absent" } ], "packages": [ "dosfstools", "xfsprogs" ], "pools": [ { "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": "512 KiB", "raid_device_count": 2, "raid_level": "raid0", "raid_metadata_version": "1.2", "raid_spare_count": 0, "state": "absent", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "/dev/mapper/vg1-lv2", "_mount_id": "/dev/mapper/vg1-lv2", "_raw_device": "/dev/mapper/vg1-lv2", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "lv2", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "/dev/mapper/vg1-lv3", "_mount_id": "/dev/mapper/vg1-lv3", "_raw_device": "/dev/mapper/vg1-lv3", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test3", "name": "lv3", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } } TASK [linux-system-roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:114 Thursday 21 July 2022 14:22:29 +0000 (0:00:00.043) 0:02:16.321 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": "512 KiB", "raid_device_count": 2, "raid_level": "raid0", "raid_metadata_version": "1.2", "raid_spare_count": 0, "state": "absent", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "/dev/mapper/vg1-lv2", "_mount_id": "/dev/mapper/vg1-lv2", "_raw_device": "/dev/mapper/vg1-lv2", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "lv2", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "/dev/mapper/vg1-lv3", "_mount_id": "/dev/mapper/vg1-lv3", "_raw_device": "/dev/mapper/vg1-lv3", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test3", "name": "lv3", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] }, "changed": false } TASK [linux-system-roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:118 Thursday 21 July 2022 14:22:29 +0000 (0:00:00.041) 0:02:16.363 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : remove obsolete mounts] ********************* task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:134 Thursday 21 July 2022 14:22:29 +0000 (0:00:00.039) 0:02:16.402 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/rhel-8.qcow2] => (item={'src': '/dev/mapper/vg1-lv3', 'path': '/opt/test3', 'state': 'absent', 'fstype': 'xfs'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "xfs", "mount_info": { "fstype": "xfs", "path": "/opt/test3", "src": "/dev/mapper/vg1-lv3", "state": "absent" }, "name": "/opt/test3", "opts": "defaults", "passno": "0", "src": "/dev/mapper/vg1-lv3" } redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/rhel-8.qcow2] => (item={'src': '/dev/mapper/vg1-lv2', 'path': '/opt/test2', 'state': 'absent', 'fstype': 'xfs'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "xfs", "mount_info": { "fstype": "xfs", "path": "/opt/test2", "src": "/dev/mapper/vg1-lv2", "state": "absent" }, "name": "/opt/test2", "opts": "defaults", "passno": "0", "src": "/dev/mapper/vg1-lv2" } redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/rhel-8.qcow2] => (item={'src': '/dev/mapper/vg1-lv1', 'path': '/opt/test1', 'state': 'absent', 'fstype': 'xfs'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "xfs", "mount_info": { "fstype": "xfs", "path": "/opt/test1", "src": "/dev/mapper/vg1-lv1", "state": "absent" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "/dev/mapper/vg1-lv1" } TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:146 Thursday 21 July 2022 14:22:30 +0000 (0:00:01.096) 0:02:17.499 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : set up new/current mounts] ****************** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:151 Thursday 21 July 2022 14:22:31 +0000 (0:00:00.615) 0:02:18.115 ********* TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:163 Thursday 21 July 2022 14:22:31 +0000 (0:00:00.038) 0:02:18.153 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:171 Thursday 21 July 2022 14:22:31 +0000 (0:00:00.607) 0:02:18.761 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:176 Thursday 21 July 2022 14:22:32 +0000 (0:00:00.378) 0:02:19.139 ********* TASK [linux-system-roles.storage : Update facts] ******************************* task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 Thursday 21 July 2022 14:22:32 +0000 (0:00:00.024) 0:02:19.164 ********* ok: [/cache/rhel-8.qcow2] META: role_complete for /cache/rhel-8.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmpw6dixrb5/tests/tests_create_raid_pool_then_remove.yml:98 Thursday 21 July 2022 14:22:33 +0000 (0:00:00.945) 0:02:20.110 ********* included: /tmp/tmpw6dixrb5/tests/verify-role-results.yml for /cache/rhel-8.qcow2 TASK [Print out pool information] ********************************************** task path: /tmp/tmpw6dixrb5/tests/verify-role-results.yml:1 Thursday 21 July 2022 14:22:33 +0000 (0:00:00.047) 0:02:20.157 ********* ok: [/cache/rhel-8.qcow2] => { "_storage_pools_list": [ { "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": "512 KiB", "raid_device_count": 2, "raid_level": "raid0", "raid_metadata_version": "1.2", "raid_spare_count": 0, "state": "absent", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "/dev/mapper/vg1-lv2", "_mount_id": "/dev/mapper/vg1-lv2", "_raw_device": "/dev/mapper/vg1-lv2", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "lv2", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "/dev/mapper/vg1-lv3", "_mount_id": "/dev/mapper/vg1-lv3", "_raw_device": "/dev/mapper/vg1-lv3", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test3", "name": "lv3", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] } TASK [Print out volume information] ******************************************** task path: /tmp/tmpw6dixrb5/tests/verify-role-results.yml:6 Thursday 21 July 2022 14:22:33 +0000 (0:00:00.085) 0:02:20.243 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpw6dixrb5/tests/verify-role-results.yml:14 Thursday 21 July 2022 14:22:33 +0000 (0:00:00.035) 0:02:20.278 ********* ok: [/cache/rhel-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-14-20-00-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "", "label": "", "name": "/dev/vda1", "size": "1M", "type": "partition", "uuid": "" }, "/dev/vda2": { "fstype": "vfat", "label": "", "name": "/dev/vda2", "size": "100M", "type": "partition", "uuid": "7B77-95E7" }, "/dev/vda3": { "fstype": "xfs", "label": "root", "name": "/dev/vda3", "size": "9.9G", "type": "partition", "uuid": "853ae189-b3fe-4a45-8485-75bbb1421bbe" }, "/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/tmpw6dixrb5/tests/verify-role-results.yml:19 Thursday 21 July 2022 14:22:33 +0000 (0:00:00.412) 0:02:20.690 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.002637", "end": "2022-07-21 10:22:33.747460", "rc": 0, "start": "2022-07-21 10:22:33.744823" } STDOUT: UUID=853ae189-b3fe-4a45-8485-75bbb1421bbe / xfs defaults 0 0 UUID=7B77-95E7 /boot/efi vfat defaults,uid=0,gid=0,umask=077,shortname=winnt 0 2 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpw6dixrb5/tests/verify-role-results.yml:24 Thursday 21 July 2022 14:22:34 +0000 (0:00:00.411) 0:02:21.102 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.002976", "end": "2022-07-21 10:22:34.128059", "failed_when_result": false, "rc": 1, "start": "2022-07-21 10:22:34.125083" } STDERR: cat: /etc/crypttab: No such file or directory MSG: non-zero return code TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmpw6dixrb5/tests/verify-role-results.yml:33 Thursday 21 July 2022 14:22:34 +0000 (0:00:00.379) 0:02:21.481 ********* included: /tmp/tmpw6dixrb5/tests/test-verify-pool.yml for /cache/rhel-8.qcow2 => (item={'disks': ['sda', 'sdb'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'name': 'vg1', 'raid_level': 'raid0', 'raid_device_count': 2, 'raid_spare_count': 0, 'raid_metadata_version': '1.2', 'state': 'absent', 'type': 'lvm', 'volumes': [{'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'lv1', 'raid_level': None, 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1'}, {'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test2', 'name': 'lv2', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv2', '_raw_device': '/dev/mapper/vg1-lv2', '_mount_id': '/dev/mapper/vg1-lv2'}, {'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test3', 'name': 'lv3', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv3', '_raw_device': '/dev/mapper/vg1-lv3', '_mount_id': '/dev/mapper/vg1-lv3'}], 'raid_chunk_size': '512 KiB'}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-pool.yml:5 Thursday 21 July 2022 14:22:34 +0000 (0:00:00.062) 0:02:21.544 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool.yml:18 Thursday 21 July 2022 14:22:34 +0000 (0:00:00.035) 0:02:21.579 ********* included: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml for /cache/rhel-8.qcow2 => (item=members) included: /tmp/tmpw6dixrb5/tests/test-verify-pool-volumes.yml for /cache/rhel-8.qcow2 => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:1 Thursday 21 July 2022 14:22:34 +0000 (0:00:00.048) 0:02:21.627 ********* ok: [/cache/rhel-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/tmpw6dixrb5/tests/test-verify-pool-members.yml:10 Thursday 21 July 2022 14:22:34 +0000 (0:00:00.051) 0:02:21.679 ********* TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:19 Thursday 21 July 2022 14:22:34 +0000 (0:00:00.022) 0:02:21.702 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "__pvs_lvm_len": "0" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:23 Thursday 21 July 2022 14:22:34 +0000 (0:00:00.048) 0:02:21.750 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_pool_pvs": [] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:27 Thursday 21 July 2022 14:22:34 +0000 (0:00:00.057) 0:02:21.807 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:34 Thursday 21 July 2022 14:22:34 +0000 (0:00:00.050) 0:02:21.858 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:38 Thursday 21 July 2022 14:22:35 +0000 (0:00:00.038) 0:02:21.897 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_type": "partition" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:42 Thursday 21 July 2022 14:22:35 +0000 (0:00:00.050) 0:02:21.947 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_type": "raid0" }, "changed": false } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:46 Thursday 21 July 2022 14:22:35 +0000 (0:00:00.037) 0:02:21.985 ********* TASK [Check MD RAID] *********************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:56 Thursday 21 July 2022 14:22:35 +0000 (0:00:00.020) 0:02:22.005 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml for /cache/rhel-8.qcow2 TASK [get information about RAID] ********************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:6 Thursday 21 July 2022 14:22:35 +0000 (0:00:00.040) 0:02:22.045 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:12 Thursday 21 July 2022 14:22:35 +0000 (0:00:00.021) 0:02:22.067 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:16 Thursday 21 July 2022 14:22:35 +0000 (0:00:00.021) 0:02:22.088 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:20 Thursday 21 July 2022 14:22:35 +0000 (0:00:00.024) 0:02:22.113 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:24 Thursday 21 July 2022 14:22:35 +0000 (0:00:00.025) 0:02:22.138 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:30 Thursday 21 July 2022 14:22:35 +0000 (0:00:00.025) 0:02:22.163 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:36 Thursday 21 July 2022 14:22:35 +0000 (0:00:00.024) 0:02:22.187 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:44 Thursday 21 July 2022 14:22:35 +0000 (0:00:00.025) 0:02:22.213 ********* ok: [/cache/rhel-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/tmpw6dixrb5/tests/test-verify-pool-members.yml:59 Thursday 21 July 2022 14:22:35 +0000 (0:00:00.034) 0:02:22.247 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-members-lvmraid.yml for /cache/rhel-8.qcow2 TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-members-lvmraid.yml:1 Thursday 21 July 2022 14:22:35 +0000 (0:00:00.047) 0:02:22.294 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-member-lvmraid.yml for /cache/rhel-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': 'lv1', 'raid_level': None, 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1'}) included: /tmp/tmpw6dixrb5/tests/verify-pool-member-lvmraid.yml for /cache/rhel-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': 'lv2', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv2', '_raw_device': '/dev/mapper/vg1-lv2', '_mount_id': '/dev/mapper/vg1-lv2'}) included: /tmp/tmpw6dixrb5/tests/verify-pool-member-lvmraid.yml for /cache/rhel-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/test3', 'name': 'lv3', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv3', '_raw_device': '/dev/mapper/vg1-lv3', '_mount_id': '/dev/mapper/vg1-lv3'}) TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-lvmraid.yml:3 Thursday 21 July 2022 14:22:35 +0000 (0:00:00.057) 0:02:22.352 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-lvmraid.yml:8 Thursday 21 July 2022 14:22:35 +0000 (0:00:00.028) 0:02:22.380 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-lvmraid.yml:12 Thursday 21 July 2022 14:22:35 +0000 (0:00:00.027) 0:02:22.408 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-lvmraid.yml:3 Thursday 21 July 2022 14:22:35 +0000 (0:00:00.029) 0:02:22.437 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-lvmraid.yml:8 Thursday 21 July 2022 14:22:35 +0000 (0:00:00.068) 0:02:22.506 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-lvmraid.yml:12 Thursday 21 July 2022 14:22:35 +0000 (0:00:00.029) 0:02:22.535 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-lvmraid.yml:3 Thursday 21 July 2022 14:22:35 +0000 (0:00:00.027) 0:02:22.563 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-lvmraid.yml:8 Thursday 21 July 2022 14:22:35 +0000 (0:00:00.026) 0:02:22.590 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-lvmraid.yml:12 Thursday 21 July 2022 14:22:35 +0000 (0:00:00.035) 0:02:22.625 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:62 Thursday 21 July 2022 14:22:35 +0000 (0:00:00.028) 0:02:22.654 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-members-thin.yml for /cache/rhel-8.qcow2 TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-members-thin.yml:1 Thursday 21 July 2022 14:22:35 +0000 (0:00:00.045) 0:02:22.700 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-member-thin.yml for /cache/rhel-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': 'lv1', 'raid_level': None, 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1'}) included: /tmp/tmpw6dixrb5/tests/verify-pool-member-thin.yml for /cache/rhel-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': 'lv2', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv2', '_raw_device': '/dev/mapper/vg1-lv2', '_mount_id': '/dev/mapper/vg1-lv2'}) included: /tmp/tmpw6dixrb5/tests/verify-pool-member-thin.yml for /cache/rhel-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/test3', 'name': 'lv3', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv3', '_raw_device': '/dev/mapper/vg1-lv3', '_mount_id': '/dev/mapper/vg1-lv3'}) TASK [Get information about thinpool] ****************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-thin.yml:3 Thursday 21 July 2022 14:22:35 +0000 (0:00:00.056) 0:02:22.756 ********* skipping: [/cache/rhel-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/tmpw6dixrb5/tests/verify-pool-member-thin.yml:8 Thursday 21 July 2022 14:22:35 +0000 (0:00:00.024) 0:02:22.781 ********* skipping: [/cache/rhel-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/tmpw6dixrb5/tests/verify-pool-member-thin.yml:13 Thursday 21 July 2022 14:22:35 +0000 (0:00:00.026) 0:02:22.807 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-thin.yml:17 Thursday 21 July 2022 14:22:35 +0000 (0:00:00.024) 0:02:22.831 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about thinpool] ****************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-thin.yml:3 Thursday 21 July 2022 14:22:35 +0000 (0:00:00.023) 0:02:22.855 ********* skipping: [/cache/rhel-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/tmpw6dixrb5/tests/verify-pool-member-thin.yml:8 Thursday 21 July 2022 14:22:35 +0000 (0:00:00.023) 0:02:22.878 ********* skipping: [/cache/rhel-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/tmpw6dixrb5/tests/verify-pool-member-thin.yml:13 Thursday 21 July 2022 14:22:36 +0000 (0:00:00.026) 0:02:22.905 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-thin.yml:17 Thursday 21 July 2022 14:22:36 +0000 (0:00:00.023) 0:02:22.928 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about thinpool] ****************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-thin.yml:3 Thursday 21 July 2022 14:22:36 +0000 (0:00:00.021) 0:02:22.950 ********* skipping: [/cache/rhel-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/tmpw6dixrb5/tests/verify-pool-member-thin.yml:8 Thursday 21 July 2022 14:22:36 +0000 (0:00:00.028) 0:02:22.978 ********* skipping: [/cache/rhel-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/tmpw6dixrb5/tests/verify-pool-member-thin.yml:13 Thursday 21 July 2022 14:22:36 +0000 (0:00:00.033) 0:02:23.011 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-thin.yml:17 Thursday 21 July 2022 14:22:36 +0000 (0:00:00.023) 0:02:23.035 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:65 Thursday 21 July 2022 14:22:36 +0000 (0:00:00.024) 0:02:23.059 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-members-encryption.yml for /cache/rhel-8.qcow2 TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-members-encryption.yml:4 Thursday 21 July 2022 14:22:36 +0000 (0:00:00.046) 0:02:23.105 ********* ok: [/cache/rhel-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/tmpw6dixrb5/tests/verify-pool-members-encryption.yml:8 Thursday 21 July 2022 14:22:36 +0000 (0:00:00.049) 0:02:23.155 ********* TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-members-encryption.yml:15 Thursday 21 July 2022 14:22:36 +0000 (0:00:00.020) 0:02:23.175 ********* TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-members-encryption.yml:22 Thursday 21 July 2022 14:22:36 +0000 (0:00:00.020) 0:02:23.196 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:68 Thursday 21 July 2022 14:22:36 +0000 (0:00:00.031) 0:02:23.227 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-members-vdo.yml for /cache/rhel-8.qcow2 TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-members-vdo.yml:1 Thursday 21 July 2022 14:22:36 +0000 (0:00:00.046) 0:02:23.273 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml for /cache/rhel-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': 'lv1', 'raid_level': None, 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1'}) included: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml for /cache/rhel-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': 'lv2', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv2', '_raw_device': '/dev/mapper/vg1-lv2', '_mount_id': '/dev/mapper/vg1-lv2'}) included: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml for /cache/rhel-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/test3', 'name': 'lv3', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv3', '_raw_device': '/dev/mapper/vg1-lv3', '_mount_id': '/dev/mapper/vg1-lv3'}) TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:3 Thursday 21 July 2022 14:22:36 +0000 (0:00:00.058) 0:02:23.332 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:8 Thursday 21 July 2022 14:22:36 +0000 (0:00:00.022) 0:02:23.354 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:11 Thursday 21 July 2022 14:22:36 +0000 (0:00:00.022) 0:02:23.377 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:16 Thursday 21 July 2022 14:22:36 +0000 (0:00:00.021) 0:02:23.399 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:21 Thursday 21 July 2022 14:22:36 +0000 (0:00:00.021) 0:02:23.421 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:24 Thursday 21 July 2022 14:22:36 +0000 (0:00:00.024) 0:02:23.445 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:29 Thursday 21 July 2022 14:22:36 +0000 (0:00:00.023) 0:02:23.469 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:39 Thursday 21 July 2022 14:22:36 +0000 (0:00:00.022) 0:02:23.492 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:3 Thursday 21 July 2022 14:22:36 +0000 (0:00:00.074) 0:02:23.566 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:8 Thursday 21 July 2022 14:22:36 +0000 (0:00:00.025) 0:02:23.592 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:11 Thursday 21 July 2022 14:22:36 +0000 (0:00:00.068) 0:02:23.660 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:16 Thursday 21 July 2022 14:22:36 +0000 (0:00:00.026) 0:02:23.687 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:21 Thursday 21 July 2022 14:22:36 +0000 (0:00:00.025) 0:02:23.712 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:24 Thursday 21 July 2022 14:22:36 +0000 (0:00:00.025) 0:02:23.738 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:29 Thursday 21 July 2022 14:22:36 +0000 (0:00:00.026) 0:02:23.765 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:39 Thursday 21 July 2022 14:22:36 +0000 (0:00:00.025) 0:02:23.790 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:3 Thursday 21 July 2022 14:22:36 +0000 (0:00:00.036) 0:02:23.827 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:8 Thursday 21 July 2022 14:22:36 +0000 (0:00:00.029) 0:02:23.857 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:11 Thursday 21 July 2022 14:22:36 +0000 (0:00:00.031) 0:02:23.888 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:16 Thursday 21 July 2022 14:22:37 +0000 (0:00:00.028) 0:02:23.917 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:21 Thursday 21 July 2022 14:22:37 +0000 (0:00:00.026) 0:02:23.943 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:24 Thursday 21 July 2022 14:22:37 +0000 (0:00:00.024) 0:02:23.968 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:29 Thursday 21 July 2022 14:22:37 +0000 (0:00:00.026) 0:02:23.995 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:39 Thursday 21 July 2022 14:22:37 +0000 (0:00:00.024) 0:02:24.019 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:71 Thursday 21 July 2022 14:22:37 +0000 (0:00:00.035) 0:02:24.055 ********* ok: [/cache/rhel-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/tmpw6dixrb5/tests/test-verify-pool-volumes.yml:3 Thursday 21 July 2022 14:22:37 +0000 (0:00:00.033) 0:02:24.089 ********* included: /tmp/tmpw6dixrb5/tests/test-verify-volume.yml for /cache/rhel-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': 'lv1', 'raid_level': None, 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1'}) included: /tmp/tmpw6dixrb5/tests/test-verify-volume.yml for /cache/rhel-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': 'lv2', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv2', '_raw_device': '/dev/mapper/vg1-lv2', '_mount_id': '/dev/mapper/vg1-lv2'}) included: /tmp/tmpw6dixrb5/tests/test-verify-volume.yml for /cache/rhel-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/test3', 'name': 'lv3', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv3', '_raw_device': '/dev/mapper/vg1-lv3', '_mount_id': '/dev/mapper/vg1-lv3'}) TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume.yml:2 Thursday 21 July 2022 14:22:37 +0000 (0:00:00.050) 0:02:24.139 ********* ok: [/cache/rhel-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/tmpw6dixrb5/tests/test-verify-volume.yml:10 Thursday 21 July 2022 14:22:37 +0000 (0:00:00.046) 0:02:24.186 ********* included: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml for /cache/rhel-8.qcow2 => (item=mount) included: /tmp/tmpw6dixrb5/tests/test-verify-volume-fstab.yml for /cache/rhel-8.qcow2 => (item=fstab) included: /tmp/tmpw6dixrb5/tests/test-verify-volume-fs.yml for /cache/rhel-8.qcow2 => (item=fs) included: /tmp/tmpw6dixrb5/tests/test-verify-volume-device.yml for /cache/rhel-8.qcow2 => (item=device) included: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml for /cache/rhel-8.qcow2 => (item=encryption) included: /tmp/tmpw6dixrb5/tests/test-verify-volume-md.yml for /cache/rhel-8.qcow2 => (item=md) included: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml for /cache/rhel-8.qcow2 => (item=size) included: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml for /cache/rhel-8.qcow2 => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:6 Thursday 21 July 2022 14:22:37 +0000 (0:00:00.078) 0:02:24.264 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/vg1-lv1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:14 Thursday 21 July 2022 14:22:37 +0000 (0:00:00.043) 0:02:24.307 ********* ok: [/cache/rhel-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/tmpw6dixrb5/tests/test-verify-volume-mount.yml:28 Thursday 21 July 2022 14:22:37 +0000 (0:00:00.054) 0:02:24.362 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:37 Thursday 21 July 2022 14:22:37 +0000 (0:00:00.025) 0:02:24.387 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:45 Thursday 21 July 2022 14:22:37 +0000 (0:00:00.051) 0:02:24.439 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [command] ***************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:54 Thursday 21 July 2022 14:22:37 +0000 (0:00:00.040) 0:02:24.479 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:58 Thursday 21 July 2022 14:22:37 +0000 (0:00:00.024) 0:02:24.503 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:63 Thursday 21 July 2022 14:22:37 +0000 (0:00:00.024) 0:02:24.528 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:75 Thursday 21 July 2022 14:22:37 +0000 (0:00:00.023) 0:02:24.551 ********* ok: [/cache/rhel-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/tmpw6dixrb5/tests/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 14:22:37 +0000 (0:00:00.037) 0:02:24.589 ********* ok: [/cache/rhel-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/tmpw6dixrb5/tests/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 14:22:37 +0000 (0:00:00.059) 0:02:24.648 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-fstab.yml:32 Thursday 21 July 2022 14:22:37 +0000 (0:00:00.023) 0:02:24.671 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-fstab.yml:39 Thursday 21 July 2022 14:22:37 +0000 (0:00:00.049) 0:02:24.721 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-fstab.yml:49 Thursday 21 July 2022 14:22:37 +0000 (0:00:00.036) 0:02:24.757 ********* ok: [/cache/rhel-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/tmpw6dixrb5/tests/test-verify-volume-fs.yml:4 Thursday 21 July 2022 14:22:37 +0000 (0:00:00.032) 0:02:24.790 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify fs label] ********************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-fs.yml:10 Thursday 21 July 2022 14:22:37 +0000 (0:00:00.022) 0:02:24.812 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [See whether the device node is present] ********************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-device.yml:4 Thursday 21 July 2022 14:22:37 +0000 (0:00:00.024) 0:02:24.837 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "stat": { "exists": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-device.yml:10 Thursday 21 July 2022 14:22:38 +0000 (0:00:00.383) 0:02:25.220 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-device.yml:18 Thursday 21 July 2022 14:22:38 +0000 (0:00:00.036) 0:02:25.256 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-device.yml:24 Thursday 21 July 2022 14:22:38 +0000 (0:00:00.021) 0:02:25.278 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-device.yml:28 Thursday 21 July 2022 14:22:38 +0000 (0:00:00.035) 0:02:25.313 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-device.yml:33 Thursday 21 July 2022 14:22:38 +0000 (0:00:00.021) 0:02:25.335 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 14:22:38 +0000 (0:00:00.021) 0:02:25.356 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 14:22:38 +0000 (0:00:00.024) 0:02:25.381 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 14:22:39 +0000 (0:00:01.341) 0:02:26.722 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 14:22:39 +0000 (0:00:00.023) 0:02:26.746 ********* skipping: [/cache/rhel-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/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:30 Thursday 21 July 2022 14:22:39 +0000 (0:00:00.021) 0:02:26.767 ********* skipping: [/cache/rhel-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/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:38 Thursday 21 July 2022 14:22:39 +0000 (0:00:00.021) 0:02:26.789 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 14:22:39 +0000 (0:00:00.021) 0:02:26.810 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:49 Thursday 21 July 2022 14:22:39 +0000 (0:00:00.020) 0:02:26.831 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:55 Thursday 21 July 2022 14:22:39 +0000 (0:00:00.022) 0:02:26.854 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:61 Thursday 21 July 2022 14:22:39 +0000 (0:00:00.026) 0:02:26.881 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 14:22:40 +0000 (0:00:00.024) 0:02:26.905 ********* ok: [/cache/rhel-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/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:74 Thursday 21 July 2022 14:22:40 +0000 (0:00:00.055) 0:02:26.960 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:79 Thursday 21 July 2022 14:22:40 +0000 (0:00:00.051) 0:02:27.012 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:85 Thursday 21 July 2022 14:22:40 +0000 (0:00:00.039) 0:02:27.052 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:91 Thursday 21 July 2022 14:22:40 +0000 (0:00:00.036) 0:02:27.088 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:97 Thursday 21 July 2022 14:22:40 +0000 (0:00:00.036) 0:02:27.125 ********* ok: [/cache/rhel-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/tmpw6dixrb5/tests/test-verify-volume-md.yml:7 Thursday 21 July 2022 14:22:40 +0000 (0:00:00.034) 0:02:27.159 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-md.yml:13 Thursday 21 July 2022 14:22:40 +0000 (0:00:00.036) 0:02:27.196 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-md.yml:17 Thursday 21 July 2022 14:22:40 +0000 (0:00:00.035) 0:02:27.231 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-md.yml:21 Thursday 21 July 2022 14:22:40 +0000 (0:00:00.036) 0:02:27.267 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-md.yml:25 Thursday 21 July 2022 14:22:40 +0000 (0:00:00.036) 0:02:27.303 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-md.yml:31 Thursday 21 July 2022 14:22:40 +0000 (0:00:00.040) 0:02:27.343 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-md.yml:37 Thursday 21 July 2022 14:22:40 +0000 (0:00:00.036) 0:02:27.380 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:3 Thursday 21 July 2022 14:22:40 +0000 (0:00:00.036) 0:02:27.417 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:9 Thursday 21 July 2022 14:22:40 +0000 (0:00:00.025) 0:02:27.442 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:15 Thursday 21 July 2022 14:22:40 +0000 (0:00:00.040) 0:02:27.483 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:20 Thursday 21 July 2022 14:22:40 +0000 (0:00:00.037) 0:02:27.521 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_expected_size": "3221225472" } TASK [debug] ******************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:25 Thursday 21 July 2022 14:22:40 +0000 (0:00:00.078) 0:02:27.599 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:28 Thursday 21 July 2022 14:22:40 +0000 (0:00:00.043) 0:02:27.643 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:31 Thursday 21 July 2022 14:22:40 +0000 (0:00:00.037) 0:02:27.680 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:36 Thursday 21 July 2022 14:22:40 +0000 (0:00:00.037) 0:02:27.718 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:39 Thursday 21 July 2022 14:22:40 +0000 (0:00:00.036) 0:02:27.755 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:44 Thursday 21 July 2022 14:22:40 +0000 (0:00:00.040) 0:02:27.795 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_actual_size": { "changed": false, "skip_reason": "Conditional result was False", "skipped": true } } TASK [debug] ******************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:47 Thursday 21 July 2022 14:22:40 +0000 (0:00:00.035) 0:02:27.830 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_expected_size": "3221225472" } TASK [assert] ****************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:50 Thursday 21 July 2022 14:22:41 +0000 (0:00:00.075) 0:02:27.906 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about the LV] ******************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml:6 Thursday 21 July 2022 14:22:41 +0000 (0:00:00.029) 0:02:27.936 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml:14 Thursday 21 July 2022 14:22:41 +0000 (0:00:00.053) 0:02:27.989 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check segment type] ****************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml:17 Thursday 21 July 2022 14:22:41 +0000 (0:00:00.023) 0:02:28.013 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml:22 Thursday 21 July 2022 14:22:41 +0000 (0:00:00.022) 0:02:28.035 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml:26 Thursday 21 July 2022 14:22:41 +0000 (0:00:00.022) 0:02:28.057 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml:32 Thursday 21 July 2022 14:22:41 +0000 (0:00:00.023) 0:02:28.081 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml:36 Thursday 21 July 2022 14:22:41 +0000 (0:00:00.031) 0:02:28.112 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume.yml:16 Thursday 21 July 2022 14:22:41 +0000 (0:00:00.028) 0:02:28.141 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume.yml:2 Thursday 21 July 2022 14:22:41 +0000 (0:00:00.035) 0:02:28.176 ********* ok: [/cache/rhel-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/tmpw6dixrb5/tests/test-verify-volume.yml:10 Thursday 21 July 2022 14:22:41 +0000 (0:00:00.053) 0:02:28.230 ********* included: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml for /cache/rhel-8.qcow2 => (item=mount) included: /tmp/tmpw6dixrb5/tests/test-verify-volume-fstab.yml for /cache/rhel-8.qcow2 => (item=fstab) included: /tmp/tmpw6dixrb5/tests/test-verify-volume-fs.yml for /cache/rhel-8.qcow2 => (item=fs) included: /tmp/tmpw6dixrb5/tests/test-verify-volume-device.yml for /cache/rhel-8.qcow2 => (item=device) included: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml for /cache/rhel-8.qcow2 => (item=encryption) included: /tmp/tmpw6dixrb5/tests/test-verify-volume-md.yml for /cache/rhel-8.qcow2 => (item=md) included: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml for /cache/rhel-8.qcow2 => (item=size) included: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml for /cache/rhel-8.qcow2 => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:6 Thursday 21 July 2022 14:22:41 +0000 (0:00:00.082) 0:02:28.312 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/vg1-lv2" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:14 Thursday 21 July 2022 14:22:41 +0000 (0:00:00.041) 0:02:28.354 ********* ok: [/cache/rhel-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/tmpw6dixrb5/tests/test-verify-volume-mount.yml:28 Thursday 21 July 2022 14:22:41 +0000 (0:00:00.053) 0:02:28.407 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:37 Thursday 21 July 2022 14:22:41 +0000 (0:00:00.022) 0:02:28.430 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:45 Thursday 21 July 2022 14:22:41 +0000 (0:00:00.047) 0:02:28.478 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [command] ***************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:54 Thursday 21 July 2022 14:22:41 +0000 (0:00:00.041) 0:02:28.519 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:58 Thursday 21 July 2022 14:22:41 +0000 (0:00:00.031) 0:02:28.550 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:63 Thursday 21 July 2022 14:22:41 +0000 (0:00:00.027) 0:02:28.578 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:75 Thursday 21 July 2022 14:22:41 +0000 (0:00:00.026) 0:02:28.604 ********* ok: [/cache/rhel-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/tmpw6dixrb5/tests/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 14:22:41 +0000 (0:00:00.038) 0:02:28.643 ********* ok: [/cache/rhel-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/tmpw6dixrb5/tests/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 14:22:41 +0000 (0:00:00.065) 0:02:28.708 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-fstab.yml:32 Thursday 21 July 2022 14:22:41 +0000 (0:00:00.023) 0:02:28.732 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-fstab.yml:39 Thursday 21 July 2022 14:22:41 +0000 (0:00:00.047) 0:02:28.780 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-fstab.yml:49 Thursday 21 July 2022 14:22:41 +0000 (0:00:00.037) 0:02:28.818 ********* ok: [/cache/rhel-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/tmpw6dixrb5/tests/test-verify-volume-fs.yml:4 Thursday 21 July 2022 14:22:41 +0000 (0:00:00.040) 0:02:28.859 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify fs label] ********************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-fs.yml:10 Thursday 21 July 2022 14:22:41 +0000 (0:00:00.024) 0:02:28.884 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [See whether the device node is present] ********************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-device.yml:4 Thursday 21 July 2022 14:22:42 +0000 (0:00:00.024) 0:02:28.908 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "stat": { "exists": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-device.yml:10 Thursday 21 July 2022 14:22:42 +0000 (0:00:00.381) 0:02:29.290 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-device.yml:18 Thursday 21 July 2022 14:22:42 +0000 (0:00:00.040) 0:02:29.330 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-device.yml:24 Thursday 21 July 2022 14:22:42 +0000 (0:00:00.024) 0:02:29.355 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-device.yml:28 Thursday 21 July 2022 14:22:42 +0000 (0:00:00.038) 0:02:29.394 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-device.yml:33 Thursday 21 July 2022 14:22:42 +0000 (0:00:00.025) 0:02:29.419 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 14:22:42 +0000 (0:00:00.024) 0:02:29.444 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 14:22:42 +0000 (0:00:00.024) 0:02:29.468 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 14:22:43 +0000 (0:00:01.298) 0:02:30.766 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 14:22:43 +0000 (0:00:00.065) 0:02:30.832 ********* skipping: [/cache/rhel-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/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:30 Thursday 21 July 2022 14:22:43 +0000 (0:00:00.023) 0:02:30.856 ********* skipping: [/cache/rhel-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/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:38 Thursday 21 July 2022 14:22:43 +0000 (0:00:00.021) 0:02:30.877 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 14:22:44 +0000 (0:00:00.024) 0:02:30.902 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:49 Thursday 21 July 2022 14:22:44 +0000 (0:00:00.025) 0:02:30.927 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:55 Thursday 21 July 2022 14:22:44 +0000 (0:00:00.022) 0:02:30.949 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:61 Thursday 21 July 2022 14:22:44 +0000 (0:00:00.022) 0:02:30.972 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 14:22:44 +0000 (0:00:00.024) 0:02:30.996 ********* ok: [/cache/rhel-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/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:74 Thursday 21 July 2022 14:22:44 +0000 (0:00:00.055) 0:02:31.052 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:79 Thursday 21 July 2022 14:22:44 +0000 (0:00:00.046) 0:02:31.099 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:85 Thursday 21 July 2022 14:22:44 +0000 (0:00:00.037) 0:02:31.136 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:91 Thursday 21 July 2022 14:22:44 +0000 (0:00:00.038) 0:02:31.175 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:97 Thursday 21 July 2022 14:22:44 +0000 (0:00:00.040) 0:02:31.216 ********* ok: [/cache/rhel-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/tmpw6dixrb5/tests/test-verify-volume-md.yml:7 Thursday 21 July 2022 14:22:44 +0000 (0:00:00.033) 0:02:31.249 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-md.yml:13 Thursday 21 July 2022 14:22:44 +0000 (0:00:00.038) 0:02:31.287 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-md.yml:17 Thursday 21 July 2022 14:22:44 +0000 (0:00:00.037) 0:02:31.324 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-md.yml:21 Thursday 21 July 2022 14:22:44 +0000 (0:00:00.042) 0:02:31.367 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-md.yml:25 Thursday 21 July 2022 14:22:44 +0000 (0:00:00.038) 0:02:31.405 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-md.yml:31 Thursday 21 July 2022 14:22:44 +0000 (0:00:00.037) 0:02:31.442 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-md.yml:37 Thursday 21 July 2022 14:22:44 +0000 (0:00:00.034) 0:02:31.477 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:3 Thursday 21 July 2022 14:22:44 +0000 (0:00:00.037) 0:02:31.515 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:9 Thursday 21 July 2022 14:22:44 +0000 (0:00:00.024) 0:02:31.539 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:15 Thursday 21 July 2022 14:22:44 +0000 (0:00:00.038) 0:02:31.578 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:20 Thursday 21 July 2022 14:22:44 +0000 (0:00:00.038) 0:02:31.616 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_expected_size": "3221225472" } TASK [debug] ******************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:25 Thursday 21 July 2022 14:22:44 +0000 (0:00:00.039) 0:02:31.656 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:28 Thursday 21 July 2022 14:22:44 +0000 (0:00:00.036) 0:02:31.693 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:31 Thursday 21 July 2022 14:22:44 +0000 (0:00:00.036) 0:02:31.729 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:36 Thursday 21 July 2022 14:22:44 +0000 (0:00:00.036) 0:02:31.765 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:39 Thursday 21 July 2022 14:22:44 +0000 (0:00:00.043) 0:02:31.809 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:44 Thursday 21 July 2022 14:22:44 +0000 (0:00:00.038) 0:02:31.848 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_actual_size": { "changed": false, "skip_reason": "Conditional result was False", "skipped": true } } TASK [debug] ******************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:47 Thursday 21 July 2022 14:22:44 +0000 (0:00:00.037) 0:02:31.885 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_expected_size": "3221225472" } TASK [assert] ****************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:50 Thursday 21 July 2022 14:22:45 +0000 (0:00:00.039) 0:02:31.925 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about the LV] ******************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml:6 Thursday 21 July 2022 14:22:45 +0000 (0:00:00.027) 0:02:31.952 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml:14 Thursday 21 July 2022 14:22:45 +0000 (0:00:00.026) 0:02:31.979 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check segment type] ****************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml:17 Thursday 21 July 2022 14:22:45 +0000 (0:00:00.025) 0:02:32.004 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml:22 Thursday 21 July 2022 14:22:45 +0000 (0:00:00.024) 0:02:32.029 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml:26 Thursday 21 July 2022 14:22:45 +0000 (0:00:00.027) 0:02:32.056 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml:32 Thursday 21 July 2022 14:22:45 +0000 (0:00:00.032) 0:02:32.089 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml:36 Thursday 21 July 2022 14:22:45 +0000 (0:00:00.032) 0:02:32.121 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume.yml:16 Thursday 21 July 2022 14:22:45 +0000 (0:00:00.026) 0:02:32.148 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume.yml:2 Thursday 21 July 2022 14:22:45 +0000 (0:00:00.041) 0:02:32.189 ********* ok: [/cache/rhel-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/tmpw6dixrb5/tests/test-verify-volume.yml:10 Thursday 21 July 2022 14:22:45 +0000 (0:00:00.049) 0:02:32.239 ********* included: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml for /cache/rhel-8.qcow2 => (item=mount) included: /tmp/tmpw6dixrb5/tests/test-verify-volume-fstab.yml for /cache/rhel-8.qcow2 => (item=fstab) included: /tmp/tmpw6dixrb5/tests/test-verify-volume-fs.yml for /cache/rhel-8.qcow2 => (item=fs) included: /tmp/tmpw6dixrb5/tests/test-verify-volume-device.yml for /cache/rhel-8.qcow2 => (item=device) included: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml for /cache/rhel-8.qcow2 => (item=encryption) included: /tmp/tmpw6dixrb5/tests/test-verify-volume-md.yml for /cache/rhel-8.qcow2 => (item=md) included: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml for /cache/rhel-8.qcow2 => (item=size) included: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml for /cache/rhel-8.qcow2 => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:6 Thursday 21 July 2022 14:22:45 +0000 (0:00:00.122) 0:02:32.361 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/vg1-lv3" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:14 Thursday 21 July 2022 14:22:45 +0000 (0:00:00.042) 0:02:32.404 ********* ok: [/cache/rhel-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/tmpw6dixrb5/tests/test-verify-volume-mount.yml:28 Thursday 21 July 2022 14:22:45 +0000 (0:00:00.057) 0:02:32.462 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:37 Thursday 21 July 2022 14:22:45 +0000 (0:00:00.025) 0:02:32.487 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:45 Thursday 21 July 2022 14:22:45 +0000 (0:00:00.050) 0:02:32.538 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [command] ***************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:54 Thursday 21 July 2022 14:22:45 +0000 (0:00:00.037) 0:02:32.576 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:58 Thursday 21 July 2022 14:22:45 +0000 (0:00:00.024) 0:02:32.600 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:63 Thursday 21 July 2022 14:22:45 +0000 (0:00:00.023) 0:02:32.623 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:75 Thursday 21 July 2022 14:22:45 +0000 (0:00:00.024) 0:02:32.648 ********* ok: [/cache/rhel-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/tmpw6dixrb5/tests/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 14:22:45 +0000 (0:00:00.036) 0:02:32.685 ********* ok: [/cache/rhel-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/tmpw6dixrb5/tests/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 14:22:45 +0000 (0:00:00.063) 0:02:32.748 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-fstab.yml:32 Thursday 21 July 2022 14:22:45 +0000 (0:00:00.025) 0:02:32.773 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-fstab.yml:39 Thursday 21 July 2022 14:22:45 +0000 (0:00:00.049) 0:02:32.823 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-fstab.yml:49 Thursday 21 July 2022 14:22:45 +0000 (0:00:00.033) 0:02:32.857 ********* ok: [/cache/rhel-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/tmpw6dixrb5/tests/test-verify-volume-fs.yml:4 Thursday 21 July 2022 14:22:45 +0000 (0:00:00.037) 0:02:32.894 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify fs label] ********************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-fs.yml:10 Thursday 21 July 2022 14:22:46 +0000 (0:00:00.022) 0:02:32.916 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [See whether the device node is present] ********************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-device.yml:4 Thursday 21 July 2022 14:22:46 +0000 (0:00:00.021) 0:02:32.938 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "stat": { "exists": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-device.yml:10 Thursday 21 July 2022 14:22:46 +0000 (0:00:00.361) 0:02:33.299 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-device.yml:18 Thursday 21 July 2022 14:22:46 +0000 (0:00:00.036) 0:02:33.335 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-device.yml:24 Thursday 21 July 2022 14:22:46 +0000 (0:00:00.024) 0:02:33.359 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-device.yml:28 Thursday 21 July 2022 14:22:46 +0000 (0:00:00.035) 0:02:33.394 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-device.yml:33 Thursday 21 July 2022 14:22:46 +0000 (0:00:00.022) 0:02:33.417 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 14:22:46 +0000 (0:00:00.021) 0:02:33.439 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 14:22:46 +0000 (0:00:00.021) 0:02:33.460 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 14:22:47 +0000 (0:00:01.248) 0:02:34.709 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 14:22:47 +0000 (0:00:00.024) 0:02:34.733 ********* skipping: [/cache/rhel-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/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:30 Thursday 21 July 2022 14:22:47 +0000 (0:00:00.022) 0:02:34.755 ********* skipping: [/cache/rhel-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/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:38 Thursday 21 July 2022 14:22:47 +0000 (0:00:00.023) 0:02:34.779 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 14:22:47 +0000 (0:00:00.024) 0:02:34.803 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:49 Thursday 21 July 2022 14:22:47 +0000 (0:00:00.025) 0:02:34.829 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:55 Thursday 21 July 2022 14:22:47 +0000 (0:00:00.056) 0:02:34.885 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:61 Thursday 21 July 2022 14:22:48 +0000 (0:00:00.024) 0:02:34.910 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 14:22:48 +0000 (0:00:00.025) 0:02:34.935 ********* ok: [/cache/rhel-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/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:74 Thursday 21 July 2022 14:22:48 +0000 (0:00:00.054) 0:02:34.989 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:79 Thursday 21 July 2022 14:22:48 +0000 (0:00:00.049) 0:02:35.039 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:85 Thursday 21 July 2022 14:22:48 +0000 (0:00:00.038) 0:02:35.077 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:91 Thursday 21 July 2022 14:22:48 +0000 (0:00:00.037) 0:02:35.115 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:97 Thursday 21 July 2022 14:22:48 +0000 (0:00:00.040) 0:02:35.156 ********* ok: [/cache/rhel-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/tmpw6dixrb5/tests/test-verify-volume-md.yml:7 Thursday 21 July 2022 14:22:48 +0000 (0:00:00.034) 0:02:35.190 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-md.yml:13 Thursday 21 July 2022 14:22:48 +0000 (0:00:00.037) 0:02:35.227 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-md.yml:17 Thursday 21 July 2022 14:22:48 +0000 (0:00:00.036) 0:02:35.264 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-md.yml:21 Thursday 21 July 2022 14:22:48 +0000 (0:00:00.041) 0:02:35.305 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-md.yml:25 Thursday 21 July 2022 14:22:48 +0000 (0:00:00.036) 0:02:35.342 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-md.yml:31 Thursday 21 July 2022 14:22:48 +0000 (0:00:00.042) 0:02:35.384 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-md.yml:37 Thursday 21 July 2022 14:22:48 +0000 (0:00:00.044) 0:02:35.428 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:3 Thursday 21 July 2022 14:22:48 +0000 (0:00:00.045) 0:02:35.474 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:9 Thursday 21 July 2022 14:22:48 +0000 (0:00:00.027) 0:02:35.501 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:15 Thursday 21 July 2022 14:22:48 +0000 (0:00:00.035) 0:02:35.536 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:20 Thursday 21 July 2022 14:22:48 +0000 (0:00:00.034) 0:02:35.571 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_expected_size": "3221225472" } TASK [debug] ******************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:25 Thursday 21 July 2022 14:22:48 +0000 (0:00:00.036) 0:02:35.608 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:28 Thursday 21 July 2022 14:22:48 +0000 (0:00:00.034) 0:02:35.642 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:31 Thursday 21 July 2022 14:22:48 +0000 (0:00:00.034) 0:02:35.677 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:36 Thursday 21 July 2022 14:22:48 +0000 (0:00:00.036) 0:02:35.713 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:39 Thursday 21 July 2022 14:22:48 +0000 (0:00:00.042) 0:02:35.755 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:44 Thursday 21 July 2022 14:22:48 +0000 (0:00:00.039) 0:02:35.794 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_actual_size": { "changed": false, "skip_reason": "Conditional result was False", "skipped": true } } TASK [debug] ******************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:47 Thursday 21 July 2022 14:22:48 +0000 (0:00:00.040) 0:02:35.835 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_expected_size": "3221225472" } TASK [assert] ****************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:50 Thursday 21 July 2022 14:22:48 +0000 (0:00:00.038) 0:02:35.873 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about the LV] ******************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml:6 Thursday 21 July 2022 14:22:49 +0000 (0:00:00.026) 0:02:35.899 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml:14 Thursday 21 July 2022 14:22:49 +0000 (0:00:00.025) 0:02:35.925 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check segment type] ****************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml:17 Thursday 21 July 2022 14:22:49 +0000 (0:00:00.023) 0:02:35.948 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml:22 Thursday 21 July 2022 14:22:49 +0000 (0:00:00.022) 0:02:35.970 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml:26 Thursday 21 July 2022 14:22:49 +0000 (0:00:00.026) 0:02:35.997 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml:32 Thursday 21 July 2022 14:22:49 +0000 (0:00:00.023) 0:02:36.021 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml:36 Thursday 21 July 2022 14:22:49 +0000 (0:00:00.022) 0:02:36.043 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume.yml:16 Thursday 21 July 2022 14:22:49 +0000 (0:00:00.022) 0:02:36.065 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpw6dixrb5/tests/verify-role-results.yml:43 Thursday 21 July 2022 14:22:49 +0000 (0:00:00.035) 0:02:36.101 ********* TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpw6dixrb5/tests/verify-role-results.yml:53 Thursday 21 July 2022 14:22:49 +0000 (0:00:00.021) 0:02:36.122 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Create a RAID1 lvm raid device] ****************************************** task path: /tmp/tmpw6dixrb5/tests/tests_create_raid_pool_then_remove.yml:100 Thursday 21 July 2022 14:22:49 +0000 (0:00:00.036) 0:02:36.159 ********* TASK [linux-system-roles.storage : set platform/version specific variables] **** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Thursday 21 July 2022 14:22:49 +0000 (0:00:00.062) 0:02:36.222 ********* included: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/set_vars.yml for /cache/rhel-8.qcow2 TASK [linux-system-roles.storage : Ensure ansible_facts used by role] ********** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Thursday 21 July 2022 14:22:49 +0000 (0:00:00.036) 0:02:36.258 ********* ok: [/cache/rhel-8.qcow2] TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Thursday 21 July 2022 14:22:49 +0000 (0:00:00.571) 0:02:36.829 ********* skipping: [/cache/rhel-8.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/rhel-8.qcow2] => (item=RedHat_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/tmpw6dixrb5/tests/roles/linux-system-roles.storage/vars/RedHat_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.yml" } skipping: [/cache/rhel-8.qcow2] => (item=RedHat_8.6.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.6.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Thursday 21 July 2022 14:22:49 +0000 (0:00:00.062) 0:02:36.892 ********* ok: [/cache/rhel-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/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Thursday 21 July 2022 14:22:50 +0000 (0:00:00.037) 0:02:36.929 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : include the appropriate provider tasks] ***** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Thursday 21 July 2022 14:22:50 +0000 (0:00:00.037) 0:02:36.966 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml for /cache/rhel-8.qcow2 TASK [linux-system-roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 14:22:50 +0000 (0:00:00.049) 0:02:37.015 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure blivet is available] ************** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 14:22:50 +0000 (0:00:00.020) 0:02:37.036 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : show storage_pools] ************************* task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:14 Thursday 21 July 2022 14:22:50 +0000 (0:00:00.027) 0:02:37.064 ********* ok: [/cache/rhel-8.qcow2] => { "storage_pools": [ { "disks": [ "sda", "sdb" ], "name": "vg1", "state": "present", "type": "lvm", "volumes": [ { "mount_point": "/opt/test1", "name": "lv1", "raid_disks": [ "sda", "sdb" ], "raid_level": "raid1", "size": "2g" } ] } ] } TASK [linux-system-roles.storage : show storage_volumes] *********************** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:19 Thursday 21 July 2022 14:22:50 +0000 (0:00:00.045) 0:02:37.109 ********* ok: [/cache/rhel-8.qcow2] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [linux-system-roles.storage : get required packages] ********************** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:24 Thursday 21 July 2022 14:22:50 +0000 (0:00:00.037) 0:02:37.146 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : enable copr repositories if needed] ********* task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:37 Thursday 21 July 2022 14:22:50 +0000 (0:00:00.029) 0:02:37.176 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure required packages are installed] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:44 Thursday 21 July 2022 14:22:50 +0000 (0:00:00.027) 0:02:37.204 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : get service facts] ************************** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 Thursday 21 July 2022 14:22:50 +0000 (0:00:00.029) 0:02:37.233 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set storage_cryptsetup_services] ************ task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 14:22:50 +0000 (0:00:00.028) 0:02:37.262 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [linux-system-roles.storage : Mask the systemd cryptsetup services] ******* task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:71 Thursday 21 July 2022 14:22:50 +0000 (0:00:00.056) 0:02:37.319 ********* TASK [linux-system-roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Thursday 21 July 2022 14:22:50 +0000 (0:00:00.022) 0:02:37.341 ********* changed: [/cache/rhel-8.qcow2] => { "actions": [ { "action": "create format", "device": "/dev/sdb", "fs_type": "disklabel" }, { "action": "create device", "device": "/dev/sdb1", "fs_type": null }, { "action": "create format", "device": "/dev/sdb1", "fs_type": "lvmpv" }, { "action": "create format", "device": "/dev/sda", "fs_type": "disklabel" }, { "action": "create device", "device": "/dev/sda1", "fs_type": null }, { "action": "create format", "device": "/dev/sda1", "fs_type": "lvmpv" }, { "action": "create device", "device": "/dev/vg1", "fs_type": null }, { "action": "create device", "device": "/dev/mapper/vg1-lv1", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/vg1-lv1", "fs_type": "xfs" } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb", "/dev/vdc", "/dev/vdd", "/dev/mapper/vg1-lv1" ], "mounts": [ { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/vg1-lv1", "state": "mounted" } ], "packages": [ "xfsprogs", "dosfstools", "lvm2" ], "pools": [ { "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_kernel_device": "/dev/dm-4", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "_raw_kernel_device": "/dev/dm-4", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [ "sda", "sdb" ], "raid_level": "raid1", "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } TASK [linux-system-roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:91 Thursday 21 July 2022 14:22:53 +0000 (0:00:03.121) 0:02:40.462 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Unmask the systemd cryptsetup services] ***** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:103 Thursday 21 July 2022 14:22:53 +0000 (0:00:00.038) 0:02:40.500 ********* TASK [linux-system-roles.storage : show blivet_output] ************************* task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:109 Thursday 21 July 2022 14:22:53 +0000 (0:00:00.030) 0:02:40.530 ********* ok: [/cache/rhel-8.qcow2] => { "blivet_output": { "actions": [ { "action": "create format", "device": "/dev/sdb", "fs_type": "disklabel" }, { "action": "create device", "device": "/dev/sdb1", "fs_type": null }, { "action": "create format", "device": "/dev/sdb1", "fs_type": "lvmpv" }, { "action": "create format", "device": "/dev/sda", "fs_type": "disklabel" }, { "action": "create device", "device": "/dev/sda1", "fs_type": null }, { "action": "create format", "device": "/dev/sda1", "fs_type": "lvmpv" }, { "action": "create device", "device": "/dev/vg1", "fs_type": null }, { "action": "create device", "device": "/dev/mapper/vg1-lv1", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/vg1-lv1", "fs_type": "xfs" } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb", "/dev/vdc", "/dev/vdd", "/dev/mapper/vg1-lv1" ], "mounts": [ { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/vg1-lv1", "state": "mounted" } ], "packages": [ "xfsprogs", "dosfstools", "lvm2" ], "pools": [ { "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_kernel_device": "/dev/dm-4", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "_raw_kernel_device": "/dev/dm-4", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [ "sda", "sdb" ], "raid_level": "raid1", "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } } TASK [linux-system-roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:114 Thursday 21 July 2022 14:22:53 +0000 (0:00:00.050) 0:02:40.581 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_kernel_device": "/dev/dm-4", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "_raw_kernel_device": "/dev/dm-4", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [ "sda", "sdb" ], "raid_level": "raid1", "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] }, "changed": false } TASK [linux-system-roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:118 Thursday 21 July 2022 14:22:53 +0000 (0:00:00.036) 0:02:40.617 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : remove obsolete mounts] ********************* task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:134 Thursday 21 July 2022 14:22:53 +0000 (0:00:00.039) 0:02:40.657 ********* TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:146 Thursday 21 July 2022 14:22:53 +0000 (0:00:00.038) 0:02:40.696 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : set up new/current mounts] ****************** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:151 Thursday 21 July 2022 14:22:54 +0000 (0:00:00.648) 0:02:41.344 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/rhel-8.qcow2] => (item={'src': '/dev/mapper/vg1-lv1', 'path': '/opt/test1', 'fstype': 'xfs', 'opts': 'defaults', 'dump': 0, 'passno': 0, 'state': 'mounted'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "xfs", "mount_info": { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/vg1-lv1", "state": "mounted" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "/dev/mapper/vg1-lv1" } TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:163 Thursday 21 July 2022 14:22:54 +0000 (0:00:00.454) 0:02:41.799 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:171 Thursday 21 July 2022 14:22:55 +0000 (0:00:00.679) 0:02:42.478 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:176 Thursday 21 July 2022 14:22:55 +0000 (0:00:00.402) 0:02:42.881 ********* TASK [linux-system-roles.storage : Update facts] ******************************* task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 Thursday 21 July 2022 14:22:56 +0000 (0:00:00.021) 0:02:42.903 ********* ok: [/cache/rhel-8.qcow2] META: role_complete for /cache/rhel-8.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmpw6dixrb5/tests/tests_create_raid_pool_then_remove.yml:116 Thursday 21 July 2022 14:22:57 +0000 (0:00:01.076) 0:02:43.980 ********* included: /tmp/tmpw6dixrb5/tests/verify-role-results.yml for /cache/rhel-8.qcow2 TASK [Print out pool information] ********************************************** task path: /tmp/tmpw6dixrb5/tests/verify-role-results.yml:1 Thursday 21 July 2022 14:22:57 +0000 (0:00:00.050) 0:02:44.030 ********* ok: [/cache/rhel-8.qcow2] => { "_storage_pools_list": [ { "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_kernel_device": "/dev/dm-4", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "_raw_kernel_device": "/dev/dm-4", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [ "sda", "sdb" ], "raid_level": "raid1", "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] } TASK [Print out volume information] ******************************************** task path: /tmp/tmpw6dixrb5/tests/verify-role-results.yml:6 Thursday 21 July 2022 14:22:57 +0000 (0:00:00.052) 0:02:44.083 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpw6dixrb5/tests/verify-role-results.yml:14 Thursday 21 July 2022 14:22:57 +0000 (0:00:00.037) 0:02:44.121 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "info": { "/dev/mapper/vg1-lv1": { "fstype": "xfs", "label": "", "name": "/dev/mapper/vg1-lv1", "size": "2G", "type": "lvm", "uuid": "f336aaf4-abd9-460b-b3ba-d9e3d793b302" }, "/dev/mapper/vg1-lv1_rimage_0": { "fstype": "", "label": "", "name": "/dev/mapper/vg1-lv1_rimage_0", "size": "2G", "type": "lvm", "uuid": "" }, "/dev/mapper/vg1-lv1_rimage_1": { "fstype": "", "label": "", "name": "/dev/mapper/vg1-lv1_rimage_1", "size": "2G", "type": "lvm", "uuid": "" }, "/dev/mapper/vg1-lv1_rmeta_0": { "fstype": "", "label": "", "name": "/dev/mapper/vg1-lv1_rmeta_0", "size": "4M", "type": "lvm", "uuid": "" }, "/dev/mapper/vg1-lv1_rmeta_1": { "fstype": "", "label": "", "name": "/dev/mapper/vg1-lv1_rmeta_1", "size": "4M", "type": "lvm", "uuid": "" }, "/dev/nvme0n1": { "fstype": "", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme1n1": { "fstype": "", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme2n1": { "fstype": "", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda": { "fstype": "", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda1": { "fstype": "LVM2_member", "label": "", "name": "/dev/sda1", "size": "10G", "type": "partition", "uuid": "jpc7QB-jEW4-43GF-p8wZ-JxbS-VF7R-uf2Ier" }, "/dev/sdb": { "fstype": "", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdb1": { "fstype": "LVM2_member", "label": "", "name": "/dev/sdb1", "size": "10G", "type": "partition", "uuid": "3KxQ2T-Ng6V-10b4-W9CJ-8p9L-iH5q-8uO17H" }, "/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-14-20-00-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "", "label": "", "name": "/dev/vda1", "size": "1M", "type": "partition", "uuid": "" }, "/dev/vda2": { "fstype": "vfat", "label": "", "name": "/dev/vda2", "size": "100M", "type": "partition", "uuid": "7B77-95E7" }, "/dev/vda3": { "fstype": "xfs", "label": "root", "name": "/dev/vda3", "size": "9.9G", "type": "partition", "uuid": "853ae189-b3fe-4a45-8485-75bbb1421bbe" }, "/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/tmpw6dixrb5/tests/verify-role-results.yml:19 Thursday 21 July 2022 14:22:57 +0000 (0:00:00.389) 0:02:44.510 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.002324", "end": "2022-07-21 10:22:57.516797", "rc": 0, "start": "2022-07-21 10:22:57.514473" } STDOUT: UUID=853ae189-b3fe-4a45-8485-75bbb1421bbe / xfs defaults 0 0 UUID=7B77-95E7 /boot/efi vfat defaults,uid=0,gid=0,umask=077,shortname=winnt 0 2 /dev/mapper/vg1-lv1 /opt/test1 xfs defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpw6dixrb5/tests/verify-role-results.yml:24 Thursday 21 July 2022 14:22:57 +0000 (0:00:00.360) 0:02:44.870 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.002402", "end": "2022-07-21 10:22:57.873318", "failed_when_result": false, "rc": 1, "start": "2022-07-21 10:22:57.870916" } STDERR: cat: /etc/crypttab: No such file or directory MSG: non-zero return code TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmpw6dixrb5/tests/verify-role-results.yml:33 Thursday 21 July 2022 14:22:58 +0000 (0:00:00.359) 0:02:45.230 ********* included: /tmp/tmpw6dixrb5/tests/test-verify-pool.yml for /cache/rhel-8.qcow2 => (item={'disks': ['sda', 'sdb'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'name': 'vg1', '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': 'lv1', 'raid_level': 'raid1', 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': ['sda', 'sdb'], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1', '_kernel_device': '/dev/dm-4', '_raw_kernel_device': '/dev/dm-4'}], 'raid_chunk_size': None}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-pool.yml:5 Thursday 21 July 2022 14:22:58 +0000 (0:00:00.062) 0:02:45.293 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool.yml:18 Thursday 21 July 2022 14:22:58 +0000 (0:00:00.036) 0:02:45.329 ********* included: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml for /cache/rhel-8.qcow2 => (item=members) included: /tmp/tmpw6dixrb5/tests/test-verify-pool-volumes.yml for /cache/rhel-8.qcow2 => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:1 Thursday 21 July 2022 14:22:58 +0000 (0:00:00.049) 0:02:45.379 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_count": "2", "_storage_test_pool_pvs_lvm": [ "/dev/sda1", "/dev/sdb1" ] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:10 Thursday 21 July 2022 14:22:58 +0000 (0:00:00.056) 0:02:45.435 ********* ok: [/cache/rhel-8.qcow2] => (item=/dev/sda1) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/sda1", "pv": "/dev/sda1" } ok: [/cache/rhel-8.qcow2] => (item=/dev/sdb1) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/sdb1", "pv": "/dev/sdb1" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:19 Thursday 21 July 2022 14:22:59 +0000 (0:00:00.711) 0:02:46.146 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "__pvs_lvm_len": "2" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:23 Thursday 21 July 2022 14:22:59 +0000 (0:00:00.052) 0:02:46.198 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/sda1", "/dev/sdb1" ] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:27 Thursday 21 July 2022 14:22:59 +0000 (0:00:00.085) 0:02:46.284 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:34 Thursday 21 July 2022 14:22:59 +0000 (0:00:00.124) 0:02:46.408 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:38 Thursday 21 July 2022 14:22:59 +0000 (0:00:00.043) 0:02:46.452 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_type": "partition" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:42 Thursday 21 July 2022 14:22:59 +0000 (0:00:00.052) 0:02:46.505 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:46 Thursday 21 July 2022 14:22:59 +0000 (0:00:00.026) 0:02:46.531 ********* ok: [/cache/rhel-8.qcow2] => (item=/dev/sda1) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/sda1" } MSG: All assertions passed ok: [/cache/rhel-8.qcow2] => (item=/dev/sdb1) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/sdb1" } MSG: All assertions passed TASK [Check MD RAID] *********************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:56 Thursday 21 July 2022 14:22:59 +0000 (0:00:00.060) 0:02:46.591 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml for /cache/rhel-8.qcow2 TASK [get information about RAID] ********************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:6 Thursday 21 July 2022 14:22:59 +0000 (0:00:00.043) 0:02:46.634 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:12 Thursday 21 July 2022 14:22:59 +0000 (0:00:00.025) 0:02:46.660 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:16 Thursday 21 July 2022 14:22:59 +0000 (0:00:00.025) 0:02:46.686 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:20 Thursday 21 July 2022 14:22:59 +0000 (0:00:00.025) 0:02:46.712 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:24 Thursday 21 July 2022 14:22:59 +0000 (0:00:00.025) 0:02:46.738 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:30 Thursday 21 July 2022 14:22:59 +0000 (0:00:00.026) 0:02:46.765 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:36 Thursday 21 July 2022 14:22:59 +0000 (0:00:00.024) 0:02:46.789 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:44 Thursday 21 July 2022 14:22:59 +0000 (0:00:00.024) 0:02:46.814 ********* ok: [/cache/rhel-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/tmpw6dixrb5/tests/test-verify-pool-members.yml:59 Thursday 21 July 2022 14:22:59 +0000 (0:00:00.046) 0:02:46.861 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-members-lvmraid.yml for /cache/rhel-8.qcow2 TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-members-lvmraid.yml:1 Thursday 21 July 2022 14:23:00 +0000 (0:00:00.052) 0:02:46.913 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-member-lvmraid.yml for /cache/rhel-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': 'lv1', 'raid_level': 'raid1', 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': ['sda', 'sdb'], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1', '_kernel_device': '/dev/dm-4', '_raw_kernel_device': '/dev/dm-4'}) TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-lvmraid.yml:3 Thursday 21 July 2022 14:23:00 +0000 (0:00:00.048) 0:02:46.962 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "lvs", "--noheading", "-o", "lv_name", "--select", "lv_name=lv1&&lv_layout=raid1", "vg1" ], "delta": "0:00:00.034261", "end": "2022-07-21 10:23:00.021855", "rc": 0, "start": "2022-07-21 10:22:59.987594" } STDOUT: lv1 TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-lvmraid.yml:8 Thursday 21 July 2022 14:23:00 +0000 (0:00:00.421) 0:02:47.383 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-lvmraid.yml:12 Thursday 21 July 2022 14:23:00 +0000 (0:00:00.066) 0:02:47.450 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_lvmraid_status": null }, "changed": false } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:62 Thursday 21 July 2022 14:23:00 +0000 (0:00:00.048) 0:02:47.499 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-members-thin.yml for /cache/rhel-8.qcow2 TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-members-thin.yml:1 Thursday 21 July 2022 14:23:00 +0000 (0:00:00.048) 0:02:47.547 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-member-thin.yml for /cache/rhel-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': 'lv1', 'raid_level': 'raid1', 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': ['sda', 'sdb'], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1', '_kernel_device': '/dev/dm-4', '_raw_kernel_device': '/dev/dm-4'}) TASK [Get information about thinpool] ****************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-thin.yml:3 Thursday 21 July 2022 14:23:00 +0000 (0:00:00.047) 0:02:47.595 ********* skipping: [/cache/rhel-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/tmpw6dixrb5/tests/verify-pool-member-thin.yml:8 Thursday 21 July 2022 14:23:00 +0000 (0:00:00.026) 0:02:47.621 ********* skipping: [/cache/rhel-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/tmpw6dixrb5/tests/verify-pool-member-thin.yml:13 Thursday 21 July 2022 14:23:00 +0000 (0:00:00.025) 0:02:47.646 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-thin.yml:17 Thursday 21 July 2022 14:23:00 +0000 (0:00:00.026) 0:02:47.673 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:65 Thursday 21 July 2022 14:23:00 +0000 (0:00:00.026) 0:02:47.700 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-members-encryption.yml for /cache/rhel-8.qcow2 TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-members-encryption.yml:4 Thursday 21 July 2022 14:23:00 +0000 (0:00:00.048) 0:02:47.748 ********* ok: [/cache/rhel-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/tmpw6dixrb5/tests/verify-pool-members-encryption.yml:8 Thursday 21 July 2022 14:23:00 +0000 (0:00:00.055) 0:02:47.803 ********* skipping: [/cache/rhel-8.qcow2] => (item=/dev/sda1) => { "_storage_test_pool_member_path": "/dev/sda1", "ansible_loop_var": "_storage_test_pool_member_path", "changed": false, "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=/dev/sdb1) => { "_storage_test_pool_member_path": "/dev/sdb1", "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/tmpw6dixrb5/tests/verify-pool-members-encryption.yml:15 Thursday 21 July 2022 14:23:00 +0000 (0:00:00.032) 0:02:47.835 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-member-crypttab.yml for /cache/rhel-8.qcow2 => (item=/dev/sda1) included: /tmp/tmpw6dixrb5/tests/verify-pool-member-crypttab.yml for /cache/rhel-8.qcow2 => (item=/dev/sdb1) TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-crypttab.yml:1 Thursday 21 July 2022 14:23:00 +0000 (0:00:00.050) 0:02:47.886 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": [] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-crypttab.yml:6 Thursday 21 July 2022 14:23:01 +0000 (0:00:00.095) 0:02:47.981 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-crypttab.yml:11 Thursday 21 July 2022 14:23:01 +0000 (0:00:00.050) 0:02:48.032 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-crypttab.yml:17 Thursday 21 July 2022 14:23:01 +0000 (0:00:00.038) 0:02:48.071 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-crypttab.yml:23 Thursday 21 July 2022 14:23:01 +0000 (0:00:00.042) 0:02:48.113 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-crypttab.yml:29 Thursday 21 July 2022 14:23:01 +0000 (0:00:00.038) 0:02:48.151 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-crypttab.yml:1 Thursday 21 July 2022 14:23:01 +0000 (0:00:00.036) 0:02:48.188 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": [] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-crypttab.yml:6 Thursday 21 July 2022 14:23:01 +0000 (0:00:00.050) 0:02:48.239 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-crypttab.yml:11 Thursday 21 July 2022 14:23:01 +0000 (0:00:00.050) 0:02:48.289 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-crypttab.yml:17 Thursday 21 July 2022 14:23:01 +0000 (0:00:00.036) 0:02:48.326 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-crypttab.yml:23 Thursday 21 July 2022 14:23:01 +0000 (0:00:00.037) 0:02:48.364 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-crypttab.yml:29 Thursday 21 July 2022 14:23:01 +0000 (0:00:00.037) 0:02:48.401 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-members-encryption.yml:22 Thursday 21 July 2022 14:23:01 +0000 (0:00:00.034) 0:02:48.435 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:68 Thursday 21 July 2022 14:23:01 +0000 (0:00:00.037) 0:02:48.473 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-members-vdo.yml for /cache/rhel-8.qcow2 TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-members-vdo.yml:1 Thursday 21 July 2022 14:23:01 +0000 (0:00:00.060) 0:02:48.534 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml for /cache/rhel-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': 'lv1', 'raid_level': 'raid1', 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': ['sda', 'sdb'], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1', '_kernel_device': '/dev/dm-4', '_raw_kernel_device': '/dev/dm-4'}) TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:3 Thursday 21 July 2022 14:23:01 +0000 (0:00:00.053) 0:02:48.587 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:8 Thursday 21 July 2022 14:23:01 +0000 (0:00:00.028) 0:02:48.616 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:11 Thursday 21 July 2022 14:23:01 +0000 (0:00:00.030) 0:02:48.646 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:16 Thursday 21 July 2022 14:23:01 +0000 (0:00:00.026) 0:02:48.673 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:21 Thursday 21 July 2022 14:23:01 +0000 (0:00:00.025) 0:02:48.698 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:24 Thursday 21 July 2022 14:23:01 +0000 (0:00:00.025) 0:02:48.724 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:29 Thursday 21 July 2022 14:23:01 +0000 (0:00:00.026) 0:02:48.750 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:39 Thursday 21 July 2022 14:23:01 +0000 (0:00:00.024) 0:02:48.775 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:71 Thursday 21 July 2022 14:23:01 +0000 (0:00:00.037) 0:02:48.813 ********* ok: [/cache/rhel-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/tmpw6dixrb5/tests/test-verify-pool-volumes.yml:3 Thursday 21 July 2022 14:23:01 +0000 (0:00:00.039) 0:02:48.853 ********* included: /tmp/tmpw6dixrb5/tests/test-verify-volume.yml for /cache/rhel-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': 'lv1', 'raid_level': 'raid1', 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': ['sda', 'sdb'], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1', '_kernel_device': '/dev/dm-4', '_raw_kernel_device': '/dev/dm-4'}) TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume.yml:2 Thursday 21 July 2022 14:23:02 +0000 (0:00:00.059) 0:02:48.912 ********* ok: [/cache/rhel-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/tmpw6dixrb5/tests/test-verify-volume.yml:10 Thursday 21 July 2022 14:23:02 +0000 (0:00:00.053) 0:02:48.966 ********* included: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml for /cache/rhel-8.qcow2 => (item=mount) included: /tmp/tmpw6dixrb5/tests/test-verify-volume-fstab.yml for /cache/rhel-8.qcow2 => (item=fstab) included: /tmp/tmpw6dixrb5/tests/test-verify-volume-fs.yml for /cache/rhel-8.qcow2 => (item=fs) included: /tmp/tmpw6dixrb5/tests/test-verify-volume-device.yml for /cache/rhel-8.qcow2 => (item=device) included: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml for /cache/rhel-8.qcow2 => (item=encryption) included: /tmp/tmpw6dixrb5/tests/test-verify-volume-md.yml for /cache/rhel-8.qcow2 => (item=md) included: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml for /cache/rhel-8.qcow2 => (item=size) included: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml for /cache/rhel-8.qcow2 => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:6 Thursday 21 July 2022 14:23:02 +0000 (0:00:00.081) 0:02:49.047 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/vg1-lv1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:14 Thursday 21 July 2022 14:23:02 +0000 (0:00:00.045) 0:02:49.093 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 508813, "block_size": 4096, "block_total": 520704, "block_used": 11891, "device": "/dev/mapper/vg1-lv1", "fstype": "xfs", "inode_available": 1046525, "inode_total": 1046528, "inode_used": 3, "mount": "/opt/test1", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota", "size_available": 2084098048, "size_total": 2132803584, "uuid": "f336aaf4-abd9-460b-b3ba-d9e3d793b302" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 508813, "block_size": 4096, "block_total": 520704, "block_used": 11891, "device": "/dev/mapper/vg1-lv1", "fstype": "xfs", "inode_available": 1046525, "inode_total": 1046528, "inode_used": 3, "mount": "/opt/test1", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota", "size_available": 2084098048, "size_total": 2132803584, "uuid": "f336aaf4-abd9-460b-b3ba-d9e3d793b302" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:28 Thursday 21 July 2022 14:23:02 +0000 (0:00:00.058) 0:02:49.151 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:37 Thursday 21 July 2022 14:23:02 +0000 (0:00:00.053) 0:02:49.205 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:45 Thursday 21 July 2022 14:23:02 +0000 (0:00:00.052) 0:02:49.258 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:54 Thursday 21 July 2022 14:23:02 +0000 (0:00:00.095) 0:02:49.353 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:58 Thursday 21 July 2022 14:23:02 +0000 (0:00:00.026) 0:02:49.379 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:63 Thursday 21 July 2022 14:23:02 +0000 (0:00:00.075) 0:02:49.455 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:75 Thursday 21 July 2022 14:23:02 +0000 (0:00:00.027) 0:02:49.482 ********* ok: [/cache/rhel-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/tmpw6dixrb5/tests/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 14:23:02 +0000 (0:00:00.038) 0:02:49.520 ********* ok: [/cache/rhel-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/vg1-lv1 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test1 xfs defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test1 " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 14:23:02 +0000 (0:00:00.064) 0:02:49.584 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-fstab.yml:32 Thursday 21 July 2022 14:23:02 +0000 (0:00:00.055) 0:02:49.640 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-fstab.yml:39 Thursday 21 July 2022 14:23:02 +0000 (0:00:00.051) 0:02:49.691 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-fstab.yml:49 Thursday 21 July 2022 14:23:02 +0000 (0:00:00.037) 0:02:49.729 ********* ok: [/cache/rhel-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/tmpw6dixrb5/tests/test-verify-volume-fs.yml:4 Thursday 21 July 2022 14:23:02 +0000 (0:00:00.039) 0:02:49.769 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-fs.yml:10 Thursday 21 July 2022 14:23:02 +0000 (0:00:00.039) 0:02:49.808 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-device.yml:4 Thursday 21 July 2022 14:23:02 +0000 (0:00:00.039) 0:02:49.847 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "stat": { "atime": 1658413373.0430126, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658413373.0430126, "dev": 6, "device_type": 64772, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 119496, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1658413373.0430126, "nlink": 1, "path": "/dev/mapper/vg1-lv1", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-device.yml:10 Thursday 21 July 2022 14:23:03 +0000 (0:00:00.360) 0:02:50.208 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-device.yml:18 Thursday 21 July 2022 14:23:03 +0000 (0:00:00.038) 0:02:50.247 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-device.yml:24 Thursday 21 July 2022 14:23:03 +0000 (0:00:00.039) 0:02:50.286 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-device.yml:28 Thursday 21 July 2022 14:23:03 +0000 (0:00:00.040) 0:02:50.327 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-device.yml:33 Thursday 21 July 2022 14:23:03 +0000 (0:00:00.025) 0:02:50.352 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 14:23:03 +0000 (0:00:00.043) 0:02:50.396 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 14:23:03 +0000 (0:00:00.026) 0:02:50.422 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 14:23:04 +0000 (0:00:01.294) 0:02:51.717 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 14:23:04 +0000 (0:00:00.027) 0:02:51.744 ********* skipping: [/cache/rhel-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/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:30 Thursday 21 July 2022 14:23:04 +0000 (0:00:00.026) 0:02:51.770 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:38 Thursday 21 July 2022 14:23:04 +0000 (0:00:00.054) 0:02:51.824 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 14:23:04 +0000 (0:00:00.026) 0:02:51.851 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:49 Thursday 21 July 2022 14:23:04 +0000 (0:00:00.027) 0:02:51.879 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:55 Thursday 21 July 2022 14:23:05 +0000 (0:00:00.026) 0:02:51.905 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:61 Thursday 21 July 2022 14:23:05 +0000 (0:00:00.025) 0:02:51.931 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 14:23:05 +0000 (0:00:00.025) 0:02:51.956 ********* ok: [/cache/rhel-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/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:74 Thursday 21 July 2022 14:23:05 +0000 (0:00:00.056) 0:02:52.013 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:79 Thursday 21 July 2022 14:23:05 +0000 (0:00:00.082) 0:02:52.095 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:85 Thursday 21 July 2022 14:23:05 +0000 (0:00:00.036) 0:02:52.132 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:91 Thursday 21 July 2022 14:23:05 +0000 (0:00:00.036) 0:02:52.168 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:97 Thursday 21 July 2022 14:23:05 +0000 (0:00:00.034) 0:02:52.203 ********* ok: [/cache/rhel-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/tmpw6dixrb5/tests/test-verify-volume-md.yml:7 Thursday 21 July 2022 14:23:05 +0000 (0:00:00.069) 0:02:52.272 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-md.yml:13 Thursday 21 July 2022 14:23:05 +0000 (0:00:00.036) 0:02:52.308 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-md.yml:17 Thursday 21 July 2022 14:23:05 +0000 (0:00:00.096) 0:02:52.405 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-md.yml:21 Thursday 21 July 2022 14:23:05 +0000 (0:00:00.045) 0:02:52.450 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-md.yml:25 Thursday 21 July 2022 14:23:05 +0000 (0:00:00.044) 0:02:52.494 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-md.yml:31 Thursday 21 July 2022 14:23:05 +0000 (0:00:00.042) 0:02:52.537 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-md.yml:37 Thursday 21 July 2022 14:23:05 +0000 (0:00:00.042) 0:02:52.579 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:3 Thursday 21 July 2022 14:23:05 +0000 (0:00:00.045) 0:02:52.624 ********* ok: [/cache/rhel-8.qcow2] => { "bytes": 2147483648, "changed": false, "lvm": "2g", "parted": "2GiB", "size": "2 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:9 Thursday 21 July 2022 14:23:06 +0000 (0:00:00.382) 0:02:53.007 ********* ok: [/cache/rhel-8.qcow2] => { "bytes": 2147483648, "changed": false, "lvm": "2g", "parted": "2GiB", "size": "2 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:15 Thursday 21 July 2022 14:23:06 +0000 (0:00:00.389) 0:02:53.396 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_expected_size": "2147483648" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:20 Thursday 21 July 2022 14:23:06 +0000 (0:00:00.056) 0:02:53.452 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_expected_size": "2147483648" } TASK [debug] ******************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:25 Thursday 21 July 2022 14:23:06 +0000 (0:00:00.040) 0:02:53.492 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:28 Thursday 21 July 2022 14:23:06 +0000 (0:00:00.042) 0:02:53.534 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:31 Thursday 21 July 2022 14:23:06 +0000 (0:00:00.039) 0:02:53.574 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:36 Thursday 21 July 2022 14:23:06 +0000 (0:00:00.047) 0:02:53.622 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:39 Thursday 21 July 2022 14:23:06 +0000 (0:00:00.041) 0:02:53.663 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:44 Thursday 21 July 2022 14:23:06 +0000 (0:00:00.040) 0:02:53.704 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_actual_size": { "bytes": 2147483648, "changed": false, "failed": false, "lvm": "2g", "parted": "2GiB", "size": "2 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:47 Thursday 21 July 2022 14:23:06 +0000 (0:00:00.038) 0:02:53.742 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_expected_size": "2147483648" } TASK [assert] ****************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:50 Thursday 21 July 2022 14:23:06 +0000 (0:00:00.040) 0:02:53.783 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml:6 Thursday 21 July 2022 14:23:06 +0000 (0:00:00.061) 0:02:53.844 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "lvs", "--noheadings", "--nameprefixes", "--units=b", "--nosuffix", "--unquoted", "-o", "name,attr,cache_total_blocks,chunk_size,segtype", "vg1/lv1" ], "delta": "0:00:00.039347", "end": "2022-07-21 10:23:06.923163", "rc": 0, "start": "2022-07-21 10:23:06.883816" } STDOUT: LVM2_LV_NAME=lv1 LVM2_LV_ATTR=rwi-aor--- LVM2_CACHE_TOTAL_BLOCKS= LVM2_CHUNK_SIZE=0 LVM2_SEGTYPE=raid1 TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml:14 Thursday 21 July 2022 14:23:07 +0000 (0:00:00.439) 0:02:54.284 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_lv_segtype": [ "raid1" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml:17 Thursday 21 July 2022 14:23:07 +0000 (0:00:00.055) 0:02:54.340 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml:22 Thursday 21 July 2022 14:23:07 +0000 (0:00:00.057) 0:02:54.398 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml:26 Thursday 21 July 2022 14:23:07 +0000 (0:00:00.041) 0:02:54.439 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml:32 Thursday 21 July 2022 14:23:07 +0000 (0:00:00.040) 0:02:54.480 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml:36 Thursday 21 July 2022 14:23:07 +0000 (0:00:00.040) 0:02:54.520 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume.yml:16 Thursday 21 July 2022 14:23:07 +0000 (0:00:00.036) 0:02:54.557 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpw6dixrb5/tests/verify-role-results.yml:43 Thursday 21 July 2022 14:23:07 +0000 (0:00:00.034) 0:02:54.591 ********* TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpw6dixrb5/tests/verify-role-results.yml:53 Thursday 21 July 2022 14:23:07 +0000 (0:00:00.020) 0:02:54.612 ********* ok: [/cache/rhel-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/tmpw6dixrb5/tests/tests_create_raid_pool_then_remove.yml:118 Thursday 21 July 2022 14:23:07 +0000 (0:00:00.035) 0:02:54.648 ********* TASK [linux-system-roles.storage : set platform/version specific variables] **** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Thursday 21 July 2022 14:23:07 +0000 (0:00:00.062) 0:02:54.710 ********* included: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/set_vars.yml for /cache/rhel-8.qcow2 TASK [linux-system-roles.storage : Ensure ansible_facts used by role] ********** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Thursday 21 July 2022 14:23:07 +0000 (0:00:00.086) 0:02:54.797 ********* ok: [/cache/rhel-8.qcow2] TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Thursday 21 July 2022 14:23:08 +0000 (0:00:00.516) 0:02:55.313 ********* skipping: [/cache/rhel-8.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/rhel-8.qcow2] => (item=RedHat_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/tmpw6dixrb5/tests/roles/linux-system-roles.storage/vars/RedHat_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.yml" } skipping: [/cache/rhel-8.qcow2] => (item=RedHat_8.6.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.6.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Thursday 21 July 2022 14:23:08 +0000 (0:00:00.061) 0:02:55.375 ********* ok: [/cache/rhel-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/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Thursday 21 July 2022 14:23:08 +0000 (0:00:00.036) 0:02:55.412 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : include the appropriate provider tasks] ***** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Thursday 21 July 2022 14:23:08 +0000 (0:00:00.037) 0:02:55.449 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml for /cache/rhel-8.qcow2 TASK [linux-system-roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 14:23:08 +0000 (0:00:00.049) 0:02:55.499 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure blivet is available] ************** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 14:23:08 +0000 (0:00:00.021) 0:02:55.521 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : show storage_pools] ************************* task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:14 Thursday 21 July 2022 14:23:08 +0000 (0:00:00.026) 0:02:55.548 ********* ok: [/cache/rhel-8.qcow2] => { "storage_pools": [ { "disks": [ "sda", "sdb" ], "name": "vg1", "state": "present", "type": "lvm", "volumes": [ { "mount_point": "/opt/test1", "name": "lv1", "raid_disks": [ "sda", "sdb" ], "raid_level": "raid1", "size": "2g" } ] } ] } TASK [linux-system-roles.storage : show storage_volumes] *********************** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:19 Thursday 21 July 2022 14:23:08 +0000 (0:00:00.037) 0:02:55.586 ********* ok: [/cache/rhel-8.qcow2] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [linux-system-roles.storage : get required packages] ********************** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:24 Thursday 21 July 2022 14:23:08 +0000 (0:00:00.036) 0:02:55.623 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : enable copr repositories if needed] ********* task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:37 Thursday 21 July 2022 14:23:08 +0000 (0:00:00.028) 0:02:55.652 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure required packages are installed] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:44 Thursday 21 July 2022 14:23:08 +0000 (0:00:00.027) 0:02:55.679 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : get service facts] ************************** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 Thursday 21 July 2022 14:23:08 +0000 (0:00:00.026) 0:02:55.705 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set storage_cryptsetup_services] ************ task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 14:23:08 +0000 (0:00:00.026) 0:02:55.732 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [linux-system-roles.storage : Mask the systemd cryptsetup services] ******* task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:71 Thursday 21 July 2022 14:23:08 +0000 (0:00:00.059) 0:02:55.792 ********* TASK [linux-system-roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Thursday 21 July 2022 14:23:08 +0000 (0:00:00.031) 0:02:55.823 ********* changed: [/cache/rhel-8.qcow2] => { "actions": [ { "action": "resize device", "device": "/dev/mapper/vg1-lv1", "fs_type": null }, { "action": "resize format", "device": "/dev/mapper/vg1-lv1", "fs_type": "xfs" } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/mapper/vg1-lv1", "/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/vg1-lv1", "state": "mounted" } ], "packages": [ "dosfstools", "xfsprogs", "lvm2" ], "pools": [ { "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_kernel_device": "/dev/dm-4", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "_raw_kernel_device": "/dev/dm-4", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [ "sda", "sdb" ], "raid_level": "raid1", "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } TASK [linux-system-roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:91 Thursday 21 July 2022 14:23:11 +0000 (0:00:02.407) 0:02:58.231 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Unmask the systemd cryptsetup services] ***** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:103 Thursday 21 July 2022 14:23:11 +0000 (0:00:00.039) 0:02:58.271 ********* TASK [linux-system-roles.storage : show blivet_output] ************************* task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:109 Thursday 21 July 2022 14:23:11 +0000 (0:00:00.024) 0:02:58.296 ********* ok: [/cache/rhel-8.qcow2] => { "blivet_output": { "actions": [ { "action": "resize device", "device": "/dev/mapper/vg1-lv1", "fs_type": null }, { "action": "resize format", "device": "/dev/mapper/vg1-lv1", "fs_type": "xfs" } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/mapper/vg1-lv1", "/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/vg1-lv1", "state": "mounted" } ], "packages": [ "dosfstools", "xfsprogs", "lvm2" ], "pools": [ { "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_kernel_device": "/dev/dm-4", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "_raw_kernel_device": "/dev/dm-4", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [ "sda", "sdb" ], "raid_level": "raid1", "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } } TASK [linux-system-roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:114 Thursday 21 July 2022 14:23:11 +0000 (0:00:00.044) 0:02:58.340 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_kernel_device": "/dev/dm-4", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "_raw_kernel_device": "/dev/dm-4", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [ "sda", "sdb" ], "raid_level": "raid1", "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] }, "changed": false } TASK [linux-system-roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:118 Thursday 21 July 2022 14:23:11 +0000 (0:00:00.041) 0:02:58.381 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : remove obsolete mounts] ********************* task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:134 Thursday 21 July 2022 14:23:11 +0000 (0:00:00.080) 0:02:58.462 ********* TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:146 Thursday 21 July 2022 14:23:11 +0000 (0:00:00.047) 0:02:58.510 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : set up new/current mounts] ****************** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:151 Thursday 21 July 2022 14:23:12 +0000 (0:00:00.645) 0:02:59.155 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/rhel-8.qcow2] => (item={'src': '/dev/mapper/vg1-lv1', 'path': '/opt/test1', 'fstype': 'xfs', 'opts': 'defaults', 'dump': 0, 'passno': 0, 'state': 'mounted'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "xfs", "mount_info": { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/vg1-lv1", "state": "mounted" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "/dev/mapper/vg1-lv1" } TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:163 Thursday 21 July 2022 14:23:12 +0000 (0:00:00.483) 0:02:59.639 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:171 Thursday 21 July 2022 14:23:13 +0000 (0:00:00.614) 0:03:00.253 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:176 Thursday 21 July 2022 14:23:13 +0000 (0:00:00.372) 0:03:00.626 ********* TASK [linux-system-roles.storage : Update facts] ******************************* task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 Thursday 21 July 2022 14:23:13 +0000 (0:00:00.023) 0:03:00.649 ********* ok: [/cache/rhel-8.qcow2] META: role_complete for /cache/rhel-8.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmpw6dixrb5/tests/tests_create_raid_pool_then_remove.yml:134 Thursday 21 July 2022 14:23:14 +0000 (0:00:00.992) 0:03:01.641 ********* included: /tmp/tmpw6dixrb5/tests/verify-role-results.yml for /cache/rhel-8.qcow2 TASK [Print out pool information] ********************************************** task path: /tmp/tmpw6dixrb5/tests/verify-role-results.yml:1 Thursday 21 July 2022 14:23:14 +0000 (0:00:00.055) 0:03:01.697 ********* ok: [/cache/rhel-8.qcow2] => { "_storage_pools_list": [ { "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_kernel_device": "/dev/dm-4", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "_raw_kernel_device": "/dev/dm-4", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [ "sda", "sdb" ], "raid_level": "raid1", "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] } TASK [Print out volume information] ******************************************** task path: /tmp/tmpw6dixrb5/tests/verify-role-results.yml:6 Thursday 21 July 2022 14:23:14 +0000 (0:00:00.057) 0:03:01.754 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpw6dixrb5/tests/verify-role-results.yml:14 Thursday 21 July 2022 14:23:14 +0000 (0:00:00.040) 0:03:01.795 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "info": { "/dev/mapper/vg1-lv1": { "fstype": "xfs", "label": "", "name": "/dev/mapper/vg1-lv1", "size": "2G", "type": "lvm", "uuid": "f336aaf4-abd9-460b-b3ba-d9e3d793b302" }, "/dev/mapper/vg1-lv1_rimage_0": { "fstype": "", "label": "", "name": "/dev/mapper/vg1-lv1_rimage_0", "size": "2G", "type": "lvm", "uuid": "" }, "/dev/mapper/vg1-lv1_rimage_1": { "fstype": "", "label": "", "name": "/dev/mapper/vg1-lv1_rimage_1", "size": "2G", "type": "lvm", "uuid": "" }, "/dev/mapper/vg1-lv1_rmeta_0": { "fstype": "", "label": "", "name": "/dev/mapper/vg1-lv1_rmeta_0", "size": "4M", "type": "lvm", "uuid": "" }, "/dev/mapper/vg1-lv1_rmeta_1": { "fstype": "", "label": "", "name": "/dev/mapper/vg1-lv1_rmeta_1", "size": "4M", "type": "lvm", "uuid": "" }, "/dev/nvme0n1": { "fstype": "", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme1n1": { "fstype": "", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme2n1": { "fstype": "", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda": { "fstype": "", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda1": { "fstype": "LVM2_member", "label": "", "name": "/dev/sda1", "size": "10G", "type": "partition", "uuid": "jpc7QB-jEW4-43GF-p8wZ-JxbS-VF7R-uf2Ier" }, "/dev/sdb": { "fstype": "", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdb1": { "fstype": "LVM2_member", "label": "", "name": "/dev/sdb1", "size": "10G", "type": "partition", "uuid": "3KxQ2T-Ng6V-10b4-W9CJ-8p9L-iH5q-8uO17H" }, "/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-14-20-00-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "", "label": "", "name": "/dev/vda1", "size": "1M", "type": "partition", "uuid": "" }, "/dev/vda2": { "fstype": "vfat", "label": "", "name": "/dev/vda2", "size": "100M", "type": "partition", "uuid": "7B77-95E7" }, "/dev/vda3": { "fstype": "xfs", "label": "root", "name": "/dev/vda3", "size": "9.9G", "type": "partition", "uuid": "853ae189-b3fe-4a45-8485-75bbb1421bbe" }, "/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/tmpw6dixrb5/tests/verify-role-results.yml:19 Thursday 21 July 2022 14:23:15 +0000 (0:00:00.391) 0:03:02.187 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.003026", "end": "2022-07-21 10:23:15.202141", "rc": 0, "start": "2022-07-21 10:23:15.199115" } STDOUT: UUID=853ae189-b3fe-4a45-8485-75bbb1421bbe / xfs defaults 0 0 UUID=7B77-95E7 /boot/efi vfat defaults,uid=0,gid=0,umask=077,shortname=winnt 0 2 /dev/mapper/vg1-lv1 /opt/test1 xfs defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpw6dixrb5/tests/verify-role-results.yml:24 Thursday 21 July 2022 14:23:15 +0000 (0:00:00.373) 0:03:02.560 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.002329", "end": "2022-07-21 10:23:15.586930", "failed_when_result": false, "rc": 1, "start": "2022-07-21 10:23:15.584601" } STDERR: cat: /etc/crypttab: No such file or directory MSG: non-zero return code TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmpw6dixrb5/tests/verify-role-results.yml:33 Thursday 21 July 2022 14:23:16 +0000 (0:00:00.381) 0:03:02.942 ********* included: /tmp/tmpw6dixrb5/tests/test-verify-pool.yml for /cache/rhel-8.qcow2 => (item={'disks': ['sda', 'sdb'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'name': 'vg1', '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': 'lv1', 'raid_level': 'raid1', 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': ['sda', 'sdb'], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1', '_kernel_device': '/dev/dm-4', '_raw_kernel_device': '/dev/dm-4'}], 'raid_chunk_size': None}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-pool.yml:5 Thursday 21 July 2022 14:23:16 +0000 (0:00:00.096) 0:03:03.038 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool.yml:18 Thursday 21 July 2022 14:23:16 +0000 (0:00:00.035) 0:03:03.074 ********* included: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml for /cache/rhel-8.qcow2 => (item=members) included: /tmp/tmpw6dixrb5/tests/test-verify-pool-volumes.yml for /cache/rhel-8.qcow2 => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:1 Thursday 21 July 2022 14:23:16 +0000 (0:00:00.049) 0:03:03.123 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_count": "2", "_storage_test_pool_pvs_lvm": [ "/dev/sda1", "/dev/sdb1" ] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:10 Thursday 21 July 2022 14:23:16 +0000 (0:00:00.055) 0:03:03.179 ********* ok: [/cache/rhel-8.qcow2] => (item=/dev/sda1) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/sda1", "pv": "/dev/sda1" } ok: [/cache/rhel-8.qcow2] => (item=/dev/sdb1) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/sdb1", "pv": "/dev/sdb1" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:19 Thursday 21 July 2022 14:23:17 +0000 (0:00:00.740) 0:03:03.920 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "__pvs_lvm_len": "2" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:23 Thursday 21 July 2022 14:23:17 +0000 (0:00:00.051) 0:03:03.971 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/sda1", "/dev/sdb1" ] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:27 Thursday 21 July 2022 14:23:17 +0000 (0:00:00.052) 0:03:04.024 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:34 Thursday 21 July 2022 14:23:17 +0000 (0:00:00.054) 0:03:04.079 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:38 Thursday 21 July 2022 14:23:17 +0000 (0:00:00.038) 0:03:04.118 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_type": "partition" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:42 Thursday 21 July 2022 14:23:17 +0000 (0:00:00.048) 0:03:04.166 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:46 Thursday 21 July 2022 14:23:17 +0000 (0:00:00.023) 0:03:04.190 ********* ok: [/cache/rhel-8.qcow2] => (item=/dev/sda1) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/sda1" } MSG: All assertions passed ok: [/cache/rhel-8.qcow2] => (item=/dev/sdb1) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/sdb1" } MSG: All assertions passed TASK [Check MD RAID] *********************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:56 Thursday 21 July 2022 14:23:17 +0000 (0:00:00.060) 0:03:04.250 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml for /cache/rhel-8.qcow2 TASK [get information about RAID] ********************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:6 Thursday 21 July 2022 14:23:17 +0000 (0:00:00.044) 0:03:04.295 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:12 Thursday 21 July 2022 14:23:17 +0000 (0:00:00.026) 0:03:04.321 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:16 Thursday 21 July 2022 14:23:17 +0000 (0:00:00.026) 0:03:04.347 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:20 Thursday 21 July 2022 14:23:17 +0000 (0:00:00.034) 0:03:04.381 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:24 Thursday 21 July 2022 14:23:17 +0000 (0:00:00.030) 0:03:04.411 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:30 Thursday 21 July 2022 14:23:17 +0000 (0:00:00.027) 0:03:04.439 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:36 Thursday 21 July 2022 14:23:17 +0000 (0:00:00.026) 0:03:04.466 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:44 Thursday 21 July 2022 14:23:17 +0000 (0:00:00.024) 0:03:04.491 ********* ok: [/cache/rhel-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/tmpw6dixrb5/tests/test-verify-pool-members.yml:59 Thursday 21 July 2022 14:23:17 +0000 (0:00:00.038) 0:03:04.529 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-members-lvmraid.yml for /cache/rhel-8.qcow2 TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-members-lvmraid.yml:1 Thursday 21 July 2022 14:23:17 +0000 (0:00:00.045) 0:03:04.575 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-member-lvmraid.yml for /cache/rhel-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': 'lv1', 'raid_level': 'raid1', 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': ['sda', 'sdb'], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1', '_kernel_device': '/dev/dm-4', '_raw_kernel_device': '/dev/dm-4'}) TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-lvmraid.yml:3 Thursday 21 July 2022 14:23:17 +0000 (0:00:00.045) 0:03:04.620 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "lvs", "--noheading", "-o", "lv_name", "--select", "lv_name=lv1&&lv_layout=raid1", "vg1" ], "delta": "0:00:00.034399", "end": "2022-07-21 10:23:17.675447", "rc": 0, "start": "2022-07-21 10:23:17.641048" } STDOUT: lv1 TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-lvmraid.yml:8 Thursday 21 July 2022 14:23:18 +0000 (0:00:00.412) 0:03:05.033 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-lvmraid.yml:12 Thursday 21 July 2022 14:23:18 +0000 (0:00:00.104) 0:03:05.137 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_lvmraid_status": null }, "changed": false } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:62 Thursday 21 July 2022 14:23:18 +0000 (0:00:00.084) 0:03:05.222 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-members-thin.yml for /cache/rhel-8.qcow2 TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-members-thin.yml:1 Thursday 21 July 2022 14:23:18 +0000 (0:00:00.046) 0:03:05.268 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-member-thin.yml for /cache/rhel-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': 'lv1', 'raid_level': 'raid1', 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': ['sda', 'sdb'], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1', '_kernel_device': '/dev/dm-4', '_raw_kernel_device': '/dev/dm-4'}) TASK [Get information about thinpool] ****************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-thin.yml:3 Thursday 21 July 2022 14:23:18 +0000 (0:00:00.083) 0:03:05.352 ********* skipping: [/cache/rhel-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/tmpw6dixrb5/tests/verify-pool-member-thin.yml:8 Thursday 21 July 2022 14:23:18 +0000 (0:00:00.026) 0:03:05.378 ********* skipping: [/cache/rhel-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/tmpw6dixrb5/tests/verify-pool-member-thin.yml:13 Thursday 21 July 2022 14:23:18 +0000 (0:00:00.025) 0:03:05.403 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-thin.yml:17 Thursday 21 July 2022 14:23:18 +0000 (0:00:00.026) 0:03:05.430 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:65 Thursday 21 July 2022 14:23:18 +0000 (0:00:00.025) 0:03:05.456 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-members-encryption.yml for /cache/rhel-8.qcow2 TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-members-encryption.yml:4 Thursday 21 July 2022 14:23:18 +0000 (0:00:00.049) 0:03:05.505 ********* ok: [/cache/rhel-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/tmpw6dixrb5/tests/verify-pool-members-encryption.yml:8 Thursday 21 July 2022 14:23:18 +0000 (0:00:00.051) 0:03:05.557 ********* skipping: [/cache/rhel-8.qcow2] => (item=/dev/sda1) => { "_storage_test_pool_member_path": "/dev/sda1", "ansible_loop_var": "_storage_test_pool_member_path", "changed": false, "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=/dev/sdb1) => { "_storage_test_pool_member_path": "/dev/sdb1", "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/tmpw6dixrb5/tests/verify-pool-members-encryption.yml:15 Thursday 21 July 2022 14:23:18 +0000 (0:00:00.032) 0:03:05.589 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-member-crypttab.yml for /cache/rhel-8.qcow2 => (item=/dev/sda1) included: /tmp/tmpw6dixrb5/tests/verify-pool-member-crypttab.yml for /cache/rhel-8.qcow2 => (item=/dev/sdb1) TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-crypttab.yml:1 Thursday 21 July 2022 14:23:18 +0000 (0:00:00.050) 0:03:05.640 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": [] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-crypttab.yml:6 Thursday 21 July 2022 14:23:18 +0000 (0:00:00.050) 0:03:05.691 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-crypttab.yml:11 Thursday 21 July 2022 14:23:18 +0000 (0:00:00.052) 0:03:05.743 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-crypttab.yml:17 Thursday 21 July 2022 14:23:18 +0000 (0:00:00.039) 0:03:05.783 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-crypttab.yml:23 Thursday 21 July 2022 14:23:18 +0000 (0:00:00.038) 0:03:05.822 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-crypttab.yml:29 Thursday 21 July 2022 14:23:18 +0000 (0:00:00.040) 0:03:05.863 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-crypttab.yml:1 Thursday 21 July 2022 14:23:19 +0000 (0:00:00.037) 0:03:05.901 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": [] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-crypttab.yml:6 Thursday 21 July 2022 14:23:19 +0000 (0:00:00.057) 0:03:05.958 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-crypttab.yml:11 Thursday 21 July 2022 14:23:19 +0000 (0:00:00.053) 0:03:06.011 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-crypttab.yml:17 Thursday 21 July 2022 14:23:19 +0000 (0:00:00.039) 0:03:06.050 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-crypttab.yml:23 Thursday 21 July 2022 14:23:19 +0000 (0:00:00.038) 0:03:06.089 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-crypttab.yml:29 Thursday 21 July 2022 14:23:19 +0000 (0:00:00.040) 0:03:06.130 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-members-encryption.yml:22 Thursday 21 July 2022 14:23:19 +0000 (0:00:00.036) 0:03:06.167 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:68 Thursday 21 July 2022 14:23:19 +0000 (0:00:00.037) 0:03:06.204 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-members-vdo.yml for /cache/rhel-8.qcow2 TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-members-vdo.yml:1 Thursday 21 July 2022 14:23:19 +0000 (0:00:00.053) 0:03:06.257 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml for /cache/rhel-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': 'lv1', 'raid_level': 'raid1', 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': ['sda', 'sdb'], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1', '_kernel_device': '/dev/dm-4', '_raw_kernel_device': '/dev/dm-4'}) TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:3 Thursday 21 July 2022 14:23:19 +0000 (0:00:00.047) 0:03:06.305 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:8 Thursday 21 July 2022 14:23:19 +0000 (0:00:00.026) 0:03:06.332 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:11 Thursday 21 July 2022 14:23:19 +0000 (0:00:00.025) 0:03:06.358 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:16 Thursday 21 July 2022 14:23:19 +0000 (0:00:00.025) 0:03:06.384 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:21 Thursday 21 July 2022 14:23:19 +0000 (0:00:00.025) 0:03:06.410 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:24 Thursday 21 July 2022 14:23:19 +0000 (0:00:00.026) 0:03:06.437 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:29 Thursday 21 July 2022 14:23:19 +0000 (0:00:00.025) 0:03:06.462 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:39 Thursday 21 July 2022 14:23:19 +0000 (0:00:00.026) 0:03:06.489 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:71 Thursday 21 July 2022 14:23:19 +0000 (0:00:00.039) 0:03:06.529 ********* ok: [/cache/rhel-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/tmpw6dixrb5/tests/test-verify-pool-volumes.yml:3 Thursday 21 July 2022 14:23:19 +0000 (0:00:00.039) 0:03:06.569 ********* included: /tmp/tmpw6dixrb5/tests/test-verify-volume.yml for /cache/rhel-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': 'lv1', 'raid_level': 'raid1', 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': ['sda', 'sdb'], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1', '_kernel_device': '/dev/dm-4', '_raw_kernel_device': '/dev/dm-4'}) TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume.yml:2 Thursday 21 July 2022 14:23:19 +0000 (0:00:00.055) 0:03:06.624 ********* ok: [/cache/rhel-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/tmpw6dixrb5/tests/test-verify-volume.yml:10 Thursday 21 July 2022 14:23:19 +0000 (0:00:00.118) 0:03:06.743 ********* included: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml for /cache/rhel-8.qcow2 => (item=mount) included: /tmp/tmpw6dixrb5/tests/test-verify-volume-fstab.yml for /cache/rhel-8.qcow2 => (item=fstab) included: /tmp/tmpw6dixrb5/tests/test-verify-volume-fs.yml for /cache/rhel-8.qcow2 => (item=fs) included: /tmp/tmpw6dixrb5/tests/test-verify-volume-device.yml for /cache/rhel-8.qcow2 => (item=device) included: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml for /cache/rhel-8.qcow2 => (item=encryption) included: /tmp/tmpw6dixrb5/tests/test-verify-volume-md.yml for /cache/rhel-8.qcow2 => (item=md) included: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml for /cache/rhel-8.qcow2 => (item=size) included: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml for /cache/rhel-8.qcow2 => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:6 Thursday 21 July 2022 14:23:19 +0000 (0:00:00.148) 0:03:06.892 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/vg1-lv1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:14 Thursday 21 July 2022 14:23:20 +0000 (0:00:00.043) 0:03:06.935 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 509814, "block_size": 4096, "block_total": 521728, "block_used": 11914, "device": "/dev/mapper/vg1-lv1", "fstype": "xfs", "inode_available": 1048573, "inode_total": 1048576, "inode_used": 3, "mount": "/opt/test1", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota", "size_available": 2088198144, "size_total": 2136997888, "uuid": "f336aaf4-abd9-460b-b3ba-d9e3d793b302" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 509814, "block_size": 4096, "block_total": 521728, "block_used": 11914, "device": "/dev/mapper/vg1-lv1", "fstype": "xfs", "inode_available": 1048573, "inode_total": 1048576, "inode_used": 3, "mount": "/opt/test1", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota", "size_available": 2088198144, "size_total": 2136997888, "uuid": "f336aaf4-abd9-460b-b3ba-d9e3d793b302" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:28 Thursday 21 July 2022 14:23:20 +0000 (0:00:00.060) 0:03:06.996 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:37 Thursday 21 July 2022 14:23:20 +0000 (0:00:00.058) 0:03:07.054 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:45 Thursday 21 July 2022 14:23:20 +0000 (0:00:00.051) 0:03:07.105 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:54 Thursday 21 July 2022 14:23:20 +0000 (0:00:00.053) 0:03:07.159 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:58 Thursday 21 July 2022 14:23:20 +0000 (0:00:00.025) 0:03:07.184 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:63 Thursday 21 July 2022 14:23:20 +0000 (0:00:00.024) 0:03:07.209 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:75 Thursday 21 July 2022 14:23:20 +0000 (0:00:00.025) 0:03:07.234 ********* ok: [/cache/rhel-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/tmpw6dixrb5/tests/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 14:23:20 +0000 (0:00:00.035) 0:03:07.270 ********* ok: [/cache/rhel-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/vg1-lv1 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test1 xfs defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test1 " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 14:23:20 +0000 (0:00:00.065) 0:03:07.335 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-fstab.yml:32 Thursday 21 July 2022 14:23:20 +0000 (0:00:00.050) 0:03:07.386 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-fstab.yml:39 Thursday 21 July 2022 14:23:20 +0000 (0:00:00.052) 0:03:07.438 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-fstab.yml:49 Thursday 21 July 2022 14:23:20 +0000 (0:00:00.039) 0:03:07.478 ********* ok: [/cache/rhel-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/tmpw6dixrb5/tests/test-verify-volume-fs.yml:4 Thursday 21 July 2022 14:23:20 +0000 (0:00:00.040) 0:03:07.519 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-fs.yml:10 Thursday 21 July 2022 14:23:20 +0000 (0:00:00.040) 0:03:07.559 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-device.yml:4 Thursday 21 July 2022 14:23:20 +0000 (0:00:00.043) 0:03:07.603 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "stat": { "atime": 1658413390.8270125, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658413390.8270125, "dev": 6, "device_type": 64772, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 119496, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1658413390.8270125, "nlink": 1, "path": "/dev/mapper/vg1-lv1", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-device.yml:10 Thursday 21 July 2022 14:23:21 +0000 (0:00:00.386) 0:03:07.989 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-device.yml:18 Thursday 21 July 2022 14:23:21 +0000 (0:00:00.038) 0:03:08.028 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-device.yml:24 Thursday 21 July 2022 14:23:21 +0000 (0:00:00.042) 0:03:08.070 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-device.yml:28 Thursday 21 July 2022 14:23:21 +0000 (0:00:00.040) 0:03:08.110 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-device.yml:33 Thursday 21 July 2022 14:23:21 +0000 (0:00:00.026) 0:03:08.137 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 14:23:21 +0000 (0:00:00.039) 0:03:08.177 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 14:23:21 +0000 (0:00:00.025) 0:03:08.202 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 14:23:22 +0000 (0:00:01.291) 0:03:09.494 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 14:23:22 +0000 (0:00:00.026) 0:03:09.520 ********* skipping: [/cache/rhel-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/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:30 Thursday 21 July 2022 14:23:22 +0000 (0:00:00.026) 0:03:09.547 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:38 Thursday 21 July 2022 14:23:22 +0000 (0:00:00.089) 0:03:09.637 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 14:23:22 +0000 (0:00:00.056) 0:03:09.693 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:49 Thursday 21 July 2022 14:23:22 +0000 (0:00:00.024) 0:03:09.718 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:55 Thursday 21 July 2022 14:23:22 +0000 (0:00:00.024) 0:03:09.742 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:61 Thursday 21 July 2022 14:23:22 +0000 (0:00:00.024) 0:03:09.767 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 14:23:22 +0000 (0:00:00.025) 0:03:09.792 ********* ok: [/cache/rhel-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/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:74 Thursday 21 July 2022 14:23:22 +0000 (0:00:00.051) 0:03:09.843 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:79 Thursday 21 July 2022 14:23:22 +0000 (0:00:00.049) 0:03:09.893 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:85 Thursday 21 July 2022 14:23:23 +0000 (0:00:00.036) 0:03:09.929 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:91 Thursday 21 July 2022 14:23:23 +0000 (0:00:00.042) 0:03:09.971 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:97 Thursday 21 July 2022 14:23:23 +0000 (0:00:00.036) 0:03:10.008 ********* ok: [/cache/rhel-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/tmpw6dixrb5/tests/test-verify-volume-md.yml:7 Thursday 21 July 2022 14:23:23 +0000 (0:00:00.038) 0:03:10.046 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-md.yml:13 Thursday 21 July 2022 14:23:23 +0000 (0:00:00.039) 0:03:10.085 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-md.yml:17 Thursday 21 July 2022 14:23:23 +0000 (0:00:00.042) 0:03:10.127 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-md.yml:21 Thursday 21 July 2022 14:23:23 +0000 (0:00:00.039) 0:03:10.167 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-md.yml:25 Thursday 21 July 2022 14:23:23 +0000 (0:00:00.036) 0:03:10.203 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-md.yml:31 Thursday 21 July 2022 14:23:23 +0000 (0:00:00.036) 0:03:10.240 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-md.yml:37 Thursday 21 July 2022 14:23:23 +0000 (0:00:00.043) 0:03:10.284 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:3 Thursday 21 July 2022 14:23:23 +0000 (0:00:00.041) 0:03:10.325 ********* ok: [/cache/rhel-8.qcow2] => { "bytes": 2147483648, "changed": false, "lvm": "2g", "parted": "2GiB", "size": "2 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:9 Thursday 21 July 2022 14:23:23 +0000 (0:00:00.371) 0:03:10.697 ********* ok: [/cache/rhel-8.qcow2] => { "bytes": 2147483648, "changed": false, "lvm": "2g", "parted": "2GiB", "size": "2 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:15 Thursday 21 July 2022 14:23:24 +0000 (0:00:00.385) 0:03:11.082 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_expected_size": "2147483648" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:20 Thursday 21 July 2022 14:23:24 +0000 (0:00:00.061) 0:03:11.144 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_expected_size": "2147483648" } TASK [debug] ******************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:25 Thursday 21 July 2022 14:23:24 +0000 (0:00:00.049) 0:03:11.194 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:28 Thursday 21 July 2022 14:23:24 +0000 (0:00:00.045) 0:03:11.239 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:31 Thursday 21 July 2022 14:23:24 +0000 (0:00:00.042) 0:03:11.281 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:36 Thursday 21 July 2022 14:23:24 +0000 (0:00:00.046) 0:03:11.327 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:39 Thursday 21 July 2022 14:23:24 +0000 (0:00:00.039) 0:03:11.367 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:44 Thursday 21 July 2022 14:23:24 +0000 (0:00:00.041) 0:03:11.409 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_actual_size": { "bytes": 2147483648, "changed": false, "failed": false, "lvm": "2g", "parted": "2GiB", "size": "2 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:47 Thursday 21 July 2022 14:23:24 +0000 (0:00:00.037) 0:03:11.446 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_expected_size": "2147483648" } TASK [assert] ****************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:50 Thursday 21 July 2022 14:23:24 +0000 (0:00:00.036) 0:03:11.483 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml:6 Thursday 21 July 2022 14:23:24 +0000 (0:00:00.057) 0:03:11.540 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "lvs", "--noheadings", "--nameprefixes", "--units=b", "--nosuffix", "--unquoted", "-o", "name,attr,cache_total_blocks,chunk_size,segtype", "vg1/lv1" ], "delta": "0:00:00.032927", "end": "2022-07-21 10:23:24.593659", "rc": 0, "start": "2022-07-21 10:23:24.560732" } STDOUT: LVM2_LV_NAME=lv1 LVM2_LV_ATTR=rwi-aor--- LVM2_CACHE_TOTAL_BLOCKS= LVM2_CHUNK_SIZE=0 LVM2_SEGTYPE=raid1 TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml:14 Thursday 21 July 2022 14:23:25 +0000 (0:00:00.411) 0:03:11.951 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_lv_segtype": [ "raid1" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml:17 Thursday 21 July 2022 14:23:25 +0000 (0:00:00.052) 0:03:12.004 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml:22 Thursday 21 July 2022 14:23:25 +0000 (0:00:00.055) 0:03:12.060 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml:26 Thursday 21 July 2022 14:23:25 +0000 (0:00:00.041) 0:03:12.102 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml:32 Thursday 21 July 2022 14:23:25 +0000 (0:00:00.039) 0:03:12.141 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml:36 Thursday 21 July 2022 14:23:25 +0000 (0:00:00.039) 0:03:12.180 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume.yml:16 Thursday 21 July 2022 14:23:25 +0000 (0:00:00.042) 0:03:12.223 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpw6dixrb5/tests/verify-role-results.yml:43 Thursday 21 July 2022 14:23:25 +0000 (0:00:00.034) 0:03:12.257 ********* TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpw6dixrb5/tests/verify-role-results.yml:53 Thursday 21 July 2022 14:23:25 +0000 (0:00:00.021) 0:03:12.279 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Remove the device created above] ***************************************** task path: /tmp/tmpw6dixrb5/tests/tests_create_raid_pool_then_remove.yml:136 Thursday 21 July 2022 14:23:25 +0000 (0:00:00.079) 0:03:12.359 ********* TASK [linux-system-roles.storage : set platform/version specific variables] **** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Thursday 21 July 2022 14:23:25 +0000 (0:00:00.128) 0:03:12.487 ********* included: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/set_vars.yml for /cache/rhel-8.qcow2 TASK [linux-system-roles.storage : Ensure ansible_facts used by role] ********** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Thursday 21 July 2022 14:23:25 +0000 (0:00:00.036) 0:03:12.524 ********* ok: [/cache/rhel-8.qcow2] TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Thursday 21 July 2022 14:23:26 +0000 (0:00:00.545) 0:03:13.069 ********* skipping: [/cache/rhel-8.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/rhel-8.qcow2] => (item=RedHat_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/tmpw6dixrb5/tests/roles/linux-system-roles.storage/vars/RedHat_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.yml" } skipping: [/cache/rhel-8.qcow2] => (item=RedHat_8.6.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.6.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Thursday 21 July 2022 14:23:26 +0000 (0:00:00.066) 0:03:13.136 ********* ok: [/cache/rhel-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/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Thursday 21 July 2022 14:23:26 +0000 (0:00:00.038) 0:03:13.174 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : include the appropriate provider tasks] ***** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Thursday 21 July 2022 14:23:26 +0000 (0:00:00.034) 0:03:13.208 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml for /cache/rhel-8.qcow2 TASK [linux-system-roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 14:23:26 +0000 (0:00:00.047) 0:03:13.256 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure blivet is available] ************** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 14:23:26 +0000 (0:00:00.020) 0:03:13.276 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : show storage_pools] ************************* task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:14 Thursday 21 July 2022 14:23:26 +0000 (0:00:00.026) 0:03:13.303 ********* ok: [/cache/rhel-8.qcow2] => { "storage_pools": [ { "disks": [ "sda", "sdb" ], "name": "vg1", "state": "absent", "type": "lvm", "volumes": [ { "mount_point": "/opt/test1", "name": "lv1", "raid_disks": [ "sda", "sdb" ], "raid_level": "raid1", "size": "2g" } ] } ] } TASK [linux-system-roles.storage : show storage_volumes] *********************** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:19 Thursday 21 July 2022 14:23:26 +0000 (0:00:00.040) 0:03:13.344 ********* ok: [/cache/rhel-8.qcow2] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [linux-system-roles.storage : get required packages] ********************** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:24 Thursday 21 July 2022 14:23:26 +0000 (0:00:00.038) 0:03:13.383 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : enable copr repositories if needed] ********* task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:37 Thursday 21 July 2022 14:23:26 +0000 (0:00:00.031) 0:03:13.414 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure required packages are installed] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:44 Thursday 21 July 2022 14:23:26 +0000 (0:00:00.029) 0:03:13.443 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : get service facts] ************************** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 Thursday 21 July 2022 14:23:26 +0000 (0:00:00.030) 0:03:13.474 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set storage_cryptsetup_services] ************ task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 14:23:26 +0000 (0:00:00.029) 0:03:13.503 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [linux-system-roles.storage : Mask the systemd cryptsetup services] ******* task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:71 Thursday 21 July 2022 14:23:26 +0000 (0:00:00.055) 0:03:13.559 ********* TASK [linux-system-roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Thursday 21 July 2022 14:23:26 +0000 (0:00:00.021) 0:03:13.580 ********* changed: [/cache/rhel-8.qcow2] => { "actions": [ { "action": "destroy format", "device": "/dev/mapper/vg1-lv1", "fs_type": "xfs" }, { "action": "destroy device", "device": "/dev/mapper/vg1-lv1", "fs_type": null }, { "action": "destroy device", "device": "/dev/vg1", "fs_type": null }, { "action": "destroy format", "device": "/dev/sdb1", "fs_type": "lvmpv" }, { "action": "destroy device", "device": "/dev/sdb1", "fs_type": null }, { "action": "destroy format", "device": "/dev/sdb", "fs_type": "disklabel" }, { "action": "destroy format", "device": "/dev/sda1", "fs_type": "lvmpv" }, { "action": "destroy device", "device": "/dev/sda1", "fs_type": null }, { "action": "destroy format", "device": "/dev/sda", "fs_type": "disklabel" } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/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/vg1-lv1", "state": "absent" } ], "packages": [ "xfsprogs", "dosfstools" ], "pools": [ { "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [ "sda", "sdb" ], "raid_level": "raid1", "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } TASK [linux-system-roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:91 Thursday 21 July 2022 14:23:29 +0000 (0:00:02.889) 0:03:16.470 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Unmask the systemd cryptsetup services] ***** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:103 Thursday 21 July 2022 14:23:29 +0000 (0:00:00.039) 0:03:16.509 ********* TASK [linux-system-roles.storage : show blivet_output] ************************* task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:109 Thursday 21 July 2022 14:23:29 +0000 (0:00:00.023) 0:03:16.533 ********* ok: [/cache/rhel-8.qcow2] => { "blivet_output": { "actions": [ { "action": "destroy format", "device": "/dev/mapper/vg1-lv1", "fs_type": "xfs" }, { "action": "destroy device", "device": "/dev/mapper/vg1-lv1", "fs_type": null }, { "action": "destroy device", "device": "/dev/vg1", "fs_type": null }, { "action": "destroy format", "device": "/dev/sdb1", "fs_type": "lvmpv" }, { "action": "destroy device", "device": "/dev/sdb1", "fs_type": null }, { "action": "destroy format", "device": "/dev/sdb", "fs_type": "disklabel" }, { "action": "destroy format", "device": "/dev/sda1", "fs_type": "lvmpv" }, { "action": "destroy device", "device": "/dev/sda1", "fs_type": null }, { "action": "destroy format", "device": "/dev/sda", "fs_type": "disklabel" } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/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/vg1-lv1", "state": "absent" } ], "packages": [ "xfsprogs", "dosfstools" ], "pools": [ { "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [ "sda", "sdb" ], "raid_level": "raid1", "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } } TASK [linux-system-roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:114 Thursday 21 July 2022 14:23:29 +0000 (0:00:00.080) 0:03:16.613 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [ "sda", "sdb" ], "raid_level": "raid1", "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] }, "changed": false } TASK [linux-system-roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:118 Thursday 21 July 2022 14:23:29 +0000 (0:00:00.040) 0:03:16.654 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : remove obsolete mounts] ********************* task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:134 Thursday 21 July 2022 14:23:29 +0000 (0:00:00.077) 0:03:16.731 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/rhel-8.qcow2] => (item={'src': '/dev/mapper/vg1-lv1', 'path': '/opt/test1', 'state': 'absent', 'fstype': 'xfs'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "xfs", "mount_info": { "fstype": "xfs", "path": "/opt/test1", "src": "/dev/mapper/vg1-lv1", "state": "absent" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "/dev/mapper/vg1-lv1" } TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:146 Thursday 21 July 2022 14:23:30 +0000 (0:00:00.446) 0:03:17.178 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : set up new/current mounts] ****************** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:151 Thursday 21 July 2022 14:23:30 +0000 (0:00:00.640) 0:03:17.818 ********* TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:163 Thursday 21 July 2022 14:23:30 +0000 (0:00:00.040) 0:03:17.859 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:171 Thursday 21 July 2022 14:23:31 +0000 (0:00:00.611) 0:03:18.471 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:176 Thursday 21 July 2022 14:23:31 +0000 (0:00:00.381) 0:03:18.852 ********* TASK [linux-system-roles.storage : Update facts] ******************************* task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 Thursday 21 July 2022 14:23:31 +0000 (0:00:00.024) 0:03:18.877 ********* ok: [/cache/rhel-8.qcow2] META: role_complete for /cache/rhel-8.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmpw6dixrb5/tests/tests_create_raid_pool_then_remove.yml:152 Thursday 21 July 2022 14:23:32 +0000 (0:00:00.948) 0:03:19.826 ********* included: /tmp/tmpw6dixrb5/tests/verify-role-results.yml for /cache/rhel-8.qcow2 TASK [Print out pool information] ********************************************** task path: /tmp/tmpw6dixrb5/tests/verify-role-results.yml:1 Thursday 21 July 2022 14:23:32 +0000 (0:00:00.058) 0:03:19.885 ********* ok: [/cache/rhel-8.qcow2] => { "_storage_pools_list": [ { "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [ "sda", "sdb" ], "raid_level": "raid1", "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] } TASK [Print out volume information] ******************************************** task path: /tmp/tmpw6dixrb5/tests/verify-role-results.yml:6 Thursday 21 July 2022 14:23:33 +0000 (0:00:00.056) 0:03:19.942 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpw6dixrb5/tests/verify-role-results.yml:14 Thursday 21 July 2022 14:23:33 +0000 (0:00:00.039) 0:03:19.981 ********* ok: [/cache/rhel-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-14-20-00-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "", "label": "", "name": "/dev/vda1", "size": "1M", "type": "partition", "uuid": "" }, "/dev/vda2": { "fstype": "vfat", "label": "", "name": "/dev/vda2", "size": "100M", "type": "partition", "uuid": "7B77-95E7" }, "/dev/vda3": { "fstype": "xfs", "label": "root", "name": "/dev/vda3", "size": "9.9G", "type": "partition", "uuid": "853ae189-b3fe-4a45-8485-75bbb1421bbe" }, "/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/tmpw6dixrb5/tests/verify-role-results.yml:19 Thursday 21 July 2022 14:23:33 +0000 (0:00:00.378) 0:03:20.359 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.002555", "end": "2022-07-21 10:23:33.376311", "rc": 0, "start": "2022-07-21 10:23:33.373756" } STDOUT: UUID=853ae189-b3fe-4a45-8485-75bbb1421bbe / xfs defaults 0 0 UUID=7B77-95E7 /boot/efi vfat defaults,uid=0,gid=0,umask=077,shortname=winnt 0 2 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpw6dixrb5/tests/verify-role-results.yml:24 Thursday 21 July 2022 14:23:33 +0000 (0:00:00.373) 0:03:20.733 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.002341", "end": "2022-07-21 10:23:33.745206", "failed_when_result": false, "rc": 1, "start": "2022-07-21 10:23:33.742865" } STDERR: cat: /etc/crypttab: No such file or directory MSG: non-zero return code TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmpw6dixrb5/tests/verify-role-results.yml:33 Thursday 21 July 2022 14:23:34 +0000 (0:00:00.369) 0:03:21.103 ********* included: /tmp/tmpw6dixrb5/tests/test-verify-pool.yml for /cache/rhel-8.qcow2 => (item={'disks': ['sda', 'sdb'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'name': 'vg1', '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': 'lv1', 'raid_level': 'raid1', 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': ['sda', 'sdb'], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1'}], 'raid_chunk_size': None}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-pool.yml:5 Thursday 21 July 2022 14:23:34 +0000 (0:00:00.062) 0:03:21.166 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool.yml:18 Thursday 21 July 2022 14:23:34 +0000 (0:00:00.033) 0:03:21.199 ********* included: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml for /cache/rhel-8.qcow2 => (item=members) included: /tmp/tmpw6dixrb5/tests/test-verify-pool-volumes.yml for /cache/rhel-8.qcow2 => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:1 Thursday 21 July 2022 14:23:34 +0000 (0:00:00.051) 0:03:21.251 ********* ok: [/cache/rhel-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/tmpw6dixrb5/tests/test-verify-pool-members.yml:10 Thursday 21 July 2022 14:23:34 +0000 (0:00:00.094) 0:03:21.345 ********* TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:19 Thursday 21 July 2022 14:23:34 +0000 (0:00:00.023) 0:03:21.369 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "__pvs_lvm_len": "0" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:23 Thursday 21 July 2022 14:23:34 +0000 (0:00:00.051) 0:03:21.420 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_pool_pvs": [] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:27 Thursday 21 July 2022 14:23:34 +0000 (0:00:00.052) 0:03:21.473 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:34 Thursday 21 July 2022 14:23:34 +0000 (0:00:00.048) 0:03:21.521 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:38 Thursday 21 July 2022 14:23:34 +0000 (0:00:00.041) 0:03:21.563 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_type": "partition" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:42 Thursday 21 July 2022 14:23:34 +0000 (0:00:00.054) 0:03:21.617 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:46 Thursday 21 July 2022 14:23:34 +0000 (0:00:00.025) 0:03:21.642 ********* TASK [Check MD RAID] *********************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:56 Thursday 21 July 2022 14:23:34 +0000 (0:00:00.022) 0:03:21.665 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml for /cache/rhel-8.qcow2 TASK [get information about RAID] ********************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:6 Thursday 21 July 2022 14:23:34 +0000 (0:00:00.043) 0:03:21.708 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:12 Thursday 21 July 2022 14:23:34 +0000 (0:00:00.024) 0:03:21.733 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:16 Thursday 21 July 2022 14:23:34 +0000 (0:00:00.024) 0:03:21.757 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:20 Thursday 21 July 2022 14:23:34 +0000 (0:00:00.024) 0:03:21.781 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:24 Thursday 21 July 2022 14:23:34 +0000 (0:00:00.026) 0:03:21.808 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:30 Thursday 21 July 2022 14:23:34 +0000 (0:00:00.025) 0:03:21.833 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:36 Thursday 21 July 2022 14:23:34 +0000 (0:00:00.025) 0:03:21.858 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:44 Thursday 21 July 2022 14:23:34 +0000 (0:00:00.025) 0:03:21.883 ********* ok: [/cache/rhel-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/tmpw6dixrb5/tests/test-verify-pool-members.yml:59 Thursday 21 July 2022 14:23:35 +0000 (0:00:00.039) 0:03:21.922 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-members-lvmraid.yml for /cache/rhel-8.qcow2 TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-members-lvmraid.yml:1 Thursday 21 July 2022 14:23:35 +0000 (0:00:00.043) 0:03:21.966 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-member-lvmraid.yml for /cache/rhel-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': 'lv1', 'raid_level': 'raid1', 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': ['sda', 'sdb'], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1'}) TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-lvmraid.yml:3 Thursday 21 July 2022 14:23:35 +0000 (0:00:00.044) 0:03:22.011 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-lvmraid.yml:8 Thursday 21 July 2022 14:23:35 +0000 (0:00:00.030) 0:03:22.041 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-lvmraid.yml:12 Thursday 21 July 2022 14:23:35 +0000 (0:00:00.031) 0:03:22.072 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:62 Thursday 21 July 2022 14:23:35 +0000 (0:00:00.031) 0:03:22.104 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-members-thin.yml for /cache/rhel-8.qcow2 TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-members-thin.yml:1 Thursday 21 July 2022 14:23:35 +0000 (0:00:00.046) 0:03:22.150 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-member-thin.yml for /cache/rhel-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': 'lv1', 'raid_level': 'raid1', 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': ['sda', 'sdb'], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1'}) TASK [Get information about thinpool] ****************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-thin.yml:3 Thursday 21 July 2022 14:23:35 +0000 (0:00:00.045) 0:03:22.195 ********* skipping: [/cache/rhel-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/tmpw6dixrb5/tests/verify-pool-member-thin.yml:8 Thursday 21 July 2022 14:23:35 +0000 (0:00:00.024) 0:03:22.220 ********* skipping: [/cache/rhel-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/tmpw6dixrb5/tests/verify-pool-member-thin.yml:13 Thursday 21 July 2022 14:23:35 +0000 (0:00:00.024) 0:03:22.244 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-thin.yml:17 Thursday 21 July 2022 14:23:35 +0000 (0:00:00.024) 0:03:22.269 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:65 Thursday 21 July 2022 14:23:35 +0000 (0:00:00.025) 0:03:22.295 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-members-encryption.yml for /cache/rhel-8.qcow2 TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-members-encryption.yml:4 Thursday 21 July 2022 14:23:35 +0000 (0:00:00.056) 0:03:22.351 ********* ok: [/cache/rhel-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/tmpw6dixrb5/tests/verify-pool-members-encryption.yml:8 Thursday 21 July 2022 14:23:35 +0000 (0:00:00.055) 0:03:22.406 ********* TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-members-encryption.yml:15 Thursday 21 July 2022 14:23:35 +0000 (0:00:00.025) 0:03:22.432 ********* TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-members-encryption.yml:22 Thursday 21 July 2022 14:23:35 +0000 (0:00:00.025) 0:03:22.457 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:68 Thursday 21 July 2022 14:23:35 +0000 (0:00:00.036) 0:03:22.493 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-members-vdo.yml for /cache/rhel-8.qcow2 TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-members-vdo.yml:1 Thursday 21 July 2022 14:23:35 +0000 (0:00:00.048) 0:03:22.542 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml for /cache/rhel-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': 'lv1', 'raid_level': 'raid1', 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': ['sda', 'sdb'], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1'}) TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:3 Thursday 21 July 2022 14:23:35 +0000 (0:00:00.099) 0:03:22.642 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:8 Thursday 21 July 2022 14:23:35 +0000 (0:00:00.025) 0:03:22.668 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:11 Thursday 21 July 2022 14:23:35 +0000 (0:00:00.025) 0:03:22.693 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:16 Thursday 21 July 2022 14:23:35 +0000 (0:00:00.023) 0:03:22.717 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:21 Thursday 21 July 2022 14:23:35 +0000 (0:00:00.022) 0:03:22.740 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:24 Thursday 21 July 2022 14:23:35 +0000 (0:00:00.022) 0:03:22.763 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:29 Thursday 21 July 2022 14:23:35 +0000 (0:00:00.025) 0:03:22.789 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:39 Thursday 21 July 2022 14:23:35 +0000 (0:00:00.026) 0:03:22.816 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:71 Thursday 21 July 2022 14:23:35 +0000 (0:00:00.033) 0:03:22.850 ********* ok: [/cache/rhel-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/tmpw6dixrb5/tests/test-verify-pool-volumes.yml:3 Thursday 21 July 2022 14:23:35 +0000 (0:00:00.038) 0:03:22.888 ********* included: /tmp/tmpw6dixrb5/tests/test-verify-volume.yml for /cache/rhel-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': 'lv1', 'raid_level': 'raid1', 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': ['sda', 'sdb'], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1'}) TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume.yml:2 Thursday 21 July 2022 14:23:36 +0000 (0:00:00.042) 0:03:22.930 ********* ok: [/cache/rhel-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/tmpw6dixrb5/tests/test-verify-volume.yml:10 Thursday 21 July 2022 14:23:36 +0000 (0:00:00.049) 0:03:22.980 ********* included: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml for /cache/rhel-8.qcow2 => (item=mount) included: /tmp/tmpw6dixrb5/tests/test-verify-volume-fstab.yml for /cache/rhel-8.qcow2 => (item=fstab) included: /tmp/tmpw6dixrb5/tests/test-verify-volume-fs.yml for /cache/rhel-8.qcow2 => (item=fs) included: /tmp/tmpw6dixrb5/tests/test-verify-volume-device.yml for /cache/rhel-8.qcow2 => (item=device) included: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml for /cache/rhel-8.qcow2 => (item=encryption) included: /tmp/tmpw6dixrb5/tests/test-verify-volume-md.yml for /cache/rhel-8.qcow2 => (item=md) included: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml for /cache/rhel-8.qcow2 => (item=size) included: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml for /cache/rhel-8.qcow2 => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:6 Thursday 21 July 2022 14:23:36 +0000 (0:00:00.079) 0:03:23.060 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/vg1-lv1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:14 Thursday 21 July 2022 14:23:36 +0000 (0:00:00.042) 0:03:23.103 ********* ok: [/cache/rhel-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/tmpw6dixrb5/tests/test-verify-volume-mount.yml:28 Thursday 21 July 2022 14:23:36 +0000 (0:00:00.057) 0:03:23.160 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:37 Thursday 21 July 2022 14:23:36 +0000 (0:00:00.025) 0:03:23.185 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:45 Thursday 21 July 2022 14:23:36 +0000 (0:00:00.049) 0:03:23.235 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [command] ***************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:54 Thursday 21 July 2022 14:23:36 +0000 (0:00:00.037) 0:03:23.272 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:58 Thursday 21 July 2022 14:23:36 +0000 (0:00:00.024) 0:03:23.297 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:63 Thursday 21 July 2022 14:23:36 +0000 (0:00:00.025) 0:03:23.323 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:75 Thursday 21 July 2022 14:23:36 +0000 (0:00:00.025) 0:03:23.349 ********* ok: [/cache/rhel-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/tmpw6dixrb5/tests/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 14:23:36 +0000 (0:00:00.039) 0:03:23.388 ********* ok: [/cache/rhel-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/tmpw6dixrb5/tests/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 14:23:36 +0000 (0:00:00.061) 0:03:23.449 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-fstab.yml:32 Thursday 21 July 2022 14:23:36 +0000 (0:00:00.024) 0:03:23.474 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-fstab.yml:39 Thursday 21 July 2022 14:23:36 +0000 (0:00:00.051) 0:03:23.525 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-fstab.yml:49 Thursday 21 July 2022 14:23:36 +0000 (0:00:00.040) 0:03:23.566 ********* ok: [/cache/rhel-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/tmpw6dixrb5/tests/test-verify-volume-fs.yml:4 Thursday 21 July 2022 14:23:36 +0000 (0:00:00.037) 0:03:23.603 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify fs label] ********************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-fs.yml:10 Thursday 21 July 2022 14:23:36 +0000 (0:00:00.025) 0:03:23.629 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [See whether the device node is present] ********************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-device.yml:4 Thursday 21 July 2022 14:23:36 +0000 (0:00:00.024) 0:03:23.653 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "stat": { "exists": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-device.yml:10 Thursday 21 July 2022 14:23:37 +0000 (0:00:00.375) 0:03:24.028 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-device.yml:18 Thursday 21 July 2022 14:23:37 +0000 (0:00:00.039) 0:03:24.068 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-device.yml:24 Thursday 21 July 2022 14:23:37 +0000 (0:00:00.024) 0:03:24.092 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-device.yml:28 Thursday 21 July 2022 14:23:37 +0000 (0:00:00.074) 0:03:24.167 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-device.yml:33 Thursday 21 July 2022 14:23:37 +0000 (0:00:00.024) 0:03:24.192 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 14:23:37 +0000 (0:00:00.023) 0:03:24.215 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 14:23:37 +0000 (0:00:00.022) 0:03:24.238 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 14:23:38 +0000 (0:00:01.224) 0:03:25.463 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 14:23:38 +0000 (0:00:00.057) 0:03:25.521 ********* skipping: [/cache/rhel-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/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:30 Thursday 21 July 2022 14:23:38 +0000 (0:00:00.024) 0:03:25.546 ********* skipping: [/cache/rhel-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/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:38 Thursday 21 July 2022 14:23:38 +0000 (0:00:00.025) 0:03:25.571 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 14:23:38 +0000 (0:00:00.022) 0:03:25.594 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:49 Thursday 21 July 2022 14:23:38 +0000 (0:00:00.024) 0:03:25.618 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:55 Thursday 21 July 2022 14:23:38 +0000 (0:00:00.025) 0:03:25.643 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:61 Thursday 21 July 2022 14:23:38 +0000 (0:00:00.026) 0:03:25.670 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 14:23:38 +0000 (0:00:00.024) 0:03:25.694 ********* ok: [/cache/rhel-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/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:74 Thursday 21 July 2022 14:23:38 +0000 (0:00:00.058) 0:03:25.753 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:79 Thursday 21 July 2022 14:23:38 +0000 (0:00:00.051) 0:03:25.804 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:85 Thursday 21 July 2022 14:23:38 +0000 (0:00:00.036) 0:03:25.841 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:91 Thursday 21 July 2022 14:23:38 +0000 (0:00:00.041) 0:03:25.882 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:97 Thursday 21 July 2022 14:23:39 +0000 (0:00:00.039) 0:03:25.922 ********* ok: [/cache/rhel-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/tmpw6dixrb5/tests/test-verify-volume-md.yml:7 Thursday 21 July 2022 14:23:39 +0000 (0:00:00.035) 0:03:25.957 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-md.yml:13 Thursday 21 July 2022 14:23:39 +0000 (0:00:00.035) 0:03:25.993 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-md.yml:17 Thursday 21 July 2022 14:23:39 +0000 (0:00:00.039) 0:03:26.032 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-md.yml:21 Thursday 21 July 2022 14:23:39 +0000 (0:00:00.037) 0:03:26.070 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-md.yml:25 Thursday 21 July 2022 14:23:39 +0000 (0:00:00.040) 0:03:26.110 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-md.yml:31 Thursday 21 July 2022 14:23:39 +0000 (0:00:00.041) 0:03:26.152 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-md.yml:37 Thursday 21 July 2022 14:23:39 +0000 (0:00:00.044) 0:03:26.197 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:3 Thursday 21 July 2022 14:23:39 +0000 (0:00:00.038) 0:03:26.235 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:9 Thursday 21 July 2022 14:23:39 +0000 (0:00:00.024) 0:03:26.259 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:15 Thursday 21 July 2022 14:23:39 +0000 (0:00:00.035) 0:03:26.294 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:20 Thursday 21 July 2022 14:23:39 +0000 (0:00:00.040) 0:03:26.335 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_expected_size": "2147483648" } TASK [debug] ******************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:25 Thursday 21 July 2022 14:23:39 +0000 (0:00:00.038) 0:03:26.373 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:28 Thursday 21 July 2022 14:23:39 +0000 (0:00:00.036) 0:03:26.410 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:31 Thursday 21 July 2022 14:23:39 +0000 (0:00:00.035) 0:03:26.445 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:36 Thursday 21 July 2022 14:23:39 +0000 (0:00:00.045) 0:03:26.490 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:39 Thursday 21 July 2022 14:23:39 +0000 (0:00:00.038) 0:03:26.528 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:44 Thursday 21 July 2022 14:23:39 +0000 (0:00:00.038) 0:03:26.566 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_actual_size": { "changed": false, "skip_reason": "Conditional result was False", "skipped": true } } TASK [debug] ******************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:47 Thursday 21 July 2022 14:23:39 +0000 (0:00:00.042) 0:03:26.608 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_expected_size": "2147483648" } TASK [assert] ****************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:50 Thursday 21 July 2022 14:23:39 +0000 (0:00:00.044) 0:03:26.652 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about the LV] ******************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml:6 Thursday 21 July 2022 14:23:39 +0000 (0:00:00.026) 0:03:26.679 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml:14 Thursday 21 July 2022 14:23:39 +0000 (0:00:00.025) 0:03:26.704 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check segment type] ****************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml:17 Thursday 21 July 2022 14:23:39 +0000 (0:00:00.024) 0:03:26.729 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml:22 Thursday 21 July 2022 14:23:39 +0000 (0:00:00.025) 0:03:26.755 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml:26 Thursday 21 July 2022 14:23:39 +0000 (0:00:00.025) 0:03:26.781 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml:32 Thursday 21 July 2022 14:23:39 +0000 (0:00:00.023) 0:03:26.805 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml:36 Thursday 21 July 2022 14:23:39 +0000 (0:00:00.024) 0:03:26.829 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume.yml:16 Thursday 21 July 2022 14:23:39 +0000 (0:00:00.024) 0:03:26.854 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpw6dixrb5/tests/verify-role-results.yml:43 Thursday 21 July 2022 14:23:39 +0000 (0:00:00.035) 0:03:26.889 ********* TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpw6dixrb5/tests/verify-role-results.yml:53 Thursday 21 July 2022 14:23:40 +0000 (0:00:00.024) 0:03:26.913 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Create a RAID0 lvm raid device] ****************************************** task path: /tmp/tmpw6dixrb5/tests/tests_create_raid_pool_then_remove.yml:154 Thursday 21 July 2022 14:23:40 +0000 (0:00:00.091) 0:03:27.005 ********* TASK [linux-system-roles.storage : set platform/version specific variables] **** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Thursday 21 July 2022 14:23:40 +0000 (0:00:00.118) 0:03:27.124 ********* included: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/set_vars.yml for /cache/rhel-8.qcow2 TASK [linux-system-roles.storage : Ensure ansible_facts used by role] ********** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Thursday 21 July 2022 14:23:40 +0000 (0:00:00.042) 0:03:27.166 ********* ok: [/cache/rhel-8.qcow2] TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Thursday 21 July 2022 14:23:40 +0000 (0:00:00.547) 0:03:27.714 ********* skipping: [/cache/rhel-8.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/rhel-8.qcow2] => (item=RedHat_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/tmpw6dixrb5/tests/roles/linux-system-roles.storage/vars/RedHat_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.yml" } skipping: [/cache/rhel-8.qcow2] => (item=RedHat_8.6.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.6.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Thursday 21 July 2022 14:23:40 +0000 (0:00:00.064) 0:03:27.779 ********* ok: [/cache/rhel-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/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Thursday 21 July 2022 14:23:40 +0000 (0:00:00.037) 0:03:27.816 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : include the appropriate provider tasks] ***** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Thursday 21 July 2022 14:23:40 +0000 (0:00:00.034) 0:03:27.851 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml for /cache/rhel-8.qcow2 TASK [linux-system-roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 14:23:41 +0000 (0:00:00.048) 0:03:27.899 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure blivet is available] ************** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 14:23:41 +0000 (0:00:00.022) 0:03:27.922 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : show storage_pools] ************************* task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:14 Thursday 21 July 2022 14:23:41 +0000 (0:00:00.033) 0:03:27.955 ********* ok: [/cache/rhel-8.qcow2] => { "storage_pools": [ { "disks": [ "sda", "sdb" ], "name": "vg1", "state": "present", "type": "lvm", "volumes": [ { "mount_point": "/opt/test1", "name": "lv1", "raid_disks": [ "sda", "sdb" ], "raid_level": "raid0", "size": "2g" } ] } ] } TASK [linux-system-roles.storage : show storage_volumes] *********************** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:19 Thursday 21 July 2022 14:23:41 +0000 (0:00:00.042) 0:03:27.998 ********* ok: [/cache/rhel-8.qcow2] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [linux-system-roles.storage : get required packages] ********************** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:24 Thursday 21 July 2022 14:23:41 +0000 (0:00:00.041) 0:03:28.039 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : enable copr repositories if needed] ********* task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:37 Thursday 21 July 2022 14:23:41 +0000 (0:00:00.029) 0:03:28.069 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure required packages are installed] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:44 Thursday 21 July 2022 14:23:41 +0000 (0:00:00.027) 0:03:28.097 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : get service facts] ************************** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 Thursday 21 July 2022 14:23:41 +0000 (0:00:00.027) 0:03:28.124 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set storage_cryptsetup_services] ************ task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 14:23:41 +0000 (0:00:00.027) 0:03:28.151 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [linux-system-roles.storage : Mask the systemd cryptsetup services] ******* task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:71 Thursday 21 July 2022 14:23:41 +0000 (0:00:00.058) 0:03:28.210 ********* TASK [linux-system-roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Thursday 21 July 2022 14:23:41 +0000 (0:00:00.023) 0:03:28.233 ********* changed: [/cache/rhel-8.qcow2] => { "actions": [ { "action": "create format", "device": "/dev/sdb", "fs_type": "disklabel" }, { "action": "create device", "device": "/dev/sdb1", "fs_type": null }, { "action": "create format", "device": "/dev/sdb1", "fs_type": "lvmpv" }, { "action": "create format", "device": "/dev/sda", "fs_type": "disklabel" }, { "action": "create device", "device": "/dev/sda1", "fs_type": null }, { "action": "create format", "device": "/dev/sda1", "fs_type": "lvmpv" }, { "action": "create device", "device": "/dev/vg1", "fs_type": null }, { "action": "create device", "device": "/dev/mapper/vg1-lv1", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/vg1-lv1", "fs_type": "xfs" } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb", "/dev/vdc", "/dev/vdd", "/dev/mapper/vg1-lv1" ], "mounts": [ { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/vg1-lv1", "state": "mounted" } ], "packages": [ "xfsprogs", "lvm2", "dosfstools" ], "pools": [ { "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_kernel_device": "/dev/dm-2", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "_raw_kernel_device": "/dev/dm-2", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [ "sda", "sdb" ], "raid_level": "raid0", "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } TASK [linux-system-roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:91 Thursday 21 July 2022 14:23:44 +0000 (0:00:02.828) 0:03:31.061 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Unmask the systemd cryptsetup services] ***** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:103 Thursday 21 July 2022 14:23:44 +0000 (0:00:00.038) 0:03:31.099 ********* TASK [linux-system-roles.storage : show blivet_output] ************************* task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:109 Thursday 21 July 2022 14:23:44 +0000 (0:00:00.023) 0:03:31.122 ********* ok: [/cache/rhel-8.qcow2] => { "blivet_output": { "actions": [ { "action": "create format", "device": "/dev/sdb", "fs_type": "disklabel" }, { "action": "create device", "device": "/dev/sdb1", "fs_type": null }, { "action": "create format", "device": "/dev/sdb1", "fs_type": "lvmpv" }, { "action": "create format", "device": "/dev/sda", "fs_type": "disklabel" }, { "action": "create device", "device": "/dev/sda1", "fs_type": null }, { "action": "create format", "device": "/dev/sda1", "fs_type": "lvmpv" }, { "action": "create device", "device": "/dev/vg1", "fs_type": null }, { "action": "create device", "device": "/dev/mapper/vg1-lv1", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/vg1-lv1", "fs_type": "xfs" } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb", "/dev/vdc", "/dev/vdd", "/dev/mapper/vg1-lv1" ], "mounts": [ { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/vg1-lv1", "state": "mounted" } ], "packages": [ "xfsprogs", "lvm2", "dosfstools" ], "pools": [ { "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_kernel_device": "/dev/dm-2", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "_raw_kernel_device": "/dev/dm-2", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [ "sda", "sdb" ], "raid_level": "raid0", "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } } TASK [linux-system-roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:114 Thursday 21 July 2022 14:23:44 +0000 (0:00:00.080) 0:03:31.203 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_kernel_device": "/dev/dm-2", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "_raw_kernel_device": "/dev/dm-2", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [ "sda", "sdb" ], "raid_level": "raid0", "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] }, "changed": false } TASK [linux-system-roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:118 Thursday 21 July 2022 14:23:44 +0000 (0:00:00.044) 0:03:31.248 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : remove obsolete mounts] ********************* task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:134 Thursday 21 July 2022 14:23:44 +0000 (0:00:00.038) 0:03:31.286 ********* TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:146 Thursday 21 July 2022 14:23:44 +0000 (0:00:00.039) 0:03:31.325 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : set up new/current mounts] ****************** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:151 Thursday 21 July 2022 14:23:45 +0000 (0:00:00.677) 0:03:32.002 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/rhel-8.qcow2] => (item={'src': '/dev/mapper/vg1-lv1', 'path': '/opt/test1', 'fstype': 'xfs', 'opts': 'defaults', 'dump': 0, 'passno': 0, 'state': 'mounted'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "xfs", "mount_info": { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/vg1-lv1", "state": "mounted" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "/dev/mapper/vg1-lv1" } TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:163 Thursday 21 July 2022 14:23:45 +0000 (0:00:00.483) 0:03:32.486 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:171 Thursday 21 July 2022 14:23:46 +0000 (0:00:00.690) 0:03:33.177 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:176 Thursday 21 July 2022 14:23:46 +0000 (0:00:00.368) 0:03:33.546 ********* TASK [linux-system-roles.storage : Update facts] ******************************* task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 Thursday 21 July 2022 14:23:46 +0000 (0:00:00.026) 0:03:33.572 ********* ok: [/cache/rhel-8.qcow2] META: role_complete for /cache/rhel-8.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmpw6dixrb5/tests/tests_create_raid_pool_then_remove.yml:170 Thursday 21 July 2022 14:23:47 +0000 (0:00:01.007) 0:03:34.580 ********* included: /tmp/tmpw6dixrb5/tests/verify-role-results.yml for /cache/rhel-8.qcow2 TASK [Print out pool information] ********************************************** task path: /tmp/tmpw6dixrb5/tests/verify-role-results.yml:1 Thursday 21 July 2022 14:23:47 +0000 (0:00:00.060) 0:03:34.641 ********* ok: [/cache/rhel-8.qcow2] => { "_storage_pools_list": [ { "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_kernel_device": "/dev/dm-2", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "_raw_kernel_device": "/dev/dm-2", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [ "sda", "sdb" ], "raid_level": "raid0", "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] } TASK [Print out volume information] ******************************************** task path: /tmp/tmpw6dixrb5/tests/verify-role-results.yml:6 Thursday 21 July 2022 14:23:47 +0000 (0:00:00.053) 0:03:34.694 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpw6dixrb5/tests/verify-role-results.yml:14 Thursday 21 July 2022 14:23:47 +0000 (0:00:00.040) 0:03:34.735 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "info": { "/dev/mapper/vg1-lv1": { "fstype": "xfs", "label": "", "name": "/dev/mapper/vg1-lv1", "size": "2G", "type": "lvm", "uuid": "6734b110-b10b-407e-a988-4c0083bd3bf3" }, "/dev/mapper/vg1-lv1_rimage_0": { "fstype": "", "label": "", "name": "/dev/mapper/vg1-lv1_rimage_0", "size": "1G", "type": "lvm", "uuid": "" }, "/dev/mapper/vg1-lv1_rimage_1": { "fstype": "", "label": "", "name": "/dev/mapper/vg1-lv1_rimage_1", "size": "1G", "type": "lvm", "uuid": "" }, "/dev/nvme0n1": { "fstype": "", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme1n1": { "fstype": "", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme2n1": { "fstype": "", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda": { "fstype": "", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda1": { "fstype": "LVM2_member", "label": "", "name": "/dev/sda1", "size": "10G", "type": "partition", "uuid": "ihXWTK-rknp-MfMZ-rXLG-MSOs-xHUo-aQCka3" }, "/dev/sdb": { "fstype": "", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdb1": { "fstype": "LVM2_member", "label": "", "name": "/dev/sdb1", "size": "10G", "type": "partition", "uuid": "EuJNZU-mgpC-mmZO-jP56-lcMY-K5t3-nMczYA" }, "/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-14-20-00-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "", "label": "", "name": "/dev/vda1", "size": "1M", "type": "partition", "uuid": "" }, "/dev/vda2": { "fstype": "vfat", "label": "", "name": "/dev/vda2", "size": "100M", "type": "partition", "uuid": "7B77-95E7" }, "/dev/vda3": { "fstype": "xfs", "label": "root", "name": "/dev/vda3", "size": "9.9G", "type": "partition", "uuid": "853ae189-b3fe-4a45-8485-75bbb1421bbe" }, "/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/tmpw6dixrb5/tests/verify-role-results.yml:19 Thursday 21 July 2022 14:23:48 +0000 (0:00:00.523) 0:03:35.258 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.003386", "end": "2022-07-21 10:23:48.375672", "rc": 0, "start": "2022-07-21 10:23:48.372286" } STDOUT: UUID=853ae189-b3fe-4a45-8485-75bbb1421bbe / xfs defaults 0 0 UUID=7B77-95E7 /boot/efi vfat defaults,uid=0,gid=0,umask=077,shortname=winnt 0 2 /dev/mapper/vg1-lv1 /opt/test1 xfs defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpw6dixrb5/tests/verify-role-results.yml:24 Thursday 21 July 2022 14:23:48 +0000 (0:00:00.480) 0:03:35.739 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.002717", "end": "2022-07-21 10:23:48.756794", "failed_when_result": false, "rc": 1, "start": "2022-07-21 10:23:48.754077" } STDERR: cat: /etc/crypttab: No such file or directory MSG: non-zero return code TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmpw6dixrb5/tests/verify-role-results.yml:33 Thursday 21 July 2022 14:23:49 +0000 (0:00:00.378) 0:03:36.118 ********* included: /tmp/tmpw6dixrb5/tests/test-verify-pool.yml for /cache/rhel-8.qcow2 => (item={'disks': ['sda', 'sdb'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'name': 'vg1', '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': 'lv1', 'raid_level': 'raid0', 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': ['sda', 'sdb'], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1', '_kernel_device': '/dev/dm-2', '_raw_kernel_device': '/dev/dm-2'}], 'raid_chunk_size': None}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-pool.yml:5 Thursday 21 July 2022 14:23:49 +0000 (0:00:00.060) 0:03:36.179 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool.yml:18 Thursday 21 July 2022 14:23:49 +0000 (0:00:00.035) 0:03:36.215 ********* included: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml for /cache/rhel-8.qcow2 => (item=members) included: /tmp/tmpw6dixrb5/tests/test-verify-pool-volumes.yml for /cache/rhel-8.qcow2 => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:1 Thursday 21 July 2022 14:23:49 +0000 (0:00:00.047) 0:03:36.262 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_count": "2", "_storage_test_pool_pvs_lvm": [ "/dev/sda1", "/dev/sdb1" ] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:10 Thursday 21 July 2022 14:23:49 +0000 (0:00:00.092) 0:03:36.355 ********* ok: [/cache/rhel-8.qcow2] => (item=/dev/sda1) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/sda1", "pv": "/dev/sda1" } ok: [/cache/rhel-8.qcow2] => (item=/dev/sdb1) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/sdb1", "pv": "/dev/sdb1" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:19 Thursday 21 July 2022 14:23:50 +0000 (0:00:00.758) 0:03:37.113 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "__pvs_lvm_len": "2" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:23 Thursday 21 July 2022 14:23:50 +0000 (0:00:00.056) 0:03:37.170 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/sda1", "/dev/sdb1" ] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:27 Thursday 21 July 2022 14:23:50 +0000 (0:00:00.054) 0:03:37.224 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:34 Thursday 21 July 2022 14:23:50 +0000 (0:00:00.059) 0:03:37.283 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:38 Thursday 21 July 2022 14:23:50 +0000 (0:00:00.042) 0:03:37.326 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_type": "partition" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:42 Thursday 21 July 2022 14:23:50 +0000 (0:00:00.051) 0:03:37.378 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:46 Thursday 21 July 2022 14:23:50 +0000 (0:00:00.026) 0:03:37.404 ********* ok: [/cache/rhel-8.qcow2] => (item=/dev/sda1) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/sda1" } MSG: All assertions passed ok: [/cache/rhel-8.qcow2] => (item=/dev/sdb1) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/sdb1" } MSG: All assertions passed TASK [Check MD RAID] *********************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:56 Thursday 21 July 2022 14:23:50 +0000 (0:00:00.061) 0:03:37.466 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml for /cache/rhel-8.qcow2 TASK [get information about RAID] ********************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:6 Thursday 21 July 2022 14:23:50 +0000 (0:00:00.046) 0:03:37.512 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:12 Thursday 21 July 2022 14:23:50 +0000 (0:00:00.026) 0:03:37.539 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:16 Thursday 21 July 2022 14:23:50 +0000 (0:00:00.027) 0:03:37.566 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:20 Thursday 21 July 2022 14:23:50 +0000 (0:00:00.026) 0:03:37.592 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:24 Thursday 21 July 2022 14:23:50 +0000 (0:00:00.026) 0:03:37.619 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:30 Thursday 21 July 2022 14:23:50 +0000 (0:00:00.027) 0:03:37.647 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:36 Thursday 21 July 2022 14:23:50 +0000 (0:00:00.025) 0:03:37.673 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:44 Thursday 21 July 2022 14:23:50 +0000 (0:00:00.024) 0:03:37.698 ********* ok: [/cache/rhel-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/tmpw6dixrb5/tests/test-verify-pool-members.yml:59 Thursday 21 July 2022 14:23:50 +0000 (0:00:00.037) 0:03:37.735 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-members-lvmraid.yml for /cache/rhel-8.qcow2 TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-members-lvmraid.yml:1 Thursday 21 July 2022 14:23:50 +0000 (0:00:00.046) 0:03:37.782 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-member-lvmraid.yml for /cache/rhel-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': 'lv1', 'raid_level': 'raid0', 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': ['sda', 'sdb'], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1', '_kernel_device': '/dev/dm-2', '_raw_kernel_device': '/dev/dm-2'}) TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-lvmraid.yml:3 Thursday 21 July 2022 14:23:50 +0000 (0:00:00.046) 0:03:37.828 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "lvs", "--noheading", "-o", "lv_name", "--select", "lv_name=lv1&&lv_layout=raid0", "vg1" ], "delta": "0:00:00.041858", "end": "2022-07-21 10:23:50.903791", "rc": 0, "start": "2022-07-21 10:23:50.861933" } STDOUT: lv1 TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-lvmraid.yml:8 Thursday 21 July 2022 14:23:51 +0000 (0:00:00.436) 0:03:38.265 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-lvmraid.yml:12 Thursday 21 July 2022 14:23:51 +0000 (0:00:00.101) 0:03:38.366 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_lvmraid_status": null }, "changed": false } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:62 Thursday 21 July 2022 14:23:51 +0000 (0:00:00.094) 0:03:38.461 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-members-thin.yml for /cache/rhel-8.qcow2 TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-members-thin.yml:1 Thursday 21 July 2022 14:23:51 +0000 (0:00:00.048) 0:03:38.510 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-member-thin.yml for /cache/rhel-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': 'lv1', 'raid_level': 'raid0', 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': ['sda', 'sdb'], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1', '_kernel_device': '/dev/dm-2', '_raw_kernel_device': '/dev/dm-2'}) TASK [Get information about thinpool] ****************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-thin.yml:3 Thursday 21 July 2022 14:23:51 +0000 (0:00:00.096) 0:03:38.606 ********* skipping: [/cache/rhel-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/tmpw6dixrb5/tests/verify-pool-member-thin.yml:8 Thursday 21 July 2022 14:23:51 +0000 (0:00:00.030) 0:03:38.636 ********* skipping: [/cache/rhel-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/tmpw6dixrb5/tests/verify-pool-member-thin.yml:13 Thursday 21 July 2022 14:23:51 +0000 (0:00:00.043) 0:03:38.679 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-thin.yml:17 Thursday 21 July 2022 14:23:51 +0000 (0:00:00.029) 0:03:38.709 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:65 Thursday 21 July 2022 14:23:51 +0000 (0:00:00.031) 0:03:38.741 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-members-encryption.yml for /cache/rhel-8.qcow2 TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-members-encryption.yml:4 Thursday 21 July 2022 14:23:51 +0000 (0:00:00.050) 0:03:38.792 ********* ok: [/cache/rhel-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/tmpw6dixrb5/tests/verify-pool-members-encryption.yml:8 Thursday 21 July 2022 14:23:51 +0000 (0:00:00.056) 0:03:38.848 ********* skipping: [/cache/rhel-8.qcow2] => (item=/dev/sda1) => { "_storage_test_pool_member_path": "/dev/sda1", "ansible_loop_var": "_storage_test_pool_member_path", "changed": false, "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=/dev/sdb1) => { "_storage_test_pool_member_path": "/dev/sdb1", "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/tmpw6dixrb5/tests/verify-pool-members-encryption.yml:15 Thursday 21 July 2022 14:23:51 +0000 (0:00:00.041) 0:03:38.889 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-member-crypttab.yml for /cache/rhel-8.qcow2 => (item=/dev/sda1) included: /tmp/tmpw6dixrb5/tests/verify-pool-member-crypttab.yml for /cache/rhel-8.qcow2 => (item=/dev/sdb1) TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-crypttab.yml:1 Thursday 21 July 2022 14:23:52 +0000 (0:00:00.054) 0:03:38.944 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": [] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-crypttab.yml:6 Thursday 21 July 2022 14:23:52 +0000 (0:00:00.050) 0:03:38.994 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-crypttab.yml:11 Thursday 21 July 2022 14:23:52 +0000 (0:00:00.051) 0:03:39.046 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-crypttab.yml:17 Thursday 21 July 2022 14:23:52 +0000 (0:00:00.037) 0:03:39.083 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-crypttab.yml:23 Thursday 21 July 2022 14:23:52 +0000 (0:00:00.037) 0:03:39.121 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-crypttab.yml:29 Thursday 21 July 2022 14:23:52 +0000 (0:00:00.040) 0:03:39.161 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-crypttab.yml:1 Thursday 21 July 2022 14:23:52 +0000 (0:00:00.034) 0:03:39.196 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": [] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-crypttab.yml:6 Thursday 21 July 2022 14:23:52 +0000 (0:00:00.049) 0:03:39.246 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-crypttab.yml:11 Thursday 21 July 2022 14:23:52 +0000 (0:00:00.052) 0:03:39.298 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-crypttab.yml:17 Thursday 21 July 2022 14:23:52 +0000 (0:00:00.037) 0:03:39.335 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-crypttab.yml:23 Thursday 21 July 2022 14:23:52 +0000 (0:00:00.038) 0:03:39.373 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-crypttab.yml:29 Thursday 21 July 2022 14:23:52 +0000 (0:00:00.040) 0:03:39.414 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-members-encryption.yml:22 Thursday 21 July 2022 14:23:52 +0000 (0:00:00.042) 0:03:39.456 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:68 Thursday 21 July 2022 14:23:52 +0000 (0:00:00.038) 0:03:39.495 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-members-vdo.yml for /cache/rhel-8.qcow2 TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-members-vdo.yml:1 Thursday 21 July 2022 14:23:52 +0000 (0:00:00.060) 0:03:39.556 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml for /cache/rhel-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': 'lv1', 'raid_level': 'raid0', 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': ['sda', 'sdb'], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1', '_kernel_device': '/dev/dm-2', '_raw_kernel_device': '/dev/dm-2'}) TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:3 Thursday 21 July 2022 14:23:52 +0000 (0:00:00.064) 0:03:39.620 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:8 Thursday 21 July 2022 14:23:52 +0000 (0:00:00.028) 0:03:39.649 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:11 Thursday 21 July 2022 14:23:52 +0000 (0:00:00.025) 0:03:39.674 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:16 Thursday 21 July 2022 14:23:52 +0000 (0:00:00.026) 0:03:39.700 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:21 Thursday 21 July 2022 14:23:52 +0000 (0:00:00.026) 0:03:39.726 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:24 Thursday 21 July 2022 14:23:52 +0000 (0:00:00.027) 0:03:39.754 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:29 Thursday 21 July 2022 14:23:52 +0000 (0:00:00.029) 0:03:39.783 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:39 Thursday 21 July 2022 14:23:52 +0000 (0:00:00.027) 0:03:39.811 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:71 Thursday 21 July 2022 14:23:52 +0000 (0:00:00.039) 0:03:39.851 ********* ok: [/cache/rhel-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/tmpw6dixrb5/tests/test-verify-pool-volumes.yml:3 Thursday 21 July 2022 14:23:52 +0000 (0:00:00.039) 0:03:39.891 ********* included: /tmp/tmpw6dixrb5/tests/test-verify-volume.yml for /cache/rhel-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': 'lv1', 'raid_level': 'raid0', 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': ['sda', 'sdb'], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1', '_kernel_device': '/dev/dm-2', '_raw_kernel_device': '/dev/dm-2'}) TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume.yml:2 Thursday 21 July 2022 14:23:53 +0000 (0:00:00.048) 0:03:39.939 ********* ok: [/cache/rhel-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/tmpw6dixrb5/tests/test-verify-volume.yml:10 Thursday 21 July 2022 14:23:53 +0000 (0:00:00.109) 0:03:40.048 ********* included: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml for /cache/rhel-8.qcow2 => (item=mount) included: /tmp/tmpw6dixrb5/tests/test-verify-volume-fstab.yml for /cache/rhel-8.qcow2 => (item=fstab) included: /tmp/tmpw6dixrb5/tests/test-verify-volume-fs.yml for /cache/rhel-8.qcow2 => (item=fs) included: /tmp/tmpw6dixrb5/tests/test-verify-volume-device.yml for /cache/rhel-8.qcow2 => (item=device) included: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml for /cache/rhel-8.qcow2 => (item=encryption) included: /tmp/tmpw6dixrb5/tests/test-verify-volume-md.yml for /cache/rhel-8.qcow2 => (item=md) included: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml for /cache/rhel-8.qcow2 => (item=size) included: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml for /cache/rhel-8.qcow2 => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:6 Thursday 21 July 2022 14:23:53 +0000 (0:00:00.122) 0:03:40.171 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/vg1-lv1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:14 Thursday 21 July 2022 14:23:53 +0000 (0:00:00.041) 0:03:40.212 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 509649, "block_size": 4096, "block_total": 521600, "block_used": 11951, "device": "/dev/mapper/vg1-lv1", "fstype": "xfs", "inode_available": 1048317, "inode_total": 1048320, "inode_used": 3, "mount": "/opt/test1", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=64k,sunit=128,swidth=256,noquota", "size_available": 2087522304, "size_total": 2136473600, "uuid": "6734b110-b10b-407e-a988-4c0083bd3bf3" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 509649, "block_size": 4096, "block_total": 521600, "block_used": 11951, "device": "/dev/mapper/vg1-lv1", "fstype": "xfs", "inode_available": 1048317, "inode_total": 1048320, "inode_used": 3, "mount": "/opt/test1", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=64k,sunit=128,swidth=256,noquota", "size_available": 2087522304, "size_total": 2136473600, "uuid": "6734b110-b10b-407e-a988-4c0083bd3bf3" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:28 Thursday 21 July 2022 14:23:53 +0000 (0:00:00.054) 0:03:40.266 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:37 Thursday 21 July 2022 14:23:53 +0000 (0:00:00.054) 0:03:40.321 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:45 Thursday 21 July 2022 14:23:53 +0000 (0:00:00.050) 0:03:40.372 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:54 Thursday 21 July 2022 14:23:53 +0000 (0:00:00.056) 0:03:40.428 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:58 Thursday 21 July 2022 14:23:53 +0000 (0:00:00.025) 0:03:40.454 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:63 Thursday 21 July 2022 14:23:53 +0000 (0:00:00.025) 0:03:40.480 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:75 Thursday 21 July 2022 14:23:53 +0000 (0:00:00.026) 0:03:40.506 ********* ok: [/cache/rhel-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/tmpw6dixrb5/tests/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 14:23:53 +0000 (0:00:00.036) 0:03:40.543 ********* ok: [/cache/rhel-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/vg1-lv1 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test1 xfs defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test1 " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 14:23:53 +0000 (0:00:00.064) 0:03:40.607 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-fstab.yml:32 Thursday 21 July 2022 14:23:53 +0000 (0:00:00.051) 0:03:40.659 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-fstab.yml:39 Thursday 21 July 2022 14:23:53 +0000 (0:00:00.047) 0:03:40.707 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-fstab.yml:49 Thursday 21 July 2022 14:23:53 +0000 (0:00:00.038) 0:03:40.745 ********* ok: [/cache/rhel-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/tmpw6dixrb5/tests/test-verify-volume-fs.yml:4 Thursday 21 July 2022 14:23:53 +0000 (0:00:00.039) 0:03:40.785 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-fs.yml:10 Thursday 21 July 2022 14:23:53 +0000 (0:00:00.041) 0:03:40.826 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-device.yml:4 Thursday 21 July 2022 14:23:53 +0000 (0:00:00.042) 0:03:40.868 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "stat": { "atime": 1658413423.6480126, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658413423.6480126, "dev": 6, "device_type": 64770, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 152153, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1658413423.6480126, "nlink": 1, "path": "/dev/mapper/vg1-lv1", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-device.yml:10 Thursday 21 July 2022 14:23:54 +0000 (0:00:00.396) 0:03:41.265 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-device.yml:18 Thursday 21 July 2022 14:23:54 +0000 (0:00:00.040) 0:03:41.306 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-device.yml:24 Thursday 21 July 2022 14:23:54 +0000 (0:00:00.039) 0:03:41.346 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-device.yml:28 Thursday 21 July 2022 14:23:54 +0000 (0:00:00.038) 0:03:41.385 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-device.yml:33 Thursday 21 July 2022 14:23:54 +0000 (0:00:00.025) 0:03:41.410 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 14:23:54 +0000 (0:00:00.045) 0:03:41.455 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 14:23:54 +0000 (0:00:00.023) 0:03:41.479 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 14:23:55 +0000 (0:00:01.304) 0:03:42.783 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 14:23:55 +0000 (0:00:00.026) 0:03:42.810 ********* skipping: [/cache/rhel-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/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:30 Thursday 21 July 2022 14:23:55 +0000 (0:00:00.026) 0:03:42.837 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:38 Thursday 21 July 2022 14:23:56 +0000 (0:00:00.096) 0:03:42.933 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 14:23:56 +0000 (0:00:00.027) 0:03:42.961 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:49 Thursday 21 July 2022 14:23:56 +0000 (0:00:00.063) 0:03:43.024 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:55 Thursday 21 July 2022 14:23:56 +0000 (0:00:00.027) 0:03:43.051 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:61 Thursday 21 July 2022 14:23:56 +0000 (0:00:00.025) 0:03:43.077 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 14:23:56 +0000 (0:00:00.024) 0:03:43.101 ********* ok: [/cache/rhel-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/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:74 Thursday 21 July 2022 14:23:56 +0000 (0:00:00.052) 0:03:43.154 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:79 Thursday 21 July 2022 14:23:56 +0000 (0:00:00.061) 0:03:43.215 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:85 Thursday 21 July 2022 14:23:56 +0000 (0:00:00.041) 0:03:43.257 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:91 Thursday 21 July 2022 14:23:56 +0000 (0:00:00.039) 0:03:43.296 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:97 Thursday 21 July 2022 14:23:56 +0000 (0:00:00.043) 0:03:43.340 ********* ok: [/cache/rhel-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/tmpw6dixrb5/tests/test-verify-volume-md.yml:7 Thursday 21 July 2022 14:23:56 +0000 (0:00:00.037) 0:03:43.378 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-md.yml:13 Thursday 21 July 2022 14:23:56 +0000 (0:00:00.038) 0:03:43.416 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-md.yml:17 Thursday 21 July 2022 14:23:56 +0000 (0:00:00.039) 0:03:43.456 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-md.yml:21 Thursday 21 July 2022 14:23:56 +0000 (0:00:00.043) 0:03:43.500 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-md.yml:25 Thursday 21 July 2022 14:23:56 +0000 (0:00:00.042) 0:03:43.542 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-md.yml:31 Thursday 21 July 2022 14:23:56 +0000 (0:00:00.042) 0:03:43.585 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-md.yml:37 Thursday 21 July 2022 14:23:56 +0000 (0:00:00.048) 0:03:43.633 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:3 Thursday 21 July 2022 14:23:56 +0000 (0:00:00.042) 0:03:43.676 ********* ok: [/cache/rhel-8.qcow2] => { "bytes": 2147483648, "changed": false, "lvm": "2g", "parted": "2GiB", "size": "2 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:9 Thursday 21 July 2022 14:23:57 +0000 (0:00:00.381) 0:03:44.057 ********* ok: [/cache/rhel-8.qcow2] => { "bytes": 2147483648, "changed": false, "lvm": "2g", "parted": "2GiB", "size": "2 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:15 Thursday 21 July 2022 14:23:57 +0000 (0:00:00.400) 0:03:44.457 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_expected_size": "2147483648" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:20 Thursday 21 July 2022 14:23:57 +0000 (0:00:00.052) 0:03:44.510 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_expected_size": "2147483648" } TASK [debug] ******************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:25 Thursday 21 July 2022 14:23:57 +0000 (0:00:00.038) 0:03:44.548 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:28 Thursday 21 July 2022 14:23:57 +0000 (0:00:00.038) 0:03:44.587 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:31 Thursday 21 July 2022 14:23:57 +0000 (0:00:00.039) 0:03:44.626 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:36 Thursday 21 July 2022 14:23:57 +0000 (0:00:00.038) 0:03:44.665 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:39 Thursday 21 July 2022 14:23:57 +0000 (0:00:00.038) 0:03:44.704 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:44 Thursday 21 July 2022 14:23:57 +0000 (0:00:00.038) 0:03:44.743 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_actual_size": { "bytes": 2147483648, "changed": false, "failed": false, "lvm": "2g", "parted": "2GiB", "size": "2 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:47 Thursday 21 July 2022 14:23:57 +0000 (0:00:00.044) 0:03:44.787 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_expected_size": "2147483648" } TASK [assert] ****************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:50 Thursday 21 July 2022 14:23:57 +0000 (0:00:00.034) 0:03:44.822 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml:6 Thursday 21 July 2022 14:23:57 +0000 (0:00:00.051) 0:03:44.873 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "lvs", "--noheadings", "--nameprefixes", "--units=b", "--nosuffix", "--unquoted", "-o", "name,attr,cache_total_blocks,chunk_size,segtype", "vg1/lv1" ], "delta": "0:00:00.035078", "end": "2022-07-21 10:23:57.933792", "rc": 0, "start": "2022-07-21 10:23:57.898714" } STDOUT: LVM2_LV_NAME=lv1 LVM2_LV_ATTR=rwi-aor--- LVM2_CACHE_TOTAL_BLOCKS= LVM2_CHUNK_SIZE=0 LVM2_SEGTYPE=raid0 TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml:14 Thursday 21 July 2022 14:23:58 +0000 (0:00:00.419) 0:03:45.293 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_lv_segtype": [ "raid0" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml:17 Thursday 21 July 2022 14:23:58 +0000 (0:00:00.052) 0:03:45.346 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml:22 Thursday 21 July 2022 14:23:58 +0000 (0:00:00.097) 0:03:45.444 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml:26 Thursday 21 July 2022 14:23:58 +0000 (0:00:00.042) 0:03:45.486 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml:32 Thursday 21 July 2022 14:23:58 +0000 (0:00:00.039) 0:03:45.526 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml:36 Thursday 21 July 2022 14:23:58 +0000 (0:00:00.037) 0:03:45.564 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume.yml:16 Thursday 21 July 2022 14:23:58 +0000 (0:00:00.038) 0:03:45.602 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpw6dixrb5/tests/verify-role-results.yml:43 Thursday 21 July 2022 14:23:58 +0000 (0:00:00.040) 0:03:45.643 ********* TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpw6dixrb5/tests/verify-role-results.yml:53 Thursday 21 July 2022 14:23:58 +0000 (0:00:00.023) 0:03:45.666 ********* ok: [/cache/rhel-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/tmpw6dixrb5/tests/tests_create_raid_pool_then_remove.yml:172 Thursday 21 July 2022 14:23:58 +0000 (0:00:00.078) 0:03:45.745 ********* TASK [linux-system-roles.storage : set platform/version specific variables] **** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Thursday 21 July 2022 14:23:58 +0000 (0:00:00.127) 0:03:45.872 ********* included: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/set_vars.yml for /cache/rhel-8.qcow2 TASK [linux-system-roles.storage : Ensure ansible_facts used by role] ********** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Thursday 21 July 2022 14:23:59 +0000 (0:00:00.037) 0:03:45.910 ********* ok: [/cache/rhel-8.qcow2] TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Thursday 21 July 2022 14:23:59 +0000 (0:00:00.520) 0:03:46.431 ********* skipping: [/cache/rhel-8.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/rhel-8.qcow2] => (item=RedHat_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/tmpw6dixrb5/tests/roles/linux-system-roles.storage/vars/RedHat_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.yml" } skipping: [/cache/rhel-8.qcow2] => (item=RedHat_8.6.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.6.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Thursday 21 July 2022 14:23:59 +0000 (0:00:00.066) 0:03:46.497 ********* ok: [/cache/rhel-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/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Thursday 21 July 2022 14:23:59 +0000 (0:00:00.038) 0:03:46.535 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : include the appropriate provider tasks] ***** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Thursday 21 July 2022 14:23:59 +0000 (0:00:00.036) 0:03:46.571 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml for /cache/rhel-8.qcow2 TASK [linux-system-roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 14:23:59 +0000 (0:00:00.049) 0:03:46.621 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure blivet is available] ************** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 14:23:59 +0000 (0:00:00.024) 0:03:46.645 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : show storage_pools] ************************* task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:14 Thursday 21 July 2022 14:23:59 +0000 (0:00:00.034) 0:03:46.680 ********* ok: [/cache/rhel-8.qcow2] => { "storage_pools": [ { "disks": [ "sda", "sdb" ], "name": "vg1", "state": "present", "type": "lvm", "volumes": [ { "mount_point": "/opt/test1", "name": "lv1", "raid_disks": [ "sda", "sdb" ], "raid_level": "raid0", "size": "2g" } ] } ] } TASK [linux-system-roles.storage : show storage_volumes] *********************** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:19 Thursday 21 July 2022 14:23:59 +0000 (0:00:00.045) 0:03:46.725 ********* ok: [/cache/rhel-8.qcow2] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [linux-system-roles.storage : get required packages] ********************** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:24 Thursday 21 July 2022 14:23:59 +0000 (0:00:00.039) 0:03:46.764 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : enable copr repositories if needed] ********* task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:37 Thursday 21 July 2022 14:23:59 +0000 (0:00:00.033) 0:03:46.797 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure required packages are installed] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:44 Thursday 21 July 2022 14:23:59 +0000 (0:00:00.028) 0:03:46.826 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : get service facts] ************************** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 Thursday 21 July 2022 14:23:59 +0000 (0:00:00.027) 0:03:46.853 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set storage_cryptsetup_services] ************ task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 14:23:59 +0000 (0:00:00.026) 0:03:46.880 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [linux-system-roles.storage : Mask the systemd cryptsetup services] ******* task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:71 Thursday 21 July 2022 14:24:00 +0000 (0:00:00.057) 0:03:46.938 ********* TASK [linux-system-roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Thursday 21 July 2022 14:24:00 +0000 (0:00:00.023) 0:03:46.961 ********* ok: [/cache/rhel-8.qcow2] => { "actions": [], "changed": false, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/mapper/vg1-lv1", "/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/vg1-lv1", "state": "mounted" } ], "packages": [ "xfsprogs", "dosfstools", "lvm2" ], "pools": [ { "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_kernel_device": "/dev/dm-2", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "_raw_kernel_device": "/dev/dm-2", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [ "sda", "sdb" ], "raid_level": "raid0", "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } TASK [linux-system-roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:91 Thursday 21 July 2022 14:24:01 +0000 (0:00:01.819) 0:03:48.781 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Unmask the systemd cryptsetup services] ***** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:103 Thursday 21 July 2022 14:24:01 +0000 (0:00:00.037) 0:03:48.818 ********* TASK [linux-system-roles.storage : show blivet_output] ************************* task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:109 Thursday 21 July 2022 14:24:01 +0000 (0:00:00.025) 0:03:48.843 ********* ok: [/cache/rhel-8.qcow2] => { "blivet_output": { "actions": [], "changed": false, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/mapper/vg1-lv1", "/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/vg1-lv1", "state": "mounted" } ], "packages": [ "xfsprogs", "dosfstools", "lvm2" ], "pools": [ { "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_kernel_device": "/dev/dm-2", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "_raw_kernel_device": "/dev/dm-2", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [ "sda", "sdb" ], "raid_level": "raid0", "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } } TASK [linux-system-roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:114 Thursday 21 July 2022 14:24:01 +0000 (0:00:00.042) 0:03:48.886 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_kernel_device": "/dev/dm-2", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "_raw_kernel_device": "/dev/dm-2", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [ "sda", "sdb" ], "raid_level": "raid0", "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] }, "changed": false } TASK [linux-system-roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:118 Thursday 21 July 2022 14:24:02 +0000 (0:00:00.089) 0:03:48.976 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : remove obsolete mounts] ********************* task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:134 Thursday 21 July 2022 14:24:02 +0000 (0:00:00.132) 0:03:49.109 ********* TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:146 Thursday 21 July 2022 14:24:02 +0000 (0:00:00.038) 0:03:49.147 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : set up new/current mounts] ****************** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:151 Thursday 21 July 2022 14:24:02 +0000 (0:00:00.619) 0:03:49.767 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount ok: [/cache/rhel-8.qcow2] => (item={'src': '/dev/mapper/vg1-lv1', 'path': '/opt/test1', 'fstype': 'xfs', 'opts': 'defaults', 'dump': 0, 'passno': 0, 'state': 'mounted'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": false, "dump": "0", "fstab": "/etc/fstab", "fstype": "xfs", "mount_info": { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/vg1-lv1", "state": "mounted" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "/dev/mapper/vg1-lv1" } TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:163 Thursday 21 July 2022 14:24:03 +0000 (0:00:00.406) 0:03:50.174 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:171 Thursday 21 July 2022 14:24:03 +0000 (0:00:00.604) 0:03:50.779 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:176 Thursday 21 July 2022 14:24:04 +0000 (0:00:00.373) 0:03:51.152 ********* TASK [linux-system-roles.storage : Update facts] ******************************* task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 Thursday 21 July 2022 14:24:04 +0000 (0:00:00.023) 0:03:51.175 ********* ok: [/cache/rhel-8.qcow2] META: role_complete for /cache/rhel-8.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmpw6dixrb5/tests/tests_create_raid_pool_then_remove.yml:188 Thursday 21 July 2022 14:24:05 +0000 (0:00:00.989) 0:03:52.165 ********* included: /tmp/tmpw6dixrb5/tests/verify-role-results.yml for /cache/rhel-8.qcow2 TASK [Print out pool information] ********************************************** task path: /tmp/tmpw6dixrb5/tests/verify-role-results.yml:1 Thursday 21 July 2022 14:24:05 +0000 (0:00:00.062) 0:03:52.227 ********* ok: [/cache/rhel-8.qcow2] => { "_storage_pools_list": [ { "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_kernel_device": "/dev/dm-2", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "_raw_kernel_device": "/dev/dm-2", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [ "sda", "sdb" ], "raid_level": "raid0", "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] } TASK [Print out volume information] ******************************************** task path: /tmp/tmpw6dixrb5/tests/verify-role-results.yml:6 Thursday 21 July 2022 14:24:05 +0000 (0:00:00.093) 0:03:52.321 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpw6dixrb5/tests/verify-role-results.yml:14 Thursday 21 July 2022 14:24:05 +0000 (0:00:00.036) 0:03:52.357 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "info": { "/dev/mapper/vg1-lv1": { "fstype": "xfs", "label": "", "name": "/dev/mapper/vg1-lv1", "size": "2G", "type": "lvm", "uuid": "6734b110-b10b-407e-a988-4c0083bd3bf3" }, "/dev/mapper/vg1-lv1_rimage_0": { "fstype": "", "label": "", "name": "/dev/mapper/vg1-lv1_rimage_0", "size": "1G", "type": "lvm", "uuid": "" }, "/dev/mapper/vg1-lv1_rimage_1": { "fstype": "", "label": "", "name": "/dev/mapper/vg1-lv1_rimage_1", "size": "1G", "type": "lvm", "uuid": "" }, "/dev/nvme0n1": { "fstype": "", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme1n1": { "fstype": "", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme2n1": { "fstype": "", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda": { "fstype": "", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda1": { "fstype": "LVM2_member", "label": "", "name": "/dev/sda1", "size": "10G", "type": "partition", "uuid": "ihXWTK-rknp-MfMZ-rXLG-MSOs-xHUo-aQCka3" }, "/dev/sdb": { "fstype": "", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdb1": { "fstype": "LVM2_member", "label": "", "name": "/dev/sdb1", "size": "10G", "type": "partition", "uuid": "EuJNZU-mgpC-mmZO-jP56-lcMY-K5t3-nMczYA" }, "/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-14-20-00-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "", "label": "", "name": "/dev/vda1", "size": "1M", "type": "partition", "uuid": "" }, "/dev/vda2": { "fstype": "vfat", "label": "", "name": "/dev/vda2", "size": "100M", "type": "partition", "uuid": "7B77-95E7" }, "/dev/vda3": { "fstype": "xfs", "label": "root", "name": "/dev/vda3", "size": "9.9G", "type": "partition", "uuid": "853ae189-b3fe-4a45-8485-75bbb1421bbe" }, "/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/tmpw6dixrb5/tests/verify-role-results.yml:19 Thursday 21 July 2022 14:24:05 +0000 (0:00:00.387) 0:03:52.745 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.002760", "end": "2022-07-21 10:24:05.759949", "rc": 0, "start": "2022-07-21 10:24:05.757189" } STDOUT: UUID=853ae189-b3fe-4a45-8485-75bbb1421bbe / xfs defaults 0 0 UUID=7B77-95E7 /boot/efi vfat defaults,uid=0,gid=0,umask=077,shortname=winnt 0 2 /dev/mapper/vg1-lv1 /opt/test1 xfs defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpw6dixrb5/tests/verify-role-results.yml:24 Thursday 21 July 2022 14:24:06 +0000 (0:00:00.374) 0:03:53.119 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.002412", "end": "2022-07-21 10:24:06.167771", "failed_when_result": false, "rc": 1, "start": "2022-07-21 10:24:06.165359" } STDERR: cat: /etc/crypttab: No such file or directory MSG: non-zero return code TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmpw6dixrb5/tests/verify-role-results.yml:33 Thursday 21 July 2022 14:24:06 +0000 (0:00:00.406) 0:03:53.525 ********* included: /tmp/tmpw6dixrb5/tests/test-verify-pool.yml for /cache/rhel-8.qcow2 => (item={'disks': ['sda', 'sdb'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'name': 'vg1', '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': 'lv1', 'raid_level': 'raid0', 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': ['sda', 'sdb'], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1', '_kernel_device': '/dev/dm-2', '_raw_kernel_device': '/dev/dm-2'}], 'raid_chunk_size': None}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-pool.yml:5 Thursday 21 July 2022 14:24:06 +0000 (0:00:00.060) 0:03:53.586 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool.yml:18 Thursday 21 July 2022 14:24:06 +0000 (0:00:00.101) 0:03:53.687 ********* included: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml for /cache/rhel-8.qcow2 => (item=members) included: /tmp/tmpw6dixrb5/tests/test-verify-pool-volumes.yml for /cache/rhel-8.qcow2 => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:1 Thursday 21 July 2022 14:24:06 +0000 (0:00:00.049) 0:03:53.737 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_count": "2", "_storage_test_pool_pvs_lvm": [ "/dev/sda1", "/dev/sdb1" ] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:10 Thursday 21 July 2022 14:24:06 +0000 (0:00:00.062) 0:03:53.800 ********* ok: [/cache/rhel-8.qcow2] => (item=/dev/sda1) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/sda1", "pv": "/dev/sda1" } ok: [/cache/rhel-8.qcow2] => (item=/dev/sdb1) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/sdb1", "pv": "/dev/sdb1" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:19 Thursday 21 July 2022 14:24:07 +0000 (0:00:00.733) 0:03:54.533 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "__pvs_lvm_len": "2" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:23 Thursday 21 July 2022 14:24:07 +0000 (0:00:00.058) 0:03:54.592 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/sda1", "/dev/sdb1" ] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:27 Thursday 21 July 2022 14:24:07 +0000 (0:00:00.054) 0:03:54.646 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:34 Thursday 21 July 2022 14:24:07 +0000 (0:00:00.054) 0:03:54.701 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:38 Thursday 21 July 2022 14:24:07 +0000 (0:00:00.041) 0:03:54.743 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_type": "partition" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:42 Thursday 21 July 2022 14:24:07 +0000 (0:00:00.055) 0:03:54.799 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:46 Thursday 21 July 2022 14:24:07 +0000 (0:00:00.025) 0:03:54.824 ********* ok: [/cache/rhel-8.qcow2] => (item=/dev/sda1) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/sda1" } MSG: All assertions passed ok: [/cache/rhel-8.qcow2] => (item=/dev/sdb1) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/sdb1" } MSG: All assertions passed TASK [Check MD RAID] *********************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:56 Thursday 21 July 2022 14:24:07 +0000 (0:00:00.056) 0:03:54.881 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml for /cache/rhel-8.qcow2 TASK [get information about RAID] ********************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:6 Thursday 21 July 2022 14:24:08 +0000 (0:00:00.043) 0:03:54.924 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:12 Thursday 21 July 2022 14:24:08 +0000 (0:00:00.023) 0:03:54.948 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:16 Thursday 21 July 2022 14:24:08 +0000 (0:00:00.026) 0:03:54.974 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:20 Thursday 21 July 2022 14:24:08 +0000 (0:00:00.027) 0:03:55.001 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:24 Thursday 21 July 2022 14:24:08 +0000 (0:00:00.026) 0:03:55.027 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:30 Thursday 21 July 2022 14:24:08 +0000 (0:00:00.026) 0:03:55.054 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:36 Thursday 21 July 2022 14:24:08 +0000 (0:00:00.026) 0:03:55.080 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:44 Thursday 21 July 2022 14:24:08 +0000 (0:00:00.027) 0:03:55.107 ********* ok: [/cache/rhel-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/tmpw6dixrb5/tests/test-verify-pool-members.yml:59 Thursday 21 July 2022 14:24:08 +0000 (0:00:00.036) 0:03:55.144 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-members-lvmraid.yml for /cache/rhel-8.qcow2 TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-members-lvmraid.yml:1 Thursday 21 July 2022 14:24:08 +0000 (0:00:00.044) 0:03:55.189 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-member-lvmraid.yml for /cache/rhel-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': 'lv1', 'raid_level': 'raid0', 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': ['sda', 'sdb'], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1', '_kernel_device': '/dev/dm-2', '_raw_kernel_device': '/dev/dm-2'}) TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-lvmraid.yml:3 Thursday 21 July 2022 14:24:08 +0000 (0:00:00.045) 0:03:55.234 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "lvs", "--noheading", "-o", "lv_name", "--select", "lv_name=lv1&&lv_layout=raid0", "vg1" ], "delta": "0:00:00.034002", "end": "2022-07-21 10:24:08.294700", "rc": 0, "start": "2022-07-21 10:24:08.260698" } STDOUT: lv1 TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-lvmraid.yml:8 Thursday 21 July 2022 14:24:08 +0000 (0:00:00.421) 0:03:55.655 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-lvmraid.yml:12 Thursday 21 July 2022 14:24:08 +0000 (0:00:00.060) 0:03:55.716 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_lvmraid_status": null }, "changed": false } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:62 Thursday 21 July 2022 14:24:08 +0000 (0:00:00.097) 0:03:55.814 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-members-thin.yml for /cache/rhel-8.qcow2 TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-members-thin.yml:1 Thursday 21 July 2022 14:24:09 +0000 (0:00:00.090) 0:03:55.904 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-member-thin.yml for /cache/rhel-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': 'lv1', 'raid_level': 'raid0', 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': ['sda', 'sdb'], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1', '_kernel_device': '/dev/dm-2', '_raw_kernel_device': '/dev/dm-2'}) TASK [Get information about thinpool] ****************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-thin.yml:3 Thursday 21 July 2022 14:24:09 +0000 (0:00:00.047) 0:03:55.952 ********* skipping: [/cache/rhel-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/tmpw6dixrb5/tests/verify-pool-member-thin.yml:8 Thursday 21 July 2022 14:24:09 +0000 (0:00:00.026) 0:03:55.978 ********* skipping: [/cache/rhel-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/tmpw6dixrb5/tests/verify-pool-member-thin.yml:13 Thursday 21 July 2022 14:24:09 +0000 (0:00:00.026) 0:03:56.005 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-thin.yml:17 Thursday 21 July 2022 14:24:09 +0000 (0:00:00.024) 0:03:56.030 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:65 Thursday 21 July 2022 14:24:09 +0000 (0:00:00.025) 0:03:56.055 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-members-encryption.yml for /cache/rhel-8.qcow2 TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-members-encryption.yml:4 Thursday 21 July 2022 14:24:09 +0000 (0:00:00.048) 0:03:56.104 ********* ok: [/cache/rhel-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/tmpw6dixrb5/tests/verify-pool-members-encryption.yml:8 Thursday 21 July 2022 14:24:09 +0000 (0:00:00.051) 0:03:56.155 ********* skipping: [/cache/rhel-8.qcow2] => (item=/dev/sda1) => { "_storage_test_pool_member_path": "/dev/sda1", "ansible_loop_var": "_storage_test_pool_member_path", "changed": false, "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=/dev/sdb1) => { "_storage_test_pool_member_path": "/dev/sdb1", "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/tmpw6dixrb5/tests/verify-pool-members-encryption.yml:15 Thursday 21 July 2022 14:24:09 +0000 (0:00:00.031) 0:03:56.187 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-member-crypttab.yml for /cache/rhel-8.qcow2 => (item=/dev/sda1) included: /tmp/tmpw6dixrb5/tests/verify-pool-member-crypttab.yml for /cache/rhel-8.qcow2 => (item=/dev/sdb1) TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-crypttab.yml:1 Thursday 21 July 2022 14:24:09 +0000 (0:00:00.051) 0:03:56.238 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": [] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-crypttab.yml:6 Thursday 21 July 2022 14:24:09 +0000 (0:00:00.050) 0:03:56.289 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-crypttab.yml:11 Thursday 21 July 2022 14:24:09 +0000 (0:00:00.053) 0:03:56.342 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-crypttab.yml:17 Thursday 21 July 2022 14:24:09 +0000 (0:00:00.036) 0:03:56.379 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-crypttab.yml:23 Thursday 21 July 2022 14:24:09 +0000 (0:00:00.036) 0:03:56.415 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-crypttab.yml:29 Thursday 21 July 2022 14:24:09 +0000 (0:00:00.038) 0:03:56.454 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-crypttab.yml:1 Thursday 21 July 2022 14:24:09 +0000 (0:00:00.045) 0:03:56.500 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": [] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-crypttab.yml:6 Thursday 21 July 2022 14:24:09 +0000 (0:00:00.051) 0:03:56.552 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-crypttab.yml:11 Thursday 21 July 2022 14:24:09 +0000 (0:00:00.052) 0:03:56.604 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-crypttab.yml:17 Thursday 21 July 2022 14:24:09 +0000 (0:00:00.039) 0:03:56.644 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-crypttab.yml:23 Thursday 21 July 2022 14:24:09 +0000 (0:00:00.038) 0:03:56.682 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-crypttab.yml:29 Thursday 21 July 2022 14:24:09 +0000 (0:00:00.037) 0:03:56.720 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-members-encryption.yml:22 Thursday 21 July 2022 14:24:09 +0000 (0:00:00.037) 0:03:56.757 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:68 Thursday 21 July 2022 14:24:09 +0000 (0:00:00.051) 0:03:56.809 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-members-vdo.yml for /cache/rhel-8.qcow2 TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-members-vdo.yml:1 Thursday 21 July 2022 14:24:09 +0000 (0:00:00.053) 0:03:56.863 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml for /cache/rhel-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': 'lv1', 'raid_level': 'raid0', 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': ['sda', 'sdb'], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1', '_kernel_device': '/dev/dm-2', '_raw_kernel_device': '/dev/dm-2'}) TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:3 Thursday 21 July 2022 14:24:10 +0000 (0:00:00.047) 0:03:56.910 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:8 Thursday 21 July 2022 14:24:10 +0000 (0:00:00.026) 0:03:56.936 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:11 Thursday 21 July 2022 14:24:10 +0000 (0:00:00.026) 0:03:56.962 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:16 Thursday 21 July 2022 14:24:10 +0000 (0:00:00.024) 0:03:56.987 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:21 Thursday 21 July 2022 14:24:10 +0000 (0:00:00.025) 0:03:57.013 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:24 Thursday 21 July 2022 14:24:10 +0000 (0:00:00.024) 0:03:57.038 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:29 Thursday 21 July 2022 14:24:10 +0000 (0:00:00.025) 0:03:57.063 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:39 Thursday 21 July 2022 14:24:10 +0000 (0:00:00.026) 0:03:57.089 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:71 Thursday 21 July 2022 14:24:10 +0000 (0:00:00.040) 0:03:57.129 ********* ok: [/cache/rhel-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/tmpw6dixrb5/tests/test-verify-pool-volumes.yml:3 Thursday 21 July 2022 14:24:10 +0000 (0:00:00.037) 0:03:57.167 ********* included: /tmp/tmpw6dixrb5/tests/test-verify-volume.yml for /cache/rhel-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': 'lv1', 'raid_level': 'raid0', 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': ['sda', 'sdb'], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1', '_kernel_device': '/dev/dm-2', '_raw_kernel_device': '/dev/dm-2'}) TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume.yml:2 Thursday 21 July 2022 14:24:10 +0000 (0:00:00.042) 0:03:57.209 ********* ok: [/cache/rhel-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/tmpw6dixrb5/tests/test-verify-volume.yml:10 Thursday 21 July 2022 14:24:10 +0000 (0:00:00.131) 0:03:57.341 ********* included: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml for /cache/rhel-8.qcow2 => (item=mount) included: /tmp/tmpw6dixrb5/tests/test-verify-volume-fstab.yml for /cache/rhel-8.qcow2 => (item=fstab) included: /tmp/tmpw6dixrb5/tests/test-verify-volume-fs.yml for /cache/rhel-8.qcow2 => (item=fs) included: /tmp/tmpw6dixrb5/tests/test-verify-volume-device.yml for /cache/rhel-8.qcow2 => (item=device) included: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml for /cache/rhel-8.qcow2 => (item=encryption) included: /tmp/tmpw6dixrb5/tests/test-verify-volume-md.yml for /cache/rhel-8.qcow2 => (item=md) included: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml for /cache/rhel-8.qcow2 => (item=size) included: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml for /cache/rhel-8.qcow2 => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:6 Thursday 21 July 2022 14:24:10 +0000 (0:00:00.082) 0:03:57.424 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/vg1-lv1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:14 Thursday 21 July 2022 14:24:10 +0000 (0:00:00.043) 0:03:57.467 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 509649, "block_size": 4096, "block_total": 521600, "block_used": 11951, "device": "/dev/mapper/vg1-lv1", "fstype": "xfs", "inode_available": 1048317, "inode_total": 1048320, "inode_used": 3, "mount": "/opt/test1", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=64k,sunit=128,swidth=256,noquota", "size_available": 2087522304, "size_total": 2136473600, "uuid": "6734b110-b10b-407e-a988-4c0083bd3bf3" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 509649, "block_size": 4096, "block_total": 521600, "block_used": 11951, "device": "/dev/mapper/vg1-lv1", "fstype": "xfs", "inode_available": 1048317, "inode_total": 1048320, "inode_used": 3, "mount": "/opt/test1", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=64k,sunit=128,swidth=256,noquota", "size_available": 2087522304, "size_total": 2136473600, "uuid": "6734b110-b10b-407e-a988-4c0083bd3bf3" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:28 Thursday 21 July 2022 14:24:10 +0000 (0:00:00.060) 0:03:57.528 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:37 Thursday 21 July 2022 14:24:10 +0000 (0:00:00.054) 0:03:57.582 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:45 Thursday 21 July 2022 14:24:10 +0000 (0:00:00.053) 0:03:57.635 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:54 Thursday 21 July 2022 14:24:10 +0000 (0:00:00.068) 0:03:57.703 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:58 Thursday 21 July 2022 14:24:10 +0000 (0:00:00.027) 0:03:57.730 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:63 Thursday 21 July 2022 14:24:10 +0000 (0:00:00.025) 0:03:57.756 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:75 Thursday 21 July 2022 14:24:10 +0000 (0:00:00.025) 0:03:57.782 ********* ok: [/cache/rhel-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/tmpw6dixrb5/tests/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 14:24:10 +0000 (0:00:00.038) 0:03:57.820 ********* ok: [/cache/rhel-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/vg1-lv1 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test1 xfs defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test1 " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 14:24:10 +0000 (0:00:00.062) 0:03:57.883 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-fstab.yml:32 Thursday 21 July 2022 14:24:11 +0000 (0:00:00.055) 0:03:57.938 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-fstab.yml:39 Thursday 21 July 2022 14:24:11 +0000 (0:00:00.054) 0:03:57.992 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-fstab.yml:49 Thursday 21 July 2022 14:24:11 +0000 (0:00:00.041) 0:03:58.034 ********* ok: [/cache/rhel-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/tmpw6dixrb5/tests/test-verify-volume-fs.yml:4 Thursday 21 July 2022 14:24:11 +0000 (0:00:00.035) 0:03:58.070 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-fs.yml:10 Thursday 21 July 2022 14:24:11 +0000 (0:00:00.042) 0:03:58.112 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-device.yml:4 Thursday 21 July 2022 14:24:11 +0000 (0:00:00.043) 0:03:58.156 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "stat": { "atime": 1658413423.6480126, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658413423.6480126, "dev": 6, "device_type": 64770, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 152153, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1658413423.6480126, "nlink": 1, "path": "/dev/mapper/vg1-lv1", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-device.yml:10 Thursday 21 July 2022 14:24:11 +0000 (0:00:00.403) 0:03:58.559 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-device.yml:18 Thursday 21 July 2022 14:24:11 +0000 (0:00:00.042) 0:03:58.602 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-device.yml:24 Thursday 21 July 2022 14:24:11 +0000 (0:00:00.043) 0:03:58.645 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-device.yml:28 Thursday 21 July 2022 14:24:11 +0000 (0:00:00.041) 0:03:58.686 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-device.yml:33 Thursday 21 July 2022 14:24:11 +0000 (0:00:00.025) 0:03:58.712 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 14:24:11 +0000 (0:00:00.042) 0:03:58.755 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 14:24:11 +0000 (0:00:00.023) 0:03:58.779 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 14:24:13 +0000 (0:00:01.278) 0:04:00.058 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 14:24:13 +0000 (0:00:00.025) 0:04:00.083 ********* skipping: [/cache/rhel-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/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:30 Thursday 21 July 2022 14:24:13 +0000 (0:00:00.024) 0:04:00.108 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:38 Thursday 21 July 2022 14:24:13 +0000 (0:00:00.055) 0:04:00.164 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 14:24:13 +0000 (0:00:00.024) 0:04:00.189 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:49 Thursday 21 July 2022 14:24:13 +0000 (0:00:00.024) 0:04:00.214 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:55 Thursday 21 July 2022 14:24:13 +0000 (0:00:00.025) 0:04:00.240 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:61 Thursday 21 July 2022 14:24:13 +0000 (0:00:00.028) 0:04:00.268 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 14:24:13 +0000 (0:00:00.026) 0:04:00.295 ********* ok: [/cache/rhel-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/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:74 Thursday 21 July 2022 14:24:13 +0000 (0:00:00.094) 0:04:00.390 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:79 Thursday 21 July 2022 14:24:13 +0000 (0:00:00.131) 0:04:00.521 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:85 Thursday 21 July 2022 14:24:13 +0000 (0:00:00.037) 0:04:00.559 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:91 Thursday 21 July 2022 14:24:13 +0000 (0:00:00.034) 0:04:00.593 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:97 Thursday 21 July 2022 14:24:13 +0000 (0:00:00.034) 0:04:00.628 ********* ok: [/cache/rhel-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/tmpw6dixrb5/tests/test-verify-volume-md.yml:7 Thursday 21 July 2022 14:24:13 +0000 (0:00:00.037) 0:04:00.665 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-md.yml:13 Thursday 21 July 2022 14:24:13 +0000 (0:00:00.040) 0:04:00.705 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-md.yml:17 Thursday 21 July 2022 14:24:13 +0000 (0:00:00.041) 0:04:00.747 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-md.yml:21 Thursday 21 July 2022 14:24:13 +0000 (0:00:00.039) 0:04:00.787 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-md.yml:25 Thursday 21 July 2022 14:24:13 +0000 (0:00:00.041) 0:04:00.828 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-md.yml:31 Thursday 21 July 2022 14:24:13 +0000 (0:00:00.045) 0:04:00.874 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-md.yml:37 Thursday 21 July 2022 14:24:14 +0000 (0:00:00.042) 0:04:00.916 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:3 Thursday 21 July 2022 14:24:14 +0000 (0:00:00.041) 0:04:00.958 ********* ok: [/cache/rhel-8.qcow2] => { "bytes": 2147483648, "changed": false, "lvm": "2g", "parted": "2GiB", "size": "2 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:9 Thursday 21 July 2022 14:24:14 +0000 (0:00:00.392) 0:04:01.351 ********* ok: [/cache/rhel-8.qcow2] => { "bytes": 2147483648, "changed": false, "lvm": "2g", "parted": "2GiB", "size": "2 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:15 Thursday 21 July 2022 14:24:14 +0000 (0:00:00.387) 0:04:01.738 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_expected_size": "2147483648" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:20 Thursday 21 July 2022 14:24:14 +0000 (0:00:00.052) 0:04:01.791 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_expected_size": "2147483648" } TASK [debug] ******************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:25 Thursday 21 July 2022 14:24:14 +0000 (0:00:00.041) 0:04:01.832 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:28 Thursday 21 July 2022 14:24:14 +0000 (0:00:00.040) 0:04:01.872 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:31 Thursday 21 July 2022 14:24:15 +0000 (0:00:00.040) 0:04:01.913 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:36 Thursday 21 July 2022 14:24:15 +0000 (0:00:00.040) 0:04:01.953 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:39 Thursday 21 July 2022 14:24:15 +0000 (0:00:00.042) 0:04:01.996 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:44 Thursday 21 July 2022 14:24:15 +0000 (0:00:00.038) 0:04:02.035 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_actual_size": { "bytes": 2147483648, "changed": false, "failed": false, "lvm": "2g", "parted": "2GiB", "size": "2 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:47 Thursday 21 July 2022 14:24:15 +0000 (0:00:00.040) 0:04:02.075 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_expected_size": "2147483648" } TASK [assert] ****************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:50 Thursday 21 July 2022 14:24:15 +0000 (0:00:00.040) 0:04:02.116 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml:6 Thursday 21 July 2022 14:24:15 +0000 (0:00:00.053) 0:04:02.170 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "lvs", "--noheadings", "--nameprefixes", "--units=b", "--nosuffix", "--unquoted", "-o", "name,attr,cache_total_blocks,chunk_size,segtype", "vg1/lv1" ], "delta": "0:00:00.036216", "end": "2022-07-21 10:24:15.224972", "rc": 0, "start": "2022-07-21 10:24:15.188756" } STDOUT: LVM2_LV_NAME=lv1 LVM2_LV_ATTR=rwi-aor--- LVM2_CACHE_TOTAL_BLOCKS= LVM2_CHUNK_SIZE=0 LVM2_SEGTYPE=raid0 TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml:14 Thursday 21 July 2022 14:24:15 +0000 (0:00:00.415) 0:04:02.586 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_lv_segtype": [ "raid0" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml:17 Thursday 21 July 2022 14:24:15 +0000 (0:00:00.059) 0:04:02.646 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml:22 Thursday 21 July 2022 14:24:15 +0000 (0:00:00.052) 0:04:02.698 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml:26 Thursday 21 July 2022 14:24:15 +0000 (0:00:00.036) 0:04:02.735 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml:32 Thursday 21 July 2022 14:24:15 +0000 (0:00:00.036) 0:04:02.772 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml:36 Thursday 21 July 2022 14:24:15 +0000 (0:00:00.039) 0:04:02.812 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume.yml:16 Thursday 21 July 2022 14:24:15 +0000 (0:00:00.039) 0:04:02.851 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpw6dixrb5/tests/verify-role-results.yml:43 Thursday 21 July 2022 14:24:16 +0000 (0:00:00.074) 0:04:02.926 ********* TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpw6dixrb5/tests/verify-role-results.yml:53 Thursday 21 July 2022 14:24:16 +0000 (0:00:00.024) 0:04:02.950 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Remove the device created above] ***************************************** task path: /tmp/tmpw6dixrb5/tests/tests_create_raid_pool_then_remove.yml:190 Thursday 21 July 2022 14:24:16 +0000 (0:00:00.035) 0:04:02.985 ********* TASK [linux-system-roles.storage : set platform/version specific variables] **** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Thursday 21 July 2022 14:24:16 +0000 (0:00:00.127) 0:04:03.113 ********* included: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/set_vars.yml for /cache/rhel-8.qcow2 TASK [linux-system-roles.storage : Ensure ansible_facts used by role] ********** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Thursday 21 July 2022 14:24:16 +0000 (0:00:00.037) 0:04:03.150 ********* ok: [/cache/rhel-8.qcow2] TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Thursday 21 July 2022 14:24:16 +0000 (0:00:00.527) 0:04:03.677 ********* skipping: [/cache/rhel-8.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/rhel-8.qcow2] => (item=RedHat_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/tmpw6dixrb5/tests/roles/linux-system-roles.storage/vars/RedHat_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.yml" } skipping: [/cache/rhel-8.qcow2] => (item=RedHat_8.6.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.6.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Thursday 21 July 2022 14:24:16 +0000 (0:00:00.064) 0:04:03.742 ********* ok: [/cache/rhel-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/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Thursday 21 July 2022 14:24:16 +0000 (0:00:00.039) 0:04:03.781 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : include the appropriate provider tasks] ***** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Thursday 21 July 2022 14:24:16 +0000 (0:00:00.038) 0:04:03.819 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml for /cache/rhel-8.qcow2 TASK [linux-system-roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 14:24:16 +0000 (0:00:00.060) 0:04:03.880 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure blivet is available] ************** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 14:24:17 +0000 (0:00:00.022) 0:04:03.902 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : show storage_pools] ************************* task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:14 Thursday 21 July 2022 14:24:17 +0000 (0:00:00.028) 0:04:03.930 ********* ok: [/cache/rhel-8.qcow2] => { "storage_pools": [ { "disks": [ "sda", "sdb" ], "name": "vg1", "state": "absent", "type": "lvm", "volumes": [ { "mount_point": "/opt/test1", "name": "lv1", "raid_disks": [ "sda", "sdb" ], "raid_level": "raid0", "size": "2g" } ] } ] } TASK [linux-system-roles.storage : show storage_volumes] *********************** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:19 Thursday 21 July 2022 14:24:17 +0000 (0:00:00.038) 0:04:03.968 ********* ok: [/cache/rhel-8.qcow2] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [linux-system-roles.storage : get required packages] ********************** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:24 Thursday 21 July 2022 14:24:17 +0000 (0:00:00.040) 0:04:04.008 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : enable copr repositories if needed] ********* task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:37 Thursday 21 July 2022 14:24:17 +0000 (0:00:00.030) 0:04:04.039 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure required packages are installed] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:44 Thursday 21 July 2022 14:24:17 +0000 (0:00:00.029) 0:04:04.069 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : get service facts] ************************** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 Thursday 21 July 2022 14:24:17 +0000 (0:00:00.027) 0:04:04.096 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set storage_cryptsetup_services] ************ task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 14:24:17 +0000 (0:00:00.030) 0:04:04.126 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [linux-system-roles.storage : Mask the systemd cryptsetup services] ******* task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:71 Thursday 21 July 2022 14:24:17 +0000 (0:00:00.059) 0:04:04.186 ********* TASK [linux-system-roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Thursday 21 July 2022 14:24:17 +0000 (0:00:00.023) 0:04:04.209 ********* changed: [/cache/rhel-8.qcow2] => { "actions": [ { "action": "destroy format", "device": "/dev/mapper/vg1-lv1", "fs_type": "xfs" }, { "action": "destroy device", "device": "/dev/mapper/vg1-lv1", "fs_type": null }, { "action": "destroy device", "device": "/dev/vg1", "fs_type": null }, { "action": "destroy format", "device": "/dev/sdb1", "fs_type": "lvmpv" }, { "action": "destroy device", "device": "/dev/sdb1", "fs_type": null }, { "action": "destroy format", "device": "/dev/sdb", "fs_type": "disklabel" }, { "action": "destroy format", "device": "/dev/sda1", "fs_type": "lvmpv" }, { "action": "destroy device", "device": "/dev/sda1", "fs_type": null }, { "action": "destroy format", "device": "/dev/sda", "fs_type": "disklabel" } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/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/vg1-lv1", "state": "absent" } ], "packages": [ "dosfstools", "xfsprogs" ], "pools": [ { "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [ "sda", "sdb" ], "raid_level": "raid0", "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } TASK [linux-system-roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:91 Thursday 21 July 2022 14:24:20 +0000 (0:00:02.846) 0:04:07.056 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Unmask the systemd cryptsetup services] ***** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:103 Thursday 21 July 2022 14:24:20 +0000 (0:00:00.040) 0:04:07.097 ********* TASK [linux-system-roles.storage : show blivet_output] ************************* task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:109 Thursday 21 July 2022 14:24:20 +0000 (0:00:00.024) 0:04:07.121 ********* ok: [/cache/rhel-8.qcow2] => { "blivet_output": { "actions": [ { "action": "destroy format", "device": "/dev/mapper/vg1-lv1", "fs_type": "xfs" }, { "action": "destroy device", "device": "/dev/mapper/vg1-lv1", "fs_type": null }, { "action": "destroy device", "device": "/dev/vg1", "fs_type": null }, { "action": "destroy format", "device": "/dev/sdb1", "fs_type": "lvmpv" }, { "action": "destroy device", "device": "/dev/sdb1", "fs_type": null }, { "action": "destroy format", "device": "/dev/sdb", "fs_type": "disklabel" }, { "action": "destroy format", "device": "/dev/sda1", "fs_type": "lvmpv" }, { "action": "destroy device", "device": "/dev/sda1", "fs_type": null }, { "action": "destroy format", "device": "/dev/sda", "fs_type": "disklabel" } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/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/vg1-lv1", "state": "absent" } ], "packages": [ "dosfstools", "xfsprogs" ], "pools": [ { "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [ "sda", "sdb" ], "raid_level": "raid0", "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } } TASK [linux-system-roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:114 Thursday 21 July 2022 14:24:20 +0000 (0:00:00.043) 0:04:07.165 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [ "sda", "sdb" ], "raid_level": "raid0", "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] }, "changed": false } TASK [linux-system-roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:118 Thursday 21 July 2022 14:24:20 +0000 (0:00:00.106) 0:04:07.271 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : remove obsolete mounts] ********************* task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:134 Thursday 21 July 2022 14:24:20 +0000 (0:00:00.093) 0:04:07.364 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/rhel-8.qcow2] => (item={'src': '/dev/mapper/vg1-lv1', 'path': '/opt/test1', 'state': 'absent', 'fstype': 'xfs'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "xfs", "mount_info": { "fstype": "xfs", "path": "/opt/test1", "src": "/dev/mapper/vg1-lv1", "state": "absent" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "/dev/mapper/vg1-lv1" } TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:146 Thursday 21 July 2022 14:24:20 +0000 (0:00:00.456) 0:04:07.820 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : set up new/current mounts] ****************** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:151 Thursday 21 July 2022 14:24:21 +0000 (0:00:00.644) 0:04:08.465 ********* TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:163 Thursday 21 July 2022 14:24:21 +0000 (0:00:00.046) 0:04:08.511 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:171 Thursday 21 July 2022 14:24:22 +0000 (0:00:00.642) 0:04:09.154 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:176 Thursday 21 July 2022 14:24:22 +0000 (0:00:00.378) 0:04:09.532 ********* TASK [linux-system-roles.storage : Update facts] ******************************* task path: /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 Thursday 21 July 2022 14:24:22 +0000 (0:00:00.024) 0:04:09.557 ********* ok: [/cache/rhel-8.qcow2] META: role_complete for /cache/rhel-8.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmpw6dixrb5/tests/tests_create_raid_pool_then_remove.yml:206 Thursday 21 July 2022 14:24:23 +0000 (0:00:00.944) 0:04:10.501 ********* included: /tmp/tmpw6dixrb5/tests/verify-role-results.yml for /cache/rhel-8.qcow2 TASK [Print out pool information] ********************************************** task path: /tmp/tmpw6dixrb5/tests/verify-role-results.yml:1 Thursday 21 July 2022 14:24:23 +0000 (0:00:00.064) 0:04:10.566 ********* ok: [/cache/rhel-8.qcow2] => { "_storage_pools_list": [ { "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [ "sda", "sdb" ], "raid_level": "raid0", "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] } TASK [Print out volume information] ******************************************** task path: /tmp/tmpw6dixrb5/tests/verify-role-results.yml:6 Thursday 21 July 2022 14:24:23 +0000 (0:00:00.092) 0:04:10.658 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpw6dixrb5/tests/verify-role-results.yml:14 Thursday 21 July 2022 14:24:23 +0000 (0:00:00.039) 0:04:10.698 ********* ok: [/cache/rhel-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-14-20-00-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "", "label": "", "name": "/dev/vda1", "size": "1M", "type": "partition", "uuid": "" }, "/dev/vda2": { "fstype": "vfat", "label": "", "name": "/dev/vda2", "size": "100M", "type": "partition", "uuid": "7B77-95E7" }, "/dev/vda3": { "fstype": "xfs", "label": "root", "name": "/dev/vda3", "size": "9.9G", "type": "partition", "uuid": "853ae189-b3fe-4a45-8485-75bbb1421bbe" }, "/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/tmpw6dixrb5/tests/verify-role-results.yml:19 Thursday 21 July 2022 14:24:24 +0000 (0:00:00.369) 0:04:11.067 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.003467", "end": "2022-07-21 10:24:24.143798", "rc": 0, "start": "2022-07-21 10:24:24.140331" } STDOUT: UUID=853ae189-b3fe-4a45-8485-75bbb1421bbe / xfs defaults 0 0 UUID=7B77-95E7 /boot/efi vfat defaults,uid=0,gid=0,umask=077,shortname=winnt 0 2 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpw6dixrb5/tests/verify-role-results.yml:24 Thursday 21 July 2022 14:24:24 +0000 (0:00:00.437) 0:04:11.505 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.003271", "end": "2022-07-21 10:24:24.522643", "failed_when_result": false, "rc": 1, "start": "2022-07-21 10:24:24.519372" } STDERR: cat: /etc/crypttab: No such file or directory MSG: non-zero return code TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmpw6dixrb5/tests/verify-role-results.yml:33 Thursday 21 July 2022 14:24:24 +0000 (0:00:00.381) 0:04:11.886 ********* included: /tmp/tmpw6dixrb5/tests/test-verify-pool.yml for /cache/rhel-8.qcow2 => (item={'disks': ['sda', 'sdb'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'name': 'vg1', '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': 'lv1', 'raid_level': 'raid0', 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': ['sda', 'sdb'], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1'}], 'raid_chunk_size': None}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-pool.yml:5 Thursday 21 July 2022 14:24:25 +0000 (0:00:00.097) 0:04:11.984 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool.yml:18 Thursday 21 July 2022 14:24:25 +0000 (0:00:00.037) 0:04:12.022 ********* included: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml for /cache/rhel-8.qcow2 => (item=members) included: /tmp/tmpw6dixrb5/tests/test-verify-pool-volumes.yml for /cache/rhel-8.qcow2 => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:1 Thursday 21 July 2022 14:24:25 +0000 (0:00:00.050) 0:04:12.073 ********* ok: [/cache/rhel-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/tmpw6dixrb5/tests/test-verify-pool-members.yml:10 Thursday 21 July 2022 14:24:25 +0000 (0:00:00.054) 0:04:12.127 ********* TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:19 Thursday 21 July 2022 14:24:25 +0000 (0:00:00.023) 0:04:12.151 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "__pvs_lvm_len": "0" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:23 Thursday 21 July 2022 14:24:25 +0000 (0:00:00.052) 0:04:12.203 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_pool_pvs": [] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:27 Thursday 21 July 2022 14:24:25 +0000 (0:00:00.049) 0:04:12.253 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:34 Thursday 21 July 2022 14:24:25 +0000 (0:00:00.047) 0:04:12.300 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:38 Thursday 21 July 2022 14:24:25 +0000 (0:00:00.042) 0:04:12.343 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_type": "partition" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:42 Thursday 21 July 2022 14:24:25 +0000 (0:00:00.051) 0:04:12.395 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:46 Thursday 21 July 2022 14:24:25 +0000 (0:00:00.024) 0:04:12.420 ********* TASK [Check MD RAID] *********************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:56 Thursday 21 July 2022 14:24:25 +0000 (0:00:00.023) 0:04:12.444 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml for /cache/rhel-8.qcow2 TASK [get information about RAID] ********************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:6 Thursday 21 July 2022 14:24:25 +0000 (0:00:00.056) 0:04:12.500 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:12 Thursday 21 July 2022 14:24:25 +0000 (0:00:00.025) 0:04:12.526 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:16 Thursday 21 July 2022 14:24:25 +0000 (0:00:00.024) 0:04:12.550 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:20 Thursday 21 July 2022 14:24:25 +0000 (0:00:00.023) 0:04:12.573 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:24 Thursday 21 July 2022 14:24:25 +0000 (0:00:00.027) 0:04:12.601 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:30 Thursday 21 July 2022 14:24:25 +0000 (0:00:00.027) 0:04:12.628 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:36 Thursday 21 July 2022 14:24:25 +0000 (0:00:00.026) 0:04:12.655 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-md.yml:44 Thursday 21 July 2022 14:24:25 +0000 (0:00:00.027) 0:04:12.683 ********* ok: [/cache/rhel-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/tmpw6dixrb5/tests/test-verify-pool-members.yml:59 Thursday 21 July 2022 14:24:25 +0000 (0:00:00.038) 0:04:12.721 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-members-lvmraid.yml for /cache/rhel-8.qcow2 TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-members-lvmraid.yml:1 Thursday 21 July 2022 14:24:25 +0000 (0:00:00.042) 0:04:12.763 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-member-lvmraid.yml for /cache/rhel-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': 'lv1', 'raid_level': 'raid0', 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': ['sda', 'sdb'], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1'}) TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-lvmraid.yml:3 Thursday 21 July 2022 14:24:25 +0000 (0:00:00.045) 0:04:12.809 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-lvmraid.yml:8 Thursday 21 July 2022 14:24:25 +0000 (0:00:00.030) 0:04:12.839 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-lvmraid.yml:12 Thursday 21 July 2022 14:24:25 +0000 (0:00:00.028) 0:04:12.867 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:62 Thursday 21 July 2022 14:24:25 +0000 (0:00:00.026) 0:04:12.894 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-members-thin.yml for /cache/rhel-8.qcow2 TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-members-thin.yml:1 Thursday 21 July 2022 14:24:26 +0000 (0:00:00.045) 0:04:12.940 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-member-thin.yml for /cache/rhel-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': 'lv1', 'raid_level': 'raid0', 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': ['sda', 'sdb'], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1'}) TASK [Get information about thinpool] ****************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-thin.yml:3 Thursday 21 July 2022 14:24:26 +0000 (0:00:00.045) 0:04:12.985 ********* skipping: [/cache/rhel-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/tmpw6dixrb5/tests/verify-pool-member-thin.yml:8 Thursday 21 July 2022 14:24:26 +0000 (0:00:00.024) 0:04:13.010 ********* skipping: [/cache/rhel-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/tmpw6dixrb5/tests/verify-pool-member-thin.yml:13 Thursday 21 July 2022 14:24:26 +0000 (0:00:00.025) 0:04:13.035 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-thin.yml:17 Thursday 21 July 2022 14:24:26 +0000 (0:00:00.024) 0:04:13.060 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:65 Thursday 21 July 2022 14:24:26 +0000 (0:00:00.025) 0:04:13.085 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-members-encryption.yml for /cache/rhel-8.qcow2 TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-members-encryption.yml:4 Thursday 21 July 2022 14:24:26 +0000 (0:00:00.047) 0:04:13.133 ********* ok: [/cache/rhel-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/tmpw6dixrb5/tests/verify-pool-members-encryption.yml:8 Thursday 21 July 2022 14:24:26 +0000 (0:00:00.104) 0:04:13.238 ********* TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-members-encryption.yml:15 Thursday 21 July 2022 14:24:26 +0000 (0:00:00.024) 0:04:13.262 ********* TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-members-encryption.yml:22 Thursday 21 July 2022 14:24:26 +0000 (0:00:00.066) 0:04:13.328 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:68 Thursday 21 July 2022 14:24:26 +0000 (0:00:00.033) 0:04:13.362 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-members-vdo.yml for /cache/rhel-8.qcow2 TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-members-vdo.yml:1 Thursday 21 July 2022 14:24:26 +0000 (0:00:00.045) 0:04:13.407 ********* included: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml for /cache/rhel-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': 'lv1', 'raid_level': 'raid0', 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': ['sda', 'sdb'], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1'}) TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:3 Thursday 21 July 2022 14:24:26 +0000 (0:00:00.045) 0:04:13.453 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:8 Thursday 21 July 2022 14:24:26 +0000 (0:00:00.025) 0:04:13.479 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:11 Thursday 21 July 2022 14:24:26 +0000 (0:00:00.025) 0:04:13.504 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:16 Thursday 21 July 2022 14:24:26 +0000 (0:00:00.023) 0:04:13.527 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:21 Thursday 21 July 2022 14:24:26 +0000 (0:00:00.025) 0:04:13.553 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:24 Thursday 21 July 2022 14:24:26 +0000 (0:00:00.025) 0:04:13.579 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:29 Thursday 21 July 2022 14:24:26 +0000 (0:00:00.025) 0:04:13.604 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/verify-pool-member-vdo.yml:39 Thursday 21 July 2022 14:24:26 +0000 (0:00:00.024) 0:04:13.629 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-pool-members.yml:71 Thursday 21 July 2022 14:24:26 +0000 (0:00:00.039) 0:04:13.669 ********* ok: [/cache/rhel-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/tmpw6dixrb5/tests/test-verify-pool-volumes.yml:3 Thursday 21 July 2022 14:24:26 +0000 (0:00:00.036) 0:04:13.705 ********* included: /tmp/tmpw6dixrb5/tests/test-verify-volume.yml for /cache/rhel-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': 'lv1', 'raid_level': 'raid0', 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': ['sda', 'sdb'], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1'}) TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume.yml:2 Thursday 21 July 2022 14:24:26 +0000 (0:00:00.045) 0:04:13.750 ********* ok: [/cache/rhel-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/tmpw6dixrb5/tests/test-verify-volume.yml:10 Thursday 21 July 2022 14:24:26 +0000 (0:00:00.050) 0:04:13.801 ********* included: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml for /cache/rhel-8.qcow2 => (item=mount) included: /tmp/tmpw6dixrb5/tests/test-verify-volume-fstab.yml for /cache/rhel-8.qcow2 => (item=fstab) included: /tmp/tmpw6dixrb5/tests/test-verify-volume-fs.yml for /cache/rhel-8.qcow2 => (item=fs) included: /tmp/tmpw6dixrb5/tests/test-verify-volume-device.yml for /cache/rhel-8.qcow2 => (item=device) included: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml for /cache/rhel-8.qcow2 => (item=encryption) included: /tmp/tmpw6dixrb5/tests/test-verify-volume-md.yml for /cache/rhel-8.qcow2 => (item=md) included: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml for /cache/rhel-8.qcow2 => (item=size) included: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml for /cache/rhel-8.qcow2 => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:6 Thursday 21 July 2022 14:24:26 +0000 (0:00:00.086) 0:04:13.887 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/vg1-lv1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:14 Thursday 21 July 2022 14:24:27 +0000 (0:00:00.044) 0:04:13.931 ********* ok: [/cache/rhel-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/tmpw6dixrb5/tests/test-verify-volume-mount.yml:28 Thursday 21 July 2022 14:24:27 +0000 (0:00:00.055) 0:04:13.987 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:37 Thursday 21 July 2022 14:24:27 +0000 (0:00:00.024) 0:04:14.012 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:45 Thursday 21 July 2022 14:24:27 +0000 (0:00:00.050) 0:04:14.062 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [command] ***************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:54 Thursday 21 July 2022 14:24:27 +0000 (0:00:00.041) 0:04:14.103 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:58 Thursday 21 July 2022 14:24:27 +0000 (0:00:00.024) 0:04:14.127 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:63 Thursday 21 July 2022 14:24:27 +0000 (0:00:00.024) 0:04:14.152 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-mount.yml:75 Thursday 21 July 2022 14:24:27 +0000 (0:00:00.025) 0:04:14.178 ********* ok: [/cache/rhel-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/tmpw6dixrb5/tests/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 14:24:27 +0000 (0:00:00.039) 0:04:14.217 ********* ok: [/cache/rhel-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/tmpw6dixrb5/tests/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 14:24:27 +0000 (0:00:00.059) 0:04:14.276 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-fstab.yml:32 Thursday 21 July 2022 14:24:27 +0000 (0:00:00.023) 0:04:14.300 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-fstab.yml:39 Thursday 21 July 2022 14:24:27 +0000 (0:00:00.053) 0:04:14.353 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-fstab.yml:49 Thursday 21 July 2022 14:24:27 +0000 (0:00:00.036) 0:04:14.390 ********* ok: [/cache/rhel-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/tmpw6dixrb5/tests/test-verify-volume-fs.yml:4 Thursday 21 July 2022 14:24:27 +0000 (0:00:00.035) 0:04:14.426 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify fs label] ********************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-fs.yml:10 Thursday 21 July 2022 14:24:27 +0000 (0:00:00.024) 0:04:14.450 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [See whether the device node is present] ********************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-device.yml:4 Thursday 21 July 2022 14:24:27 +0000 (0:00:00.025) 0:04:14.475 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "stat": { "exists": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-device.yml:10 Thursday 21 July 2022 14:24:27 +0000 (0:00:00.388) 0:04:14.864 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-device.yml:18 Thursday 21 July 2022 14:24:28 +0000 (0:00:00.040) 0:04:14.905 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-device.yml:24 Thursday 21 July 2022 14:24:28 +0000 (0:00:00.033) 0:04:14.938 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-device.yml:28 Thursday 21 July 2022 14:24:28 +0000 (0:00:00.043) 0:04:14.981 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-device.yml:33 Thursday 21 July 2022 14:24:28 +0000 (0:00:00.024) 0:04:15.006 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 14:24:28 +0000 (0:00:00.025) 0:04:15.031 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 14:24:28 +0000 (0:00:00.026) 0:04:15.058 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 14:24:29 +0000 (0:00:01.318) 0:04:16.376 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 14:24:29 +0000 (0:00:00.023) 0:04:16.400 ********* skipping: [/cache/rhel-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/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:30 Thursday 21 July 2022 14:24:29 +0000 (0:00:00.022) 0:04:16.423 ********* skipping: [/cache/rhel-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/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:38 Thursday 21 July 2022 14:24:29 +0000 (0:00:00.021) 0:04:16.445 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 14:24:29 +0000 (0:00:00.025) 0:04:16.471 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:49 Thursday 21 July 2022 14:24:29 +0000 (0:00:00.026) 0:04:16.497 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:55 Thursday 21 July 2022 14:24:29 +0000 (0:00:00.026) 0:04:16.523 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:61 Thursday 21 July 2022 14:24:29 +0000 (0:00:00.026) 0:04:16.549 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 14:24:29 +0000 (0:00:00.027) 0:04:16.576 ********* ok: [/cache/rhel-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/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:74 Thursday 21 July 2022 14:24:29 +0000 (0:00:00.053) 0:04:16.630 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:79 Thursday 21 July 2022 14:24:29 +0000 (0:00:00.049) 0:04:16.680 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:85 Thursday 21 July 2022 14:24:29 +0000 (0:00:00.037) 0:04:16.717 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:91 Thursday 21 July 2022 14:24:29 +0000 (0:00:00.034) 0:04:16.752 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:97 Thursday 21 July 2022 14:24:29 +0000 (0:00:00.036) 0:04:16.788 ********* ok: [/cache/rhel-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/tmpw6dixrb5/tests/test-verify-volume-md.yml:7 Thursday 21 July 2022 14:24:29 +0000 (0:00:00.034) 0:04:16.822 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-md.yml:13 Thursday 21 July 2022 14:24:29 +0000 (0:00:00.039) 0:04:16.862 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-md.yml:17 Thursday 21 July 2022 14:24:30 +0000 (0:00:00.034) 0:04:16.897 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-md.yml:21 Thursday 21 July 2022 14:24:30 +0000 (0:00:00.038) 0:04:16.935 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-md.yml:25 Thursday 21 July 2022 14:24:30 +0000 (0:00:00.034) 0:04:16.970 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-md.yml:31 Thursday 21 July 2022 14:24:30 +0000 (0:00:00.040) 0:04:17.011 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-md.yml:37 Thursday 21 July 2022 14:24:30 +0000 (0:00:00.038) 0:04:17.049 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:3 Thursday 21 July 2022 14:24:30 +0000 (0:00:00.035) 0:04:17.085 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:9 Thursday 21 July 2022 14:24:30 +0000 (0:00:00.022) 0:04:17.107 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:15 Thursday 21 July 2022 14:24:30 +0000 (0:00:00.038) 0:04:17.146 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:20 Thursday 21 July 2022 14:24:30 +0000 (0:00:00.035) 0:04:17.181 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_expected_size": "2147483648" } TASK [debug] ******************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:25 Thursday 21 July 2022 14:24:30 +0000 (0:00:00.038) 0:04:17.219 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:28 Thursday 21 July 2022 14:24:30 +0000 (0:00:00.038) 0:04:17.258 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:31 Thursday 21 July 2022 14:24:30 +0000 (0:00:00.040) 0:04:17.298 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:36 Thursday 21 July 2022 14:24:30 +0000 (0:00:00.036) 0:04:17.335 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:39 Thursday 21 July 2022 14:24:30 +0000 (0:00:00.036) 0:04:17.372 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:44 Thursday 21 July 2022 14:24:30 +0000 (0:00:00.036) 0:04:17.408 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_actual_size": { "changed": false, "skip_reason": "Conditional result was False", "skipped": true } } TASK [debug] ******************************************************************* task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:47 Thursday 21 July 2022 14:24:30 +0000 (0:00:00.039) 0:04:17.448 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_expected_size": "2147483648" } TASK [assert] ****************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-size.yml:50 Thursday 21 July 2022 14:24:30 +0000 (0:00:00.037) 0:04:17.485 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about the LV] ******************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml:6 Thursday 21 July 2022 14:24:30 +0000 (0:00:00.023) 0:04:17.509 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml:14 Thursday 21 July 2022 14:24:30 +0000 (0:00:00.024) 0:04:17.534 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check segment type] ****************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml:17 Thursday 21 July 2022 14:24:30 +0000 (0:00:00.024) 0:04:17.558 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml:22 Thursday 21 July 2022 14:24:30 +0000 (0:00:00.023) 0:04:17.581 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml:26 Thursday 21 July 2022 14:24:30 +0000 (0:00:00.025) 0:04:17.607 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml:32 Thursday 21 July 2022 14:24:30 +0000 (0:00:00.025) 0:04:17.632 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume-cache.yml:36 Thursday 21 July 2022 14:24:30 +0000 (0:00:00.025) 0:04:17.658 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpw6dixrb5/tests/test-verify-volume.yml:16 Thursday 21 July 2022 14:24:30 +0000 (0:00:00.062) 0:04:17.721 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpw6dixrb5/tests/verify-role-results.yml:43 Thursday 21 July 2022 14:24:30 +0000 (0:00:00.033) 0:04:17.754 ********* TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpw6dixrb5/tests/verify-role-results.yml:53 Thursday 21 July 2022 14:24:30 +0000 (0:00:00.022) 0:04:17.777 ********* ok: [/cache/rhel-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/rhel-8.qcow2 : ok=1124 changed=17 unreachable=0 failed=0 skipped=989 rescued=0 ignored=0 Thursday 21 July 2022 14:24:30 +0000 (0:00:00.045) 0:04:17.822 ********* =============================================================================== linux-system-roles.storage : make sure blivet is available ------------- 51.67s /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 linux-system-roles.storage : manage the pools and volumes to match the specified state --- 8.35s /tmp/tmpw6dixrb5/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 --- 3.67s /tmp/tmpw6dixrb5/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 --- 3.12s /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 linux-system-roles.storage : manage the pools and volumes to match the specified state --- 2.89s /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 linux-system-roles.storage : manage the pools and volumes to match the specified state --- 2.85s /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 linux-system-roles.storage : manage the pools and volumes to match the specified state --- 2.83s /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 linux-system-roles.storage : manage the pools and volumes to match the specified state --- 2.41s /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Gathering Facts --------------------------------------------------------- 2.21s /tmp/tmpw6dixrb5/tests/tests_create_raid_pool_then_remove.yml:2 --------------- linux-system-roles.storage : manage the pools and volumes to match the specified state --- 2.14s /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 linux-system-roles.storage : get service facts -------------------------- 1.83s /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 linux-system-roles.storage : manage the pools and volumes to match the specified state --- 1.82s /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Ensure cryptsetup is present -------------------------------------------- 1.77s /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:10 ------------------- set up internal repositories -------------------------------------------- 1.42s /cache/rhel-8_setup.yml:5 ----------------------------------------------------- Ensure cryptsetup is present -------------------------------------------- 1.34s /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:10 ------------------- linux-system-roles.storage : set up new/current mounts ------------------ 1.33s /tmp/tmpw6dixrb5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:151 Ensure cryptsetup is present -------------------------------------------- 1.33s /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:10 ------------------- Ensure cryptsetup is present -------------------------------------------- 1.32s /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:10 ------------------- Ensure cryptsetup is present -------------------------------------------- 1.31s /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:10 ------------------- Ensure cryptsetup is present -------------------------------------------- 1.30s /tmp/tmpw6dixrb5/tests/test-verify-volume-encryption.yml:10 ------------------- ansible-playbook [core 2.12.6] config file = /etc/ansible/ansible.cfg configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python3.9/site-packages/ansible ansible collection location = /tmp/tmpj2uhjp4w 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: rhel-8_setup.yml ***************************************************** 1 plays in /cache/rhel-8_setup.yml PLAY [Setup repos] ************************************************************* META: ran handlers TASK [set up internal repositories] ******************************************** task path: /cache/rhel-8_setup.yml:5 Thursday 21 July 2022 19:36:20 +0000 (0:00:00.019) 0:00:00.019 ********* changed: [/cache/rhel-8.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } changed: [/cache/rhel-8.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } changed: [/cache/rhel-8.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } changed: [/cache/rhel-8.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-8.qcow2 : ok=1 changed=1 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Thursday 21 July 2022 19:36:22 +0000 (0:00:01.340) 0:00:01.359 ********* =============================================================================== set up internal repositories -------------------------------------------- 1.34s /cache/rhel-8_setup.yml:5 ----------------------------------------------------- PLAYBOOK: tests_create_raid_pool_then_remove_scsi_generated.yml **************** 2 plays in /tmp/tmpcv9gbk7i/tests/storage/tests_create_raid_pool_then_remove_scsi_generated.yml PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/tests_create_raid_pool_then_remove_scsi_generated.yml:3 Thursday 21 July 2022 19:36:22 +0000 (0:00:00.049) 0:00:01.408 ********* ok: [/cache/rhel-8.qcow2] META: ran handlers TASK [set disk interface for test] ********************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/tests_create_raid_pool_then_remove_scsi_generated.yml:7 Thursday 21 July 2022 19:36:23 +0000 (0:00:01.408) 0:00:02.816 ********* ok: [/cache/rhel-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/tmpcv9gbk7i/tests/storage/tests_create_raid_pool_then_remove.yml:2 Thursday 21 July 2022 19:36:23 +0000 (0:00:00.048) 0:00:02.865 ********* ok: [/cache/rhel-8.qcow2] META: ran handlers TASK [include_role : fedora.linux_system_roles.storage] ************************ task path: /tmp/tmpcv9gbk7i/tests/storage/tests_create_raid_pool_then_remove.yml:17 Thursday 21 July 2022 19:36:25 +0000 (0:00:01.817) 0:00:04.683 ********* TASK [fedora.linux_system_roles.storage : set platform/version specific variables] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Thursday 21 July 2022 19:36:25 +0000 (0:00:00.039) 0:00:04.722 ********* included: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for /cache/rhel-8.qcow2 TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Thursday 21 July 2022 19:36:25 +0000 (0:00:00.031) 0:00:04.753 ********* ok: [/cache/rhel-8.qcow2] TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Thursday 21 July 2022 19:36:26 +0000 (0:00:00.755) 0:00:05.509 ********* skipping: [/cache/rhel-8.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/rhel-8.qcow2] => (item=RedHat_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/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/vars/RedHat_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.yml" } skipping: [/cache/rhel-8.qcow2] => (item=RedHat_8.6.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.6.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Thursday 21 July 2022 19:36:26 +0000 (0:00:00.077) 0:00:05.586 ********* ok: [/cache/rhel-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/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Thursday 21 July 2022 19:36:26 +0000 (0:00:00.032) 0:00:05.619 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : include the appropriate provider tasks] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Thursday 21 July 2022 19:36:26 +0000 (0:00:00.031) 0:00:05.650 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for /cache/rhel-8.qcow2 TASK [fedora.linux_system_roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 19:36:26 +0000 (0:00:00.056) 0:00:05.706 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure blivet is available] ******* task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 19:36:26 +0000 (0:00:00.023) 0:00:05.730 ********* changed: [/cache/rhel-8.qcow2] => { "changed": true, "rc": 0, "results": [ "Installed: libblockdev-loop-2.24-8.el8.x86_64", "Installed: libblockdev-lvm-2.24-8.el8.x86_64", "Installed: device-mapper-event-8:1.02.181-3.el8.x86_64", "Installed: libblockdev-mdraid-2.24-8.el8.x86_64", "Installed: device-mapper-event-libs-8:1.02.181-3.el8.x86_64", "Installed: libblockdev-mpath-2.24-8.el8.x86_64", "Installed: device-mapper-multipath-0.8.4-22.el8.x86_64", "Installed: libblockdev-nvdimm-2.24-8.el8.x86_64", "Installed: device-mapper-multipath-libs-0.8.4-22.el8.x86_64", "Installed: libblockdev-part-2.24-8.el8.x86_64", "Installed: device-mapper-persistent-data-0.9.0-6.el8.x86_64", "Installed: libblockdev-swap-2.24-8.el8.x86_64", "Installed: libaio-0.3.112-1.el8.x86_64", "Installed: libblockdev-utils-2.24-8.el8.x86_64", "Installed: libbytesize-1.4-3.el8.x86_64", "Installed: python3-blivet-1:3.4.0-9.el8.noarch", "Installed: python3-blockdev-2.24-8.el8.x86_64", "Installed: python3-pyparted-1:3.11.7-4.el8.x86_64", "Installed: python3-bytesize-1.4-3.el8.x86_64", "Installed: blivet-data-1:3.4.0-9.el8.noarch", "Installed: lsof-4.93.2-1.el8.x86_64", "Installed: lvm2-8:2.03.14-3.el8.x86_64", "Installed: lvm2-libs-8:2.03.14-3.el8.x86_64", "Installed: volume_key-libs-0.3.11-5.el8.x86_64", "Installed: nspr-4.32.0-1.el8_4.x86_64", "Installed: nss-3.67.0-7.el8_5.x86_64", "Installed: mdadm-4.2-2.el8.x86_64", "Installed: nss-softokn-3.67.0-7.el8_5.x86_64", "Installed: nss-softokn-freebl-3.67.0-7.el8_5.x86_64", "Installed: nss-sysinit-3.67.0-7.el8_5.x86_64", "Installed: nss-util-3.67.0-7.el8_5.x86_64", "Installed: userspace-rcu-0.10.1-4.el8.x86_64", "Installed: vdo-6.2.6.14-14.el8.x86_64", "Installed: ndctl-71.1-3.el8.x86_64", "Installed: ndctl-libs-71.1-3.el8.x86_64", "Installed: daxctl-libs-71.1-3.el8.x86_64", "Installed: libblockdev-2.24-8.el8.x86_64", "Installed: kmod-kvdo-6.2.6.14-84.el8.x86_64", "Installed: libblockdev-crypto-2.24-8.el8.x86_64", "Installed: libblockdev-dm-2.24-8.el8.x86_64", "Installed: libblockdev-fs-2.24-8.el8.x86_64", "Installed: libblockdev-kbd-2.24-8.el8.x86_64" ] } TASK [fedora.linux_system_roles.storage : show storage_pools] ****************** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:13 Thursday 21 July 2022 19:37:17 +0000 (0:00:50.561) 0:00:56.291 ********* ok: [/cache/rhel-8.qcow2] => { "storage_pools": "VARIABLE IS NOT DEFINED!: 'storage_pools' is undefined" } TASK [fedora.linux_system_roles.storage : show storage_volumes] **************** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:18 Thursday 21 July 2022 19:37:17 +0000 (0:00:00.035) 0:00:56.326 ********* ok: [/cache/rhel-8.qcow2] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [fedora.linux_system_roles.storage : get required packages] *************** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:23 Thursday 21 July 2022 19:37:17 +0000 (0:00:00.034) 0:00:56.361 ********* ok: [/cache/rhel-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/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:35 Thursday 21 July 2022 19:37:17 +0000 (0:00:00.722) 0:00:57.083 ********* included: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/enable_coprs.yml for /cache/rhel-8.qcow2 TASK [fedora.linux_system_roles.storage : check if the COPR support packages should be installed] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/enable_coprs.yml:2 Thursday 21 July 2022 19:37:17 +0000 (0:00:00.043) 0:00:57.127 ********* TASK [fedora.linux_system_roles.storage : make sure COPR support packages are present] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/enable_coprs.yml:13 Thursday 21 July 2022 19:37:17 +0000 (0:00:00.032) 0:00:57.159 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : enable COPRs] ************************ task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/enable_coprs.yml:18 Thursday 21 July 2022 19:37:17 +0000 (0:00:00.036) 0:00:57.196 ********* TASK [fedora.linux_system_roles.storage : make sure required packages are installed] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:41 Thursday 21 July 2022 19:37:18 +0000 (0:00:00.040) 0:00:57.237 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.storage : get service facts] ******************* task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 Thursday 21 July 2022 19:37:19 +0000 (0:00:01.268) 0:00:58.506 ********* ok: [/cache/rhel-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" }, "arp-ethers.service": { "name": "arp-ethers.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "auditd.service": { "name": "auditd.service", "source": "systemd", "state": "running", "status": "enabled" }, "auth-rpcgss-module.service": { "name": "auth-rpcgss-module.service", "source": "systemd", "state": "stopped", "status": "static" }, "autovt@.service": { "name": "autovt@.service", "source": "systemd", "state": "unknown", "status": "enabled" }, "blivet.service": { "name": "blivet.service", "source": "systemd", "state": "inactive", "status": "static" }, "blk-availability.service": { "name": "blk-availability.service", "source": "systemd", "state": "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" }, "dbxtool.service": { "name": "dbxtool.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "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" }, "insights-client-boot.service": { "name": "insights-client-boot.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "insights-client-results.service": { "name": "insights-client-results.service", "source": "systemd", "state": "inactive", "status": "static" }, "insights-client.service": { "name": "insights-client.service", "source": "systemd", "state": "inactive", "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" }, "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" }, "rhcd.service": { "name": "rhcd.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "rhsm-facts.service": { "name": "rhsm-facts.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "rhsm.service": { "name": "rhsm.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "rhsmcertd.service": { "name": "rhsmcertd.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-r1c27823d2a154146883e0e4c6bda3ae2.service": { "name": "run-r1c27823d2a154146883e0e4c6bda3ae2.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-fsck@dev-disk-by\\x2duuid-7B77\\x2d95E7.service": { "name": "systemd-fsck@dev-disk-by\\x2duuid-7B77\\x2d95E7.service", "source": "systemd", "state": "stopped", "status": "active" }, "systemd-halt.service": { "name": "systemd-halt.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-hibernate-resume@.service": { "name": "systemd-hibernate-resume@.service", "source": "systemd", "state": "unknown", "status": "static" }, "systemd-hibernate.service": { "name": "systemd-hibernate.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-hostnamed.service": { "name": "systemd-hostnamed.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-hwdb-update.service": { "name": "systemd-hwdb-update.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-hybrid-sleep.service": { "name": "systemd-hybrid-sleep.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-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": "stopped", "status": "static" }, "systemd-random-seed.service": { "name": "systemd-random-seed.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-reboot.service": { "name": "systemd-reboot.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-remount-fs.service": { "name": "systemd-remount-fs.service", "source": "systemd", "state": "stopped", "status": "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/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:53 Thursday 21 July 2022 19:37:21 +0000 (0:00:01.809) 0:01:00.316 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 19:37:21 +0000 (0:00:00.091) 0:01:00.408 ********* TASK [fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Thursday 21 July 2022 19:37:21 +0000 (0:00:00.022) 0:01:00.431 ********* ok: [/cache/rhel-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/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:78 Thursday 21 July 2022 19:37:21 +0000 (0:00:00.552) 0:01:00.983 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Thursday 21 July 2022 19:37:21 +0000 (0:00:00.039) 0:01:01.023 ********* TASK [fedora.linux_system_roles.storage : show blivet_output] ****************** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:96 Thursday 21 July 2022 19:37:21 +0000 (0:00:00.020) 0:01:01.043 ********* ok: [/cache/rhel-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/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:101 Thursday 21 July 2022 19:37:21 +0000 (0:00:00.064) 0:01:01.108 ********* ok: [/cache/rhel-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/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:105 Thursday 21 July 2022 19:37:21 +0000 (0:00:00.076) 0:01:01.185 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : remove obsolete mounts] ************** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:121 Thursday 21 July 2022 19:37:22 +0000 (0:00:00.044) 0:01:01.229 ********* TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 Thursday 21 July 2022 19:37:22 +0000 (0:00:00.037) 0:01:01.267 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : set up new/current mounts] *********** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:137 Thursday 21 July 2022 19:37:22 +0000 (0:00:00.025) 0:01:01.292 ********* TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:148 Thursday 21 July 2022 19:37:22 +0000 (0:00:00.035) 0:01:01.327 ********* skipping: [/cache/rhel-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/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:156 Thursday 21 July 2022 19:37:22 +0000 (0:00:00.051) 0:01:01.379 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:161 Thursday 21 July 2022 19:37:22 +0000 (0:00:00.474) 0:01:01.854 ********* TASK [fedora.linux_system_roles.storage : Update facts] ************************ task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 Thursday 21 July 2022 19:37:22 +0000 (0:00:00.022) 0:01:01.877 ********* ok: [/cache/rhel-8.qcow2] META: role_complete for /cache/rhel-8.qcow2 TASK [Mark tasks to be skipped] ************************************************ task path: /tmp/tmpcv9gbk7i/tests/storage/tests_create_raid_pool_then_remove.yml:20 Thursday 21 July 2022 19:37:23 +0000 (0:00:00.967) 0:01:02.844 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_skip_checks": [ "blivet_available", "packages_installed", "service_facts" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/tests_create_raid_pool_then_remove.yml:27 Thursday 21 July 2022 19:37:23 +0000 (0:00:00.035) 0:01:02.880 ********* included: /tmp/tmpcv9gbk7i/tests/storage/get_unused_disk.yml for /cache/rhel-8.qcow2 TASK [Find unused disks in the system] ***************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/get_unused_disk.yml:2 Thursday 21 July 2022 19:37:23 +0000 (0:00:00.036) 0:01:02.917 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "disks": [ "sda", "sdb" ] } TASK [Set unused_disks if necessary] ******************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/get_unused_disk.yml:9 Thursday 21 July 2022 19:37:24 +0000 (0:00:00.522) 0:01:03.439 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "unused_disks": [ "sda", "sdb" ] }, "changed": false } TASK [Exit playbook when there's not enough unused disks in the system] ******** task path: /tmp/tmpcv9gbk7i/tests/storage/get_unused_disk.yml:14 Thursday 21 July 2022 19:37:24 +0000 (0:00:00.038) 0:01:03.477 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Print unused disks] ****************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/get_unused_disk.yml:19 Thursday 21 July 2022 19:37:24 +0000 (0:00:00.039) 0:01:03.517 ********* ok: [/cache/rhel-8.qcow2] => { "unused_disks": [ "sda", "sdb" ] } TASK [Create a RAID0 device] *************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/tests_create_raid_pool_then_remove.yml:31 Thursday 21 July 2022 19:37:24 +0000 (0:00:00.035) 0:01:03.552 ********* TASK [fedora.linux_system_roles.storage : set platform/version specific variables] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Thursday 21 July 2022 19:37:24 +0000 (0:00:00.044) 0:01:03.596 ********* included: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for /cache/rhel-8.qcow2 TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Thursday 21 July 2022 19:37:24 +0000 (0:00:00.035) 0:01:03.632 ********* ok: [/cache/rhel-8.qcow2] TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Thursday 21 July 2022 19:37:24 +0000 (0:00:00.547) 0:01:04.180 ********* skipping: [/cache/rhel-8.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/rhel-8.qcow2] => (item=RedHat_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/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/vars/RedHat_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.yml" } skipping: [/cache/rhel-8.qcow2] => (item=RedHat_8.6.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.6.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Thursday 21 July 2022 19:37:25 +0000 (0:00:00.096) 0:01:04.276 ********* ok: [/cache/rhel-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/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Thursday 21 July 2022 19:37:25 +0000 (0:00:00.068) 0:01:04.345 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : include the appropriate provider tasks] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Thursday 21 July 2022 19:37:25 +0000 (0:00:00.093) 0:01:04.438 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for /cache/rhel-8.qcow2 TASK [fedora.linux_system_roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 19:37:25 +0000 (0:00:00.056) 0:01:04.495 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure blivet is available] ******* task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 19:37:25 +0000 (0:00:00.022) 0:01:04.517 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : show storage_pools] ****************** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:13 Thursday 21 July 2022 19:37:25 +0000 (0:00:00.029) 0:01:04.547 ********* ok: [/cache/rhel-8.qcow2] => { "storage_pools": [ { "disks": [ "sda", "sdb" ], "name": "vg1", "raid_level": "raid0", "state": "present", "type": "lvm", "volumes": [ { "mount_point": "/opt/test1", "name": "lv1", "size": "2g" }, { "mount_point": "/opt/test2", "name": "lv2", "size": "3g" }, { "mount_point": "/opt/test3", "name": "lv3", "size": "3g" } ] } ] } TASK [fedora.linux_system_roles.storage : show storage_volumes] **************** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:18 Thursday 21 July 2022 19:37:25 +0000 (0:00:00.042) 0:01:04.590 ********* ok: [/cache/rhel-8.qcow2] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [fedora.linux_system_roles.storage : get required packages] *************** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:23 Thursday 21 July 2022 19:37:25 +0000 (0:00:00.037) 0:01:04.627 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : enable copr repositories if needed] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:35 Thursday 21 July 2022 19:37:25 +0000 (0:00:00.033) 0:01:04.660 ********* skipping: [/cache/rhel-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/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:41 Thursday 21 July 2022 19:37:25 +0000 (0:00:00.028) 0:01:04.689 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : get service facts] ******************* task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 Thursday 21 July 2022 19:37:25 +0000 (0:00:00.027) 0:01:04.716 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:53 Thursday 21 July 2022 19:37:25 +0000 (0:00:00.027) 0:01:04.744 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 19:37:25 +0000 (0:00:00.058) 0:01:04.802 ********* TASK [fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Thursday 21 July 2022 19:37:25 +0000 (0:00:00.023) 0:01:04.826 ********* changed: [/cache/rhel-8.qcow2] => { "actions": [ { "action": "create format", "device": "/dev/sdb", "fs_type": "disklabel" }, { "action": "create device", "device": "/dev/sdb1", "fs_type": null }, { "action": "create format", "device": "/dev/sdb1", "fs_type": "mdmember" }, { "action": "create format", "device": "/dev/sda", "fs_type": "disklabel" }, { "action": "create device", "device": "/dev/sda1", "fs_type": null }, { "action": "create format", "device": "/dev/sda1", "fs_type": "mdmember" }, { "action": "create device", "device": "/dev/md/vg1-1", "fs_type": null }, { "action": "create format", "device": "/dev/md/vg1-1", "fs_type": "lvmpv" }, { "action": "create device", "device": "/dev/vg1", "fs_type": null }, { "action": "create device", "device": "/dev/mapper/vg1-lv3", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/vg1-lv3", "fs_type": "xfs" }, { "action": "create device", "device": "/dev/mapper/vg1-lv2", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/vg1-lv2", "fs_type": "xfs" }, { "action": "create device", "device": "/dev/mapper/vg1-lv1", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/vg1-lv1", "fs_type": "xfs" } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb", "/dev/vdc", "/dev/vdd", "/dev/mapper/vg1-lv1", "/dev/mapper/vg1-lv2", "/dev/mapper/vg1-lv3" ], "mounts": [ { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/vg1-lv1", "state": "mounted" }, { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test2", "src": "/dev/mapper/vg1-lv2", "state": "mounted" }, { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test3", "src": "/dev/mapper/vg1-lv3", "state": "mounted" } ], "packages": [ "dosfstools", "xfsprogs", "lvm2", "mdadm" ], "pools": [ { "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": "raid0", "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_kernel_device": "/dev/dm-2", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "_raw_kernel_device": "/dev/dm-2", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "/dev/mapper/vg1-lv2", "_kernel_device": "/dev/dm-1", "_mount_id": "/dev/mapper/vg1-lv2", "_raw_device": "/dev/mapper/vg1-lv2", "_raw_kernel_device": "/dev/dm-1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "lv2", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "/dev/mapper/vg1-lv3", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/vg1-lv3", "_raw_device": "/dev/mapper/vg1-lv3", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test3", "name": "lv3", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } TASK [fedora.linux_system_roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:78 Thursday 21 July 2022 19:37:33 +0000 (0:00:08.296) 0:01:13.122 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Thursday 21 July 2022 19:37:33 +0000 (0:00:00.036) 0:01:13.159 ********* TASK [fedora.linux_system_roles.storage : show blivet_output] ****************** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:96 Thursday 21 July 2022 19:37:33 +0000 (0:00:00.023) 0:01:13.182 ********* ok: [/cache/rhel-8.qcow2] => { "blivet_output": { "actions": [ { "action": "create format", "device": "/dev/sdb", "fs_type": "disklabel" }, { "action": "create device", "device": "/dev/sdb1", "fs_type": null }, { "action": "create format", "device": "/dev/sdb1", "fs_type": "mdmember" }, { "action": "create format", "device": "/dev/sda", "fs_type": "disklabel" }, { "action": "create device", "device": "/dev/sda1", "fs_type": null }, { "action": "create format", "device": "/dev/sda1", "fs_type": "mdmember" }, { "action": "create device", "device": "/dev/md/vg1-1", "fs_type": null }, { "action": "create format", "device": "/dev/md/vg1-1", "fs_type": "lvmpv" }, { "action": "create device", "device": "/dev/vg1", "fs_type": null }, { "action": "create device", "device": "/dev/mapper/vg1-lv3", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/vg1-lv3", "fs_type": "xfs" }, { "action": "create device", "device": "/dev/mapper/vg1-lv2", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/vg1-lv2", "fs_type": "xfs" }, { "action": "create device", "device": "/dev/mapper/vg1-lv1", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/vg1-lv1", "fs_type": "xfs" } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb", "/dev/vdc", "/dev/vdd", "/dev/mapper/vg1-lv1", "/dev/mapper/vg1-lv2", "/dev/mapper/vg1-lv3" ], "mounts": [ { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/vg1-lv1", "state": "mounted" }, { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test2", "src": "/dev/mapper/vg1-lv2", "state": "mounted" }, { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test3", "src": "/dev/mapper/vg1-lv3", "state": "mounted" } ], "packages": [ "dosfstools", "xfsprogs", "lvm2", "mdadm" ], "pools": [ { "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": "raid0", "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_kernel_device": "/dev/dm-2", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "_raw_kernel_device": "/dev/dm-2", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "/dev/mapper/vg1-lv2", "_kernel_device": "/dev/dm-1", "_mount_id": "/dev/mapper/vg1-lv2", "_raw_device": "/dev/mapper/vg1-lv2", "_raw_kernel_device": "/dev/dm-1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "lv2", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "/dev/mapper/vg1-lv3", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/vg1-lv3", "_raw_device": "/dev/mapper/vg1-lv3", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test3", "name": "lv3", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } } TASK [fedora.linux_system_roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:101 Thursday 21 July 2022 19:37:34 +0000 (0:00:00.043) 0:01:13.225 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": "raid0", "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_kernel_device": "/dev/dm-2", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "_raw_kernel_device": "/dev/dm-2", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "/dev/mapper/vg1-lv2", "_kernel_device": "/dev/dm-1", "_mount_id": "/dev/mapper/vg1-lv2", "_raw_device": "/dev/mapper/vg1-lv2", "_raw_kernel_device": "/dev/dm-1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "lv2", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "/dev/mapper/vg1-lv3", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/vg1-lv3", "_raw_device": "/dev/mapper/vg1-lv3", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test3", "name": "lv3", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] }, "changed": false } TASK [fedora.linux_system_roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:105 Thursday 21 July 2022 19:37:34 +0000 (0:00:00.040) 0:01:13.266 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : remove obsolete mounts] ************** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:121 Thursday 21 July 2022 19:37:34 +0000 (0:00:00.037) 0:01:13.304 ********* TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 Thursday 21 July 2022 19:37:34 +0000 (0:00:00.039) 0:01:13.344 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : set up new/current mounts] *********** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:137 Thursday 21 July 2022 19:37:35 +0000 (0:00:00.884) 0:01:14.228 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/rhel-8.qcow2] => (item={'src': '/dev/mapper/vg1-lv1', 'path': '/opt/test1', 'fstype': 'xfs', 'opts': 'defaults', 'dump': 0, 'passno': 0, 'state': 'mounted'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "xfs", "mount_info": { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/vg1-lv1", "state": "mounted" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "/dev/mapper/vg1-lv1" } redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/rhel-8.qcow2] => (item={'src': '/dev/mapper/vg1-lv2', 'path': '/opt/test2', 'fstype': 'xfs', 'opts': 'defaults', 'dump': 0, 'passno': 0, 'state': 'mounted'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "xfs", "mount_info": { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test2", "src": "/dev/mapper/vg1-lv2", "state": "mounted" }, "name": "/opt/test2", "opts": "defaults", "passno": "0", "src": "/dev/mapper/vg1-lv2" } redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/rhel-8.qcow2] => (item={'src': '/dev/mapper/vg1-lv3', 'path': '/opt/test3', 'fstype': 'xfs', 'opts': 'defaults', 'dump': 0, 'passno': 0, 'state': 'mounted'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "xfs", "mount_info": { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test3", "src": "/dev/mapper/vg1-lv3", "state": "mounted" }, "name": "/opt/test3", "opts": "defaults", "passno": "0", "src": "/dev/mapper/vg1-lv3" } TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:148 Thursday 21 July 2022 19:37:36 +0000 (0:00:01.311) 0:01:15.540 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:156 Thursday 21 July 2022 19:37:36 +0000 (0:00:00.645) 0:01:16.185 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:161 Thursday 21 July 2022 19:37:37 +0000 (0:00:00.414) 0:01:16.600 ********* TASK [fedora.linux_system_roles.storage : Update facts] ************************ task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 Thursday 21 July 2022 19:37:37 +0000 (0:00:00.030) 0:01:16.630 ********* ok: [/cache/rhel-8.qcow2] META: role_complete for /cache/rhel-8.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/tests_create_raid_pool_then_remove.yml:52 Thursday 21 July 2022 19:37:38 +0000 (0:00:01.001) 0:01:17.631 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml for /cache/rhel-8.qcow2 TASK [Print out pool information] ********************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml:1 Thursday 21 July 2022 19:37:38 +0000 (0:00:00.042) 0:01:17.674 ********* ok: [/cache/rhel-8.qcow2] => { "_storage_pools_list": [ { "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": "raid0", "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_kernel_device": "/dev/dm-2", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "_raw_kernel_device": "/dev/dm-2", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "/dev/mapper/vg1-lv2", "_kernel_device": "/dev/dm-1", "_mount_id": "/dev/mapper/vg1-lv2", "_raw_device": "/dev/mapper/vg1-lv2", "_raw_kernel_device": "/dev/dm-1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "lv2", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "/dev/mapper/vg1-lv3", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/vg1-lv3", "_raw_device": "/dev/mapper/vg1-lv3", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test3", "name": "lv3", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] } TASK [Print out volume information] ******************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml:6 Thursday 21 July 2022 19:37:38 +0000 (0:00:00.057) 0:01:17.731 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml:14 Thursday 21 July 2022 19:37:38 +0000 (0:00:00.035) 0:01:17.767 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "info": { "/dev/mapper/vg1-lv1": { "fstype": "xfs", "label": "", "name": "/dev/mapper/vg1-lv1", "size": "2G", "type": "lvm", "uuid": "9bee13d1-8215-4cff-9c0e-cd739306d81f" }, "/dev/mapper/vg1-lv2": { "fstype": "xfs", "label": "", "name": "/dev/mapper/vg1-lv2", "size": "3G", "type": "lvm", "uuid": "7a03536b-adeb-4aec-9152-1e00e38a7246" }, "/dev/mapper/vg1-lv3": { "fstype": "xfs", "label": "", "name": "/dev/mapper/vg1-lv3", "size": "3G", "type": "lvm", "uuid": "fd07add7-aa31-46c5-af72-a326a3292f76" }, "/dev/md/vg1-1": { "fstype": "LVM2_member", "label": "", "name": "/dev/md/vg1-1", "size": "20G", "type": "raid0", "uuid": "MLTCq5-hdx3-ClvP-4GEt-csoV-MywN-YOLEAJ" }, "/dev/nvme0n1": { "fstype": "", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme1n1": { "fstype": "", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme2n1": { "fstype": "", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda": { "fstype": "", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda1": { "fstype": "linux_raid_member", "label": "vg1-1", "name": "/dev/sda1", "size": "10G", "type": "partition", "uuid": "5b85ddbe-c5ba-48aa-73d5-19d2ce41db30" }, "/dev/sdb": { "fstype": "", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdb1": { "fstype": "linux_raid_member", "label": "vg1-1", "name": "/dev/sdb1", "size": "10G", "type": "partition", "uuid": "5b85ddbe-c5ba-48aa-73d5-19d2ce41db30" }, "/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-19-36-08-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "", "label": "", "name": "/dev/vda1", "size": "1M", "type": "partition", "uuid": "" }, "/dev/vda2": { "fstype": "vfat", "label": "", "name": "/dev/vda2", "size": "100M", "type": "partition", "uuid": "7B77-95E7" }, "/dev/vda3": { "fstype": "xfs", "label": "root", "name": "/dev/vda3", "size": "9.9G", "type": "partition", "uuid": "853ae189-b3fe-4a45-8485-75bbb1421bbe" }, "/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/tmpcv9gbk7i/tests/storage/verify-role-results.yml:19 Thursday 21 July 2022 19:37:39 +0000 (0:00:00.509) 0:01:18.276 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.002522", "end": "2022-07-21 15:37:38.661052", "rc": 0, "start": "2022-07-21 15:37:38.658530" } STDOUT: UUID=853ae189-b3fe-4a45-8485-75bbb1421bbe / xfs defaults 0 0 UUID=7B77-95E7 /boot/efi vfat defaults,uid=0,gid=0,umask=077,shortname=winnt 0 2 /dev/mapper/vg1-lv1 /opt/test1 xfs defaults 0 0 /dev/mapper/vg1-lv2 /opt/test2 xfs defaults 0 0 /dev/mapper/vg1-lv3 /opt/test3 xfs defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml:24 Thursday 21 July 2022 19:37:39 +0000 (0:00:00.498) 0:01:18.774 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.002486", "end": "2022-07-21 15:37:39.035011", "failed_when_result": false, "rc": 1, "start": "2022-07-21 15:37:39.032525" } STDERR: cat: /etc/crypttab: No such file or directory MSG: non-zero return code TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml:33 Thursday 21 July 2022 19:37:39 +0000 (0:00:00.373) 0:01:19.148 ********* included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool.yml for /cache/rhel-8.qcow2 => (item={'disks': ['sda', 'sdb'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'name': 'vg1', 'raid_level': 'raid0', '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': 'lv1', 'raid_level': None, 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1', '_kernel_device': '/dev/dm-2', '_raw_kernel_device': '/dev/dm-2'}, {'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test2', 'name': 'lv2', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv2', '_raw_device': '/dev/mapper/vg1-lv2', '_mount_id': '/dev/mapper/vg1-lv2', '_kernel_device': '/dev/dm-1', '_raw_kernel_device': '/dev/dm-1'}, {'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test3', 'name': 'lv3', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv3', '_raw_device': '/dev/mapper/vg1-lv3', '_mount_id': '/dev/mapper/vg1-lv3', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}], 'raid_chunk_size': None}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool.yml:5 Thursday 21 July 2022 19:37:39 +0000 (0:00:00.062) 0:01:19.210 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool.yml:18 Thursday 21 July 2022 19:37:40 +0000 (0:00:00.036) 0:01:19.246 ********* included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml for /cache/rhel-8.qcow2 => (item=members) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-volumes.yml for /cache/rhel-8.qcow2 => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:1 Thursday 21 July 2022 19:37:40 +0000 (0:00:00.052) 0:01:19.299 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_count": "1", "_storage_test_pool_pvs_lvm": [ "/dev/md127" ] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:6 Thursday 21 July 2022 19:37:40 +0000 (0:00:00.055) 0:01:19.354 ********* ok: [/cache/rhel-8.qcow2] => (item=/dev/md127) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/md/vg1-1", "pv": "/dev/md127" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:15 Thursday 21 July 2022 19:37:40 +0000 (0:00:00.502) 0:01:19.856 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "__pvs_lvm_len": "1" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:19 Thursday 21 July 2022 19:37:40 +0000 (0:00:00.051) 0:01:19.907 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/md/vg1-1" ] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:23 Thursday 21 July 2022 19:37:40 +0000 (0:00:00.052) 0:01:19.959 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:29 Thursday 21 July 2022 19:37:40 +0000 (0:00:00.053) 0:01:20.013 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:33 Thursday 21 July 2022 19:37:40 +0000 (0:00:00.041) 0:01:20.054 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_type": "partition" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:37 Thursday 21 July 2022 19:37:40 +0000 (0:00:00.050) 0:01:20.104 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_type": "raid0" }, "changed": false } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:41 Thursday 21 July 2022 19:37:40 +0000 (0:00:00.038) 0:01:20.143 ********* ok: [/cache/rhel-8.qcow2] => (item=/dev/md/vg1-1) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/md/vg1-1" } MSG: All assertions passed TASK [Check MD RAID] *********************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:50 Thursday 21 July 2022 19:37:40 +0000 (0:00:00.044) 0:01:20.187 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml for /cache/rhel-8.qcow2 TASK [get information about RAID] ********************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:6 Thursday 21 July 2022 19:37:41 +0000 (0:00:00.044) 0:01:20.232 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "mdadm", "--detail", "/dev/md/vg1-1" ], "delta": "0:00:00.008573", "end": "2022-07-21 15:37:40.516504", "rc": 0, "start": "2022-07-21 15:37:40.507931" } STDOUT: /dev/md/vg1-1: Version : 1.2 Creation Time : Thu Jul 21 15:37:26 2022 Raid Level : raid0 Array Size : 20951040 (19.98 GiB 21.45 GB) Raid Devices : 2 Total Devices : 2 Persistence : Superblock is persistent Update Time : Thu Jul 21 15:37:26 2022 State : clean Active Devices : 2 Working Devices : 2 Failed Devices : 0 Spare Devices : 0 Layout : -unknown- Chunk Size : 512K Consistency Policy : none Name : vg1-1 UUID : 5b85ddbe:c5ba48aa:73d519d2:ce41db30 Events : 0 Number Major Minor RaidDevice State 0 8 1 0 active sync /dev/sda1 1 8 17 1 active sync /dev/sdb1 TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:12 Thursday 21 July 2022 19:37:41 +0000 (0:00:00.403) 0:01:20.635 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_md_active_devices_re": "Active\\ Devices\\ :\\ None\\\n" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:16 Thursday 21 July 2022 19:37:41 +0000 (0:00:00.054) 0:01:20.690 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_md_spare_devices_re": "Spare\\ Devices\\ :\\ None\\\n" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:20 Thursday 21 July 2022 19:37:41 +0000 (0:00:00.055) 0:01:20.746 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_md_metadata_version_re": "Version\\ :\\ None\\\n" }, "changed": false } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:24 Thursday 21 July 2022 19:37:41 +0000 (0:00:00.056) 0:01:20.802 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:30 Thursday 21 July 2022 19:37:41 +0000 (0:00:00.037) 0:01:20.840 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:36 Thursday 21 July 2022 19:37:41 +0000 (0:00:00.034) 0:01:20.874 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:44 Thursday 21 July 2022 19:37:41 +0000 (0:00:00.031) 0:01:20.906 ********* ok: [/cache/rhel-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/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:53 Thursday 21 July 2022 19:37:41 +0000 (0:00:00.037) 0:01:20.944 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-lvmraid.yml for /cache/rhel-8.qcow2 TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-lvmraid.yml:1 Thursday 21 July 2022 19:37:41 +0000 (0:00:00.047) 0:01:20.992 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-lvmraid.yml for /cache/rhel-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': 'lv1', 'raid_level': None, 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1', '_kernel_device': '/dev/dm-2', '_raw_kernel_device': '/dev/dm-2'}) included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-lvmraid.yml for /cache/rhel-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': 'lv2', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv2', '_raw_device': '/dev/mapper/vg1-lv2', '_mount_id': '/dev/mapper/vg1-lv2', '_kernel_device': '/dev/dm-1', '_raw_kernel_device': '/dev/dm-1'}) included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-lvmraid.yml for /cache/rhel-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/test3', 'name': 'lv3', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv3', '_raw_device': '/dev/mapper/vg1-lv3', '_mount_id': '/dev/mapper/vg1-lv3', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-lvmraid.yml:3 Thursday 21 July 2022 19:37:41 +0000 (0:00:00.057) 0:01:21.049 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-lvmraid.yml:8 Thursday 21 July 2022 19:37:41 +0000 (0:00:00.026) 0:01:21.075 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-lvmraid.yml:12 Thursday 21 July 2022 19:37:41 +0000 (0:00:00.029) 0:01:21.105 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-lvmraid.yml:3 Thursday 21 July 2022 19:37:41 +0000 (0:00:00.028) 0:01:21.133 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-lvmraid.yml:8 Thursday 21 July 2022 19:37:41 +0000 (0:00:00.030) 0:01:21.163 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-lvmraid.yml:12 Thursday 21 July 2022 19:37:41 +0000 (0:00:00.033) 0:01:21.197 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-lvmraid.yml:3 Thursday 21 July 2022 19:37:42 +0000 (0:00:00.029) 0:01:21.226 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-lvmraid.yml:8 Thursday 21 July 2022 19:37:42 +0000 (0:00:00.030) 0:01:21.257 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-lvmraid.yml:12 Thursday 21 July 2022 19:37:42 +0000 (0:00:00.029) 0:01:21.287 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:56 Thursday 21 July 2022 19:37:42 +0000 (0:00:00.032) 0:01:21.320 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-thin.yml for /cache/rhel-8.qcow2 TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-thin.yml:1 Thursday 21 July 2022 19:37:42 +0000 (0:00:00.076) 0:01:21.396 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-thin.yml for /cache/rhel-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': 'lv1', 'raid_level': None, 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1', '_kernel_device': '/dev/dm-2', '_raw_kernel_device': '/dev/dm-2'}) included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-thin.yml for /cache/rhel-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': 'lv2', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv2', '_raw_device': '/dev/mapper/vg1-lv2', '_mount_id': '/dev/mapper/vg1-lv2', '_kernel_device': '/dev/dm-1', '_raw_kernel_device': '/dev/dm-1'}) included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-thin.yml for /cache/rhel-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/test3', 'name': 'lv3', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv3', '_raw_device': '/dev/mapper/vg1-lv3', '_mount_id': '/dev/mapper/vg1-lv3', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [Get information about thinpool] ****************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-thin.yml:3 Thursday 21 July 2022 19:37:42 +0000 (0:00:00.056) 0:01:21.453 ********* skipping: [/cache/rhel-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/tmpcv9gbk7i/tests/storage/verify-pool-member-thin.yml:8 Thursday 21 July 2022 19:37:42 +0000 (0:00:00.023) 0:01:21.476 ********* skipping: [/cache/rhel-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/tmpcv9gbk7i/tests/storage/verify-pool-member-thin.yml:13 Thursday 21 July 2022 19:37:42 +0000 (0:00:00.021) 0:01:21.497 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-thin.yml:17 Thursday 21 July 2022 19:37:42 +0000 (0:00:00.021) 0:01:21.519 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about thinpool] ****************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-thin.yml:3 Thursday 21 July 2022 19:37:42 +0000 (0:00:00.021) 0:01:21.541 ********* skipping: [/cache/rhel-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/tmpcv9gbk7i/tests/storage/verify-pool-member-thin.yml:8 Thursday 21 July 2022 19:37:42 +0000 (0:00:00.031) 0:01:21.572 ********* skipping: [/cache/rhel-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/tmpcv9gbk7i/tests/storage/verify-pool-member-thin.yml:13 Thursday 21 July 2022 19:37:42 +0000 (0:00:00.030) 0:01:21.602 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-thin.yml:17 Thursday 21 July 2022 19:37:42 +0000 (0:00:00.025) 0:01:21.628 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about thinpool] ****************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-thin.yml:3 Thursday 21 July 2022 19:37:42 +0000 (0:00:00.026) 0:01:21.655 ********* skipping: [/cache/rhel-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/tmpcv9gbk7i/tests/storage/verify-pool-member-thin.yml:8 Thursday 21 July 2022 19:37:42 +0000 (0:00:00.023) 0:01:21.679 ********* skipping: [/cache/rhel-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/tmpcv9gbk7i/tests/storage/verify-pool-member-thin.yml:13 Thursday 21 July 2022 19:37:42 +0000 (0:00:00.021) 0:01:21.701 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-thin.yml:17 Thursday 21 July 2022 19:37:42 +0000 (0:00:00.023) 0:01:21.724 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:59 Thursday 21 July 2022 19:37:42 +0000 (0:00:00.025) 0:01:21.749 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-encryption.yml for /cache/rhel-8.qcow2 TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-encryption.yml:4 Thursday 21 July 2022 19:37:42 +0000 (0:00:00.049) 0:01:21.799 ********* ok: [/cache/rhel-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/tmpcv9gbk7i/tests/storage/verify-pool-members-encryption.yml:8 Thursday 21 July 2022 19:37:42 +0000 (0:00:00.054) 0:01:21.854 ********* skipping: [/cache/rhel-8.qcow2] => (item=/dev/md/vg1-1) => { "_storage_test_pool_member_path": "/dev/md/vg1-1", "ansible_loop_var": "_storage_test_pool_member_path", "changed": false, "skip_reason": "Conditional result was False" } TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-encryption.yml:15 Thursday 21 July 2022 19:37:42 +0000 (0:00:00.029) 0:01:21.884 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-crypttab.yml for /cache/rhel-8.qcow2 => (item=/dev/md/vg1-1) TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-crypttab.yml:1 Thursday 21 July 2022 19:37:42 +0000 (0:00:00.047) 0:01:21.931 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": [] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-crypttab.yml:4 Thursday 21 July 2022 19:37:42 +0000 (0:00:00.052) 0:01:21.984 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-crypttab.yml:9 Thursday 21 July 2022 19:37:42 +0000 (0:00:00.052) 0:01:22.036 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-crypttab.yml:15 Thursday 21 July 2022 19:37:42 +0000 (0:00:00.037) 0:01:22.074 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-crypttab.yml:21 Thursday 21 July 2022 19:37:42 +0000 (0:00:00.037) 0:01:22.111 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-crypttab.yml:27 Thursday 21 July 2022 19:37:42 +0000 (0:00:00.036) 0:01:22.148 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-encryption.yml:22 Thursday 21 July 2022 19:37:42 +0000 (0:00:00.036) 0:01:22.185 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:62 Thursday 21 July 2022 19:37:43 +0000 (0:00:00.035) 0:01:22.221 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-vdo.yml for /cache/rhel-8.qcow2 TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-vdo.yml:1 Thursday 21 July 2022 19:37:43 +0000 (0:00:00.049) 0:01:22.270 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml for /cache/rhel-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': 'lv1', 'raid_level': None, 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1', '_kernel_device': '/dev/dm-2', '_raw_kernel_device': '/dev/dm-2'}) included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml for /cache/rhel-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': 'lv2', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv2', '_raw_device': '/dev/mapper/vg1-lv2', '_mount_id': '/dev/mapper/vg1-lv2', '_kernel_device': '/dev/dm-1', '_raw_kernel_device': '/dev/dm-1'}) included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml for /cache/rhel-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/test3', 'name': 'lv3', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv3', '_raw_device': '/dev/mapper/vg1-lv3', '_mount_id': '/dev/mapper/vg1-lv3', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:3 Thursday 21 July 2022 19:37:43 +0000 (0:00:00.063) 0:01:22.334 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:8 Thursday 21 July 2022 19:37:43 +0000 (0:00:00.026) 0:01:22.360 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:11 Thursday 21 July 2022 19:37:43 +0000 (0:00:00.024) 0:01:22.385 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:16 Thursday 21 July 2022 19:37:43 +0000 (0:00:00.023) 0:01:22.408 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:21 Thursday 21 July 2022 19:37:43 +0000 (0:00:00.023) 0:01:22.432 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:24 Thursday 21 July 2022 19:37:43 +0000 (0:00:00.025) 0:01:22.457 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:29 Thursday 21 July 2022 19:37:43 +0000 (0:00:00.024) 0:01:22.481 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:39 Thursday 21 July 2022 19:37:43 +0000 (0:00:00.024) 0:01:22.506 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:3 Thursday 21 July 2022 19:37:43 +0000 (0:00:00.088) 0:01:22.594 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:8 Thursday 21 July 2022 19:37:43 +0000 (0:00:00.059) 0:01:22.653 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:11 Thursday 21 July 2022 19:37:43 +0000 (0:00:00.025) 0:01:22.679 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:16 Thursday 21 July 2022 19:37:43 +0000 (0:00:00.025) 0:01:22.704 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:21 Thursday 21 July 2022 19:37:43 +0000 (0:00:00.024) 0:01:22.729 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:24 Thursday 21 July 2022 19:37:43 +0000 (0:00:00.026) 0:01:22.755 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:29 Thursday 21 July 2022 19:37:43 +0000 (0:00:00.025) 0:01:22.781 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:39 Thursday 21 July 2022 19:37:43 +0000 (0:00:00.025) 0:01:22.807 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:3 Thursday 21 July 2022 19:37:43 +0000 (0:00:00.037) 0:01:22.844 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:8 Thursday 21 July 2022 19:37:43 +0000 (0:00:00.027) 0:01:22.872 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:11 Thursday 21 July 2022 19:37:43 +0000 (0:00:00.025) 0:01:22.897 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:16 Thursday 21 July 2022 19:37:43 +0000 (0:00:00.024) 0:01:22.922 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:21 Thursday 21 July 2022 19:37:43 +0000 (0:00:00.025) 0:01:22.947 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:24 Thursday 21 July 2022 19:37:43 +0000 (0:00:00.027) 0:01:22.975 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:29 Thursday 21 July 2022 19:37:43 +0000 (0:00:00.025) 0:01:23.000 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:39 Thursday 21 July 2022 19:37:43 +0000 (0:00:00.025) 0:01:23.025 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:65 Thursday 21 July 2022 19:37:43 +0000 (0:00:00.034) 0:01:23.060 ********* ok: [/cache/rhel-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/tmpcv9gbk7i/tests/storage/test-verify-pool-volumes.yml:3 Thursday 21 July 2022 19:37:43 +0000 (0:00:00.040) 0:01:23.101 ********* included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume.yml for /cache/rhel-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': 'lv1', 'raid_level': None, 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1', '_kernel_device': '/dev/dm-2', '_raw_kernel_device': '/dev/dm-2'}) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume.yml for /cache/rhel-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': 'lv2', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv2', '_raw_device': '/dev/mapper/vg1-lv2', '_mount_id': '/dev/mapper/vg1-lv2', '_kernel_device': '/dev/dm-1', '_raw_kernel_device': '/dev/dm-1'}) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume.yml for /cache/rhel-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/test3', 'name': 'lv3', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv3', '_raw_device': '/dev/mapper/vg1-lv3', '_mount_id': '/dev/mapper/vg1-lv3', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume.yml:2 Thursday 21 July 2022 19:37:43 +0000 (0:00:00.054) 0:01:23.155 ********* ok: [/cache/rhel-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/tmpcv9gbk7i/tests/storage/test-verify-volume.yml:10 Thursday 21 July 2022 19:37:43 +0000 (0:00:00.053) 0:01:23.208 ********* included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml for /cache/rhel-8.qcow2 => (item=mount) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-fstab.yml for /cache/rhel-8.qcow2 => (item=fstab) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-fs.yml for /cache/rhel-8.qcow2 => (item=fs) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-device.yml for /cache/rhel-8.qcow2 => (item=device) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml for /cache/rhel-8.qcow2 => (item=encryption) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml for /cache/rhel-8.qcow2 => (item=md) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml for /cache/rhel-8.qcow2 => (item=size) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml for /cache/rhel-8.qcow2 => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:6 Thursday 21 July 2022 19:37:44 +0000 (0:00:00.087) 0:01:23.296 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/vg1-lv1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:10 Thursday 21 July 2022 19:37:44 +0000 (0:00:00.043) 0:01:23.340 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 508753, "block_size": 4096, "block_total": 520704, "block_used": 11951, "device": "/dev/mapper/vg1-lv1", "fstype": "xfs", "inode_available": 1046525, "inode_total": 1046528, "inode_used": 3, "mount": "/opt/test1", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,sunit=1024,swidth=2048,noquota", "size_available": 2083852288, "size_total": 2132803584, "uuid": "9bee13d1-8215-4cff-9c0e-cd739306d81f" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 508753, "block_size": 4096, "block_total": 520704, "block_used": 11951, "device": "/dev/mapper/vg1-lv1", "fstype": "xfs", "inode_available": 1046525, "inode_total": 1046528, "inode_used": 3, "mount": "/opt/test1", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,sunit=1024,swidth=2048,noquota", "size_available": 2083852288, "size_total": 2132803584, "uuid": "9bee13d1-8215-4cff-9c0e-cd739306d81f" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:20 Thursday 21 July 2022 19:37:44 +0000 (0:00:00.059) 0:01:23.399 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:29 Thursday 21 July 2022 19:37:44 +0000 (0:00:00.050) 0:01:23.449 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:37 Thursday 21 July 2022 19:37:44 +0000 (0:00:00.051) 0:01:23.501 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:46 Thursday 21 July 2022 19:37:44 +0000 (0:00:00.057) 0:01:23.558 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:50 Thursday 21 July 2022 19:37:44 +0000 (0:00:00.024) 0:01:23.583 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:55 Thursday 21 July 2022 19:37:44 +0000 (0:00:00.023) 0:01:23.606 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:65 Thursday 21 July 2022 19:37:44 +0000 (0:00:00.023) 0:01:23.630 ********* ok: [/cache/rhel-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/tmpcv9gbk7i/tests/storage/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 19:37:44 +0000 (0:00:00.036) 0:01:23.666 ********* ok: [/cache/rhel-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/vg1-lv1 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test1 xfs defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test1 " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-fstab.yml:12 Thursday 21 July 2022 19:37:44 +0000 (0:00:00.062) 0:01:23.728 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-fstab.yml:19 Thursday 21 July 2022 19:37:44 +0000 (0:00:00.052) 0:01:23.781 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 19:37:44 +0000 (0:00:00.053) 0:01:23.834 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-fstab.yml:34 Thursday 21 July 2022 19:37:44 +0000 (0:00:00.039) 0:01:23.873 ********* ok: [/cache/rhel-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/tmpcv9gbk7i/tests/storage/test-verify-volume-fs.yml:4 Thursday 21 July 2022 19:37:44 +0000 (0:00:00.075) 0:01:23.949 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-fs.yml:10 Thursday 21 July 2022 19:37:44 +0000 (0:00:00.106) 0:01:24.056 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-device.yml:4 Thursday 21 July 2022 19:37:44 +0000 (0:00:00.040) 0:01:24.097 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "stat": { "atime": 1658432252.9358003, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658432252.9358003, "dev": 6, "device_type": 64770, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 75693, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1658432252.9358003, "nlink": 1, "path": "/dev/mapper/vg1-lv1", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-device.yml:10 Thursday 21 July 2022 19:37:45 +0000 (0:00:00.394) 0:01:24.491 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-device.yml:15 Thursday 21 July 2022 19:37:45 +0000 (0:00:00.039) 0:01:24.531 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-device.yml:21 Thursday 21 July 2022 19:37:45 +0000 (0:00:00.041) 0:01:24.572 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-device.yml:25 Thursday 21 July 2022 19:37:45 +0000 (0:00:00.038) 0:01:24.610 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-device.yml:30 Thursday 21 July 2022 19:37:45 +0000 (0:00:00.023) 0:01:24.634 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 19:37:45 +0000 (0:00:00.041) 0:01:24.676 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 19:37:45 +0000 (0:00:00.027) 0:01:24.704 ********* changed: [/cache/rhel-8.qcow2] => { "changed": true, "rc": 0, "results": [ "Installed: cryptsetup-2.3.7-2.el8.x86_64" ] } TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 19:37:47 +0000 (0:00:01.905) 0:01:26.609 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 19:37:47 +0000 (0:00:00.026) 0:01:26.636 ********* skipping: [/cache/rhel-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/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:27 Thursday 21 July 2022 19:37:47 +0000 (0:00:00.026) 0:01:26.662 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:33 Thursday 21 July 2022 19:37:47 +0000 (0:00:00.051) 0:01:26.714 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:39 Thursday 21 July 2022 19:37:47 +0000 (0:00:00.023) 0:01:26.738 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 19:37:47 +0000 (0:00:00.023) 0:01:26.761 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:50 Thursday 21 July 2022 19:37:47 +0000 (0:00:00.024) 0:01:26.785 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:56 Thursday 21 July 2022 19:37:47 +0000 (0:00:00.022) 0:01:26.808 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:62 Thursday 21 July 2022 19:37:47 +0000 (0:00:00.023) 0:01:26.832 ********* ok: [/cache/rhel-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/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 19:37:47 +0000 (0:00:00.051) 0:01:26.884 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:72 Thursday 21 July 2022 19:37:47 +0000 (0:00:00.048) 0:01:26.932 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:78 Thursday 21 July 2022 19:37:47 +0000 (0:00:00.035) 0:01:26.968 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:84 Thursday 21 July 2022 19:37:47 +0000 (0:00:00.033) 0:01:27.002 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:90 Thursday 21 July 2022 19:37:47 +0000 (0:00:00.034) 0:01:27.037 ********* ok: [/cache/rhel-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/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml:7 Thursday 21 July 2022 19:37:47 +0000 (0:00:00.031) 0:01:27.068 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml:13 Thursday 21 July 2022 19:37:47 +0000 (0:00:00.034) 0:01:27.102 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml:17 Thursday 21 July 2022 19:37:47 +0000 (0:00:00.038) 0:01:27.141 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml:21 Thursday 21 July 2022 19:37:47 +0000 (0:00:00.038) 0:01:27.179 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml:25 Thursday 21 July 2022 19:37:48 +0000 (0:00:00.038) 0:01:27.217 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml:31 Thursday 21 July 2022 19:37:48 +0000 (0:00:00.037) 0:01:27.255 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml:37 Thursday 21 July 2022 19:37:48 +0000 (0:00:00.038) 0:01:27.293 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:3 Thursday 21 July 2022 19:37:48 +0000 (0:00:00.040) 0:01:27.333 ********* ok: [/cache/rhel-8.qcow2] => { "bytes": 2147483648, "changed": false, "lvm": "2g", "parted": "2GiB", "size": "2 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:9 Thursday 21 July 2022 19:37:48 +0000 (0:00:00.500) 0:01:27.834 ********* ok: [/cache/rhel-8.qcow2] => { "bytes": 2147483648, "changed": false, "lvm": "2g", "parted": "2GiB", "size": "2 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:15 Thursday 21 July 2022 19:37:49 +0000 (0:00:00.398) 0:01:28.233 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_expected_size": "2147483648" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:20 Thursday 21 July 2022 19:37:49 +0000 (0:00:00.052) 0:01:28.285 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_expected_size": "2147483648" } TASK [debug] ******************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:25 Thursday 21 July 2022 19:37:49 +0000 (0:00:00.038) 0:01:28.323 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:28 Thursday 21 July 2022 19:37:49 +0000 (0:00:00.039) 0:01:28.362 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:31 Thursday 21 July 2022 19:37:49 +0000 (0:00:00.040) 0:01:28.403 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:36 Thursday 21 July 2022 19:37:49 +0000 (0:00:00.039) 0:01:28.442 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:39 Thursday 21 July 2022 19:37:49 +0000 (0:00:00.039) 0:01:28.481 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:44 Thursday 21 July 2022 19:37:49 +0000 (0:00:00.037) 0:01:28.519 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_actual_size": { "bytes": 2147483648, "changed": false, "failed": false, "lvm": "2g", "parted": "2GiB", "size": "2 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:47 Thursday 21 July 2022 19:37:49 +0000 (0:00:00.041) 0:01:28.561 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_expected_size": "2147483648" } TASK [assert] ****************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:50 Thursday 21 July 2022 19:37:49 +0000 (0:00:00.036) 0:01:28.598 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml:6 Thursday 21 July 2022 19:37:49 +0000 (0:00:00.054) 0:01:28.653 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "lvs", "--noheadings", "--nameprefixes", "--units=b", "--nosuffix", "--unquoted", "-o", "name,attr,cache_total_blocks,chunk_size,segtype", "vg1/lv1" ], "delta": "0:00:00.042247", "end": "2022-07-21 15:37:48.964790", "rc": 0, "start": "2022-07-21 15:37:48.922543" } STDOUT: LVM2_LV_NAME=lv1 LVM2_LV_ATTR=-wi-ao---- LVM2_CACHE_TOTAL_BLOCKS= LVM2_CHUNK_SIZE=0 LVM2_SEGTYPE=linear TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml:14 Thursday 21 July 2022 19:37:49 +0000 (0:00:00.429) 0:01:29.082 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_lv_segtype": [ "linear" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml:17 Thursday 21 July 2022 19:37:49 +0000 (0:00:00.054) 0:01:29.137 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml:22 Thursday 21 July 2022 19:37:49 +0000 (0:00:00.054) 0:01:29.192 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml:26 Thursday 21 July 2022 19:37:50 +0000 (0:00:00.041) 0:01:29.233 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml:32 Thursday 21 July 2022 19:37:50 +0000 (0:00:00.039) 0:01:29.273 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml:36 Thursday 21 July 2022 19:37:50 +0000 (0:00:00.039) 0:01:29.313 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume.yml:16 Thursday 21 July 2022 19:37:50 +0000 (0:00:00.038) 0:01:29.352 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume.yml:2 Thursday 21 July 2022 19:37:50 +0000 (0:00:00.039) 0:01:29.391 ********* ok: [/cache/rhel-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/tmpcv9gbk7i/tests/storage/test-verify-volume.yml:10 Thursday 21 July 2022 19:37:50 +0000 (0:00:00.049) 0:01:29.440 ********* included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml for /cache/rhel-8.qcow2 => (item=mount) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-fstab.yml for /cache/rhel-8.qcow2 => (item=fstab) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-fs.yml for /cache/rhel-8.qcow2 => (item=fs) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-device.yml for /cache/rhel-8.qcow2 => (item=device) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml for /cache/rhel-8.qcow2 => (item=encryption) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml for /cache/rhel-8.qcow2 => (item=md) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml for /cache/rhel-8.qcow2 => (item=size) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml for /cache/rhel-8.qcow2 => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:6 Thursday 21 July 2022 19:37:50 +0000 (0:00:00.087) 0:01:29.528 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/vg1-lv2" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:10 Thursday 21 July 2022 19:37:50 +0000 (0:00:00.076) 0:01:29.605 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 769066, "block_size": 4096, "block_total": 782848, "block_used": 13782, "device": "/dev/mapper/vg1-lv2", "fstype": "xfs", "inode_available": 1570813, "inode_total": 1570816, "inode_used": 3, "mount": "/opt/test2", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,sunit=1024,swidth=2048,noquota", "size_available": 3150094336, "size_total": 3206545408, "uuid": "7a03536b-adeb-4aec-9152-1e00e38a7246" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 769066, "block_size": 4096, "block_total": 782848, "block_used": 13782, "device": "/dev/mapper/vg1-lv2", "fstype": "xfs", "inode_available": 1570813, "inode_total": 1570816, "inode_used": 3, "mount": "/opt/test2", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,sunit=1024,swidth=2048,noquota", "size_available": 3150094336, "size_total": 3206545408, "uuid": "7a03536b-adeb-4aec-9152-1e00e38a7246" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:20 Thursday 21 July 2022 19:37:50 +0000 (0:00:00.123) 0:01:29.729 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:29 Thursday 21 July 2022 19:37:50 +0000 (0:00:00.051) 0:01:29.780 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:37 Thursday 21 July 2022 19:37:50 +0000 (0:00:00.049) 0:01:29.830 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:46 Thursday 21 July 2022 19:37:50 +0000 (0:00:00.054) 0:01:29.885 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:50 Thursday 21 July 2022 19:37:50 +0000 (0:00:00.026) 0:01:29.912 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:55 Thursday 21 July 2022 19:37:50 +0000 (0:00:00.026) 0:01:29.938 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:65 Thursday 21 July 2022 19:37:50 +0000 (0:00:00.027) 0:01:29.966 ********* ok: [/cache/rhel-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/tmpcv9gbk7i/tests/storage/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 19:37:50 +0000 (0:00:00.036) 0:01:30.002 ********* ok: [/cache/rhel-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/vg1-lv2 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test2 xfs defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test2 " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-fstab.yml:12 Thursday 21 July 2022 19:37:50 +0000 (0:00:00.066) 0:01:30.068 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-fstab.yml:19 Thursday 21 July 2022 19:37:50 +0000 (0:00:00.067) 0:01:30.136 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 19:37:50 +0000 (0:00:00.051) 0:01:30.188 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-fstab.yml:34 Thursday 21 July 2022 19:37:51 +0000 (0:00:00.038) 0:01:30.226 ********* ok: [/cache/rhel-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/tmpcv9gbk7i/tests/storage/test-verify-volume-fs.yml:4 Thursday 21 July 2022 19:37:51 +0000 (0:00:00.039) 0:01:30.266 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-fs.yml:10 Thursday 21 July 2022 19:37:51 +0000 (0:00:00.043) 0:01:30.309 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-device.yml:4 Thursday 21 July 2022 19:37:51 +0000 (0:00:00.041) 0:01:30.351 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "stat": { "atime": 1658432252.7428002, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658432252.7428002, "dev": 6, "device_type": 64769, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 75601, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1658432252.7428002, "nlink": 1, "path": "/dev/mapper/vg1-lv2", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-device.yml:10 Thursday 21 July 2022 19:37:51 +0000 (0:00:00.380) 0:01:30.731 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-device.yml:15 Thursday 21 July 2022 19:37:51 +0000 (0:00:00.040) 0:01:30.772 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-device.yml:21 Thursday 21 July 2022 19:37:51 +0000 (0:00:00.041) 0:01:30.814 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-device.yml:25 Thursday 21 July 2022 19:37:51 +0000 (0:00:00.042) 0:01:30.856 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-device.yml:30 Thursday 21 July 2022 19:37:51 +0000 (0:00:00.027) 0:01:30.884 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 19:37:51 +0000 (0:00:00.043) 0:01:30.927 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 19:37:51 +0000 (0:00:00.029) 0:01:30.956 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 19:37:52 +0000 (0:00:01.213) 0:01:32.170 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 19:37:52 +0000 (0:00:00.026) 0:01:32.196 ********* skipping: [/cache/rhel-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/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:27 Thursday 21 July 2022 19:37:53 +0000 (0:00:00.025) 0:01:32.221 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:33 Thursday 21 July 2022 19:37:53 +0000 (0:00:00.054) 0:01:32.276 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:39 Thursday 21 July 2022 19:37:53 +0000 (0:00:00.025) 0:01:32.301 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 19:37:53 +0000 (0:00:00.024) 0:01:32.326 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:50 Thursday 21 July 2022 19:37:53 +0000 (0:00:00.024) 0:01:32.351 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:56 Thursday 21 July 2022 19:37:53 +0000 (0:00:00.026) 0:01:32.377 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:62 Thursday 21 July 2022 19:37:53 +0000 (0:00:00.025) 0:01:32.403 ********* ok: [/cache/rhel-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/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 19:37:53 +0000 (0:00:00.080) 0:01:32.483 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:72 Thursday 21 July 2022 19:37:53 +0000 (0:00:00.105) 0:01:32.588 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:78 Thursday 21 July 2022 19:37:53 +0000 (0:00:00.041) 0:01:32.630 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:84 Thursday 21 July 2022 19:37:53 +0000 (0:00:00.044) 0:01:32.674 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:90 Thursday 21 July 2022 19:37:53 +0000 (0:00:00.040) 0:01:32.715 ********* ok: [/cache/rhel-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/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml:7 Thursday 21 July 2022 19:37:53 +0000 (0:00:00.041) 0:01:32.756 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml:13 Thursday 21 July 2022 19:37:53 +0000 (0:00:00.037) 0:01:32.794 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml:17 Thursday 21 July 2022 19:37:53 +0000 (0:00:00.039) 0:01:32.833 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml:21 Thursday 21 July 2022 19:37:53 +0000 (0:00:00.037) 0:01:32.870 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml:25 Thursday 21 July 2022 19:37:53 +0000 (0:00:00.040) 0:01:32.911 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml:31 Thursday 21 July 2022 19:37:53 +0000 (0:00:00.035) 0:01:32.946 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml:37 Thursday 21 July 2022 19:37:53 +0000 (0:00:00.035) 0:01:32.981 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:3 Thursday 21 July 2022 19:37:53 +0000 (0:00:00.039) 0:01:33.021 ********* ok: [/cache/rhel-8.qcow2] => { "bytes": 3221225472, "changed": false, "lvm": "3g", "parted": "3GiB", "size": "3 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:9 Thursday 21 July 2022 19:37:54 +0000 (0:00:00.377) 0:01:33.399 ********* ok: [/cache/rhel-8.qcow2] => { "bytes": 3221225472, "changed": false, "lvm": "3g", "parted": "3GiB", "size": "3 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:15 Thursday 21 July 2022 19:37:54 +0000 (0:00:00.406) 0:01:33.806 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_expected_size": "3221225472" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:20 Thursday 21 July 2022 19:37:54 +0000 (0:00:00.053) 0:01:33.859 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_expected_size": "3221225472" } TASK [debug] ******************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:25 Thursday 21 July 2022 19:37:54 +0000 (0:00:00.037) 0:01:33.897 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:28 Thursday 21 July 2022 19:37:54 +0000 (0:00:00.041) 0:01:33.938 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:31 Thursday 21 July 2022 19:37:54 +0000 (0:00:00.040) 0:01:33.978 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:36 Thursday 21 July 2022 19:37:54 +0000 (0:00:00.039) 0:01:34.018 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:39 Thursday 21 July 2022 19:37:54 +0000 (0:00:00.038) 0:01:34.056 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:44 Thursday 21 July 2022 19:37:54 +0000 (0:00:00.038) 0:01:34.095 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_actual_size": { "bytes": 3221225472, "changed": false, "failed": false, "lvm": "3g", "parted": "3GiB", "size": "3 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:47 Thursday 21 July 2022 19:37:54 +0000 (0:00:00.040) 0:01:34.136 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_expected_size": "3221225472" } TASK [assert] ****************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:50 Thursday 21 July 2022 19:37:54 +0000 (0:00:00.041) 0:01:34.178 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml:6 Thursday 21 July 2022 19:37:55 +0000 (0:00:00.053) 0:01:34.231 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "lvs", "--noheadings", "--nameprefixes", "--units=b", "--nosuffix", "--unquoted", "-o", "name,attr,cache_total_blocks,chunk_size,segtype", "vg1/lv2" ], "delta": "0:00:00.037330", "end": "2022-07-21 15:37:54.535010", "rc": 0, "start": "2022-07-21 15:37:54.497680" } STDOUT: LVM2_LV_NAME=lv2 LVM2_LV_ATTR=-wi-ao---- LVM2_CACHE_TOTAL_BLOCKS= LVM2_CHUNK_SIZE=0 LVM2_SEGTYPE=linear TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml:14 Thursday 21 July 2022 19:37:55 +0000 (0:00:00.418) 0:01:34.650 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_lv_segtype": [ "linear" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml:17 Thursday 21 July 2022 19:37:55 +0000 (0:00:00.053) 0:01:34.703 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml:22 Thursday 21 July 2022 19:37:55 +0000 (0:00:00.096) 0:01:34.800 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml:26 Thursday 21 July 2022 19:37:55 +0000 (0:00:00.041) 0:01:34.841 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml:32 Thursday 21 July 2022 19:37:55 +0000 (0:00:00.103) 0:01:34.944 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml:36 Thursday 21 July 2022 19:37:55 +0000 (0:00:00.043) 0:01:34.988 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume.yml:16 Thursday 21 July 2022 19:37:55 +0000 (0:00:00.040) 0:01:35.028 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume.yml:2 Thursday 21 July 2022 19:37:55 +0000 (0:00:00.039) 0:01:35.068 ********* ok: [/cache/rhel-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/tmpcv9gbk7i/tests/storage/test-verify-volume.yml:10 Thursday 21 July 2022 19:37:55 +0000 (0:00:00.052) 0:01:35.120 ********* included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml for /cache/rhel-8.qcow2 => (item=mount) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-fstab.yml for /cache/rhel-8.qcow2 => (item=fstab) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-fs.yml for /cache/rhel-8.qcow2 => (item=fs) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-device.yml for /cache/rhel-8.qcow2 => (item=device) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml for /cache/rhel-8.qcow2 => (item=encryption) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml for /cache/rhel-8.qcow2 => (item=md) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml for /cache/rhel-8.qcow2 => (item=size) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml for /cache/rhel-8.qcow2 => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:6 Thursday 21 July 2022 19:37:55 +0000 (0:00:00.084) 0:01:35.204 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/vg1-lv3" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:10 Thursday 21 July 2022 19:37:56 +0000 (0:00:00.041) 0:01:35.245 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 769066, "block_size": 4096, "block_total": 782848, "block_used": 13782, "device": "/dev/mapper/vg1-lv3", "fstype": "xfs", "inode_available": 1570813, "inode_total": 1570816, "inode_used": 3, "mount": "/opt/test3", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,sunit=1024,swidth=2048,noquota", "size_available": 3150094336, "size_total": 3206545408, "uuid": "fd07add7-aa31-46c5-af72-a326a3292f76" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 769066, "block_size": 4096, "block_total": 782848, "block_used": 13782, "device": "/dev/mapper/vg1-lv3", "fstype": "xfs", "inode_available": 1570813, "inode_total": 1570816, "inode_used": 3, "mount": "/opt/test3", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,sunit=1024,swidth=2048,noquota", "size_available": 3150094336, "size_total": 3206545408, "uuid": "fd07add7-aa31-46c5-af72-a326a3292f76" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:20 Thursday 21 July 2022 19:37:56 +0000 (0:00:00.057) 0:01:35.303 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:29 Thursday 21 July 2022 19:37:56 +0000 (0:00:00.048) 0:01:35.352 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:37 Thursday 21 July 2022 19:37:56 +0000 (0:00:00.047) 0:01:35.400 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:46 Thursday 21 July 2022 19:37:56 +0000 (0:00:00.054) 0:01:35.455 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:50 Thursday 21 July 2022 19:37:56 +0000 (0:00:00.025) 0:01:35.480 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:55 Thursday 21 July 2022 19:37:56 +0000 (0:00:00.024) 0:01:35.505 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:65 Thursday 21 July 2022 19:37:56 +0000 (0:00:00.022) 0:01:35.528 ********* ok: [/cache/rhel-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/tmpcv9gbk7i/tests/storage/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 19:37:56 +0000 (0:00:00.034) 0:01:35.563 ********* ok: [/cache/rhel-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/vg1-lv3 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test3 xfs defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test3 " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-fstab.yml:12 Thursday 21 July 2022 19:37:56 +0000 (0:00:00.063) 0:01:35.626 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-fstab.yml:19 Thursday 21 July 2022 19:37:56 +0000 (0:00:00.052) 0:01:35.679 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 19:37:56 +0000 (0:00:00.051) 0:01:35.731 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-fstab.yml:34 Thursday 21 July 2022 19:37:56 +0000 (0:00:00.035) 0:01:35.766 ********* ok: [/cache/rhel-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/tmpcv9gbk7i/tests/storage/test-verify-volume-fs.yml:4 Thursday 21 July 2022 19:37:56 +0000 (0:00:00.033) 0:01:35.799 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-fs.yml:10 Thursday 21 July 2022 19:37:56 +0000 (0:00:00.039) 0:01:35.838 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-device.yml:4 Thursday 21 July 2022 19:37:56 +0000 (0:00:00.050) 0:01:35.889 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "stat": { "atime": 1658432252.5418003, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658432252.5418003, "dev": 6, "device_type": 64768, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 75524, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1658432252.5418003, "nlink": 1, "path": "/dev/mapper/vg1-lv3", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-device.yml:10 Thursday 21 July 2022 19:37:57 +0000 (0:00:00.404) 0:01:36.294 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-device.yml:15 Thursday 21 July 2022 19:37:57 +0000 (0:00:00.041) 0:01:36.336 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-device.yml:21 Thursday 21 July 2022 19:37:57 +0000 (0:00:00.042) 0:01:36.378 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-device.yml:25 Thursday 21 July 2022 19:37:57 +0000 (0:00:00.040) 0:01:36.419 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-device.yml:30 Thursday 21 July 2022 19:37:57 +0000 (0:00:00.024) 0:01:36.443 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 19:37:57 +0000 (0:00:00.045) 0:01:36.489 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 19:37:57 +0000 (0:00:00.026) 0:01:36.515 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 19:37:58 +0000 (0:00:01.256) 0:01:37.771 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 19:37:58 +0000 (0:00:00.026) 0:01:37.798 ********* skipping: [/cache/rhel-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/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:27 Thursday 21 July 2022 19:37:58 +0000 (0:00:00.025) 0:01:37.823 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:33 Thursday 21 July 2022 19:37:58 +0000 (0:00:00.054) 0:01:37.877 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:39 Thursday 21 July 2022 19:37:58 +0000 (0:00:00.026) 0:01:37.904 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 19:37:58 +0000 (0:00:00.025) 0:01:37.929 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:50 Thursday 21 July 2022 19:37:58 +0000 (0:00:00.023) 0:01:37.953 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:56 Thursday 21 July 2022 19:37:58 +0000 (0:00:00.022) 0:01:37.975 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:62 Thursday 21 July 2022 19:37:58 +0000 (0:00:00.023) 0:01:37.999 ********* ok: [/cache/rhel-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/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 19:37:58 +0000 (0:00:00.048) 0:01:38.047 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:72 Thursday 21 July 2022 19:37:58 +0000 (0:00:00.051) 0:01:38.098 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:78 Thursday 21 July 2022 19:37:58 +0000 (0:00:00.038) 0:01:38.137 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:84 Thursday 21 July 2022 19:37:58 +0000 (0:00:00.038) 0:01:38.175 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:90 Thursday 21 July 2022 19:37:59 +0000 (0:00:00.039) 0:01:38.215 ********* ok: [/cache/rhel-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/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml:7 Thursday 21 July 2022 19:37:59 +0000 (0:00:00.038) 0:01:38.253 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml:13 Thursday 21 July 2022 19:37:59 +0000 (0:00:00.040) 0:01:38.293 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml:17 Thursday 21 July 2022 19:37:59 +0000 (0:00:00.038) 0:01:38.332 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml:21 Thursday 21 July 2022 19:37:59 +0000 (0:00:00.037) 0:01:38.370 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml:25 Thursday 21 July 2022 19:37:59 +0000 (0:00:00.039) 0:01:38.409 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml:31 Thursday 21 July 2022 19:37:59 +0000 (0:00:00.036) 0:01:38.446 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml:37 Thursday 21 July 2022 19:37:59 +0000 (0:00:00.036) 0:01:38.482 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:3 Thursday 21 July 2022 19:37:59 +0000 (0:00:00.041) 0:01:38.524 ********* ok: [/cache/rhel-8.qcow2] => { "bytes": 3221225472, "changed": false, "lvm": "3g", "parted": "3GiB", "size": "3 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:9 Thursday 21 July 2022 19:37:59 +0000 (0:00:00.381) 0:01:38.906 ********* ok: [/cache/rhel-8.qcow2] => { "bytes": 3221225472, "changed": false, "lvm": "3g", "parted": "3GiB", "size": "3 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:15 Thursday 21 July 2022 19:38:00 +0000 (0:00:00.385) 0:01:39.291 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_expected_size": "3221225472" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:20 Thursday 21 July 2022 19:38:00 +0000 (0:00:00.082) 0:01:39.374 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_expected_size": "3221225472" } TASK [debug] ******************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:25 Thursday 21 July 2022 19:38:00 +0000 (0:00:00.070) 0:01:39.444 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:28 Thursday 21 July 2022 19:38:00 +0000 (0:00:00.039) 0:01:39.484 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:31 Thursday 21 July 2022 19:38:00 +0000 (0:00:00.040) 0:01:39.525 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:36 Thursday 21 July 2022 19:38:00 +0000 (0:00:00.038) 0:01:39.563 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:39 Thursday 21 July 2022 19:38:00 +0000 (0:00:00.099) 0:01:39.662 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:44 Thursday 21 July 2022 19:38:00 +0000 (0:00:00.040) 0:01:39.703 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_actual_size": { "bytes": 3221225472, "changed": false, "failed": false, "lvm": "3g", "parted": "3GiB", "size": "3 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:47 Thursday 21 July 2022 19:38:00 +0000 (0:00:00.039) 0:01:39.742 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_expected_size": "3221225472" } TASK [assert] ****************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:50 Thursday 21 July 2022 19:38:00 +0000 (0:00:00.044) 0:01:39.786 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml:6 Thursday 21 July 2022 19:38:00 +0000 (0:00:00.053) 0:01:39.839 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "lvs", "--noheadings", "--nameprefixes", "--units=b", "--nosuffix", "--unquoted", "-o", "name,attr,cache_total_blocks,chunk_size,segtype", "vg1/lv3" ], "delta": "0:00:00.035530", "end": "2022-07-21 15:38:00.157217", "rc": 0, "start": "2022-07-21 15:38:00.121687" } STDOUT: LVM2_LV_NAME=lv3 LVM2_LV_ATTR=-wi-ao---- LVM2_CACHE_TOTAL_BLOCKS= LVM2_CHUNK_SIZE=0 LVM2_SEGTYPE=linear TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml:14 Thursday 21 July 2022 19:38:01 +0000 (0:00:00.443) 0:01:40.283 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_lv_segtype": [ "linear" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml:17 Thursday 21 July 2022 19:38:01 +0000 (0:00:00.115) 0:01:40.399 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml:22 Thursday 21 July 2022 19:38:01 +0000 (0:00:00.085) 0:01:40.485 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml:26 Thursday 21 July 2022 19:38:01 +0000 (0:00:00.076) 0:01:40.561 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml:32 Thursday 21 July 2022 19:38:01 +0000 (0:00:00.066) 0:01:40.627 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml:36 Thursday 21 July 2022 19:38:01 +0000 (0:00:00.043) 0:01:40.671 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume.yml:16 Thursday 21 July 2022 19:38:01 +0000 (0:00:00.042) 0:01:40.713 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml:43 Thursday 21 July 2022 19:38:01 +0000 (0:00:00.042) 0:01:40.756 ********* TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml:53 Thursday 21 July 2022 19:38:01 +0000 (0:00:00.022) 0:01:40.778 ********* ok: [/cache/rhel-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/tmpcv9gbk7i/tests/storage/tests_create_raid_pool_then_remove.yml:54 Thursday 21 July 2022 19:38:01 +0000 (0:00:00.035) 0:01:40.814 ********* TASK [fedora.linux_system_roles.storage : set platform/version specific variables] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Thursday 21 July 2022 19:38:01 +0000 (0:00:00.060) 0:01:40.874 ********* included: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for /cache/rhel-8.qcow2 TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Thursday 21 July 2022 19:38:01 +0000 (0:00:00.039) 0:01:40.913 ********* ok: [/cache/rhel-8.qcow2] TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Thursday 21 July 2022 19:38:02 +0000 (0:00:00.540) 0:01:41.454 ********* skipping: [/cache/rhel-8.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/rhel-8.qcow2] => (item=RedHat_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/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/vars/RedHat_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.yml" } skipping: [/cache/rhel-8.qcow2] => (item=RedHat_8.6.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.6.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Thursday 21 July 2022 19:38:02 +0000 (0:00:00.068) 0:01:41.523 ********* ok: [/cache/rhel-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/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Thursday 21 July 2022 19:38:02 +0000 (0:00:00.034) 0:01:41.557 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : include the appropriate provider tasks] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Thursday 21 July 2022 19:38:02 +0000 (0:00:00.034) 0:01:41.591 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for /cache/rhel-8.qcow2 TASK [fedora.linux_system_roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 19:38:02 +0000 (0:00:00.056) 0:01:41.648 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure blivet is available] ******* task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 19:38:02 +0000 (0:00:00.021) 0:01:41.669 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : show storage_pools] ****************** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:13 Thursday 21 July 2022 19:38:02 +0000 (0:00:00.031) 0:01:41.701 ********* ok: [/cache/rhel-8.qcow2] => { "storage_pools": [ { "disks": [ "sda", "sdb" ], "name": "vg1", "raid_level": "raid0", "state": "present", "type": "lvm", "volumes": [ { "mount_point": "/opt/test1", "name": "lv1", "size": "2g" }, { "mount_point": "/opt/test2", "name": "lv2", "size": "3g" }, { "mount_point": "/opt/test3", "name": "lv3", "size": "3g" } ] } ] } TASK [fedora.linux_system_roles.storage : show storage_volumes] **************** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:18 Thursday 21 July 2022 19:38:02 +0000 (0:00:00.141) 0:01:41.842 ********* ok: [/cache/rhel-8.qcow2] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [fedora.linux_system_roles.storage : get required packages] *************** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:23 Thursday 21 July 2022 19:38:02 +0000 (0:00:00.037) 0:01:41.880 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : enable copr repositories if needed] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:35 Thursday 21 July 2022 19:38:02 +0000 (0:00:00.031) 0:01:41.911 ********* skipping: [/cache/rhel-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/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:41 Thursday 21 July 2022 19:38:02 +0000 (0:00:00.031) 0:01:41.942 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : get service facts] ******************* task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 Thursday 21 July 2022 19:38:02 +0000 (0:00:00.031) 0:01:41.974 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:53 Thursday 21 July 2022 19:38:02 +0000 (0:00:00.030) 0:01:42.005 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 19:38:02 +0000 (0:00:00.058) 0:01:42.064 ********* TASK [fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Thursday 21 July 2022 19:38:02 +0000 (0:00:00.022) 0:01:42.086 ********* ok: [/cache/rhel-8.qcow2] => { "actions": [], "changed": false, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/mapper/vg1-lv1", "/dev/mapper/vg1-lv2", "/dev/mapper/vg1-lv3", "/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/vg1-lv1", "state": "mounted" }, { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test2", "src": "/dev/mapper/vg1-lv2", "state": "mounted" }, { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test3", "src": "/dev/mapper/vg1-lv3", "state": "mounted" } ], "packages": [ "xfsprogs", "lvm2", "dosfstools", "mdadm" ], "pools": [ { "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": "512 KiB", "raid_device_count": 2, "raid_level": "raid0", "raid_metadata_version": "1.2", "raid_spare_count": 0, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_kernel_device": "/dev/dm-2", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "_raw_kernel_device": "/dev/dm-2", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "/dev/mapper/vg1-lv2", "_kernel_device": "/dev/dm-1", "_mount_id": "/dev/mapper/vg1-lv2", "_raw_device": "/dev/mapper/vg1-lv2", "_raw_kernel_device": "/dev/dm-1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "lv2", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "/dev/mapper/vg1-lv3", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/vg1-lv3", "_raw_device": "/dev/mapper/vg1-lv3", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test3", "name": "lv3", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } TASK [fedora.linux_system_roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:78 Thursday 21 July 2022 19:38:05 +0000 (0:00:02.160) 0:01:44.246 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Thursday 21 July 2022 19:38:05 +0000 (0:00:00.039) 0:01:44.286 ********* TASK [fedora.linux_system_roles.storage : show blivet_output] ****************** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:96 Thursday 21 July 2022 19:38:05 +0000 (0:00:00.023) 0:01:44.309 ********* ok: [/cache/rhel-8.qcow2] => { "blivet_output": { "actions": [], "changed": false, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/mapper/vg1-lv1", "/dev/mapper/vg1-lv2", "/dev/mapper/vg1-lv3", "/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/vg1-lv1", "state": "mounted" }, { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test2", "src": "/dev/mapper/vg1-lv2", "state": "mounted" }, { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test3", "src": "/dev/mapper/vg1-lv3", "state": "mounted" } ], "packages": [ "xfsprogs", "lvm2", "dosfstools", "mdadm" ], "pools": [ { "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": "512 KiB", "raid_device_count": 2, "raid_level": "raid0", "raid_metadata_version": "1.2", "raid_spare_count": 0, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_kernel_device": "/dev/dm-2", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "_raw_kernel_device": "/dev/dm-2", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "/dev/mapper/vg1-lv2", "_kernel_device": "/dev/dm-1", "_mount_id": "/dev/mapper/vg1-lv2", "_raw_device": "/dev/mapper/vg1-lv2", "_raw_kernel_device": "/dev/dm-1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "lv2", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "/dev/mapper/vg1-lv3", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/vg1-lv3", "_raw_device": "/dev/mapper/vg1-lv3", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test3", "name": "lv3", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } } TASK [fedora.linux_system_roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:101 Thursday 21 July 2022 19:38:05 +0000 (0:00:00.045) 0:01:44.354 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": "512 KiB", "raid_device_count": 2, "raid_level": "raid0", "raid_metadata_version": "1.2", "raid_spare_count": 0, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_kernel_device": "/dev/dm-2", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "_raw_kernel_device": "/dev/dm-2", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "/dev/mapper/vg1-lv2", "_kernel_device": "/dev/dm-1", "_mount_id": "/dev/mapper/vg1-lv2", "_raw_device": "/dev/mapper/vg1-lv2", "_raw_kernel_device": "/dev/dm-1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "lv2", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "/dev/mapper/vg1-lv3", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/vg1-lv3", "_raw_device": "/dev/mapper/vg1-lv3", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test3", "name": "lv3", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] }, "changed": false } TASK [fedora.linux_system_roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:105 Thursday 21 July 2022 19:38:05 +0000 (0:00:00.043) 0:01:44.397 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : remove obsolete mounts] ************** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:121 Thursday 21 July 2022 19:38:05 +0000 (0:00:00.040) 0:01:44.438 ********* TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 Thursday 21 July 2022 19:38:05 +0000 (0:00:00.040) 0:01:44.478 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : set up new/current mounts] *********** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:137 Thursday 21 July 2022 19:38:05 +0000 (0:00:00.663) 0:01:45.142 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount ok: [/cache/rhel-8.qcow2] => (item={'src': '/dev/mapper/vg1-lv1', 'path': '/opt/test1', 'fstype': 'xfs', 'opts': 'defaults', 'dump': 0, 'passno': 0, 'state': 'mounted'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": false, "dump": "0", "fstab": "/etc/fstab", "fstype": "xfs", "mount_info": { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/vg1-lv1", "state": "mounted" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "/dev/mapper/vg1-lv1" } redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount ok: [/cache/rhel-8.qcow2] => (item={'src': '/dev/mapper/vg1-lv2', 'path': '/opt/test2', 'fstype': 'xfs', 'opts': 'defaults', 'dump': 0, 'passno': 0, 'state': 'mounted'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": false, "dump": "0", "fstab": "/etc/fstab", "fstype": "xfs", "mount_info": { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test2", "src": "/dev/mapper/vg1-lv2", "state": "mounted" }, "name": "/opt/test2", "opts": "defaults", "passno": "0", "src": "/dev/mapper/vg1-lv2" } redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount ok: [/cache/rhel-8.qcow2] => (item={'src': '/dev/mapper/vg1-lv3', 'path': '/opt/test3', 'fstype': 'xfs', 'opts': 'defaults', 'dump': 0, 'passno': 0, 'state': 'mounted'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": false, "dump": "0", "fstab": "/etc/fstab", "fstype": "xfs", "mount_info": { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test3", "src": "/dev/mapper/vg1-lv3", "state": "mounted" }, "name": "/opt/test3", "opts": "defaults", "passno": "0", "src": "/dev/mapper/vg1-lv3" } TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:148 Thursday 21 July 2022 19:38:07 +0000 (0:00:01.196) 0:01:46.338 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:156 Thursday 21 July 2022 19:38:07 +0000 (0:00:00.611) 0:01:46.950 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:161 Thursday 21 July 2022 19:38:08 +0000 (0:00:00.361) 0:01:47.312 ********* TASK [fedora.linux_system_roles.storage : Update facts] ************************ task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 Thursday 21 July 2022 19:38:08 +0000 (0:00:00.023) 0:01:47.336 ********* ok: [/cache/rhel-8.qcow2] META: role_complete for /cache/rhel-8.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/tests_create_raid_pool_then_remove.yml:75 Thursday 21 July 2022 19:38:09 +0000 (0:00:01.037) 0:01:48.373 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml for /cache/rhel-8.qcow2 TASK [Print out pool information] ********************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml:1 Thursday 21 July 2022 19:38:09 +0000 (0:00:00.097) 0:01:48.470 ********* ok: [/cache/rhel-8.qcow2] => { "_storage_pools_list": [ { "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": "512 KiB", "raid_device_count": 2, "raid_level": "raid0", "raid_metadata_version": "1.2", "raid_spare_count": 0, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_kernel_device": "/dev/dm-2", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "_raw_kernel_device": "/dev/dm-2", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "/dev/mapper/vg1-lv2", "_kernel_device": "/dev/dm-1", "_mount_id": "/dev/mapper/vg1-lv2", "_raw_device": "/dev/mapper/vg1-lv2", "_raw_kernel_device": "/dev/dm-1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "lv2", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "/dev/mapper/vg1-lv3", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/vg1-lv3", "_raw_device": "/dev/mapper/vg1-lv3", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test3", "name": "lv3", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] } TASK [Print out volume information] ******************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml:6 Thursday 21 July 2022 19:38:09 +0000 (0:00:00.057) 0:01:48.527 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml:14 Thursday 21 July 2022 19:38:09 +0000 (0:00:00.038) 0:01:48.566 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "info": { "/dev/mapper/vg1-lv1": { "fstype": "xfs", "label": "", "name": "/dev/mapper/vg1-lv1", "size": "2G", "type": "lvm", "uuid": "9bee13d1-8215-4cff-9c0e-cd739306d81f" }, "/dev/mapper/vg1-lv2": { "fstype": "xfs", "label": "", "name": "/dev/mapper/vg1-lv2", "size": "3G", "type": "lvm", "uuid": "7a03536b-adeb-4aec-9152-1e00e38a7246" }, "/dev/mapper/vg1-lv3": { "fstype": "xfs", "label": "", "name": "/dev/mapper/vg1-lv3", "size": "3G", "type": "lvm", "uuid": "fd07add7-aa31-46c5-af72-a326a3292f76" }, "/dev/md/vg1-1": { "fstype": "LVM2_member", "label": "", "name": "/dev/md/vg1-1", "size": "20G", "type": "raid0", "uuid": "MLTCq5-hdx3-ClvP-4GEt-csoV-MywN-YOLEAJ" }, "/dev/nvme0n1": { "fstype": "", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme1n1": { "fstype": "", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme2n1": { "fstype": "", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda": { "fstype": "", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda1": { "fstype": "linux_raid_member", "label": "vg1-1", "name": "/dev/sda1", "size": "10G", "type": "partition", "uuid": "5b85ddbe-c5ba-48aa-73d5-19d2ce41db30" }, "/dev/sdb": { "fstype": "", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdb1": { "fstype": "linux_raid_member", "label": "vg1-1", "name": "/dev/sdb1", "size": "10G", "type": "partition", "uuid": "5b85ddbe-c5ba-48aa-73d5-19d2ce41db30" }, "/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-19-36-08-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "", "label": "", "name": "/dev/vda1", "size": "1M", "type": "partition", "uuid": "" }, "/dev/vda2": { "fstype": "vfat", "label": "", "name": "/dev/vda2", "size": "100M", "type": "partition", "uuid": "7B77-95E7" }, "/dev/vda3": { "fstype": "xfs", "label": "root", "name": "/dev/vda3", "size": "9.9G", "type": "partition", "uuid": "853ae189-b3fe-4a45-8485-75bbb1421bbe" }, "/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/tmpcv9gbk7i/tests/storage/verify-role-results.yml:19 Thursday 21 July 2022 19:38:09 +0000 (0:00:00.384) 0:01:48.951 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.002285", "end": "2022-07-21 15:38:09.207700", "rc": 0, "start": "2022-07-21 15:38:09.205415" } STDOUT: UUID=853ae189-b3fe-4a45-8485-75bbb1421bbe / xfs defaults 0 0 UUID=7B77-95E7 /boot/efi vfat defaults,uid=0,gid=0,umask=077,shortname=winnt 0 2 /dev/mapper/vg1-lv1 /opt/test1 xfs defaults 0 0 /dev/mapper/vg1-lv2 /opt/test2 xfs defaults 0 0 /dev/mapper/vg1-lv3 /opt/test3 xfs defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml:24 Thursday 21 July 2022 19:38:10 +0000 (0:00:00.369) 0:01:49.321 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.002214", "end": "2022-07-21 15:38:09.575272", "failed_when_result": false, "rc": 1, "start": "2022-07-21 15:38:09.573058" } STDERR: cat: /etc/crypttab: No such file or directory MSG: non-zero return code TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml:33 Thursday 21 July 2022 19:38:10 +0000 (0:00:00.365) 0:01:49.686 ********* included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool.yml for /cache/rhel-8.qcow2 => (item={'disks': ['sda', 'sdb'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'name': 'vg1', 'raid_level': 'raid0', 'raid_device_count': 2, 'raid_spare_count': 0, 'raid_metadata_version': '1.2', 'state': 'present', 'type': 'lvm', 'volumes': [{'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'lv1', 'raid_level': None, 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1', '_kernel_device': '/dev/dm-2', '_raw_kernel_device': '/dev/dm-2'}, {'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test2', 'name': 'lv2', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv2', '_raw_device': '/dev/mapper/vg1-lv2', '_mount_id': '/dev/mapper/vg1-lv2', '_kernel_device': '/dev/dm-1', '_raw_kernel_device': '/dev/dm-1'}, {'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test3', 'name': 'lv3', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv3', '_raw_device': '/dev/mapper/vg1-lv3', '_mount_id': '/dev/mapper/vg1-lv3', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}], 'raid_chunk_size': '512 KiB'}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool.yml:5 Thursday 21 July 2022 19:38:10 +0000 (0:00:00.066) 0:01:49.753 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool.yml:18 Thursday 21 July 2022 19:38:10 +0000 (0:00:00.041) 0:01:49.795 ********* included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml for /cache/rhel-8.qcow2 => (item=members) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-volumes.yml for /cache/rhel-8.qcow2 => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:1 Thursday 21 July 2022 19:38:10 +0000 (0:00:00.049) 0:01:49.845 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_count": "1", "_storage_test_pool_pvs_lvm": [ "/dev/md127" ] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:6 Thursday 21 July 2022 19:38:10 +0000 (0:00:00.058) 0:01:49.903 ********* ok: [/cache/rhel-8.qcow2] => (item=/dev/md127) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/md/vg1-1", "pv": "/dev/md127" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:15 Thursday 21 July 2022 19:38:11 +0000 (0:00:00.367) 0:01:50.271 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "__pvs_lvm_len": "1" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:19 Thursday 21 July 2022 19:38:11 +0000 (0:00:00.052) 0:01:50.323 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/md/vg1-1" ] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:23 Thursday 21 July 2022 19:38:11 +0000 (0:00:00.052) 0:01:50.376 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:29 Thursday 21 July 2022 19:38:11 +0000 (0:00:00.050) 0:01:50.427 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:33 Thursday 21 July 2022 19:38:11 +0000 (0:00:00.038) 0:01:50.465 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_type": "partition" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:37 Thursday 21 July 2022 19:38:11 +0000 (0:00:00.051) 0:01:50.517 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_type": "raid0" }, "changed": false } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:41 Thursday 21 July 2022 19:38:11 +0000 (0:00:00.041) 0:01:50.558 ********* ok: [/cache/rhel-8.qcow2] => (item=/dev/md/vg1-1) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/md/vg1-1" } MSG: All assertions passed TASK [Check MD RAID] *********************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:50 Thursday 21 July 2022 19:38:11 +0000 (0:00:00.043) 0:01:50.601 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml for /cache/rhel-8.qcow2 TASK [get information about RAID] ********************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:6 Thursday 21 July 2022 19:38:11 +0000 (0:00:00.042) 0:01:50.644 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "mdadm", "--detail", "/dev/md/vg1-1" ], "delta": "0:00:00.006516", "end": "2022-07-21 15:38:10.942767", "rc": 0, "start": "2022-07-21 15:38:10.936251" } STDOUT: /dev/md/vg1-1: Version : 1.2 Creation Time : Thu Jul 21 15:37:26 2022 Raid Level : raid0 Array Size : 20951040 (19.98 GiB 21.45 GB) Raid Devices : 2 Total Devices : 2 Persistence : Superblock is persistent Update Time : Thu Jul 21 15:37:26 2022 State : clean Active Devices : 2 Working Devices : 2 Failed Devices : 0 Spare Devices : 0 Layout : -unknown- Chunk Size : 512K Consistency Policy : none Name : vg1-1 UUID : 5b85ddbe:c5ba48aa:73d519d2:ce41db30 Events : 0 Number Major Minor RaidDevice State 0 8 1 0 active sync /dev/sda1 1 8 17 1 active sync /dev/sdb1 TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:12 Thursday 21 July 2022 19:38:11 +0000 (0:00:00.412) 0:01:51.056 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_md_active_devices_re": "Active\\ Devices\\ :\\ 2\\\n" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:16 Thursday 21 July 2022 19:38:11 +0000 (0:00:00.054) 0:01:51.110 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_md_spare_devices_re": "Spare\\ Devices\\ :\\ 0\\\n" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:20 Thursday 21 July 2022 19:38:11 +0000 (0:00:00.063) 0:01:51.174 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_md_metadata_version_re": "Version\\ :\\ 1\\.2\\\n" }, "changed": false } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:24 Thursday 21 July 2022 19:38:12 +0000 (0:00:00.056) 0:01:51.230 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:30 Thursday 21 July 2022 19:38:12 +0000 (0:00:00.045) 0:01:51.275 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:36 Thursday 21 July 2022 19:38:12 +0000 (0:00:00.045) 0:01:51.321 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:44 Thursday 21 July 2022 19:38:12 +0000 (0:00:00.044) 0:01:51.365 ********* ok: [/cache/rhel-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/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:53 Thursday 21 July 2022 19:38:12 +0000 (0:00:00.032) 0:01:51.398 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-lvmraid.yml for /cache/rhel-8.qcow2 TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-lvmraid.yml:1 Thursday 21 July 2022 19:38:12 +0000 (0:00:00.043) 0:01:51.441 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-lvmraid.yml for /cache/rhel-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': 'lv1', 'raid_level': None, 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1', '_kernel_device': '/dev/dm-2', '_raw_kernel_device': '/dev/dm-2'}) included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-lvmraid.yml for /cache/rhel-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': 'lv2', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv2', '_raw_device': '/dev/mapper/vg1-lv2', '_mount_id': '/dev/mapper/vg1-lv2', '_kernel_device': '/dev/dm-1', '_raw_kernel_device': '/dev/dm-1'}) included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-lvmraid.yml for /cache/rhel-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/test3', 'name': 'lv3', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv3', '_raw_device': '/dev/mapper/vg1-lv3', '_mount_id': '/dev/mapper/vg1-lv3', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-lvmraid.yml:3 Thursday 21 July 2022 19:38:12 +0000 (0:00:00.053) 0:01:51.495 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-lvmraid.yml:8 Thursday 21 July 2022 19:38:12 +0000 (0:00:00.027) 0:01:51.522 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-lvmraid.yml:12 Thursday 21 July 2022 19:38:12 +0000 (0:00:00.029) 0:01:51.551 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-lvmraid.yml:3 Thursday 21 July 2022 19:38:12 +0000 (0:00:00.026) 0:01:51.578 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-lvmraid.yml:8 Thursday 21 July 2022 19:38:12 +0000 (0:00:00.029) 0:01:51.608 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-lvmraid.yml:12 Thursday 21 July 2022 19:38:12 +0000 (0:00:00.028) 0:01:51.637 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-lvmraid.yml:3 Thursday 21 July 2022 19:38:12 +0000 (0:00:00.026) 0:01:51.663 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-lvmraid.yml:8 Thursday 21 July 2022 19:38:12 +0000 (0:00:00.027) 0:01:51.690 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-lvmraid.yml:12 Thursday 21 July 2022 19:38:12 +0000 (0:00:00.027) 0:01:51.718 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:56 Thursday 21 July 2022 19:38:12 +0000 (0:00:00.027) 0:01:51.746 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-thin.yml for /cache/rhel-8.qcow2 TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-thin.yml:1 Thursday 21 July 2022 19:38:12 +0000 (0:00:00.053) 0:01:51.799 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-thin.yml for /cache/rhel-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': 'lv1', 'raid_level': None, 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1', '_kernel_device': '/dev/dm-2', '_raw_kernel_device': '/dev/dm-2'}) included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-thin.yml for /cache/rhel-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': 'lv2', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv2', '_raw_device': '/dev/mapper/vg1-lv2', '_mount_id': '/dev/mapper/vg1-lv2', '_kernel_device': '/dev/dm-1', '_raw_kernel_device': '/dev/dm-1'}) included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-thin.yml for /cache/rhel-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/test3', 'name': 'lv3', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv3', '_raw_device': '/dev/mapper/vg1-lv3', '_mount_id': '/dev/mapper/vg1-lv3', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [Get information about thinpool] ****************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-thin.yml:3 Thursday 21 July 2022 19:38:12 +0000 (0:00:00.063) 0:01:51.863 ********* skipping: [/cache/rhel-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/tmpcv9gbk7i/tests/storage/verify-pool-member-thin.yml:8 Thursday 21 July 2022 19:38:12 +0000 (0:00:00.025) 0:01:51.889 ********* skipping: [/cache/rhel-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/tmpcv9gbk7i/tests/storage/verify-pool-member-thin.yml:13 Thursday 21 July 2022 19:38:12 +0000 (0:00:00.023) 0:01:51.912 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-thin.yml:17 Thursday 21 July 2022 19:38:12 +0000 (0:00:00.028) 0:01:51.941 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about thinpool] ****************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-thin.yml:3 Thursday 21 July 2022 19:38:12 +0000 (0:00:00.026) 0:01:51.967 ********* skipping: [/cache/rhel-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/tmpcv9gbk7i/tests/storage/verify-pool-member-thin.yml:8 Thursday 21 July 2022 19:38:12 +0000 (0:00:00.026) 0:01:51.994 ********* skipping: [/cache/rhel-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/tmpcv9gbk7i/tests/storage/verify-pool-member-thin.yml:13 Thursday 21 July 2022 19:38:12 +0000 (0:00:00.025) 0:01:52.019 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-thin.yml:17 Thursday 21 July 2022 19:38:12 +0000 (0:00:00.027) 0:01:52.047 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about thinpool] ****************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-thin.yml:3 Thursday 21 July 2022 19:38:12 +0000 (0:00:00.025) 0:01:52.073 ********* skipping: [/cache/rhel-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/tmpcv9gbk7i/tests/storage/verify-pool-member-thin.yml:8 Thursday 21 July 2022 19:38:12 +0000 (0:00:00.023) 0:01:52.096 ********* skipping: [/cache/rhel-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/tmpcv9gbk7i/tests/storage/verify-pool-member-thin.yml:13 Thursday 21 July 2022 19:38:12 +0000 (0:00:00.021) 0:01:52.118 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-thin.yml:17 Thursday 21 July 2022 19:38:12 +0000 (0:00:00.022) 0:01:52.141 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:59 Thursday 21 July 2022 19:38:12 +0000 (0:00:00.062) 0:01:52.204 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-encryption.yml for /cache/rhel-8.qcow2 TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-encryption.yml:4 Thursday 21 July 2022 19:38:13 +0000 (0:00:00.050) 0:01:52.254 ********* ok: [/cache/rhel-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/tmpcv9gbk7i/tests/storage/verify-pool-members-encryption.yml:8 Thursday 21 July 2022 19:38:13 +0000 (0:00:00.054) 0:01:52.309 ********* skipping: [/cache/rhel-8.qcow2] => (item=/dev/md/vg1-1) => { "_storage_test_pool_member_path": "/dev/md/vg1-1", "ansible_loop_var": "_storage_test_pool_member_path", "changed": false, "skip_reason": "Conditional result was False" } TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-encryption.yml:15 Thursday 21 July 2022 19:38:13 +0000 (0:00:00.029) 0:01:52.338 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-crypttab.yml for /cache/rhel-8.qcow2 => (item=/dev/md/vg1-1) TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-crypttab.yml:1 Thursday 21 July 2022 19:38:13 +0000 (0:00:00.042) 0:01:52.381 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": [] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-crypttab.yml:4 Thursday 21 July 2022 19:38:13 +0000 (0:00:00.047) 0:01:52.428 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-crypttab.yml:9 Thursday 21 July 2022 19:38:13 +0000 (0:00:00.045) 0:01:52.474 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-crypttab.yml:15 Thursday 21 July 2022 19:38:13 +0000 (0:00:00.033) 0:01:52.508 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-crypttab.yml:21 Thursday 21 July 2022 19:38:13 +0000 (0:00:00.034) 0:01:52.543 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-crypttab.yml:27 Thursday 21 July 2022 19:38:13 +0000 (0:00:00.034) 0:01:52.577 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-encryption.yml:22 Thursday 21 July 2022 19:38:13 +0000 (0:00:00.034) 0:01:52.611 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:62 Thursday 21 July 2022 19:38:13 +0000 (0:00:00.034) 0:01:52.646 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-vdo.yml for /cache/rhel-8.qcow2 TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-vdo.yml:1 Thursday 21 July 2022 19:38:13 +0000 (0:00:00.047) 0:01:52.694 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml for /cache/rhel-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': 'lv1', 'raid_level': None, 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1', '_kernel_device': '/dev/dm-2', '_raw_kernel_device': '/dev/dm-2'}) included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml for /cache/rhel-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': 'lv2', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv2', '_raw_device': '/dev/mapper/vg1-lv2', '_mount_id': '/dev/mapper/vg1-lv2', '_kernel_device': '/dev/dm-1', '_raw_kernel_device': '/dev/dm-1'}) included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml for /cache/rhel-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/test3', 'name': 'lv3', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv3', '_raw_device': '/dev/mapper/vg1-lv3', '_mount_id': '/dev/mapper/vg1-lv3', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:3 Thursday 21 July 2022 19:38:13 +0000 (0:00:00.057) 0:01:52.751 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:8 Thursday 21 July 2022 19:38:13 +0000 (0:00:00.022) 0:01:52.774 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:11 Thursday 21 July 2022 19:38:13 +0000 (0:00:00.022) 0:01:52.796 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:16 Thursday 21 July 2022 19:38:13 +0000 (0:00:00.022) 0:01:52.818 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:21 Thursday 21 July 2022 19:38:13 +0000 (0:00:00.023) 0:01:52.841 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:24 Thursday 21 July 2022 19:38:13 +0000 (0:00:00.022) 0:01:52.863 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:29 Thursday 21 July 2022 19:38:13 +0000 (0:00:00.022) 0:01:52.885 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:39 Thursday 21 July 2022 19:38:13 +0000 (0:00:00.021) 0:01:52.907 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:3 Thursday 21 July 2022 19:38:13 +0000 (0:00:00.034) 0:01:52.941 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:8 Thursday 21 July 2022 19:38:13 +0000 (0:00:00.022) 0:01:52.964 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:11 Thursday 21 July 2022 19:38:13 +0000 (0:00:00.022) 0:01:52.986 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:16 Thursday 21 July 2022 19:38:13 +0000 (0:00:00.023) 0:01:53.009 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:21 Thursday 21 July 2022 19:38:13 +0000 (0:00:00.027) 0:01:53.037 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:24 Thursday 21 July 2022 19:38:13 +0000 (0:00:00.025) 0:01:53.063 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:29 Thursday 21 July 2022 19:38:13 +0000 (0:00:00.025) 0:01:53.088 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:39 Thursday 21 July 2022 19:38:13 +0000 (0:00:00.024) 0:01:53.113 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:3 Thursday 21 July 2022 19:38:13 +0000 (0:00:00.039) 0:01:53.152 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:8 Thursday 21 July 2022 19:38:13 +0000 (0:00:00.026) 0:01:53.179 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:11 Thursday 21 July 2022 19:38:13 +0000 (0:00:00.026) 0:01:53.205 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:16 Thursday 21 July 2022 19:38:14 +0000 (0:00:00.025) 0:01:53.230 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:21 Thursday 21 July 2022 19:38:14 +0000 (0:00:00.026) 0:01:53.257 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:24 Thursday 21 July 2022 19:38:14 +0000 (0:00:00.026) 0:01:53.284 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:29 Thursday 21 July 2022 19:38:14 +0000 (0:00:00.031) 0:01:53.315 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:39 Thursday 21 July 2022 19:38:14 +0000 (0:00:00.031) 0:01:53.347 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:65 Thursday 21 July 2022 19:38:14 +0000 (0:00:00.130) 0:01:53.477 ********* ok: [/cache/rhel-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/tmpcv9gbk7i/tests/storage/test-verify-pool-volumes.yml:3 Thursday 21 July 2022 19:38:14 +0000 (0:00:00.037) 0:01:53.514 ********* included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume.yml for /cache/rhel-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': 'lv1', 'raid_level': None, 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1', '_kernel_device': '/dev/dm-2', '_raw_kernel_device': '/dev/dm-2'}) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume.yml for /cache/rhel-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': 'lv2', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv2', '_raw_device': '/dev/mapper/vg1-lv2', '_mount_id': '/dev/mapper/vg1-lv2', '_kernel_device': '/dev/dm-1', '_raw_kernel_device': '/dev/dm-1'}) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume.yml for /cache/rhel-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/test3', 'name': 'lv3', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv3', '_raw_device': '/dev/mapper/vg1-lv3', '_mount_id': '/dev/mapper/vg1-lv3', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume.yml:2 Thursday 21 July 2022 19:38:14 +0000 (0:00:00.063) 0:01:53.578 ********* ok: [/cache/rhel-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/tmpcv9gbk7i/tests/storage/test-verify-volume.yml:10 Thursday 21 July 2022 19:38:14 +0000 (0:00:00.049) 0:01:53.627 ********* included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml for /cache/rhel-8.qcow2 => (item=mount) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-fstab.yml for /cache/rhel-8.qcow2 => (item=fstab) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-fs.yml for /cache/rhel-8.qcow2 => (item=fs) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-device.yml for /cache/rhel-8.qcow2 => (item=device) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml for /cache/rhel-8.qcow2 => (item=encryption) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml for /cache/rhel-8.qcow2 => (item=md) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml for /cache/rhel-8.qcow2 => (item=size) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml for /cache/rhel-8.qcow2 => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:6 Thursday 21 July 2022 19:38:14 +0000 (0:00:00.082) 0:01:53.710 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/vg1-lv1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:10 Thursday 21 July 2022 19:38:14 +0000 (0:00:00.044) 0:01:53.754 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 508753, "block_size": 4096, "block_total": 520704, "block_used": 11951, "device": "/dev/mapper/vg1-lv1", "fstype": "xfs", "inode_available": 1046525, "inode_total": 1046528, "inode_used": 3, "mount": "/opt/test1", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,sunit=1024,swidth=2048,noquota", "size_available": 2083852288, "size_total": 2132803584, "uuid": "9bee13d1-8215-4cff-9c0e-cd739306d81f" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 508753, "block_size": 4096, "block_total": 520704, "block_used": 11951, "device": "/dev/mapper/vg1-lv1", "fstype": "xfs", "inode_available": 1046525, "inode_total": 1046528, "inode_used": 3, "mount": "/opt/test1", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,sunit=1024,swidth=2048,noquota", "size_available": 2083852288, "size_total": 2132803584, "uuid": "9bee13d1-8215-4cff-9c0e-cd739306d81f" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:20 Thursday 21 July 2022 19:38:14 +0000 (0:00:00.058) 0:01:53.812 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:29 Thursday 21 July 2022 19:38:14 +0000 (0:00:00.050) 0:01:53.863 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:37 Thursday 21 July 2022 19:38:14 +0000 (0:00:00.053) 0:01:53.917 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:46 Thursday 21 July 2022 19:38:14 +0000 (0:00:00.055) 0:01:53.972 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:50 Thursday 21 July 2022 19:38:14 +0000 (0:00:00.025) 0:01:53.997 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:55 Thursday 21 July 2022 19:38:14 +0000 (0:00:00.023) 0:01:54.021 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:65 Thursday 21 July 2022 19:38:14 +0000 (0:00:00.023) 0:01:54.045 ********* ok: [/cache/rhel-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/tmpcv9gbk7i/tests/storage/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 19:38:14 +0000 (0:00:00.039) 0:01:54.084 ********* ok: [/cache/rhel-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/vg1-lv1 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test1 xfs defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test1 " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-fstab.yml:12 Thursday 21 July 2022 19:38:14 +0000 (0:00:00.065) 0:01:54.150 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-fstab.yml:19 Thursday 21 July 2022 19:38:14 +0000 (0:00:00.053) 0:01:54.204 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 19:38:15 +0000 (0:00:00.054) 0:01:54.258 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-fstab.yml:34 Thursday 21 July 2022 19:38:15 +0000 (0:00:00.037) 0:01:54.296 ********* ok: [/cache/rhel-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/tmpcv9gbk7i/tests/storage/test-verify-volume-fs.yml:4 Thursday 21 July 2022 19:38:15 +0000 (0:00:00.036) 0:01:54.333 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-fs.yml:10 Thursday 21 July 2022 19:38:15 +0000 (0:00:00.041) 0:01:54.374 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-device.yml:4 Thursday 21 July 2022 19:38:15 +0000 (0:00:00.041) 0:01:54.416 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "stat": { "atime": 1658432252.9358003, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658432252.9358003, "dev": 6, "device_type": 64770, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 75693, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1658432252.9358003, "nlink": 1, "path": "/dev/mapper/vg1-lv1", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-device.yml:10 Thursday 21 July 2022 19:38:15 +0000 (0:00:00.371) 0:01:54.788 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-device.yml:15 Thursday 21 July 2022 19:38:15 +0000 (0:00:00.040) 0:01:54.829 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-device.yml:21 Thursday 21 July 2022 19:38:15 +0000 (0:00:00.041) 0:01:54.870 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-device.yml:25 Thursday 21 July 2022 19:38:15 +0000 (0:00:00.038) 0:01:54.909 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-device.yml:30 Thursday 21 July 2022 19:38:15 +0000 (0:00:00.027) 0:01:54.936 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 19:38:15 +0000 (0:00:00.039) 0:01:54.976 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 19:38:15 +0000 (0:00:00.025) 0:01:55.001 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 19:38:17 +0000 (0:00:01.293) 0:01:56.294 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 19:38:17 +0000 (0:00:00.025) 0:01:56.319 ********* skipping: [/cache/rhel-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/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:27 Thursday 21 July 2022 19:38:17 +0000 (0:00:00.025) 0:01:56.345 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:33 Thursday 21 July 2022 19:38:17 +0000 (0:00:00.054) 0:01:56.399 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:39 Thursday 21 July 2022 19:38:17 +0000 (0:00:00.025) 0:01:56.424 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 19:38:17 +0000 (0:00:00.025) 0:01:56.449 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:50 Thursday 21 July 2022 19:38:17 +0000 (0:00:00.025) 0:01:56.475 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:56 Thursday 21 July 2022 19:38:17 +0000 (0:00:00.027) 0:01:56.503 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:62 Thursday 21 July 2022 19:38:17 +0000 (0:00:00.028) 0:01:56.531 ********* ok: [/cache/rhel-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/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 19:38:17 +0000 (0:00:00.052) 0:01:56.583 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:72 Thursday 21 July 2022 19:38:17 +0000 (0:00:00.051) 0:01:56.634 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:78 Thursday 21 July 2022 19:38:17 +0000 (0:00:00.041) 0:01:56.676 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:84 Thursday 21 July 2022 19:38:17 +0000 (0:00:00.044) 0:01:56.720 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:90 Thursday 21 July 2022 19:38:17 +0000 (0:00:00.046) 0:01:56.767 ********* ok: [/cache/rhel-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/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml:7 Thursday 21 July 2022 19:38:17 +0000 (0:00:00.040) 0:01:56.807 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml:13 Thursday 21 July 2022 19:38:17 +0000 (0:00:00.040) 0:01:56.847 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml:17 Thursday 21 July 2022 19:38:17 +0000 (0:00:00.038) 0:01:56.886 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml:21 Thursday 21 July 2022 19:38:17 +0000 (0:00:00.039) 0:01:56.925 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml:25 Thursday 21 July 2022 19:38:17 +0000 (0:00:00.038) 0:01:56.964 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml:31 Thursday 21 July 2022 19:38:17 +0000 (0:00:00.043) 0:01:57.008 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml:37 Thursday 21 July 2022 19:38:17 +0000 (0:00:00.039) 0:01:57.047 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:3 Thursday 21 July 2022 19:38:17 +0000 (0:00:00.039) 0:01:57.087 ********* ok: [/cache/rhel-8.qcow2] => { "bytes": 2147483648, "changed": false, "lvm": "2g", "parted": "2GiB", "size": "2 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:9 Thursday 21 July 2022 19:38:18 +0000 (0:00:00.391) 0:01:57.478 ********* ok: [/cache/rhel-8.qcow2] => { "bytes": 2147483648, "changed": false, "lvm": "2g", "parted": "2GiB", "size": "2 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:15 Thursday 21 July 2022 19:38:18 +0000 (0:00:00.394) 0:01:57.873 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_expected_size": "2147483648" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:20 Thursday 21 July 2022 19:38:18 +0000 (0:00:00.092) 0:01:57.966 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_expected_size": "2147483648" } TASK [debug] ******************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:25 Thursday 21 July 2022 19:38:18 +0000 (0:00:00.041) 0:01:58.007 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:28 Thursday 21 July 2022 19:38:18 +0000 (0:00:00.039) 0:01:58.047 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:31 Thursday 21 July 2022 19:38:18 +0000 (0:00:00.040) 0:01:58.088 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:36 Thursday 21 July 2022 19:38:18 +0000 (0:00:00.038) 0:01:58.126 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:39 Thursday 21 July 2022 19:38:18 +0000 (0:00:00.041) 0:01:58.168 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:44 Thursday 21 July 2022 19:38:18 +0000 (0:00:00.039) 0:01:58.207 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_actual_size": { "bytes": 2147483648, "changed": false, "failed": false, "lvm": "2g", "parted": "2GiB", "size": "2 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:47 Thursday 21 July 2022 19:38:19 +0000 (0:00:00.072) 0:01:58.280 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_expected_size": "2147483648" } TASK [assert] ****************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:50 Thursday 21 July 2022 19:38:19 +0000 (0:00:00.110) 0:01:58.391 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml:6 Thursday 21 July 2022 19:38:19 +0000 (0:00:00.053) 0:01:58.444 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "lvs", "--noheadings", "--nameprefixes", "--units=b", "--nosuffix", "--unquoted", "-o", "name,attr,cache_total_blocks,chunk_size,segtype", "vg1/lv1" ], "delta": "0:00:00.041217", "end": "2022-07-21 15:38:18.757800", "rc": 0, "start": "2022-07-21 15:38:18.716583" } STDOUT: LVM2_LV_NAME=lv1 LVM2_LV_ATTR=-wi-ao---- LVM2_CACHE_TOTAL_BLOCKS= LVM2_CHUNK_SIZE=0 LVM2_SEGTYPE=linear TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml:14 Thursday 21 July 2022 19:38:19 +0000 (0:00:00.431) 0:01:58.876 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_lv_segtype": [ "linear" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml:17 Thursday 21 July 2022 19:38:19 +0000 (0:00:00.050) 0:01:58.927 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml:22 Thursday 21 July 2022 19:38:19 +0000 (0:00:00.054) 0:01:58.981 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml:26 Thursday 21 July 2022 19:38:19 +0000 (0:00:00.041) 0:01:59.023 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml:32 Thursday 21 July 2022 19:38:19 +0000 (0:00:00.046) 0:01:59.069 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml:36 Thursday 21 July 2022 19:38:19 +0000 (0:00:00.038) 0:01:59.108 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume.yml:16 Thursday 21 July 2022 19:38:19 +0000 (0:00:00.037) 0:01:59.145 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume.yml:2 Thursday 21 July 2022 19:38:19 +0000 (0:00:00.034) 0:01:59.180 ********* ok: [/cache/rhel-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/tmpcv9gbk7i/tests/storage/test-verify-volume.yml:10 Thursday 21 July 2022 19:38:20 +0000 (0:00:00.048) 0:01:59.228 ********* included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml for /cache/rhel-8.qcow2 => (item=mount) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-fstab.yml for /cache/rhel-8.qcow2 => (item=fstab) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-fs.yml for /cache/rhel-8.qcow2 => (item=fs) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-device.yml for /cache/rhel-8.qcow2 => (item=device) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml for /cache/rhel-8.qcow2 => (item=encryption) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml for /cache/rhel-8.qcow2 => (item=md) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml for /cache/rhel-8.qcow2 => (item=size) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml for /cache/rhel-8.qcow2 => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:6 Thursday 21 July 2022 19:38:20 +0000 (0:00:00.082) 0:01:59.310 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/vg1-lv2" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:10 Thursday 21 July 2022 19:38:20 +0000 (0:00:00.040) 0:01:59.351 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 769066, "block_size": 4096, "block_total": 782848, "block_used": 13782, "device": "/dev/mapper/vg1-lv2", "fstype": "xfs", "inode_available": 1570813, "inode_total": 1570816, "inode_used": 3, "mount": "/opt/test2", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,sunit=1024,swidth=2048,noquota", "size_available": 3150094336, "size_total": 3206545408, "uuid": "7a03536b-adeb-4aec-9152-1e00e38a7246" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 769066, "block_size": 4096, "block_total": 782848, "block_used": 13782, "device": "/dev/mapper/vg1-lv2", "fstype": "xfs", "inode_available": 1570813, "inode_total": 1570816, "inode_used": 3, "mount": "/opt/test2", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,sunit=1024,swidth=2048,noquota", "size_available": 3150094336, "size_total": 3206545408, "uuid": "7a03536b-adeb-4aec-9152-1e00e38a7246" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:20 Thursday 21 July 2022 19:38:20 +0000 (0:00:00.054) 0:01:59.405 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:29 Thursday 21 July 2022 19:38:20 +0000 (0:00:00.054) 0:01:59.459 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:37 Thursday 21 July 2022 19:38:20 +0000 (0:00:00.051) 0:01:59.511 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:46 Thursday 21 July 2022 19:38:20 +0000 (0:00:00.052) 0:01:59.563 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:50 Thursday 21 July 2022 19:38:20 +0000 (0:00:00.024) 0:01:59.588 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:55 Thursday 21 July 2022 19:38:20 +0000 (0:00:00.022) 0:01:59.610 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:65 Thursday 21 July 2022 19:38:20 +0000 (0:00:00.022) 0:01:59.632 ********* ok: [/cache/rhel-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/tmpcv9gbk7i/tests/storage/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 19:38:20 +0000 (0:00:00.034) 0:01:59.666 ********* ok: [/cache/rhel-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/vg1-lv2 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test2 xfs defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test2 " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-fstab.yml:12 Thursday 21 July 2022 19:38:20 +0000 (0:00:00.060) 0:01:59.727 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-fstab.yml:19 Thursday 21 July 2022 19:38:20 +0000 (0:00:00.052) 0:01:59.779 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 19:38:20 +0000 (0:00:00.050) 0:01:59.830 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-fstab.yml:34 Thursday 21 July 2022 19:38:20 +0000 (0:00:00.038) 0:01:59.869 ********* ok: [/cache/rhel-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/tmpcv9gbk7i/tests/storage/test-verify-volume-fs.yml:4 Thursday 21 July 2022 19:38:20 +0000 (0:00:00.037) 0:01:59.906 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-fs.yml:10 Thursday 21 July 2022 19:38:20 +0000 (0:00:00.042) 0:01:59.948 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-device.yml:4 Thursday 21 July 2022 19:38:20 +0000 (0:00:00.042) 0:01:59.990 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "stat": { "atime": 1658432252.7428002, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658432252.7428002, "dev": 6, "device_type": 64769, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 75601, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1658432252.7428002, "nlink": 1, "path": "/dev/mapper/vg1-lv2", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-device.yml:10 Thursday 21 July 2022 19:38:21 +0000 (0:00:00.401) 0:02:00.392 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-device.yml:15 Thursday 21 July 2022 19:38:21 +0000 (0:00:00.043) 0:02:00.435 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-device.yml:21 Thursday 21 July 2022 19:38:21 +0000 (0:00:00.078) 0:02:00.514 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-device.yml:25 Thursday 21 July 2022 19:38:21 +0000 (0:00:00.037) 0:02:00.552 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-device.yml:30 Thursday 21 July 2022 19:38:21 +0000 (0:00:00.023) 0:02:00.576 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 19:38:21 +0000 (0:00:00.077) 0:02:00.653 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 19:38:21 +0000 (0:00:00.063) 0:02:00.716 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 19:38:22 +0000 (0:00:01.290) 0:02:02.006 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 19:38:22 +0000 (0:00:00.026) 0:02:02.032 ********* skipping: [/cache/rhel-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/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:27 Thursday 21 July 2022 19:38:22 +0000 (0:00:00.024) 0:02:02.057 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:33 Thursday 21 July 2022 19:38:22 +0000 (0:00:00.052) 0:02:02.109 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:39 Thursday 21 July 2022 19:38:22 +0000 (0:00:00.025) 0:02:02.135 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 19:38:22 +0000 (0:00:00.024) 0:02:02.159 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:50 Thursday 21 July 2022 19:38:22 +0000 (0:00:00.026) 0:02:02.186 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:56 Thursday 21 July 2022 19:38:22 +0000 (0:00:00.025) 0:02:02.211 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:62 Thursday 21 July 2022 19:38:23 +0000 (0:00:00.026) 0:02:02.237 ********* ok: [/cache/rhel-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/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 19:38:23 +0000 (0:00:00.054) 0:02:02.291 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:72 Thursday 21 July 2022 19:38:23 +0000 (0:00:00.054) 0:02:02.346 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:78 Thursday 21 July 2022 19:38:23 +0000 (0:00:00.038) 0:02:02.384 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:84 Thursday 21 July 2022 19:38:23 +0000 (0:00:00.037) 0:02:02.421 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:90 Thursday 21 July 2022 19:38:23 +0000 (0:00:00.037) 0:02:02.459 ********* ok: [/cache/rhel-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/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml:7 Thursday 21 July 2022 19:38:23 +0000 (0:00:00.039) 0:02:02.498 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml:13 Thursday 21 July 2022 19:38:23 +0000 (0:00:00.038) 0:02:02.537 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml:17 Thursday 21 July 2022 19:38:23 +0000 (0:00:00.037) 0:02:02.574 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml:21 Thursday 21 July 2022 19:38:23 +0000 (0:00:00.037) 0:02:02.612 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml:25 Thursday 21 July 2022 19:38:23 +0000 (0:00:00.042) 0:02:02.654 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml:31 Thursday 21 July 2022 19:38:23 +0000 (0:00:00.037) 0:02:02.692 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml:37 Thursday 21 July 2022 19:38:23 +0000 (0:00:00.037) 0:02:02.729 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:3 Thursday 21 July 2022 19:38:23 +0000 (0:00:00.037) 0:02:02.767 ********* ok: [/cache/rhel-8.qcow2] => { "bytes": 3221225472, "changed": false, "lvm": "3g", "parted": "3GiB", "size": "3 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:9 Thursday 21 July 2022 19:38:23 +0000 (0:00:00.376) 0:02:03.143 ********* ok: [/cache/rhel-8.qcow2] => { "bytes": 3221225472, "changed": false, "lvm": "3g", "parted": "3GiB", "size": "3 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:15 Thursday 21 July 2022 19:38:24 +0000 (0:00:00.390) 0:02:03.534 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_expected_size": "3221225472" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:20 Thursday 21 July 2022 19:38:24 +0000 (0:00:00.055) 0:02:03.590 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_expected_size": "3221225472" } TASK [debug] ******************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:25 Thursday 21 July 2022 19:38:24 +0000 (0:00:00.034) 0:02:03.625 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:28 Thursday 21 July 2022 19:38:24 +0000 (0:00:00.035) 0:02:03.661 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:31 Thursday 21 July 2022 19:38:24 +0000 (0:00:00.036) 0:02:03.697 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:36 Thursday 21 July 2022 19:38:24 +0000 (0:00:00.037) 0:02:03.734 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:39 Thursday 21 July 2022 19:38:24 +0000 (0:00:00.036) 0:02:03.771 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:44 Thursday 21 July 2022 19:38:24 +0000 (0:00:00.035) 0:02:03.807 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_actual_size": { "bytes": 3221225472, "changed": false, "failed": false, "lvm": "3g", "parted": "3GiB", "size": "3 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:47 Thursday 21 July 2022 19:38:24 +0000 (0:00:00.085) 0:02:03.893 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_expected_size": "3221225472" } TASK [assert] ****************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:50 Thursday 21 July 2022 19:38:24 +0000 (0:00:00.041) 0:02:03.935 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml:6 Thursday 21 July 2022 19:38:24 +0000 (0:00:00.088) 0:02:04.024 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "lvs", "--noheadings", "--nameprefixes", "--units=b", "--nosuffix", "--unquoted", "-o", "name,attr,cache_total_blocks,chunk_size,segtype", "vg1/lv2" ], "delta": "0:00:00.038655", "end": "2022-07-21 15:38:24.368823", "rc": 0, "start": "2022-07-21 15:38:24.330168" } STDOUT: LVM2_LV_NAME=lv2 LVM2_LV_ATTR=-wi-ao---- LVM2_CACHE_TOTAL_BLOCKS= LVM2_CHUNK_SIZE=0 LVM2_SEGTYPE=linear TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml:14 Thursday 21 July 2022 19:38:25 +0000 (0:00:00.459) 0:02:04.483 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_lv_segtype": [ "linear" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml:17 Thursday 21 July 2022 19:38:25 +0000 (0:00:00.088) 0:02:04.571 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml:22 Thursday 21 July 2022 19:38:25 +0000 (0:00:00.117) 0:02:04.689 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml:26 Thursday 21 July 2022 19:38:25 +0000 (0:00:00.039) 0:02:04.728 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml:32 Thursday 21 July 2022 19:38:25 +0000 (0:00:00.038) 0:02:04.766 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml:36 Thursday 21 July 2022 19:38:25 +0000 (0:00:00.037) 0:02:04.804 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume.yml:16 Thursday 21 July 2022 19:38:25 +0000 (0:00:00.042) 0:02:04.846 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume.yml:2 Thursday 21 July 2022 19:38:25 +0000 (0:00:00.035) 0:02:04.882 ********* ok: [/cache/rhel-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/tmpcv9gbk7i/tests/storage/test-verify-volume.yml:10 Thursday 21 July 2022 19:38:25 +0000 (0:00:00.056) 0:02:04.938 ********* included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml for /cache/rhel-8.qcow2 => (item=mount) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-fstab.yml for /cache/rhel-8.qcow2 => (item=fstab) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-fs.yml for /cache/rhel-8.qcow2 => (item=fs) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-device.yml for /cache/rhel-8.qcow2 => (item=device) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml for /cache/rhel-8.qcow2 => (item=encryption) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml for /cache/rhel-8.qcow2 => (item=md) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml for /cache/rhel-8.qcow2 => (item=size) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml for /cache/rhel-8.qcow2 => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:6 Thursday 21 July 2022 19:38:25 +0000 (0:00:00.080) 0:02:05.018 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/vg1-lv3" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:10 Thursday 21 July 2022 19:38:25 +0000 (0:00:00.040) 0:02:05.059 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 769066, "block_size": 4096, "block_total": 782848, "block_used": 13782, "device": "/dev/mapper/vg1-lv3", "fstype": "xfs", "inode_available": 1570813, "inode_total": 1570816, "inode_used": 3, "mount": "/opt/test3", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,sunit=1024,swidth=2048,noquota", "size_available": 3150094336, "size_total": 3206545408, "uuid": "fd07add7-aa31-46c5-af72-a326a3292f76" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 769066, "block_size": 4096, "block_total": 782848, "block_used": 13782, "device": "/dev/mapper/vg1-lv3", "fstype": "xfs", "inode_available": 1570813, "inode_total": 1570816, "inode_used": 3, "mount": "/opt/test3", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,sunit=1024,swidth=2048,noquota", "size_available": 3150094336, "size_total": 3206545408, "uuid": "fd07add7-aa31-46c5-af72-a326a3292f76" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:20 Thursday 21 July 2022 19:38:25 +0000 (0:00:00.057) 0:02:05.116 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:29 Thursday 21 July 2022 19:38:25 +0000 (0:00:00.049) 0:02:05.166 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:37 Thursday 21 July 2022 19:38:25 +0000 (0:00:00.047) 0:02:05.213 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:46 Thursday 21 July 2022 19:38:26 +0000 (0:00:00.047) 0:02:05.261 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:50 Thursday 21 July 2022 19:38:26 +0000 (0:00:00.022) 0:02:05.284 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:55 Thursday 21 July 2022 19:38:26 +0000 (0:00:00.022) 0:02:05.306 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:65 Thursday 21 July 2022 19:38:26 +0000 (0:00:00.023) 0:02:05.330 ********* ok: [/cache/rhel-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/tmpcv9gbk7i/tests/storage/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 19:38:26 +0000 (0:00:00.031) 0:02:05.362 ********* ok: [/cache/rhel-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/vg1-lv3 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test3 xfs defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test3 " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-fstab.yml:12 Thursday 21 July 2022 19:38:26 +0000 (0:00:00.063) 0:02:05.425 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-fstab.yml:19 Thursday 21 July 2022 19:38:26 +0000 (0:00:00.051) 0:02:05.477 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 19:38:26 +0000 (0:00:00.049) 0:02:05.526 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-fstab.yml:34 Thursday 21 July 2022 19:38:26 +0000 (0:00:00.034) 0:02:05.561 ********* ok: [/cache/rhel-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/tmpcv9gbk7i/tests/storage/test-verify-volume-fs.yml:4 Thursday 21 July 2022 19:38:26 +0000 (0:00:00.033) 0:02:05.594 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-fs.yml:10 Thursday 21 July 2022 19:38:26 +0000 (0:00:00.038) 0:02:05.632 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-device.yml:4 Thursday 21 July 2022 19:38:26 +0000 (0:00:00.040) 0:02:05.673 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "stat": { "atime": 1658432252.5418003, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658432252.5418003, "dev": 6, "device_type": 64768, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 75524, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1658432252.5418003, "nlink": 1, "path": "/dev/mapper/vg1-lv3", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-device.yml:10 Thursday 21 July 2022 19:38:26 +0000 (0:00:00.372) 0:02:06.046 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-device.yml:15 Thursday 21 July 2022 19:38:26 +0000 (0:00:00.041) 0:02:06.087 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-device.yml:21 Thursday 21 July 2022 19:38:26 +0000 (0:00:00.041) 0:02:06.129 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-device.yml:25 Thursday 21 July 2022 19:38:26 +0000 (0:00:00.047) 0:02:06.176 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-device.yml:30 Thursday 21 July 2022 19:38:26 +0000 (0:00:00.033) 0:02:06.210 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 19:38:27 +0000 (0:00:00.044) 0:02:06.255 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 19:38:27 +0000 (0:00:00.025) 0:02:06.280 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 19:38:28 +0000 (0:00:01.263) 0:02:07.543 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 19:38:28 +0000 (0:00:00.026) 0:02:07.569 ********* skipping: [/cache/rhel-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/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:27 Thursday 21 July 2022 19:38:28 +0000 (0:00:00.026) 0:02:07.596 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:33 Thursday 21 July 2022 19:38:28 +0000 (0:00:00.057) 0:02:07.653 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:39 Thursday 21 July 2022 19:38:28 +0000 (0:00:00.026) 0:02:07.680 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 19:38:28 +0000 (0:00:00.026) 0:02:07.706 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:50 Thursday 21 July 2022 19:38:28 +0000 (0:00:00.026) 0:02:07.733 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:56 Thursday 21 July 2022 19:38:28 +0000 (0:00:00.026) 0:02:07.759 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:62 Thursday 21 July 2022 19:38:28 +0000 (0:00:00.025) 0:02:07.784 ********* ok: [/cache/rhel-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/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 19:38:28 +0000 (0:00:00.053) 0:02:07.838 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:72 Thursday 21 July 2022 19:38:28 +0000 (0:00:00.052) 0:02:07.890 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:78 Thursday 21 July 2022 19:38:28 +0000 (0:00:00.043) 0:02:07.933 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:84 Thursday 21 July 2022 19:38:28 +0000 (0:00:00.039) 0:02:07.973 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:90 Thursday 21 July 2022 19:38:28 +0000 (0:00:00.039) 0:02:08.012 ********* ok: [/cache/rhel-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/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml:7 Thursday 21 July 2022 19:38:28 +0000 (0:00:00.038) 0:02:08.051 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml:13 Thursday 21 July 2022 19:38:28 +0000 (0:00:00.041) 0:02:08.092 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml:17 Thursday 21 July 2022 19:38:28 +0000 (0:00:00.039) 0:02:08.131 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml:21 Thursday 21 July 2022 19:38:28 +0000 (0:00:00.039) 0:02:08.171 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml:25 Thursday 21 July 2022 19:38:28 +0000 (0:00:00.038) 0:02:08.209 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml:31 Thursday 21 July 2022 19:38:29 +0000 (0:00:00.041) 0:02:08.251 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml:37 Thursday 21 July 2022 19:38:29 +0000 (0:00:00.039) 0:02:08.290 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:3 Thursday 21 July 2022 19:38:29 +0000 (0:00:00.037) 0:02:08.328 ********* ok: [/cache/rhel-8.qcow2] => { "bytes": 3221225472, "changed": false, "lvm": "3g", "parted": "3GiB", "size": "3 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:9 Thursday 21 July 2022 19:38:29 +0000 (0:00:00.367) 0:02:08.695 ********* ok: [/cache/rhel-8.qcow2] => { "bytes": 3221225472, "changed": false, "lvm": "3g", "parted": "3GiB", "size": "3 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:15 Thursday 21 July 2022 19:38:29 +0000 (0:00:00.393) 0:02:09.088 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_expected_size": "3221225472" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:20 Thursday 21 July 2022 19:38:29 +0000 (0:00:00.078) 0:02:09.166 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_expected_size": "3221225472" } TASK [debug] ******************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:25 Thursday 21 July 2022 19:38:29 +0000 (0:00:00.036) 0:02:09.203 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:28 Thursday 21 July 2022 19:38:30 +0000 (0:00:00.035) 0:02:09.238 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:31 Thursday 21 July 2022 19:38:30 +0000 (0:00:00.035) 0:02:09.274 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:36 Thursday 21 July 2022 19:38:30 +0000 (0:00:00.036) 0:02:09.310 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:39 Thursday 21 July 2022 19:38:30 +0000 (0:00:00.044) 0:02:09.355 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:44 Thursday 21 July 2022 19:38:30 +0000 (0:00:00.037) 0:02:09.392 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_actual_size": { "bytes": 3221225472, "changed": false, "failed": false, "lvm": "3g", "parted": "3GiB", "size": "3 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:47 Thursday 21 July 2022 19:38:30 +0000 (0:00:00.073) 0:02:09.466 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_expected_size": "3221225472" } TASK [assert] ****************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:50 Thursday 21 July 2022 19:38:30 +0000 (0:00:00.077) 0:02:09.544 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml:6 Thursday 21 July 2022 19:38:30 +0000 (0:00:00.088) 0:02:09.632 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "lvs", "--noheadings", "--nameprefixes", "--units=b", "--nosuffix", "--unquoted", "-o", "name,attr,cache_total_blocks,chunk_size,segtype", "vg1/lv3" ], "delta": "0:00:00.033634", "end": "2022-07-21 15:38:29.961205", "rc": 0, "start": "2022-07-21 15:38:29.927571" } STDOUT: LVM2_LV_NAME=lv3 LVM2_LV_ATTR=-wi-ao---- LVM2_CACHE_TOTAL_BLOCKS= LVM2_CHUNK_SIZE=0 LVM2_SEGTYPE=linear TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml:14 Thursday 21 July 2022 19:38:30 +0000 (0:00:00.445) 0:02:10.078 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_lv_segtype": [ "linear" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml:17 Thursday 21 July 2022 19:38:30 +0000 (0:00:00.051) 0:02:10.130 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml:22 Thursday 21 July 2022 19:38:30 +0000 (0:00:00.063) 0:02:10.193 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml:26 Thursday 21 July 2022 19:38:31 +0000 (0:00:00.042) 0:02:10.236 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml:32 Thursday 21 July 2022 19:38:31 +0000 (0:00:00.043) 0:02:10.279 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml:36 Thursday 21 July 2022 19:38:31 +0000 (0:00:00.040) 0:02:10.320 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume.yml:16 Thursday 21 July 2022 19:38:31 +0000 (0:00:00.041) 0:02:10.361 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml:43 Thursday 21 July 2022 19:38:31 +0000 (0:00:00.039) 0:02:10.401 ********* TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml:53 Thursday 21 July 2022 19:38:31 +0000 (0:00:00.024) 0:02:10.425 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Remove the device created above] ***************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/tests_create_raid_pool_then_remove.yml:77 Thursday 21 July 2022 19:38:31 +0000 (0:00:00.033) 0:02:10.459 ********* TASK [fedora.linux_system_roles.storage : set platform/version specific variables] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Thursday 21 July 2022 19:38:31 +0000 (0:00:00.057) 0:02:10.516 ********* included: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for /cache/rhel-8.qcow2 TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Thursday 21 July 2022 19:38:31 +0000 (0:00:00.036) 0:02:10.553 ********* ok: [/cache/rhel-8.qcow2] TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Thursday 21 July 2022 19:38:31 +0000 (0:00:00.571) 0:02:11.124 ********* skipping: [/cache/rhel-8.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/rhel-8.qcow2] => (item=RedHat_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/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/vars/RedHat_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.yml" } skipping: [/cache/rhel-8.qcow2] => (item=RedHat_8.6.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.6.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Thursday 21 July 2022 19:38:31 +0000 (0:00:00.071) 0:02:11.196 ********* ok: [/cache/rhel-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/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Thursday 21 July 2022 19:38:32 +0000 (0:00:00.040) 0:02:11.237 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : include the appropriate provider tasks] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Thursday 21 July 2022 19:38:32 +0000 (0:00:00.041) 0:02:11.278 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for /cache/rhel-8.qcow2 TASK [fedora.linux_system_roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 19:38:32 +0000 (0:00:00.064) 0:02:11.342 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure blivet is available] ******* task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 19:38:32 +0000 (0:00:00.023) 0:02:11.366 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : show storage_pools] ****************** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:13 Thursday 21 July 2022 19:38:32 +0000 (0:00:00.028) 0:02:11.394 ********* ok: [/cache/rhel-8.qcow2] => { "storage_pools": [ { "disks": [ "sda", "sdb" ], "name": "vg1", "raid_level": "raid0", "state": "absent", "type": "lvm", "volumes": [ { "mount_point": "/opt/test1", "name": "lv1", "size": "2g" }, { "mount_point": "/opt/test2", "name": "lv2", "size": "3g" }, { "mount_point": "/opt/test3", "name": "lv3", "size": "3g" } ] } ] } TASK [fedora.linux_system_roles.storage : show storage_volumes] **************** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:18 Thursday 21 July 2022 19:38:32 +0000 (0:00:00.041) 0:02:11.435 ********* ok: [/cache/rhel-8.qcow2] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [fedora.linux_system_roles.storage : get required packages] *************** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:23 Thursday 21 July 2022 19:38:32 +0000 (0:00:00.040) 0:02:11.476 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : enable copr repositories if needed] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:35 Thursday 21 July 2022 19:38:32 +0000 (0:00:00.031) 0:02:11.507 ********* skipping: [/cache/rhel-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/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:41 Thursday 21 July 2022 19:38:32 +0000 (0:00:00.028) 0:02:11.536 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : get service facts] ******************* task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 Thursday 21 July 2022 19:38:32 +0000 (0:00:00.043) 0:02:11.579 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:53 Thursday 21 July 2022 19:38:32 +0000 (0:00:00.034) 0:02:11.614 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 19:38:32 +0000 (0:00:00.115) 0:02:11.729 ********* TASK [fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Thursday 21 July 2022 19:38:32 +0000 (0:00:00.067) 0:02:11.797 ********* changed: [/cache/rhel-8.qcow2] => { "actions": [ { "action": "destroy format", "device": "/dev/mapper/vg1-lv3", "fs_type": "xfs" }, { "action": "destroy device", "device": "/dev/mapper/vg1-lv3", "fs_type": null }, { "action": "destroy format", "device": "/dev/mapper/vg1-lv2", "fs_type": "xfs" }, { "action": "destroy device", "device": "/dev/mapper/vg1-lv2", "fs_type": null }, { "action": "destroy format", "device": "/dev/mapper/vg1-lv1", "fs_type": "xfs" }, { "action": "destroy device", "device": "/dev/mapper/vg1-lv1", "fs_type": null }, { "action": "destroy device", "device": "/dev/vg1", "fs_type": null }, { "action": "destroy format", "device": "/dev/md/vg1-1", "fs_type": "lvmpv" }, { "action": "destroy device", "device": "/dev/md/vg1-1", "fs_type": null }, { "action": "destroy format", "device": "/dev/sda1", "fs_type": "mdmember" }, { "action": "destroy device", "device": "/dev/sda1", "fs_type": null }, { "action": "destroy format", "device": "/dev/sda", "fs_type": "disklabel" }, { "action": "destroy format", "device": "/dev/sdb1", "fs_type": "mdmember" }, { "action": "destroy device", "device": "/dev/sdb1", "fs_type": null }, { "action": "destroy format", "device": "/dev/sdb", "fs_type": "disklabel" } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb", "/dev/vdc", "/dev/vdd" ], "mounts": [ { "fstype": "xfs", "path": "/opt/test3", "src": "/dev/mapper/vg1-lv3", "state": "absent" }, { "fstype": "xfs", "path": "/opt/test2", "src": "/dev/mapper/vg1-lv2", "state": "absent" }, { "fstype": "xfs", "path": "/opt/test1", "src": "/dev/mapper/vg1-lv1", "state": "absent" } ], "packages": [ "xfsprogs", "dosfstools" ], "pools": [ { "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": "512 KiB", "raid_device_count": 2, "raid_level": "raid0", "raid_metadata_version": "1.2", "raid_spare_count": 0, "state": "absent", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "/dev/mapper/vg1-lv2", "_mount_id": "/dev/mapper/vg1-lv2", "_raw_device": "/dev/mapper/vg1-lv2", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "lv2", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "/dev/mapper/vg1-lv3", "_mount_id": "/dev/mapper/vg1-lv3", "_raw_device": "/dev/mapper/vg1-lv3", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test3", "name": "lv3", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } TASK [fedora.linux_system_roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:78 Thursday 21 July 2022 19:38:36 +0000 (0:00:03.570) 0:02:15.367 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Thursday 21 July 2022 19:38:36 +0000 (0:00:00.041) 0:02:15.408 ********* TASK [fedora.linux_system_roles.storage : show blivet_output] ****************** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:96 Thursday 21 July 2022 19:38:36 +0000 (0:00:00.024) 0:02:15.432 ********* ok: [/cache/rhel-8.qcow2] => { "blivet_output": { "actions": [ { "action": "destroy format", "device": "/dev/mapper/vg1-lv3", "fs_type": "xfs" }, { "action": "destroy device", "device": "/dev/mapper/vg1-lv3", "fs_type": null }, { "action": "destroy format", "device": "/dev/mapper/vg1-lv2", "fs_type": "xfs" }, { "action": "destroy device", "device": "/dev/mapper/vg1-lv2", "fs_type": null }, { "action": "destroy format", "device": "/dev/mapper/vg1-lv1", "fs_type": "xfs" }, { "action": "destroy device", "device": "/dev/mapper/vg1-lv1", "fs_type": null }, { "action": "destroy device", "device": "/dev/vg1", "fs_type": null }, { "action": "destroy format", "device": "/dev/md/vg1-1", "fs_type": "lvmpv" }, { "action": "destroy device", "device": "/dev/md/vg1-1", "fs_type": null }, { "action": "destroy format", "device": "/dev/sda1", "fs_type": "mdmember" }, { "action": "destroy device", "device": "/dev/sda1", "fs_type": null }, { "action": "destroy format", "device": "/dev/sda", "fs_type": "disklabel" }, { "action": "destroy format", "device": "/dev/sdb1", "fs_type": "mdmember" }, { "action": "destroy device", "device": "/dev/sdb1", "fs_type": null }, { "action": "destroy format", "device": "/dev/sdb", "fs_type": "disklabel" } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb", "/dev/vdc", "/dev/vdd" ], "mounts": [ { "fstype": "xfs", "path": "/opt/test3", "src": "/dev/mapper/vg1-lv3", "state": "absent" }, { "fstype": "xfs", "path": "/opt/test2", "src": "/dev/mapper/vg1-lv2", "state": "absent" }, { "fstype": "xfs", "path": "/opt/test1", "src": "/dev/mapper/vg1-lv1", "state": "absent" } ], "packages": [ "xfsprogs", "dosfstools" ], "pools": [ { "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": "512 KiB", "raid_device_count": 2, "raid_level": "raid0", "raid_metadata_version": "1.2", "raid_spare_count": 0, "state": "absent", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "/dev/mapper/vg1-lv2", "_mount_id": "/dev/mapper/vg1-lv2", "_raw_device": "/dev/mapper/vg1-lv2", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "lv2", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "/dev/mapper/vg1-lv3", "_mount_id": "/dev/mapper/vg1-lv3", "_raw_device": "/dev/mapper/vg1-lv3", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test3", "name": "lv3", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } } TASK [fedora.linux_system_roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:101 Thursday 21 July 2022 19:38:36 +0000 (0:00:00.042) 0:02:15.475 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": "512 KiB", "raid_device_count": 2, "raid_level": "raid0", "raid_metadata_version": "1.2", "raid_spare_count": 0, "state": "absent", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "/dev/mapper/vg1-lv2", "_mount_id": "/dev/mapper/vg1-lv2", "_raw_device": "/dev/mapper/vg1-lv2", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "lv2", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "/dev/mapper/vg1-lv3", "_mount_id": "/dev/mapper/vg1-lv3", "_raw_device": "/dev/mapper/vg1-lv3", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test3", "name": "lv3", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] }, "changed": false } TASK [fedora.linux_system_roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:105 Thursday 21 July 2022 19:38:36 +0000 (0:00:00.045) 0:02:15.520 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : remove obsolete mounts] ************** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:121 Thursday 21 July 2022 19:38:36 +0000 (0:00:00.038) 0:02:15.559 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/rhel-8.qcow2] => (item={'src': '/dev/mapper/vg1-lv3', 'path': '/opt/test3', 'state': 'absent', 'fstype': 'xfs'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "xfs", "mount_info": { "fstype": "xfs", "path": "/opt/test3", "src": "/dev/mapper/vg1-lv3", "state": "absent" }, "name": "/opt/test3", "opts": "defaults", "passno": "0", "src": "/dev/mapper/vg1-lv3" } redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/rhel-8.qcow2] => (item={'src': '/dev/mapper/vg1-lv2', 'path': '/opt/test2', 'state': 'absent', 'fstype': 'xfs'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "xfs", "mount_info": { "fstype": "xfs", "path": "/opt/test2", "src": "/dev/mapper/vg1-lv2", "state": "absent" }, "name": "/opt/test2", "opts": "defaults", "passno": "0", "src": "/dev/mapper/vg1-lv2" } redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/rhel-8.qcow2] => (item={'src': '/dev/mapper/vg1-lv1', 'path': '/opt/test1', 'state': 'absent', 'fstype': 'xfs'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "xfs", "mount_info": { "fstype": "xfs", "path": "/opt/test1", "src": "/dev/mapper/vg1-lv1", "state": "absent" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "/dev/mapper/vg1-lv1" } TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 Thursday 21 July 2022 19:38:37 +0000 (0:00:01.127) 0:02:16.686 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : set up new/current mounts] *********** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:137 Thursday 21 July 2022 19:38:38 +0000 (0:00:00.604) 0:02:17.291 ********* TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:148 Thursday 21 July 2022 19:38:38 +0000 (0:00:00.041) 0:02:17.332 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:156 Thursday 21 July 2022 19:38:38 +0000 (0:00:00.606) 0:02:17.939 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:161 Thursday 21 July 2022 19:38:39 +0000 (0:00:00.368) 0:02:18.308 ********* TASK [fedora.linux_system_roles.storage : Update facts] ************************ task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 Thursday 21 July 2022 19:38:39 +0000 (0:00:00.025) 0:02:18.334 ********* ok: [/cache/rhel-8.qcow2] META: role_complete for /cache/rhel-8.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/tests_create_raid_pool_then_remove.yml:98 Thursday 21 July 2022 19:38:40 +0000 (0:00:00.970) 0:02:19.304 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml for /cache/rhel-8.qcow2 TASK [Print out pool information] ********************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml:1 Thursday 21 July 2022 19:38:40 +0000 (0:00:00.048) 0:02:19.353 ********* ok: [/cache/rhel-8.qcow2] => { "_storage_pools_list": [ { "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": "512 KiB", "raid_device_count": 2, "raid_level": "raid0", "raid_metadata_version": "1.2", "raid_spare_count": 0, "state": "absent", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "/dev/mapper/vg1-lv2", "_mount_id": "/dev/mapper/vg1-lv2", "_raw_device": "/dev/mapper/vg1-lv2", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "lv2", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "/dev/mapper/vg1-lv3", "_mount_id": "/dev/mapper/vg1-lv3", "_raw_device": "/dev/mapper/vg1-lv3", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test3", "name": "lv3", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] } TASK [Print out volume information] ******************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml:6 Thursday 21 July 2022 19:38:40 +0000 (0:00:00.090) 0:02:19.443 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml:14 Thursday 21 July 2022 19:38:40 +0000 (0:00:00.037) 0:02:19.481 ********* ok: [/cache/rhel-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-19-36-08-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "", "label": "", "name": "/dev/vda1", "size": "1M", "type": "partition", "uuid": "" }, "/dev/vda2": { "fstype": "vfat", "label": "", "name": "/dev/vda2", "size": "100M", "type": "partition", "uuid": "7B77-95E7" }, "/dev/vda3": { "fstype": "xfs", "label": "root", "name": "/dev/vda3", "size": "9.9G", "type": "partition", "uuid": "853ae189-b3fe-4a45-8485-75bbb1421bbe" }, "/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/tmpcv9gbk7i/tests/storage/verify-role-results.yml:19 Thursday 21 July 2022 19:38:40 +0000 (0:00:00.410) 0:02:19.891 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.002473", "end": "2022-07-21 15:38:40.145953", "rc": 0, "start": "2022-07-21 15:38:40.143480" } STDOUT: UUID=853ae189-b3fe-4a45-8485-75bbb1421bbe / xfs defaults 0 0 UUID=7B77-95E7 /boot/efi vfat defaults,uid=0,gid=0,umask=077,shortname=winnt 0 2 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml:24 Thursday 21 July 2022 19:38:41 +0000 (0:00:00.368) 0:02:20.260 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.002394", "end": "2022-07-21 15:38:40.509435", "failed_when_result": false, "rc": 1, "start": "2022-07-21 15:38:40.507041" } STDERR: cat: /etc/crypttab: No such file or directory MSG: non-zero return code TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml:33 Thursday 21 July 2022 19:38:41 +0000 (0:00:00.366) 0:02:20.626 ********* included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool.yml for /cache/rhel-8.qcow2 => (item={'disks': ['sda', 'sdb'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'name': 'vg1', 'raid_level': 'raid0', 'raid_device_count': 2, 'raid_spare_count': 0, 'raid_metadata_version': '1.2', 'state': 'absent', 'type': 'lvm', 'volumes': [{'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'lv1', 'raid_level': None, 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1'}, {'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test2', 'name': 'lv2', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv2', '_raw_device': '/dev/mapper/vg1-lv2', '_mount_id': '/dev/mapper/vg1-lv2'}, {'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test3', 'name': 'lv3', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv3', '_raw_device': '/dev/mapper/vg1-lv3', '_mount_id': '/dev/mapper/vg1-lv3'}], 'raid_chunk_size': '512 KiB'}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool.yml:5 Thursday 21 July 2022 19:38:41 +0000 (0:00:00.064) 0:02:20.690 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool.yml:18 Thursday 21 July 2022 19:38:41 +0000 (0:00:00.035) 0:02:20.725 ********* included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml for /cache/rhel-8.qcow2 => (item=members) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-volumes.yml for /cache/rhel-8.qcow2 => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:1 Thursday 21 July 2022 19:38:41 +0000 (0:00:00.048) 0:02:20.774 ********* ok: [/cache/rhel-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/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:6 Thursday 21 July 2022 19:38:41 +0000 (0:00:00.059) 0:02:20.833 ********* TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:15 Thursday 21 July 2022 19:38:41 +0000 (0:00:00.027) 0:02:20.861 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "__pvs_lvm_len": "0" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:19 Thursday 21 July 2022 19:38:41 +0000 (0:00:00.056) 0:02:20.918 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_pool_pvs": [] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:23 Thursday 21 July 2022 19:38:41 +0000 (0:00:00.057) 0:02:20.975 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:29 Thursday 21 July 2022 19:38:41 +0000 (0:00:00.057) 0:02:21.033 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:33 Thursday 21 July 2022 19:38:41 +0000 (0:00:00.039) 0:02:21.072 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_type": "partition" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:37 Thursday 21 July 2022 19:38:41 +0000 (0:00:00.053) 0:02:21.126 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_type": "raid0" }, "changed": false } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:41 Thursday 21 July 2022 19:38:41 +0000 (0:00:00.044) 0:02:21.170 ********* TASK [Check MD RAID] *********************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:50 Thursday 21 July 2022 19:38:41 +0000 (0:00:00.025) 0:02:21.195 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml for /cache/rhel-8.qcow2 TASK [get information about RAID] ********************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:6 Thursday 21 July 2022 19:38:42 +0000 (0:00:00.049) 0:02:21.244 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:12 Thursday 21 July 2022 19:38:42 +0000 (0:00:00.024) 0:02:21.269 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:16 Thursday 21 July 2022 19:38:42 +0000 (0:00:00.024) 0:02:21.293 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:20 Thursday 21 July 2022 19:38:42 +0000 (0:00:00.025) 0:02:21.319 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:24 Thursday 21 July 2022 19:38:42 +0000 (0:00:00.026) 0:02:21.346 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:30 Thursday 21 July 2022 19:38:42 +0000 (0:00:00.024) 0:02:21.370 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:36 Thursday 21 July 2022 19:38:42 +0000 (0:00:00.025) 0:02:21.396 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:44 Thursday 21 July 2022 19:38:42 +0000 (0:00:00.022) 0:02:21.418 ********* ok: [/cache/rhel-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/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:53 Thursday 21 July 2022 19:38:42 +0000 (0:00:00.071) 0:02:21.490 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-lvmraid.yml for /cache/rhel-8.qcow2 TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-lvmraid.yml:1 Thursday 21 July 2022 19:38:42 +0000 (0:00:00.084) 0:02:21.575 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-lvmraid.yml for /cache/rhel-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': 'lv1', 'raid_level': None, 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1'}) included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-lvmraid.yml for /cache/rhel-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': 'lv2', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv2', '_raw_device': '/dev/mapper/vg1-lv2', '_mount_id': '/dev/mapper/vg1-lv2'}) included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-lvmraid.yml for /cache/rhel-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/test3', 'name': 'lv3', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv3', '_raw_device': '/dev/mapper/vg1-lv3', '_mount_id': '/dev/mapper/vg1-lv3'}) TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-lvmraid.yml:3 Thursday 21 July 2022 19:38:42 +0000 (0:00:00.055) 0:02:21.630 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-lvmraid.yml:8 Thursday 21 July 2022 19:38:42 +0000 (0:00:00.031) 0:02:21.661 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-lvmraid.yml:12 Thursday 21 July 2022 19:38:42 +0000 (0:00:00.029) 0:02:21.690 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-lvmraid.yml:3 Thursday 21 July 2022 19:38:42 +0000 (0:00:00.028) 0:02:21.719 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-lvmraid.yml:8 Thursday 21 July 2022 19:38:42 +0000 (0:00:00.026) 0:02:21.745 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-lvmraid.yml:12 Thursday 21 July 2022 19:38:42 +0000 (0:00:00.026) 0:02:21.772 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-lvmraid.yml:3 Thursday 21 July 2022 19:38:42 +0000 (0:00:00.024) 0:02:21.796 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-lvmraid.yml:8 Thursday 21 July 2022 19:38:42 +0000 (0:00:00.024) 0:02:21.821 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-lvmraid.yml:12 Thursday 21 July 2022 19:38:42 +0000 (0:00:00.024) 0:02:21.845 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:56 Thursday 21 July 2022 19:38:42 +0000 (0:00:00.025) 0:02:21.871 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-thin.yml for /cache/rhel-8.qcow2 TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-thin.yml:1 Thursday 21 July 2022 19:38:42 +0000 (0:00:00.041) 0:02:21.912 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-thin.yml for /cache/rhel-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': 'lv1', 'raid_level': None, 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1'}) included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-thin.yml for /cache/rhel-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': 'lv2', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv2', '_raw_device': '/dev/mapper/vg1-lv2', '_mount_id': '/dev/mapper/vg1-lv2'}) included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-thin.yml for /cache/rhel-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/test3', 'name': 'lv3', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv3', '_raw_device': '/dev/mapper/vg1-lv3', '_mount_id': '/dev/mapper/vg1-lv3'}) TASK [Get information about thinpool] ****************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-thin.yml:3 Thursday 21 July 2022 19:38:42 +0000 (0:00:00.050) 0:02:21.963 ********* skipping: [/cache/rhel-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/tmpcv9gbk7i/tests/storage/verify-pool-member-thin.yml:8 Thursday 21 July 2022 19:38:42 +0000 (0:00:00.022) 0:02:21.986 ********* skipping: [/cache/rhel-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/tmpcv9gbk7i/tests/storage/verify-pool-member-thin.yml:13 Thursday 21 July 2022 19:38:42 +0000 (0:00:00.024) 0:02:22.010 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-thin.yml:17 Thursday 21 July 2022 19:38:42 +0000 (0:00:00.025) 0:02:22.036 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about thinpool] ****************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-thin.yml:3 Thursday 21 July 2022 19:38:42 +0000 (0:00:00.024) 0:02:22.060 ********* skipping: [/cache/rhel-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/tmpcv9gbk7i/tests/storage/verify-pool-member-thin.yml:8 Thursday 21 July 2022 19:38:42 +0000 (0:00:00.024) 0:02:22.085 ********* skipping: [/cache/rhel-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/tmpcv9gbk7i/tests/storage/verify-pool-member-thin.yml:13 Thursday 21 July 2022 19:38:42 +0000 (0:00:00.023) 0:02:22.108 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-thin.yml:17 Thursday 21 July 2022 19:38:42 +0000 (0:00:00.024) 0:02:22.133 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about thinpool] ****************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-thin.yml:3 Thursday 21 July 2022 19:38:42 +0000 (0:00:00.025) 0:02:22.158 ********* skipping: [/cache/rhel-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/tmpcv9gbk7i/tests/storage/verify-pool-member-thin.yml:8 Thursday 21 July 2022 19:38:42 +0000 (0:00:00.023) 0:02:22.182 ********* skipping: [/cache/rhel-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/tmpcv9gbk7i/tests/storage/verify-pool-member-thin.yml:13 Thursday 21 July 2022 19:38:42 +0000 (0:00:00.024) 0:02:22.206 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-thin.yml:17 Thursday 21 July 2022 19:38:43 +0000 (0:00:00.026) 0:02:22.233 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:59 Thursday 21 July 2022 19:38:43 +0000 (0:00:00.025) 0:02:22.258 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-encryption.yml for /cache/rhel-8.qcow2 TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-encryption.yml:4 Thursday 21 July 2022 19:38:43 +0000 (0:00:00.046) 0:02:22.305 ********* ok: [/cache/rhel-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/tmpcv9gbk7i/tests/storage/verify-pool-members-encryption.yml:8 Thursday 21 July 2022 19:38:43 +0000 (0:00:00.053) 0:02:22.358 ********* TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-encryption.yml:15 Thursday 21 July 2022 19:38:43 +0000 (0:00:00.022) 0:02:22.380 ********* TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-encryption.yml:22 Thursday 21 July 2022 19:38:43 +0000 (0:00:00.021) 0:02:22.402 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:62 Thursday 21 July 2022 19:38:43 +0000 (0:00:00.037) 0:02:22.440 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-vdo.yml for /cache/rhel-8.qcow2 TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-vdo.yml:1 Thursday 21 July 2022 19:38:43 +0000 (0:00:00.049) 0:02:22.489 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml for /cache/rhel-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': 'lv1', 'raid_level': None, 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1'}) included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml for /cache/rhel-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': 'lv2', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv2', '_raw_device': '/dev/mapper/vg1-lv2', '_mount_id': '/dev/mapper/vg1-lv2'}) included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml for /cache/rhel-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/test3', 'name': 'lv3', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv3', '_raw_device': '/dev/mapper/vg1-lv3', '_mount_id': '/dev/mapper/vg1-lv3'}) TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:3 Thursday 21 July 2022 19:38:43 +0000 (0:00:00.061) 0:02:22.550 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:8 Thursday 21 July 2022 19:38:43 +0000 (0:00:00.024) 0:02:22.575 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:11 Thursday 21 July 2022 19:38:43 +0000 (0:00:00.026) 0:02:22.602 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:16 Thursday 21 July 2022 19:38:43 +0000 (0:00:00.026) 0:02:22.629 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:21 Thursday 21 July 2022 19:38:43 +0000 (0:00:00.059) 0:02:22.688 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:24 Thursday 21 July 2022 19:38:43 +0000 (0:00:00.025) 0:02:22.713 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:29 Thursday 21 July 2022 19:38:43 +0000 (0:00:00.025) 0:02:22.738 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:39 Thursday 21 July 2022 19:38:43 +0000 (0:00:00.024) 0:02:22.762 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:3 Thursday 21 July 2022 19:38:43 +0000 (0:00:00.037) 0:02:22.800 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:8 Thursday 21 July 2022 19:38:43 +0000 (0:00:00.025) 0:02:22.826 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:11 Thursday 21 July 2022 19:38:43 +0000 (0:00:00.024) 0:02:22.850 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:16 Thursday 21 July 2022 19:38:43 +0000 (0:00:00.024) 0:02:22.875 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:21 Thursday 21 July 2022 19:38:43 +0000 (0:00:00.025) 0:02:22.901 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:24 Thursday 21 July 2022 19:38:43 +0000 (0:00:00.025) 0:02:22.927 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:29 Thursday 21 July 2022 19:38:43 +0000 (0:00:00.025) 0:02:22.953 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:39 Thursday 21 July 2022 19:38:43 +0000 (0:00:00.024) 0:02:22.977 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:3 Thursday 21 July 2022 19:38:43 +0000 (0:00:00.038) 0:02:23.016 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:8 Thursday 21 July 2022 19:38:43 +0000 (0:00:00.025) 0:02:23.041 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:11 Thursday 21 July 2022 19:38:43 +0000 (0:00:00.023) 0:02:23.065 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:16 Thursday 21 July 2022 19:38:43 +0000 (0:00:00.023) 0:02:23.089 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:21 Thursday 21 July 2022 19:38:43 +0000 (0:00:00.025) 0:02:23.114 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:24 Thursday 21 July 2022 19:38:43 +0000 (0:00:00.024) 0:02:23.138 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:29 Thursday 21 July 2022 19:38:43 +0000 (0:00:00.023) 0:02:23.162 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:39 Thursday 21 July 2022 19:38:43 +0000 (0:00:00.023) 0:02:23.186 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:65 Thursday 21 July 2022 19:38:44 +0000 (0:00:00.038) 0:02:23.224 ********* ok: [/cache/rhel-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/tmpcv9gbk7i/tests/storage/test-verify-pool-volumes.yml:3 Thursday 21 July 2022 19:38:44 +0000 (0:00:00.035) 0:02:23.260 ********* included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume.yml for /cache/rhel-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': 'lv1', 'raid_level': None, 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1'}) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume.yml for /cache/rhel-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': 'lv2', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv2', '_raw_device': '/dev/mapper/vg1-lv2', '_mount_id': '/dev/mapper/vg1-lv2'}) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume.yml for /cache/rhel-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/test3', 'name': 'lv3', 'raid_level': None, 'size': '3g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv3', '_raw_device': '/dev/mapper/vg1-lv3', '_mount_id': '/dev/mapper/vg1-lv3'}) TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume.yml:2 Thursday 21 July 2022 19:38:44 +0000 (0:00:00.053) 0:02:23.313 ********* ok: [/cache/rhel-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/tmpcv9gbk7i/tests/storage/test-verify-volume.yml:10 Thursday 21 July 2022 19:38:44 +0000 (0:00:00.049) 0:02:23.363 ********* included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml for /cache/rhel-8.qcow2 => (item=mount) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-fstab.yml for /cache/rhel-8.qcow2 => (item=fstab) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-fs.yml for /cache/rhel-8.qcow2 => (item=fs) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-device.yml for /cache/rhel-8.qcow2 => (item=device) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml for /cache/rhel-8.qcow2 => (item=encryption) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml for /cache/rhel-8.qcow2 => (item=md) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml for /cache/rhel-8.qcow2 => (item=size) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml for /cache/rhel-8.qcow2 => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:6 Thursday 21 July 2022 19:38:44 +0000 (0:00:00.081) 0:02:23.445 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/vg1-lv1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:10 Thursday 21 July 2022 19:38:44 +0000 (0:00:00.041) 0:02:23.486 ********* ok: [/cache/rhel-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/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:20 Thursday 21 July 2022 19:38:44 +0000 (0:00:00.056) 0:02:23.542 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:29 Thursday 21 July 2022 19:38:44 +0000 (0:00:00.024) 0:02:23.567 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:37 Thursday 21 July 2022 19:38:44 +0000 (0:00:00.050) 0:02:23.618 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [command] ***************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:46 Thursday 21 July 2022 19:38:44 +0000 (0:00:00.036) 0:02:23.655 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:50 Thursday 21 July 2022 19:38:44 +0000 (0:00:00.025) 0:02:23.680 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:55 Thursday 21 July 2022 19:38:44 +0000 (0:00:00.023) 0:02:23.704 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:65 Thursday 21 July 2022 19:38:44 +0000 (0:00:00.023) 0:02:23.727 ********* ok: [/cache/rhel-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/tmpcv9gbk7i/tests/storage/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 19:38:44 +0000 (0:00:00.034) 0:02:23.762 ********* ok: [/cache/rhel-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/tmpcv9gbk7i/tests/storage/test-verify-volume-fstab.yml:12 Thursday 21 July 2022 19:38:44 +0000 (0:00:00.064) 0:02:23.827 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-fstab.yml:19 Thursday 21 July 2022 19:38:44 +0000 (0:00:00.023) 0:02:23.851 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 19:38:44 +0000 (0:00:00.087) 0:02:23.938 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-fstab.yml:34 Thursday 21 July 2022 19:38:44 +0000 (0:00:00.044) 0:02:23.982 ********* ok: [/cache/rhel-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/tmpcv9gbk7i/tests/storage/test-verify-volume-fs.yml:4 Thursday 21 July 2022 19:38:44 +0000 (0:00:00.091) 0:02:24.074 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify fs label] ********************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-fs.yml:10 Thursday 21 July 2022 19:38:44 +0000 (0:00:00.024) 0:02:24.098 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [See whether the device node is present] ********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-device.yml:4 Thursday 21 July 2022 19:38:44 +0000 (0:00:00.022) 0:02:24.121 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "stat": { "exists": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-device.yml:10 Thursday 21 July 2022 19:38:45 +0000 (0:00:00.370) 0:02:24.492 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-device.yml:15 Thursday 21 July 2022 19:38:45 +0000 (0:00:00.037) 0:02:24.529 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-device.yml:21 Thursday 21 July 2022 19:38:45 +0000 (0:00:00.025) 0:02:24.554 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-device.yml:25 Thursday 21 July 2022 19:38:45 +0000 (0:00:00.039) 0:02:24.594 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-device.yml:30 Thursday 21 July 2022 19:38:45 +0000 (0:00:00.026) 0:02:24.620 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 19:38:45 +0000 (0:00:00.024) 0:02:24.645 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 19:38:45 +0000 (0:00:00.024) 0:02:24.669 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 19:38:46 +0000 (0:00:01.297) 0:02:25.967 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 19:38:46 +0000 (0:00:00.024) 0:02:25.991 ********* skipping: [/cache/rhel-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/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:27 Thursday 21 July 2022 19:38:46 +0000 (0:00:00.021) 0:02:26.013 ********* skipping: [/cache/rhel-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/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:33 Thursday 21 July 2022 19:38:46 +0000 (0:00:00.021) 0:02:26.034 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:39 Thursday 21 July 2022 19:38:46 +0000 (0:00:00.021) 0:02:26.056 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 19:38:46 +0000 (0:00:00.024) 0:02:26.081 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:50 Thursday 21 July 2022 19:38:46 +0000 (0:00:00.025) 0:02:26.106 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:56 Thursday 21 July 2022 19:38:46 +0000 (0:00:00.025) 0:02:26.131 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:62 Thursday 21 July 2022 19:38:46 +0000 (0:00:00.026) 0:02:26.158 ********* ok: [/cache/rhel-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/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 19:38:47 +0000 (0:00:00.059) 0:02:26.218 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:72 Thursday 21 July 2022 19:38:47 +0000 (0:00:00.051) 0:02:26.270 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:78 Thursday 21 July 2022 19:38:47 +0000 (0:00:00.036) 0:02:26.306 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:84 Thursday 21 July 2022 19:38:47 +0000 (0:00:00.036) 0:02:26.343 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:90 Thursday 21 July 2022 19:38:47 +0000 (0:00:00.041) 0:02:26.385 ********* ok: [/cache/rhel-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/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml:7 Thursday 21 July 2022 19:38:47 +0000 (0:00:00.034) 0:02:26.419 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml:13 Thursday 21 July 2022 19:38:47 +0000 (0:00:00.036) 0:02:26.456 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml:17 Thursday 21 July 2022 19:38:47 +0000 (0:00:00.036) 0:02:26.493 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml:21 Thursday 21 July 2022 19:38:47 +0000 (0:00:00.043) 0:02:26.536 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml:25 Thursday 21 July 2022 19:38:47 +0000 (0:00:00.036) 0:02:26.573 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml:31 Thursday 21 July 2022 19:38:47 +0000 (0:00:00.035) 0:02:26.609 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml:37 Thursday 21 July 2022 19:38:47 +0000 (0:00:00.035) 0:02:26.645 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:3 Thursday 21 July 2022 19:38:47 +0000 (0:00:00.040) 0:02:26.685 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:9 Thursday 21 July 2022 19:38:47 +0000 (0:00:00.023) 0:02:26.708 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:15 Thursday 21 July 2022 19:38:47 +0000 (0:00:00.037) 0:02:26.746 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:20 Thursday 21 July 2022 19:38:47 +0000 (0:00:00.034) 0:02:26.781 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_expected_size": "3221225472" } TASK [debug] ******************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:25 Thursday 21 July 2022 19:38:47 +0000 (0:00:00.035) 0:02:26.816 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:28 Thursday 21 July 2022 19:38:47 +0000 (0:00:00.033) 0:02:26.849 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:31 Thursday 21 July 2022 19:38:47 +0000 (0:00:00.033) 0:02:26.883 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:36 Thursday 21 July 2022 19:38:47 +0000 (0:00:00.033) 0:02:26.916 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:39 Thursday 21 July 2022 19:38:47 +0000 (0:00:00.066) 0:02:26.982 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:44 Thursday 21 July 2022 19:38:47 +0000 (0:00:00.035) 0:02:27.017 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_actual_size": { "changed": false, "skip_reason": "Conditional result was False", "skipped": true } } TASK [debug] ******************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:47 Thursday 21 July 2022 19:38:47 +0000 (0:00:00.034) 0:02:27.052 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_expected_size": "3221225472" } TASK [assert] ****************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:50 Thursday 21 July 2022 19:38:47 +0000 (0:00:00.034) 0:02:27.086 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about the LV] ******************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml:6 Thursday 21 July 2022 19:38:47 +0000 (0:00:00.023) 0:02:27.109 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml:14 Thursday 21 July 2022 19:38:47 +0000 (0:00:00.021) 0:02:27.130 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check segment type] ****************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml:17 Thursday 21 July 2022 19:38:47 +0000 (0:00:00.021) 0:02:27.151 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml:22 Thursday 21 July 2022 19:38:47 +0000 (0:00:00.022) 0:02:27.174 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml:26 Thursday 21 July 2022 19:38:47 +0000 (0:00:00.023) 0:02:27.197 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml:32 Thursday 21 July 2022 19:38:48 +0000 (0:00:00.021) 0:02:27.218 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml:36 Thursday 21 July 2022 19:38:48 +0000 (0:00:00.021) 0:02:27.239 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume.yml:16 Thursday 21 July 2022 19:38:48 +0000 (0:00:00.027) 0:02:27.267 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume.yml:2 Thursday 21 July 2022 19:38:48 +0000 (0:00:00.044) 0:02:27.312 ********* ok: [/cache/rhel-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/tmpcv9gbk7i/tests/storage/test-verify-volume.yml:10 Thursday 21 July 2022 19:38:48 +0000 (0:00:00.050) 0:02:27.362 ********* included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml for /cache/rhel-8.qcow2 => (item=mount) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-fstab.yml for /cache/rhel-8.qcow2 => (item=fstab) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-fs.yml for /cache/rhel-8.qcow2 => (item=fs) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-device.yml for /cache/rhel-8.qcow2 => (item=device) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml for /cache/rhel-8.qcow2 => (item=encryption) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml for /cache/rhel-8.qcow2 => (item=md) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml for /cache/rhel-8.qcow2 => (item=size) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml for /cache/rhel-8.qcow2 => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:6 Thursday 21 July 2022 19:38:48 +0000 (0:00:00.082) 0:02:27.445 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/vg1-lv2" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:10 Thursday 21 July 2022 19:38:48 +0000 (0:00:00.043) 0:02:27.489 ********* ok: [/cache/rhel-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/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:20 Thursday 21 July 2022 19:38:48 +0000 (0:00:00.059) 0:02:27.548 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:29 Thursday 21 July 2022 19:38:48 +0000 (0:00:00.025) 0:02:27.574 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:37 Thursday 21 July 2022 19:38:48 +0000 (0:00:00.050) 0:02:27.624 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [command] ***************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:46 Thursday 21 July 2022 19:38:48 +0000 (0:00:00.037) 0:02:27.662 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:50 Thursday 21 July 2022 19:38:48 +0000 (0:00:00.026) 0:02:27.688 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:55 Thursday 21 July 2022 19:38:48 +0000 (0:00:00.024) 0:02:27.713 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:65 Thursday 21 July 2022 19:38:48 +0000 (0:00:00.024) 0:02:27.737 ********* ok: [/cache/rhel-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/tmpcv9gbk7i/tests/storage/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 19:38:48 +0000 (0:00:00.036) 0:02:27.773 ********* ok: [/cache/rhel-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/tmpcv9gbk7i/tests/storage/test-verify-volume-fstab.yml:12 Thursday 21 July 2022 19:38:48 +0000 (0:00:00.066) 0:02:27.839 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-fstab.yml:19 Thursday 21 July 2022 19:38:48 +0000 (0:00:00.025) 0:02:27.864 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 19:38:48 +0000 (0:00:00.050) 0:02:27.915 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-fstab.yml:34 Thursday 21 July 2022 19:38:48 +0000 (0:00:00.036) 0:02:27.952 ********* ok: [/cache/rhel-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/tmpcv9gbk7i/tests/storage/test-verify-volume-fs.yml:4 Thursday 21 July 2022 19:38:48 +0000 (0:00:00.036) 0:02:27.988 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify fs label] ********************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-fs.yml:10 Thursday 21 July 2022 19:38:48 +0000 (0:00:00.025) 0:02:28.014 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [See whether the device node is present] ********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-device.yml:4 Thursday 21 July 2022 19:38:48 +0000 (0:00:00.024) 0:02:28.038 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "stat": { "exists": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-device.yml:10 Thursday 21 July 2022 19:38:49 +0000 (0:00:00.362) 0:02:28.401 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-device.yml:15 Thursday 21 July 2022 19:38:49 +0000 (0:00:00.039) 0:02:28.441 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-device.yml:21 Thursday 21 July 2022 19:38:49 +0000 (0:00:00.024) 0:02:28.465 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-device.yml:25 Thursday 21 July 2022 19:38:49 +0000 (0:00:00.077) 0:02:28.543 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-device.yml:30 Thursday 21 July 2022 19:38:49 +0000 (0:00:00.065) 0:02:28.608 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 19:38:49 +0000 (0:00:00.025) 0:02:28.634 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 19:38:49 +0000 (0:00:00.025) 0:02:28.659 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 19:38:50 +0000 (0:00:01.279) 0:02:29.938 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 19:38:50 +0000 (0:00:00.028) 0:02:29.966 ********* skipping: [/cache/rhel-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/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:27 Thursday 21 July 2022 19:38:50 +0000 (0:00:00.024) 0:02:29.990 ********* skipping: [/cache/rhel-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/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:33 Thursday 21 July 2022 19:38:50 +0000 (0:00:00.023) 0:02:30.014 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:39 Thursday 21 July 2022 19:38:50 +0000 (0:00:00.024) 0:02:30.039 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 19:38:50 +0000 (0:00:00.024) 0:02:30.063 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:50 Thursday 21 July 2022 19:38:50 +0000 (0:00:00.022) 0:02:30.086 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:56 Thursday 21 July 2022 19:38:50 +0000 (0:00:00.022) 0:02:30.108 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:62 Thursday 21 July 2022 19:38:50 +0000 (0:00:00.021) 0:02:30.130 ********* ok: [/cache/rhel-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/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 19:38:50 +0000 (0:00:00.057) 0:02:30.188 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:72 Thursday 21 July 2022 19:38:51 +0000 (0:00:00.051) 0:02:30.239 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:78 Thursday 21 July 2022 19:38:51 +0000 (0:00:00.037) 0:02:30.277 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:84 Thursday 21 July 2022 19:38:51 +0000 (0:00:00.040) 0:02:30.317 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:90 Thursday 21 July 2022 19:38:51 +0000 (0:00:00.036) 0:02:30.353 ********* ok: [/cache/rhel-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/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml:7 Thursday 21 July 2022 19:38:51 +0000 (0:00:00.036) 0:02:30.389 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml:13 Thursday 21 July 2022 19:38:51 +0000 (0:00:00.036) 0:02:30.425 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml:17 Thursday 21 July 2022 19:38:51 +0000 (0:00:00.041) 0:02:30.467 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml:21 Thursday 21 July 2022 19:38:51 +0000 (0:00:00.037) 0:02:30.505 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml:25 Thursday 21 July 2022 19:38:51 +0000 (0:00:00.034) 0:02:30.540 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml:31 Thursday 21 July 2022 19:38:51 +0000 (0:00:00.037) 0:02:30.577 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml:37 Thursday 21 July 2022 19:38:51 +0000 (0:00:00.041) 0:02:30.619 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:3 Thursday 21 July 2022 19:38:51 +0000 (0:00:00.038) 0:02:30.657 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:9 Thursday 21 July 2022 19:38:51 +0000 (0:00:00.033) 0:02:30.691 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:15 Thursday 21 July 2022 19:38:51 +0000 (0:00:00.042) 0:02:30.733 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:20 Thursday 21 July 2022 19:38:51 +0000 (0:00:00.045) 0:02:30.779 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_expected_size": "3221225472" } TASK [debug] ******************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:25 Thursday 21 July 2022 19:38:51 +0000 (0:00:00.039) 0:02:30.819 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:28 Thursday 21 July 2022 19:38:51 +0000 (0:00:00.044) 0:02:30.863 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:31 Thursday 21 July 2022 19:38:51 +0000 (0:00:00.042) 0:02:30.905 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:36 Thursday 21 July 2022 19:38:51 +0000 (0:00:00.048) 0:02:30.954 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:39 Thursday 21 July 2022 19:38:51 +0000 (0:00:00.040) 0:02:30.994 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:44 Thursday 21 July 2022 19:38:51 +0000 (0:00:00.037) 0:02:31.032 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_actual_size": { "changed": false, "skip_reason": "Conditional result was False", "skipped": true } } TASK [debug] ******************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:47 Thursday 21 July 2022 19:38:51 +0000 (0:00:00.040) 0:02:31.072 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_expected_size": "3221225472" } TASK [assert] ****************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:50 Thursday 21 July 2022 19:38:51 +0000 (0:00:00.040) 0:02:31.112 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about the LV] ******************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml:6 Thursday 21 July 2022 19:38:51 +0000 (0:00:00.025) 0:02:31.138 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml:14 Thursday 21 July 2022 19:38:51 +0000 (0:00:00.026) 0:02:31.164 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check segment type] ****************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml:17 Thursday 21 July 2022 19:38:51 +0000 (0:00:00.027) 0:02:31.192 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml:22 Thursday 21 July 2022 19:38:52 +0000 (0:00:00.027) 0:02:31.220 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml:26 Thursday 21 July 2022 19:38:52 +0000 (0:00:00.026) 0:02:31.247 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml:32 Thursday 21 July 2022 19:38:52 +0000 (0:00:00.022) 0:02:31.270 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml:36 Thursday 21 July 2022 19:38:52 +0000 (0:00:00.021) 0:02:31.292 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume.yml:16 Thursday 21 July 2022 19:38:52 +0000 (0:00:00.022) 0:02:31.314 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume.yml:2 Thursday 21 July 2022 19:38:52 +0000 (0:00:00.031) 0:02:31.346 ********* ok: [/cache/rhel-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/tmpcv9gbk7i/tests/storage/test-verify-volume.yml:10 Thursday 21 July 2022 19:38:52 +0000 (0:00:00.101) 0:02:31.447 ********* included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml for /cache/rhel-8.qcow2 => (item=mount) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-fstab.yml for /cache/rhel-8.qcow2 => (item=fstab) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-fs.yml for /cache/rhel-8.qcow2 => (item=fs) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-device.yml for /cache/rhel-8.qcow2 => (item=device) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml for /cache/rhel-8.qcow2 => (item=encryption) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml for /cache/rhel-8.qcow2 => (item=md) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml for /cache/rhel-8.qcow2 => (item=size) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml for /cache/rhel-8.qcow2 => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:6 Thursday 21 July 2022 19:38:52 +0000 (0:00:00.087) 0:02:31.535 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/vg1-lv3" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:10 Thursday 21 July 2022 19:38:52 +0000 (0:00:00.086) 0:02:31.621 ********* ok: [/cache/rhel-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/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:20 Thursday 21 July 2022 19:38:52 +0000 (0:00:00.057) 0:02:31.678 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:29 Thursday 21 July 2022 19:38:52 +0000 (0:00:00.023) 0:02:31.702 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:37 Thursday 21 July 2022 19:38:52 +0000 (0:00:00.051) 0:02:31.754 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [command] ***************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:46 Thursday 21 July 2022 19:38:52 +0000 (0:00:00.037) 0:02:31.791 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:50 Thursday 21 July 2022 19:38:52 +0000 (0:00:00.022) 0:02:31.814 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:55 Thursday 21 July 2022 19:38:52 +0000 (0:00:00.021) 0:02:31.836 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:65 Thursday 21 July 2022 19:38:52 +0000 (0:00:00.022) 0:02:31.858 ********* ok: [/cache/rhel-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/tmpcv9gbk7i/tests/storage/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 19:38:52 +0000 (0:00:00.032) 0:02:31.891 ********* ok: [/cache/rhel-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/tmpcv9gbk7i/tests/storage/test-verify-volume-fstab.yml:12 Thursday 21 July 2022 19:38:52 +0000 (0:00:00.063) 0:02:31.955 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-fstab.yml:19 Thursday 21 July 2022 19:38:52 +0000 (0:00:00.025) 0:02:31.980 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 19:38:52 +0000 (0:00:00.049) 0:02:32.030 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-fstab.yml:34 Thursday 21 July 2022 19:38:52 +0000 (0:00:00.036) 0:02:32.066 ********* ok: [/cache/rhel-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/tmpcv9gbk7i/tests/storage/test-verify-volume-fs.yml:4 Thursday 21 July 2022 19:38:52 +0000 (0:00:00.036) 0:02:32.102 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify fs label] ********************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-fs.yml:10 Thursday 21 July 2022 19:38:52 +0000 (0:00:00.026) 0:02:32.128 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [See whether the device node is present] ********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-device.yml:4 Thursday 21 July 2022 19:38:52 +0000 (0:00:00.023) 0:02:32.152 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "stat": { "exists": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-device.yml:10 Thursday 21 July 2022 19:38:53 +0000 (0:00:00.358) 0:02:32.510 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-device.yml:15 Thursday 21 July 2022 19:38:53 +0000 (0:00:00.040) 0:02:32.551 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-device.yml:21 Thursday 21 July 2022 19:38:53 +0000 (0:00:00.025) 0:02:32.577 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-device.yml:25 Thursday 21 July 2022 19:38:53 +0000 (0:00:00.037) 0:02:32.614 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-device.yml:30 Thursday 21 July 2022 19:38:53 +0000 (0:00:00.024) 0:02:32.639 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 19:38:53 +0000 (0:00:00.024) 0:02:32.663 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 19:38:53 +0000 (0:00:00.026) 0:02:32.689 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 19:38:54 +0000 (0:00:01.274) 0:02:33.964 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 19:38:54 +0000 (0:00:00.023) 0:02:33.987 ********* skipping: [/cache/rhel-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/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:27 Thursday 21 July 2022 19:38:54 +0000 (0:00:00.021) 0:02:34.009 ********* skipping: [/cache/rhel-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/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:33 Thursday 21 July 2022 19:38:54 +0000 (0:00:00.031) 0:02:34.041 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:39 Thursday 21 July 2022 19:38:54 +0000 (0:00:00.029) 0:02:34.070 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 19:38:54 +0000 (0:00:00.026) 0:02:34.096 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:50 Thursday 21 July 2022 19:38:54 +0000 (0:00:00.024) 0:02:34.121 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:56 Thursday 21 July 2022 19:38:54 +0000 (0:00:00.026) 0:02:34.148 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:62 Thursday 21 July 2022 19:38:54 +0000 (0:00:00.025) 0:02:34.174 ********* ok: [/cache/rhel-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/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 19:38:55 +0000 (0:00:00.115) 0:02:34.289 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:72 Thursday 21 July 2022 19:38:55 +0000 (0:00:00.092) 0:02:34.381 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:78 Thursday 21 July 2022 19:38:55 +0000 (0:00:00.034) 0:02:34.416 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:84 Thursday 21 July 2022 19:38:55 +0000 (0:00:00.033) 0:02:34.449 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:90 Thursday 21 July 2022 19:38:55 +0000 (0:00:00.033) 0:02:34.482 ********* ok: [/cache/rhel-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/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml:7 Thursday 21 July 2022 19:38:55 +0000 (0:00:00.094) 0:02:34.577 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml:13 Thursday 21 July 2022 19:38:55 +0000 (0:00:00.035) 0:02:34.612 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml:17 Thursday 21 July 2022 19:38:55 +0000 (0:00:00.033) 0:02:34.645 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml:21 Thursday 21 July 2022 19:38:55 +0000 (0:00:00.034) 0:02:34.679 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml:25 Thursday 21 July 2022 19:38:55 +0000 (0:00:00.038) 0:02:34.718 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml:31 Thursday 21 July 2022 19:38:55 +0000 (0:00:00.038) 0:02:34.756 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml:37 Thursday 21 July 2022 19:38:55 +0000 (0:00:00.038) 0:02:34.795 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:3 Thursday 21 July 2022 19:38:55 +0000 (0:00:00.039) 0:02:34.834 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:9 Thursday 21 July 2022 19:38:55 +0000 (0:00:00.026) 0:02:34.861 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:15 Thursday 21 July 2022 19:38:55 +0000 (0:00:00.037) 0:02:34.898 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:20 Thursday 21 July 2022 19:38:55 +0000 (0:00:00.043) 0:02:34.942 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_expected_size": "3221225472" } TASK [debug] ******************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:25 Thursday 21 July 2022 19:38:55 +0000 (0:00:00.040) 0:02:34.983 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:28 Thursday 21 July 2022 19:38:55 +0000 (0:00:00.040) 0:02:35.024 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:31 Thursday 21 July 2022 19:38:55 +0000 (0:00:00.039) 0:02:35.063 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:36 Thursday 21 July 2022 19:38:55 +0000 (0:00:00.039) 0:02:35.103 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:39 Thursday 21 July 2022 19:38:55 +0000 (0:00:00.040) 0:02:35.143 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:44 Thursday 21 July 2022 19:38:55 +0000 (0:00:00.037) 0:02:35.180 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_actual_size": { "changed": false, "skip_reason": "Conditional result was False", "skipped": true } } TASK [debug] ******************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:47 Thursday 21 July 2022 19:38:56 +0000 (0:00:00.035) 0:02:35.216 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_expected_size": "3221225472" } TASK [assert] ****************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:50 Thursday 21 July 2022 19:38:56 +0000 (0:00:00.035) 0:02:35.252 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about the LV] ******************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml:6 Thursday 21 July 2022 19:38:56 +0000 (0:00:00.027) 0:02:35.279 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml:14 Thursday 21 July 2022 19:38:56 +0000 (0:00:00.024) 0:02:35.303 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check segment type] ****************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml:17 Thursday 21 July 2022 19:38:56 +0000 (0:00:00.024) 0:02:35.328 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml:22 Thursday 21 July 2022 19:38:56 +0000 (0:00:00.025) 0:02:35.353 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml:26 Thursday 21 July 2022 19:38:56 +0000 (0:00:00.024) 0:02:35.378 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml:32 Thursday 21 July 2022 19:38:56 +0000 (0:00:00.024) 0:02:35.403 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml:36 Thursday 21 July 2022 19:38:56 +0000 (0:00:00.022) 0:02:35.425 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume.yml:16 Thursday 21 July 2022 19:38:56 +0000 (0:00:00.024) 0:02:35.450 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml:43 Thursday 21 July 2022 19:38:56 +0000 (0:00:00.038) 0:02:35.489 ********* TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml:53 Thursday 21 July 2022 19:38:56 +0000 (0:00:00.021) 0:02:35.510 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Create a RAID1 lvm raid device] ****************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/tests_create_raid_pool_then_remove.yml:100 Thursday 21 July 2022 19:38:56 +0000 (0:00:00.032) 0:02:35.542 ********* TASK [fedora.linux_system_roles.storage : set platform/version specific variables] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Thursday 21 July 2022 19:38:56 +0000 (0:00:00.063) 0:02:35.606 ********* included: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for /cache/rhel-8.qcow2 TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Thursday 21 July 2022 19:38:56 +0000 (0:00:00.037) 0:02:35.644 ********* ok: [/cache/rhel-8.qcow2] TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Thursday 21 July 2022 19:38:56 +0000 (0:00:00.524) 0:02:36.168 ********* skipping: [/cache/rhel-8.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/rhel-8.qcow2] => (item=RedHat_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/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/vars/RedHat_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.yml" } skipping: [/cache/rhel-8.qcow2] => (item=RedHat_8.6.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.6.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Thursday 21 July 2022 19:38:57 +0000 (0:00:00.121) 0:02:36.290 ********* ok: [/cache/rhel-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/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Thursday 21 July 2022 19:38:57 +0000 (0:00:00.034) 0:02:36.324 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : include the appropriate provider tasks] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Thursday 21 July 2022 19:38:57 +0000 (0:00:00.036) 0:02:36.361 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for /cache/rhel-8.qcow2 TASK [fedora.linux_system_roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 19:38:57 +0000 (0:00:00.061) 0:02:36.422 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure blivet is available] ******* task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 19:38:57 +0000 (0:00:00.021) 0:02:36.444 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : show storage_pools] ****************** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:13 Thursday 21 July 2022 19:38:57 +0000 (0:00:00.028) 0:02:36.472 ********* ok: [/cache/rhel-8.qcow2] => { "storage_pools": [ { "disks": [ "sda", "sdb" ], "name": "vg1", "state": "present", "type": "lvm", "volumes": [ { "mount_point": "/opt/test1", "name": "lv1", "raid_disks": [ "sda", "sdb" ], "raid_level": "raid1", "size": "2g" } ] } ] } TASK [fedora.linux_system_roles.storage : show storage_volumes] **************** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:18 Thursday 21 July 2022 19:38:57 +0000 (0:00:00.041) 0:02:36.514 ********* ok: [/cache/rhel-8.qcow2] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [fedora.linux_system_roles.storage : get required packages] *************** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:23 Thursday 21 July 2022 19:38:57 +0000 (0:00:00.038) 0:02:36.553 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : enable copr repositories if needed] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:35 Thursday 21 July 2022 19:38:57 +0000 (0:00:00.036) 0:02:36.589 ********* skipping: [/cache/rhel-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/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:41 Thursday 21 July 2022 19:38:57 +0000 (0:00:00.034) 0:02:36.624 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : get service facts] ******************* task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 Thursday 21 July 2022 19:38:57 +0000 (0:00:00.032) 0:02:36.657 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:53 Thursday 21 July 2022 19:38:57 +0000 (0:00:00.029) 0:02:36.687 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 19:38:57 +0000 (0:00:00.057) 0:02:36.744 ********* TASK [fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Thursday 21 July 2022 19:38:57 +0000 (0:00:00.026) 0:02:36.771 ********* changed: [/cache/rhel-8.qcow2] => { "actions": [ { "action": "create format", "device": "/dev/sdb", "fs_type": "disklabel" }, { "action": "create device", "device": "/dev/sdb1", "fs_type": null }, { "action": "create format", "device": "/dev/sdb1", "fs_type": "lvmpv" }, { "action": "create format", "device": "/dev/sda", "fs_type": "disklabel" }, { "action": "create device", "device": "/dev/sda1", "fs_type": null }, { "action": "create format", "device": "/dev/sda1", "fs_type": "lvmpv" }, { "action": "create device", "device": "/dev/vg1", "fs_type": null }, { "action": "create device", "device": "/dev/mapper/vg1-lv1", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/vg1-lv1", "fs_type": "xfs" } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb", "/dev/vdc", "/dev/vdd", "/dev/mapper/vg1-lv1" ], "mounts": [ { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/vg1-lv1", "state": "mounted" } ], "packages": [ "dosfstools", "xfsprogs", "lvm2" ], "pools": [ { "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_kernel_device": "/dev/dm-4", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "_raw_kernel_device": "/dev/dm-4", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [ "sda", "sdb" ], "raid_level": "raid1", "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } TASK [fedora.linux_system_roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:78 Thursday 21 July 2022 19:39:00 +0000 (0:00:03.143) 0:02:39.914 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Thursday 21 July 2022 19:39:00 +0000 (0:00:00.039) 0:02:39.954 ********* TASK [fedora.linux_system_roles.storage : show blivet_output] ****************** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:96 Thursday 21 July 2022 19:39:00 +0000 (0:00:00.024) 0:02:39.978 ********* ok: [/cache/rhel-8.qcow2] => { "blivet_output": { "actions": [ { "action": "create format", "device": "/dev/sdb", "fs_type": "disklabel" }, { "action": "create device", "device": "/dev/sdb1", "fs_type": null }, { "action": "create format", "device": "/dev/sdb1", "fs_type": "lvmpv" }, { "action": "create format", "device": "/dev/sda", "fs_type": "disklabel" }, { "action": "create device", "device": "/dev/sda1", "fs_type": null }, { "action": "create format", "device": "/dev/sda1", "fs_type": "lvmpv" }, { "action": "create device", "device": "/dev/vg1", "fs_type": null }, { "action": "create device", "device": "/dev/mapper/vg1-lv1", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/vg1-lv1", "fs_type": "xfs" } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb", "/dev/vdc", "/dev/vdd", "/dev/mapper/vg1-lv1" ], "mounts": [ { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/vg1-lv1", "state": "mounted" } ], "packages": [ "dosfstools", "xfsprogs", "lvm2" ], "pools": [ { "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_kernel_device": "/dev/dm-4", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "_raw_kernel_device": "/dev/dm-4", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [ "sda", "sdb" ], "raid_level": "raid1", "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } } TASK [fedora.linux_system_roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:101 Thursday 21 July 2022 19:39:00 +0000 (0:00:00.042) 0:02:40.021 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_kernel_device": "/dev/dm-4", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "_raw_kernel_device": "/dev/dm-4", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [ "sda", "sdb" ], "raid_level": "raid1", "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] }, "changed": false } TASK [fedora.linux_system_roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:105 Thursday 21 July 2022 19:39:00 +0000 (0:00:00.041) 0:02:40.062 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : remove obsolete mounts] ************** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:121 Thursday 21 July 2022 19:39:00 +0000 (0:00:00.041) 0:02:40.103 ********* TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 Thursday 21 July 2022 19:39:00 +0000 (0:00:00.041) 0:02:40.144 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : set up new/current mounts] *********** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:137 Thursday 21 July 2022 19:39:01 +0000 (0:00:00.640) 0:02:40.785 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/rhel-8.qcow2] => (item={'src': '/dev/mapper/vg1-lv1', 'path': '/opt/test1', 'fstype': 'xfs', 'opts': 'defaults', 'dump': 0, 'passno': 0, 'state': 'mounted'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "xfs", "mount_info": { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/vg1-lv1", "state": "mounted" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "/dev/mapper/vg1-lv1" } TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:148 Thursday 21 July 2022 19:39:02 +0000 (0:00:00.510) 0:02:41.295 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:156 Thursday 21 July 2022 19:39:02 +0000 (0:00:00.609) 0:02:41.904 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:161 Thursday 21 July 2022 19:39:03 +0000 (0:00:00.408) 0:02:42.313 ********* TASK [fedora.linux_system_roles.storage : Update facts] ************************ task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 Thursday 21 July 2022 19:39:03 +0000 (0:00:00.022) 0:02:42.336 ********* ok: [/cache/rhel-8.qcow2] META: role_complete for /cache/rhel-8.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/tests_create_raid_pool_then_remove.yml:116 Thursday 21 July 2022 19:39:04 +0000 (0:00:01.048) 0:02:43.384 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml for /cache/rhel-8.qcow2 TASK [Print out pool information] ********************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml:1 Thursday 21 July 2022 19:39:04 +0000 (0:00:00.087) 0:02:43.471 ********* ok: [/cache/rhel-8.qcow2] => { "_storage_pools_list": [ { "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_kernel_device": "/dev/dm-4", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "_raw_kernel_device": "/dev/dm-4", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [ "sda", "sdb" ], "raid_level": "raid1", "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] } TASK [Print out volume information] ******************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml:6 Thursday 21 July 2022 19:39:04 +0000 (0:00:00.053) 0:02:43.525 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml:14 Thursday 21 July 2022 19:39:04 +0000 (0:00:00.044) 0:02:43.570 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "info": { "/dev/mapper/vg1-lv1": { "fstype": "xfs", "label": "", "name": "/dev/mapper/vg1-lv1", "size": "2G", "type": "lvm", "uuid": "55e36adb-b7ab-4ba8-bac2-3a60cc24af4b" }, "/dev/mapper/vg1-lv1_rimage_0": { "fstype": "", "label": "", "name": "/dev/mapper/vg1-lv1_rimage_0", "size": "2G", "type": "lvm", "uuid": "" }, "/dev/mapper/vg1-lv1_rimage_1": { "fstype": "", "label": "", "name": "/dev/mapper/vg1-lv1_rimage_1", "size": "2G", "type": "lvm", "uuid": "" }, "/dev/mapper/vg1-lv1_rmeta_0": { "fstype": "", "label": "", "name": "/dev/mapper/vg1-lv1_rmeta_0", "size": "4M", "type": "lvm", "uuid": "" }, "/dev/mapper/vg1-lv1_rmeta_1": { "fstype": "", "label": "", "name": "/dev/mapper/vg1-lv1_rmeta_1", "size": "4M", "type": "lvm", "uuid": "" }, "/dev/nvme0n1": { "fstype": "", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme1n1": { "fstype": "", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme2n1": { "fstype": "", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda": { "fstype": "", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda1": { "fstype": "LVM2_member", "label": "", "name": "/dev/sda1", "size": "10G", "type": "partition", "uuid": "NKVO09-TcJx-6eEp-uNJM-PlKV-NPAV-p10r6y" }, "/dev/sdb": { "fstype": "", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdb1": { "fstype": "LVM2_member", "label": "", "name": "/dev/sdb1", "size": "10G", "type": "partition", "uuid": "MnRcGL-0Aiy-oYgP-xp42-5wGF-3Wil-Yt0Zp8" }, "/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-19-36-08-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "", "label": "", "name": "/dev/vda1", "size": "1M", "type": "partition", "uuid": "" }, "/dev/vda2": { "fstype": "vfat", "label": "", "name": "/dev/vda2", "size": "100M", "type": "partition", "uuid": "7B77-95E7" }, "/dev/vda3": { "fstype": "xfs", "label": "root", "name": "/dev/vda3", "size": "9.9G", "type": "partition", "uuid": "853ae189-b3fe-4a45-8485-75bbb1421bbe" }, "/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/tmpcv9gbk7i/tests/storage/verify-role-results.yml:19 Thursday 21 July 2022 19:39:04 +0000 (0:00:00.386) 0:02:43.956 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.002640", "end": "2022-07-21 15:39:04.208427", "rc": 0, "start": "2022-07-21 15:39:04.205787" } STDOUT: UUID=853ae189-b3fe-4a45-8485-75bbb1421bbe / xfs defaults 0 0 UUID=7B77-95E7 /boot/efi vfat defaults,uid=0,gid=0,umask=077,shortname=winnt 0 2 /dev/mapper/vg1-lv1 /opt/test1 xfs defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml:24 Thursday 21 July 2022 19:39:05 +0000 (0:00:00.369) 0:02:44.325 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.002741", "end": "2022-07-21 15:39:04.577976", "failed_when_result": false, "rc": 1, "start": "2022-07-21 15:39:04.575235" } STDERR: cat: /etc/crypttab: No such file or directory MSG: non-zero return code TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml:33 Thursday 21 July 2022 19:39:05 +0000 (0:00:00.368) 0:02:44.694 ********* included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool.yml for /cache/rhel-8.qcow2 => (item={'disks': ['sda', 'sdb'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'name': 'vg1', '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': 'lv1', 'raid_level': 'raid1', 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': ['sda', 'sdb'], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1', '_kernel_device': '/dev/dm-4', '_raw_kernel_device': '/dev/dm-4'}], 'raid_chunk_size': None}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool.yml:5 Thursday 21 July 2022 19:39:05 +0000 (0:00:00.062) 0:02:44.756 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool.yml:18 Thursday 21 July 2022 19:39:05 +0000 (0:00:00.038) 0:02:44.795 ********* included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml for /cache/rhel-8.qcow2 => (item=members) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-volumes.yml for /cache/rhel-8.qcow2 => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:1 Thursday 21 July 2022 19:39:05 +0000 (0:00:00.051) 0:02:44.847 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_count": "2", "_storage_test_pool_pvs_lvm": [ "/dev/sda1", "/dev/sdb1" ] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:6 Thursday 21 July 2022 19:39:05 +0000 (0:00:00.059) 0:02:44.906 ********* ok: [/cache/rhel-8.qcow2] => (item=/dev/sda1) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/sda1", "pv": "/dev/sda1" } ok: [/cache/rhel-8.qcow2] => (item=/dev/sdb1) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/sdb1", "pv": "/dev/sdb1" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:15 Thursday 21 July 2022 19:39:06 +0000 (0:00:00.744) 0:02:45.650 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "__pvs_lvm_len": "2" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:19 Thursday 21 July 2022 19:39:06 +0000 (0:00:00.054) 0:02:45.705 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/sda1", "/dev/sdb1" ] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:23 Thursday 21 July 2022 19:39:06 +0000 (0:00:00.056) 0:02:45.761 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:29 Thursday 21 July 2022 19:39:06 +0000 (0:00:00.051) 0:02:45.813 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:33 Thursday 21 July 2022 19:39:06 +0000 (0:00:00.076) 0:02:45.890 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_type": "partition" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:37 Thursday 21 July 2022 19:39:06 +0000 (0:00:00.055) 0:02:45.945 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:41 Thursday 21 July 2022 19:39:06 +0000 (0:00:00.026) 0:02:45.972 ********* ok: [/cache/rhel-8.qcow2] => (item=/dev/sda1) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/sda1" } MSG: All assertions passed ok: [/cache/rhel-8.qcow2] => (item=/dev/sdb1) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/sdb1" } MSG: All assertions passed TASK [Check MD RAID] *********************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:50 Thursday 21 July 2022 19:39:06 +0000 (0:00:00.095) 0:02:46.068 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml for /cache/rhel-8.qcow2 TASK [get information about RAID] ********************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:6 Thursday 21 July 2022 19:39:06 +0000 (0:00:00.049) 0:02:46.117 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:12 Thursday 21 July 2022 19:39:06 +0000 (0:00:00.026) 0:02:46.144 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:16 Thursday 21 July 2022 19:39:06 +0000 (0:00:00.030) 0:02:46.175 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:20 Thursday 21 July 2022 19:39:07 +0000 (0:00:00.070) 0:02:46.246 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:24 Thursday 21 July 2022 19:39:07 +0000 (0:00:00.025) 0:02:46.271 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:30 Thursday 21 July 2022 19:39:07 +0000 (0:00:00.023) 0:02:46.295 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:36 Thursday 21 July 2022 19:39:07 +0000 (0:00:00.025) 0:02:46.321 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:44 Thursday 21 July 2022 19:39:07 +0000 (0:00:00.025) 0:02:46.346 ********* ok: [/cache/rhel-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/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:53 Thursday 21 July 2022 19:39:07 +0000 (0:00:00.032) 0:02:46.379 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-lvmraid.yml for /cache/rhel-8.qcow2 TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-lvmraid.yml:1 Thursday 21 July 2022 19:39:07 +0000 (0:00:00.043) 0:02:46.422 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-lvmraid.yml for /cache/rhel-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': 'lv1', 'raid_level': 'raid1', 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': ['sda', 'sdb'], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1', '_kernel_device': '/dev/dm-4', '_raw_kernel_device': '/dev/dm-4'}) TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-lvmraid.yml:3 Thursday 21 July 2022 19:39:07 +0000 (0:00:00.045) 0:02:46.467 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "lvs", "--noheading", "-o", "lv_name", "--select", "lv_name=lv1&&lv_layout=raid1", "vg1" ], "delta": "0:00:00.035378", "end": "2022-07-21 15:39:06.761868", "rc": 0, "start": "2022-07-21 15:39:06.726490" } STDOUT: lv1 TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-lvmraid.yml:8 Thursday 21 July 2022 19:39:07 +0000 (0:00:00.419) 0:02:46.887 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-lvmraid.yml:12 Thursday 21 July 2022 19:39:07 +0000 (0:00:00.057) 0:02:46.945 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_lvmraid_status": null }, "changed": false } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:56 Thursday 21 July 2022 19:39:07 +0000 (0:00:00.045) 0:02:46.991 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-thin.yml for /cache/rhel-8.qcow2 TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-thin.yml:1 Thursday 21 July 2022 19:39:07 +0000 (0:00:00.046) 0:02:47.038 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-thin.yml for /cache/rhel-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': 'lv1', 'raid_level': 'raid1', 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': ['sda', 'sdb'], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1', '_kernel_device': '/dev/dm-4', '_raw_kernel_device': '/dev/dm-4'}) TASK [Get information about thinpool] ****************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-thin.yml:3 Thursday 21 July 2022 19:39:07 +0000 (0:00:00.045) 0:02:47.083 ********* skipping: [/cache/rhel-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/tmpcv9gbk7i/tests/storage/verify-pool-member-thin.yml:8 Thursday 21 July 2022 19:39:07 +0000 (0:00:00.025) 0:02:47.109 ********* skipping: [/cache/rhel-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/tmpcv9gbk7i/tests/storage/verify-pool-member-thin.yml:13 Thursday 21 July 2022 19:39:07 +0000 (0:00:00.024) 0:02:47.134 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-thin.yml:17 Thursday 21 July 2022 19:39:07 +0000 (0:00:00.024) 0:02:47.159 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:59 Thursday 21 July 2022 19:39:07 +0000 (0:00:00.025) 0:02:47.184 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-encryption.yml for /cache/rhel-8.qcow2 TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-encryption.yml:4 Thursday 21 July 2022 19:39:08 +0000 (0:00:00.049) 0:02:47.233 ********* ok: [/cache/rhel-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/tmpcv9gbk7i/tests/storage/verify-pool-members-encryption.yml:8 Thursday 21 July 2022 19:39:08 +0000 (0:00:00.052) 0:02:47.286 ********* skipping: [/cache/rhel-8.qcow2] => (item=/dev/sda1) => { "_storage_test_pool_member_path": "/dev/sda1", "ansible_loop_var": "_storage_test_pool_member_path", "changed": false, "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=/dev/sdb1) => { "_storage_test_pool_member_path": "/dev/sdb1", "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/tmpcv9gbk7i/tests/storage/verify-pool-members-encryption.yml:15 Thursday 21 July 2022 19:39:08 +0000 (0:00:00.032) 0:02:47.318 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-crypttab.yml for /cache/rhel-8.qcow2 => (item=/dev/sda1) included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-crypttab.yml for /cache/rhel-8.qcow2 => (item=/dev/sdb1) TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-crypttab.yml:1 Thursday 21 July 2022 19:39:08 +0000 (0:00:00.054) 0:02:47.373 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": [] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-crypttab.yml:4 Thursday 21 July 2022 19:39:08 +0000 (0:00:00.050) 0:02:47.423 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-crypttab.yml:9 Thursday 21 July 2022 19:39:08 +0000 (0:00:00.049) 0:02:47.473 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-crypttab.yml:15 Thursday 21 July 2022 19:39:08 +0000 (0:00:00.037) 0:02:47.511 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-crypttab.yml:21 Thursday 21 July 2022 19:39:08 +0000 (0:00:00.037) 0:02:47.548 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-crypttab.yml:27 Thursday 21 July 2022 19:39:08 +0000 (0:00:00.037) 0:02:47.585 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-crypttab.yml:1 Thursday 21 July 2022 19:39:08 +0000 (0:00:00.038) 0:02:47.624 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": [] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-crypttab.yml:4 Thursday 21 July 2022 19:39:08 +0000 (0:00:00.088) 0:02:47.713 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-crypttab.yml:9 Thursday 21 July 2022 19:39:08 +0000 (0:00:00.087) 0:02:47.800 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-crypttab.yml:15 Thursday 21 July 2022 19:39:08 +0000 (0:00:00.072) 0:02:47.873 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-crypttab.yml:21 Thursday 21 July 2022 19:39:08 +0000 (0:00:00.039) 0:02:47.913 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-crypttab.yml:27 Thursday 21 July 2022 19:39:08 +0000 (0:00:00.038) 0:02:47.951 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-encryption.yml:22 Thursday 21 July 2022 19:39:08 +0000 (0:00:00.040) 0:02:47.991 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:62 Thursday 21 July 2022 19:39:08 +0000 (0:00:00.037) 0:02:48.029 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-vdo.yml for /cache/rhel-8.qcow2 TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-vdo.yml:1 Thursday 21 July 2022 19:39:08 +0000 (0:00:00.052) 0:02:48.081 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml for /cache/rhel-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': 'lv1', 'raid_level': 'raid1', 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': ['sda', 'sdb'], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1', '_kernel_device': '/dev/dm-4', '_raw_kernel_device': '/dev/dm-4'}) TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:3 Thursday 21 July 2022 19:39:08 +0000 (0:00:00.050) 0:02:48.132 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:8 Thursday 21 July 2022 19:39:08 +0000 (0:00:00.031) 0:02:48.164 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:11 Thursday 21 July 2022 19:39:08 +0000 (0:00:00.032) 0:02:48.196 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:16 Thursday 21 July 2022 19:39:09 +0000 (0:00:00.027) 0:02:48.224 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:21 Thursday 21 July 2022 19:39:09 +0000 (0:00:00.024) 0:02:48.249 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:24 Thursday 21 July 2022 19:39:09 +0000 (0:00:00.027) 0:02:48.276 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:29 Thursday 21 July 2022 19:39:09 +0000 (0:00:00.027) 0:02:48.303 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:39 Thursday 21 July 2022 19:39:09 +0000 (0:00:00.027) 0:02:48.330 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:65 Thursday 21 July 2022 19:39:09 +0000 (0:00:00.036) 0:02:48.367 ********* ok: [/cache/rhel-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/tmpcv9gbk7i/tests/storage/test-verify-pool-volumes.yml:3 Thursday 21 July 2022 19:39:09 +0000 (0:00:00.040) 0:02:48.407 ********* included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume.yml for /cache/rhel-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': 'lv1', 'raid_level': 'raid1', 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': ['sda', 'sdb'], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1', '_kernel_device': '/dev/dm-4', '_raw_kernel_device': '/dev/dm-4'}) TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume.yml:2 Thursday 21 July 2022 19:39:09 +0000 (0:00:00.049) 0:02:48.457 ********* ok: [/cache/rhel-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/tmpcv9gbk7i/tests/storage/test-verify-volume.yml:10 Thursday 21 July 2022 19:39:09 +0000 (0:00:00.054) 0:02:48.511 ********* included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml for /cache/rhel-8.qcow2 => (item=mount) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-fstab.yml for /cache/rhel-8.qcow2 => (item=fstab) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-fs.yml for /cache/rhel-8.qcow2 => (item=fs) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-device.yml for /cache/rhel-8.qcow2 => (item=device) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml for /cache/rhel-8.qcow2 => (item=encryption) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml for /cache/rhel-8.qcow2 => (item=md) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml for /cache/rhel-8.qcow2 => (item=size) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml for /cache/rhel-8.qcow2 => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:6 Thursday 21 July 2022 19:39:09 +0000 (0:00:00.084) 0:02:48.595 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/vg1-lv1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:10 Thursday 21 July 2022 19:39:09 +0000 (0:00:00.049) 0:02:48.645 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 508813, "block_size": 4096, "block_total": 520704, "block_used": 11891, "device": "/dev/mapper/vg1-lv1", "fstype": "xfs", "inode_available": 1046525, "inode_total": 1046528, "inode_used": 3, "mount": "/opt/test1", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota", "size_available": 2084098048, "size_total": 2132803584, "uuid": "55e36adb-b7ab-4ba8-bac2-3a60cc24af4b" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 508813, "block_size": 4096, "block_total": 520704, "block_used": 11891, "device": "/dev/mapper/vg1-lv1", "fstype": "xfs", "inode_available": 1046525, "inode_total": 1046528, "inode_used": 3, "mount": "/opt/test1", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota", "size_available": 2084098048, "size_total": 2132803584, "uuid": "55e36adb-b7ab-4ba8-bac2-3a60cc24af4b" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:20 Thursday 21 July 2022 19:39:09 +0000 (0:00:00.063) 0:02:48.708 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:29 Thursday 21 July 2022 19:39:09 +0000 (0:00:00.056) 0:02:48.764 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:37 Thursday 21 July 2022 19:39:09 +0000 (0:00:00.054) 0:02:48.818 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:46 Thursday 21 July 2022 19:39:09 +0000 (0:00:00.054) 0:02:48.873 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:50 Thursday 21 July 2022 19:39:09 +0000 (0:00:00.027) 0:02:48.900 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:55 Thursday 21 July 2022 19:39:09 +0000 (0:00:00.026) 0:02:48.927 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:65 Thursday 21 July 2022 19:39:09 +0000 (0:00:00.026) 0:02:48.953 ********* ok: [/cache/rhel-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/tmpcv9gbk7i/tests/storage/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 19:39:09 +0000 (0:00:00.041) 0:02:48.995 ********* ok: [/cache/rhel-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/vg1-lv1 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test1 xfs defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test1 " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-fstab.yml:12 Thursday 21 July 2022 19:39:09 +0000 (0:00:00.063) 0:02:49.059 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-fstab.yml:19 Thursday 21 July 2022 19:39:09 +0000 (0:00:00.051) 0:02:49.110 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 19:39:09 +0000 (0:00:00.051) 0:02:49.162 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-fstab.yml:34 Thursday 21 July 2022 19:39:09 +0000 (0:00:00.038) 0:02:49.201 ********* ok: [/cache/rhel-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/tmpcv9gbk7i/tests/storage/test-verify-volume-fs.yml:4 Thursday 21 July 2022 19:39:10 +0000 (0:00:00.087) 0:02:49.288 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-fs.yml:10 Thursday 21 July 2022 19:39:10 +0000 (0:00:00.127) 0:02:49.416 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-device.yml:4 Thursday 21 July 2022 19:39:10 +0000 (0:00:00.042) 0:02:49.458 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "stat": { "atime": 1658432339.7358003, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658432339.7358003, "dev": 6, "device_type": 64772, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 121877, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1658432339.7358003, "nlink": 1, "path": "/dev/mapper/vg1-lv1", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-device.yml:10 Thursday 21 July 2022 19:39:10 +0000 (0:00:00.399) 0:02:49.857 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-device.yml:15 Thursday 21 July 2022 19:39:10 +0000 (0:00:00.041) 0:02:49.899 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-device.yml:21 Thursday 21 July 2022 19:39:10 +0000 (0:00:00.042) 0:02:49.941 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-device.yml:25 Thursday 21 July 2022 19:39:10 +0000 (0:00:00.038) 0:02:49.980 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-device.yml:30 Thursday 21 July 2022 19:39:10 +0000 (0:00:00.025) 0:02:50.006 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 19:39:10 +0000 (0:00:00.043) 0:02:50.050 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 19:39:10 +0000 (0:00:00.025) 0:02:50.075 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 19:39:12 +0000 (0:00:01.320) 0:02:51.396 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 19:39:12 +0000 (0:00:00.027) 0:02:51.423 ********* skipping: [/cache/rhel-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/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:27 Thursday 21 July 2022 19:39:12 +0000 (0:00:00.025) 0:02:51.449 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:33 Thursday 21 July 2022 19:39:12 +0000 (0:00:00.052) 0:02:51.502 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:39 Thursday 21 July 2022 19:39:12 +0000 (0:00:00.025) 0:02:51.528 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 19:39:12 +0000 (0:00:00.027) 0:02:51.556 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:50 Thursday 21 July 2022 19:39:12 +0000 (0:00:00.023) 0:02:51.579 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:56 Thursday 21 July 2022 19:39:12 +0000 (0:00:00.023) 0:02:51.602 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:62 Thursday 21 July 2022 19:39:12 +0000 (0:00:00.025) 0:02:51.627 ********* ok: [/cache/rhel-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/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 19:39:12 +0000 (0:00:00.055) 0:02:51.683 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:72 Thursday 21 July 2022 19:39:12 +0000 (0:00:00.055) 0:02:51.738 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:78 Thursday 21 July 2022 19:39:12 +0000 (0:00:00.040) 0:02:51.779 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:84 Thursday 21 July 2022 19:39:12 +0000 (0:00:00.039) 0:02:51.818 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:90 Thursday 21 July 2022 19:39:12 +0000 (0:00:00.037) 0:02:51.856 ********* ok: [/cache/rhel-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/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml:7 Thursday 21 July 2022 19:39:12 +0000 (0:00:00.038) 0:02:51.895 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml:13 Thursday 21 July 2022 19:39:12 +0000 (0:00:00.038) 0:02:51.934 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml:17 Thursday 21 July 2022 19:39:12 +0000 (0:00:00.043) 0:02:51.977 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml:21 Thursday 21 July 2022 19:39:12 +0000 (0:00:00.043) 0:02:52.020 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml:25 Thursday 21 July 2022 19:39:12 +0000 (0:00:00.038) 0:02:52.058 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml:31 Thursday 21 July 2022 19:39:12 +0000 (0:00:00.037) 0:02:52.096 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml:37 Thursday 21 July 2022 19:39:12 +0000 (0:00:00.039) 0:02:52.136 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:3 Thursday 21 July 2022 19:39:13 +0000 (0:00:00.083) 0:02:52.219 ********* ok: [/cache/rhel-8.qcow2] => { "bytes": 2147483648, "changed": false, "lvm": "2g", "parted": "2GiB", "size": "2 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:9 Thursday 21 July 2022 19:39:13 +0000 (0:00:00.372) 0:02:52.592 ********* ok: [/cache/rhel-8.qcow2] => { "bytes": 2147483648, "changed": false, "lvm": "2g", "parted": "2GiB", "size": "2 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:15 Thursday 21 July 2022 19:39:13 +0000 (0:00:00.378) 0:02:52.970 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_expected_size": "2147483648" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:20 Thursday 21 July 2022 19:39:13 +0000 (0:00:00.053) 0:02:53.023 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_expected_size": "2147483648" } TASK [debug] ******************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:25 Thursday 21 July 2022 19:39:13 +0000 (0:00:00.039) 0:02:53.063 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:28 Thursday 21 July 2022 19:39:13 +0000 (0:00:00.039) 0:02:53.102 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:31 Thursday 21 July 2022 19:39:13 +0000 (0:00:00.043) 0:02:53.146 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:36 Thursday 21 July 2022 19:39:13 +0000 (0:00:00.037) 0:02:53.183 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:39 Thursday 21 July 2022 19:39:14 +0000 (0:00:00.036) 0:02:53.220 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:44 Thursday 21 July 2022 19:39:14 +0000 (0:00:00.036) 0:02:53.256 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_actual_size": { "bytes": 2147483648, "changed": false, "failed": false, "lvm": "2g", "parted": "2GiB", "size": "2 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:47 Thursday 21 July 2022 19:39:14 +0000 (0:00:00.038) 0:02:53.295 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_expected_size": "2147483648" } TASK [assert] ****************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:50 Thursday 21 July 2022 19:39:14 +0000 (0:00:00.034) 0:02:53.329 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml:6 Thursday 21 July 2022 19:39:14 +0000 (0:00:00.050) 0:02:53.379 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "lvs", "--noheadings", "--nameprefixes", "--units=b", "--nosuffix", "--unquoted", "-o", "name,attr,cache_total_blocks,chunk_size,segtype", "vg1/lv1" ], "delta": "0:00:00.035191", "end": "2022-07-21 15:39:13.684013", "rc": 0, "start": "2022-07-21 15:39:13.648822" } STDOUT: LVM2_LV_NAME=lv1 LVM2_LV_ATTR=rwi-aor--- LVM2_CACHE_TOTAL_BLOCKS= LVM2_CHUNK_SIZE=0 LVM2_SEGTYPE=raid1 TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml:14 Thursday 21 July 2022 19:39:14 +0000 (0:00:00.421) 0:02:53.801 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_lv_segtype": [ "raid1" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml:17 Thursday 21 July 2022 19:39:14 +0000 (0:00:00.050) 0:02:53.851 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml:22 Thursday 21 July 2022 19:39:14 +0000 (0:00:00.055) 0:02:53.907 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml:26 Thursday 21 July 2022 19:39:14 +0000 (0:00:00.044) 0:02:53.951 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml:32 Thursday 21 July 2022 19:39:14 +0000 (0:00:00.040) 0:02:53.992 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml:36 Thursday 21 July 2022 19:39:14 +0000 (0:00:00.040) 0:02:54.032 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume.yml:16 Thursday 21 July 2022 19:39:14 +0000 (0:00:00.040) 0:02:54.072 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml:43 Thursday 21 July 2022 19:39:14 +0000 (0:00:00.041) 0:02:54.114 ********* TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml:53 Thursday 21 July 2022 19:39:14 +0000 (0:00:00.023) 0:02:54.138 ********* ok: [/cache/rhel-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/tmpcv9gbk7i/tests/storage/tests_create_raid_pool_then_remove.yml:118 Thursday 21 July 2022 19:39:14 +0000 (0:00:00.047) 0:02:54.185 ********* TASK [fedora.linux_system_roles.storage : set platform/version specific variables] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Thursday 21 July 2022 19:39:15 +0000 (0:00:00.093) 0:02:54.279 ********* included: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for /cache/rhel-8.qcow2 TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Thursday 21 July 2022 19:39:15 +0000 (0:00:00.073) 0:02:54.353 ********* ok: [/cache/rhel-8.qcow2] TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Thursday 21 July 2022 19:39:15 +0000 (0:00:00.525) 0:02:54.878 ********* skipping: [/cache/rhel-8.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/rhel-8.qcow2] => (item=RedHat_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/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/vars/RedHat_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.yml" } skipping: [/cache/rhel-8.qcow2] => (item=RedHat_8.6.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.6.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Thursday 21 July 2022 19:39:15 +0000 (0:00:00.064) 0:02:54.942 ********* ok: [/cache/rhel-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/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Thursday 21 July 2022 19:39:15 +0000 (0:00:00.037) 0:02:54.980 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : include the appropriate provider tasks] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Thursday 21 July 2022 19:39:15 +0000 (0:00:00.036) 0:02:55.017 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for /cache/rhel-8.qcow2 TASK [fedora.linux_system_roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 19:39:15 +0000 (0:00:00.061) 0:02:55.078 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure blivet is available] ******* task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 19:39:15 +0000 (0:00:00.023) 0:02:55.102 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : show storage_pools] ****************** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:13 Thursday 21 July 2022 19:39:15 +0000 (0:00:00.031) 0:02:55.133 ********* ok: [/cache/rhel-8.qcow2] => { "storage_pools": [ { "disks": [ "sda", "sdb" ], "name": "vg1", "state": "present", "type": "lvm", "volumes": [ { "mount_point": "/opt/test1", "name": "lv1", "raid_disks": [ "sda", "sdb" ], "raid_level": "raid1", "size": "2g" } ] } ] } TASK [fedora.linux_system_roles.storage : show storage_volumes] **************** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:18 Thursday 21 July 2022 19:39:15 +0000 (0:00:00.042) 0:02:55.176 ********* ok: [/cache/rhel-8.qcow2] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [fedora.linux_system_roles.storage : get required packages] *************** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:23 Thursday 21 July 2022 19:39:16 +0000 (0:00:00.039) 0:02:55.215 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : enable copr repositories if needed] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:35 Thursday 21 July 2022 19:39:16 +0000 (0:00:00.031) 0:02:55.246 ********* skipping: [/cache/rhel-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/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:41 Thursday 21 July 2022 19:39:16 +0000 (0:00:00.030) 0:02:55.277 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : get service facts] ******************* task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 Thursday 21 July 2022 19:39:16 +0000 (0:00:00.034) 0:02:55.312 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:53 Thursday 21 July 2022 19:39:16 +0000 (0:00:00.031) 0:02:55.343 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 19:39:16 +0000 (0:00:00.061) 0:02:55.404 ********* TASK [fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Thursday 21 July 2022 19:39:16 +0000 (0:00:00.024) 0:02:55.429 ********* changed: [/cache/rhel-8.qcow2] => { "actions": [ { "action": "resize device", "device": "/dev/mapper/vg1-lv1", "fs_type": null }, { "action": "resize format", "device": "/dev/mapper/vg1-lv1", "fs_type": "xfs" } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/mapper/vg1-lv1", "/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/vg1-lv1", "state": "mounted" } ], "packages": [ "dosfstools", "xfsprogs", "lvm2" ], "pools": [ { "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_kernel_device": "/dev/dm-4", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "_raw_kernel_device": "/dev/dm-4", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [ "sda", "sdb" ], "raid_level": "raid1", "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } TASK [fedora.linux_system_roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:78 Thursday 21 July 2022 19:39:18 +0000 (0:00:02.491) 0:02:57.920 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Thursday 21 July 2022 19:39:18 +0000 (0:00:00.036) 0:02:57.957 ********* TASK [fedora.linux_system_roles.storage : show blivet_output] ****************** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:96 Thursday 21 July 2022 19:39:18 +0000 (0:00:00.022) 0:02:57.979 ********* ok: [/cache/rhel-8.qcow2] => { "blivet_output": { "actions": [ { "action": "resize device", "device": "/dev/mapper/vg1-lv1", "fs_type": null }, { "action": "resize format", "device": "/dev/mapper/vg1-lv1", "fs_type": "xfs" } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/mapper/vg1-lv1", "/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/vg1-lv1", "state": "mounted" } ], "packages": [ "dosfstools", "xfsprogs", "lvm2" ], "pools": [ { "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_kernel_device": "/dev/dm-4", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "_raw_kernel_device": "/dev/dm-4", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [ "sda", "sdb" ], "raid_level": "raid1", "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } } TASK [fedora.linux_system_roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:101 Thursday 21 July 2022 19:39:18 +0000 (0:00:00.043) 0:02:58.023 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_kernel_device": "/dev/dm-4", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "_raw_kernel_device": "/dev/dm-4", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [ "sda", "sdb" ], "raid_level": "raid1", "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] }, "changed": false } TASK [fedora.linux_system_roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:105 Thursday 21 July 2022 19:39:18 +0000 (0:00:00.042) 0:02:58.065 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : remove obsolete mounts] ************** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:121 Thursday 21 July 2022 19:39:18 +0000 (0:00:00.046) 0:02:58.112 ********* TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 Thursday 21 July 2022 19:39:18 +0000 (0:00:00.050) 0:02:58.162 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : set up new/current mounts] *********** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:137 Thursday 21 July 2022 19:39:19 +0000 (0:00:00.636) 0:02:58.799 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/rhel-8.qcow2] => (item={'src': '/dev/mapper/vg1-lv1', 'path': '/opt/test1', 'fstype': 'xfs', 'opts': 'defaults', 'dump': 0, 'passno': 0, 'state': 'mounted'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "xfs", "mount_info": { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/vg1-lv1", "state": "mounted" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "/dev/mapper/vg1-lv1" } TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:148 Thursday 21 July 2022 19:39:20 +0000 (0:00:00.494) 0:02:59.293 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:156 Thursday 21 July 2022 19:39:20 +0000 (0:00:00.662) 0:02:59.956 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:161 Thursday 21 July 2022 19:39:21 +0000 (0:00:00.382) 0:03:00.338 ********* TASK [fedora.linux_system_roles.storage : Update facts] ************************ task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 Thursday 21 July 2022 19:39:21 +0000 (0:00:00.025) 0:03:00.363 ********* ok: [/cache/rhel-8.qcow2] META: role_complete for /cache/rhel-8.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/tests_create_raid_pool_then_remove.yml:134 Thursday 21 July 2022 19:39:22 +0000 (0:00:00.980) 0:03:01.344 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml for /cache/rhel-8.qcow2 TASK [Print out pool information] ********************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml:1 Thursday 21 July 2022 19:39:22 +0000 (0:00:00.054) 0:03:01.398 ********* ok: [/cache/rhel-8.qcow2] => { "_storage_pools_list": [ { "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_kernel_device": "/dev/dm-4", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "_raw_kernel_device": "/dev/dm-4", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [ "sda", "sdb" ], "raid_level": "raid1", "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] } TASK [Print out volume information] ******************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml:6 Thursday 21 July 2022 19:39:22 +0000 (0:00:00.053) 0:03:01.451 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml:14 Thursday 21 July 2022 19:39:22 +0000 (0:00:00.038) 0:03:01.490 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "info": { "/dev/mapper/vg1-lv1": { "fstype": "xfs", "label": "", "name": "/dev/mapper/vg1-lv1", "size": "2G", "type": "lvm", "uuid": "55e36adb-b7ab-4ba8-bac2-3a60cc24af4b" }, "/dev/mapper/vg1-lv1_rimage_0": { "fstype": "", "label": "", "name": "/dev/mapper/vg1-lv1_rimage_0", "size": "2G", "type": "lvm", "uuid": "" }, "/dev/mapper/vg1-lv1_rimage_1": { "fstype": "", "label": "", "name": "/dev/mapper/vg1-lv1_rimage_1", "size": "2G", "type": "lvm", "uuid": "" }, "/dev/mapper/vg1-lv1_rmeta_0": { "fstype": "", "label": "", "name": "/dev/mapper/vg1-lv1_rmeta_0", "size": "4M", "type": "lvm", "uuid": "" }, "/dev/mapper/vg1-lv1_rmeta_1": { "fstype": "", "label": "", "name": "/dev/mapper/vg1-lv1_rmeta_1", "size": "4M", "type": "lvm", "uuid": "" }, "/dev/nvme0n1": { "fstype": "", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme1n1": { "fstype": "", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme2n1": { "fstype": "", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda": { "fstype": "", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda1": { "fstype": "LVM2_member", "label": "", "name": "/dev/sda1", "size": "10G", "type": "partition", "uuid": "NKVO09-TcJx-6eEp-uNJM-PlKV-NPAV-p10r6y" }, "/dev/sdb": { "fstype": "", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdb1": { "fstype": "LVM2_member", "label": "", "name": "/dev/sdb1", "size": "10G", "type": "partition", "uuid": "MnRcGL-0Aiy-oYgP-xp42-5wGF-3Wil-Yt0Zp8" }, "/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-19-36-08-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "", "label": "", "name": "/dev/vda1", "size": "1M", "type": "partition", "uuid": "" }, "/dev/vda2": { "fstype": "vfat", "label": "", "name": "/dev/vda2", "size": "100M", "type": "partition", "uuid": "7B77-95E7" }, "/dev/vda3": { "fstype": "xfs", "label": "root", "name": "/dev/vda3", "size": "9.9G", "type": "partition", "uuid": "853ae189-b3fe-4a45-8485-75bbb1421bbe" }, "/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/tmpcv9gbk7i/tests/storage/verify-role-results.yml:19 Thursday 21 July 2022 19:39:22 +0000 (0:00:00.389) 0:03:01.880 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.003021", "end": "2022-07-21 15:39:22.150314", "rc": 0, "start": "2022-07-21 15:39:22.147293" } STDOUT: UUID=853ae189-b3fe-4a45-8485-75bbb1421bbe / xfs defaults 0 0 UUID=7B77-95E7 /boot/efi vfat defaults,uid=0,gid=0,umask=077,shortname=winnt 0 2 /dev/mapper/vg1-lv1 /opt/test1 xfs defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml:24 Thursday 21 July 2022 19:39:23 +0000 (0:00:00.390) 0:03:02.271 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:01.004040", "end": "2022-07-21 15:39:23.518377", "failed_when_result": false, "rc": 1, "start": "2022-07-21 15:39:22.514337" } STDERR: cat: /etc/crypttab: No such file or directory MSG: non-zero return code TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml:33 Thursday 21 July 2022 19:39:24 +0000 (0:00:01.369) 0:03:03.640 ********* included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool.yml for /cache/rhel-8.qcow2 => (item={'disks': ['sda', 'sdb'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'name': 'vg1', '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': 'lv1', 'raid_level': 'raid1', 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': ['sda', 'sdb'], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1', '_kernel_device': '/dev/dm-4', '_raw_kernel_device': '/dev/dm-4'}], 'raid_chunk_size': None}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool.yml:5 Thursday 21 July 2022 19:39:24 +0000 (0:00:00.061) 0:03:03.702 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool.yml:18 Thursday 21 July 2022 19:39:24 +0000 (0:00:00.037) 0:03:03.740 ********* included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml for /cache/rhel-8.qcow2 => (item=members) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-volumes.yml for /cache/rhel-8.qcow2 => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:1 Thursday 21 July 2022 19:39:24 +0000 (0:00:00.047) 0:03:03.788 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_count": "2", "_storage_test_pool_pvs_lvm": [ "/dev/sda1", "/dev/sdb1" ] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:6 Thursday 21 July 2022 19:39:24 +0000 (0:00:00.093) 0:03:03.881 ********* ok: [/cache/rhel-8.qcow2] => (item=/dev/sda1) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/sda1", "pv": "/dev/sda1" } ok: [/cache/rhel-8.qcow2] => (item=/dev/sdb1) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/sdb1", "pv": "/dev/sdb1" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:15 Thursday 21 July 2022 19:39:25 +0000 (0:00:00.750) 0:03:04.632 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "__pvs_lvm_len": "2" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:19 Thursday 21 July 2022 19:39:25 +0000 (0:00:00.125) 0:03:04.757 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/sda1", "/dev/sdb1" ] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:23 Thursday 21 July 2022 19:39:25 +0000 (0:00:00.054) 0:03:04.812 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:29 Thursday 21 July 2022 19:39:25 +0000 (0:00:00.057) 0:03:04.869 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:33 Thursday 21 July 2022 19:39:25 +0000 (0:00:00.043) 0:03:04.913 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_type": "partition" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:37 Thursday 21 July 2022 19:39:25 +0000 (0:00:00.054) 0:03:04.967 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:41 Thursday 21 July 2022 19:39:25 +0000 (0:00:00.025) 0:03:04.993 ********* ok: [/cache/rhel-8.qcow2] => (item=/dev/sda1) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/sda1" } MSG: All assertions passed ok: [/cache/rhel-8.qcow2] => (item=/dev/sdb1) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/sdb1" } MSG: All assertions passed TASK [Check MD RAID] *********************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:50 Thursday 21 July 2022 19:39:25 +0000 (0:00:00.058) 0:03:05.052 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml for /cache/rhel-8.qcow2 TASK [get information about RAID] ********************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:6 Thursday 21 July 2022 19:39:25 +0000 (0:00:00.047) 0:03:05.099 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:12 Thursday 21 July 2022 19:39:25 +0000 (0:00:00.026) 0:03:05.126 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:16 Thursday 21 July 2022 19:39:25 +0000 (0:00:00.026) 0:03:05.153 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:20 Thursday 21 July 2022 19:39:25 +0000 (0:00:00.026) 0:03:05.179 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:24 Thursday 21 July 2022 19:39:25 +0000 (0:00:00.026) 0:03:05.205 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:30 Thursday 21 July 2022 19:39:26 +0000 (0:00:00.026) 0:03:05.232 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:36 Thursday 21 July 2022 19:39:26 +0000 (0:00:00.027) 0:03:05.259 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:44 Thursday 21 July 2022 19:39:26 +0000 (0:00:00.036) 0:03:05.295 ********* ok: [/cache/rhel-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/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:53 Thursday 21 July 2022 19:39:26 +0000 (0:00:00.042) 0:03:05.337 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-lvmraid.yml for /cache/rhel-8.qcow2 TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-lvmraid.yml:1 Thursday 21 July 2022 19:39:26 +0000 (0:00:00.048) 0:03:05.386 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-lvmraid.yml for /cache/rhel-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': 'lv1', 'raid_level': 'raid1', 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': ['sda', 'sdb'], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1', '_kernel_device': '/dev/dm-4', '_raw_kernel_device': '/dev/dm-4'}) TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-lvmraid.yml:3 Thursday 21 July 2022 19:39:26 +0000 (0:00:00.047) 0:03:05.433 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "lvs", "--noheading", "-o", "lv_name", "--select", "lv_name=lv1&&lv_layout=raid1", "vg1" ], "delta": "0:00:00.035355", "end": "2022-07-21 15:39:25.741654", "rc": 0, "start": "2022-07-21 15:39:25.706299" } STDOUT: lv1 TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-lvmraid.yml:8 Thursday 21 July 2022 19:39:26 +0000 (0:00:00.426) 0:03:05.860 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-lvmraid.yml:12 Thursday 21 July 2022 19:39:26 +0000 (0:00:00.060) 0:03:05.920 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_lvmraid_status": null }, "changed": false } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:56 Thursday 21 July 2022 19:39:26 +0000 (0:00:00.047) 0:03:05.968 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-thin.yml for /cache/rhel-8.qcow2 TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-thin.yml:1 Thursday 21 July 2022 19:39:26 +0000 (0:00:00.048) 0:03:06.016 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-thin.yml for /cache/rhel-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': 'lv1', 'raid_level': 'raid1', 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': ['sda', 'sdb'], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1', '_kernel_device': '/dev/dm-4', '_raw_kernel_device': '/dev/dm-4'}) TASK [Get information about thinpool] ****************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-thin.yml:3 Thursday 21 July 2022 19:39:26 +0000 (0:00:00.046) 0:03:06.063 ********* skipping: [/cache/rhel-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/tmpcv9gbk7i/tests/storage/verify-pool-member-thin.yml:8 Thursday 21 July 2022 19:39:26 +0000 (0:00:00.024) 0:03:06.088 ********* skipping: [/cache/rhel-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/tmpcv9gbk7i/tests/storage/verify-pool-member-thin.yml:13 Thursday 21 July 2022 19:39:26 +0000 (0:00:00.024) 0:03:06.112 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-thin.yml:17 Thursday 21 July 2022 19:39:26 +0000 (0:00:00.025) 0:03:06.138 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:59 Thursday 21 July 2022 19:39:26 +0000 (0:00:00.027) 0:03:06.165 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-encryption.yml for /cache/rhel-8.qcow2 TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-encryption.yml:4 Thursday 21 July 2022 19:39:27 +0000 (0:00:00.055) 0:03:06.221 ********* ok: [/cache/rhel-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/tmpcv9gbk7i/tests/storage/verify-pool-members-encryption.yml:8 Thursday 21 July 2022 19:39:27 +0000 (0:00:00.094) 0:03:06.316 ********* skipping: [/cache/rhel-8.qcow2] => (item=/dev/sda1) => { "_storage_test_pool_member_path": "/dev/sda1", "ansible_loop_var": "_storage_test_pool_member_path", "changed": false, "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=/dev/sdb1) => { "_storage_test_pool_member_path": "/dev/sdb1", "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/tmpcv9gbk7i/tests/storage/verify-pool-members-encryption.yml:15 Thursday 21 July 2022 19:39:27 +0000 (0:00:00.034) 0:03:06.351 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-crypttab.yml for /cache/rhel-8.qcow2 => (item=/dev/sda1) included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-crypttab.yml for /cache/rhel-8.qcow2 => (item=/dev/sdb1) TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-crypttab.yml:1 Thursday 21 July 2022 19:39:27 +0000 (0:00:00.099) 0:03:06.451 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": [] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-crypttab.yml:4 Thursday 21 July 2022 19:39:27 +0000 (0:00:00.052) 0:03:06.503 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-crypttab.yml:9 Thursday 21 July 2022 19:39:27 +0000 (0:00:00.051) 0:03:06.555 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-crypttab.yml:15 Thursday 21 July 2022 19:39:27 +0000 (0:00:00.037) 0:03:06.592 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-crypttab.yml:21 Thursday 21 July 2022 19:39:27 +0000 (0:00:00.038) 0:03:06.631 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-crypttab.yml:27 Thursday 21 July 2022 19:39:27 +0000 (0:00:00.039) 0:03:06.671 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-crypttab.yml:1 Thursday 21 July 2022 19:39:27 +0000 (0:00:00.036) 0:03:06.708 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": [] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-crypttab.yml:4 Thursday 21 July 2022 19:39:27 +0000 (0:00:00.053) 0:03:06.761 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-crypttab.yml:9 Thursday 21 July 2022 19:39:27 +0000 (0:00:00.053) 0:03:06.815 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-crypttab.yml:15 Thursday 21 July 2022 19:39:27 +0000 (0:00:00.043) 0:03:06.859 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-crypttab.yml:21 Thursday 21 July 2022 19:39:27 +0000 (0:00:00.038) 0:03:06.898 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-crypttab.yml:27 Thursday 21 July 2022 19:39:27 +0000 (0:00:00.039) 0:03:06.937 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-encryption.yml:22 Thursday 21 July 2022 19:39:27 +0000 (0:00:00.038) 0:03:06.975 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:62 Thursday 21 July 2022 19:39:27 +0000 (0:00:00.041) 0:03:07.016 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-vdo.yml for /cache/rhel-8.qcow2 TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-vdo.yml:1 Thursday 21 July 2022 19:39:27 +0000 (0:00:00.051) 0:03:07.068 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml for /cache/rhel-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': 'lv1', 'raid_level': 'raid1', 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': ['sda', 'sdb'], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1', '_kernel_device': '/dev/dm-4', '_raw_kernel_device': '/dev/dm-4'}) TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:3 Thursday 21 July 2022 19:39:27 +0000 (0:00:00.050) 0:03:07.118 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:8 Thursday 21 July 2022 19:39:27 +0000 (0:00:00.027) 0:03:07.146 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:11 Thursday 21 July 2022 19:39:27 +0000 (0:00:00.026) 0:03:07.172 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:16 Thursday 21 July 2022 19:39:27 +0000 (0:00:00.027) 0:03:07.200 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:21 Thursday 21 July 2022 19:39:28 +0000 (0:00:00.026) 0:03:07.226 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:24 Thursday 21 July 2022 19:39:28 +0000 (0:00:00.025) 0:03:07.252 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:29 Thursday 21 July 2022 19:39:28 +0000 (0:00:00.025) 0:03:07.278 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:39 Thursday 21 July 2022 19:39:28 +0000 (0:00:00.026) 0:03:07.305 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:65 Thursday 21 July 2022 19:39:28 +0000 (0:00:00.035) 0:03:07.341 ********* ok: [/cache/rhel-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/tmpcv9gbk7i/tests/storage/test-verify-pool-volumes.yml:3 Thursday 21 July 2022 19:39:28 +0000 (0:00:00.046) 0:03:07.387 ********* included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume.yml for /cache/rhel-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': 'lv1', 'raid_level': 'raid1', 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': ['sda', 'sdb'], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1', '_kernel_device': '/dev/dm-4', '_raw_kernel_device': '/dev/dm-4'}) TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume.yml:2 Thursday 21 July 2022 19:39:28 +0000 (0:00:00.053) 0:03:07.440 ********* ok: [/cache/rhel-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/tmpcv9gbk7i/tests/storage/test-verify-volume.yml:10 Thursday 21 July 2022 19:39:28 +0000 (0:00:00.055) 0:03:07.496 ********* included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml for /cache/rhel-8.qcow2 => (item=mount) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-fstab.yml for /cache/rhel-8.qcow2 => (item=fstab) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-fs.yml for /cache/rhel-8.qcow2 => (item=fs) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-device.yml for /cache/rhel-8.qcow2 => (item=device) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml for /cache/rhel-8.qcow2 => (item=encryption) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml for /cache/rhel-8.qcow2 => (item=md) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml for /cache/rhel-8.qcow2 => (item=size) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml for /cache/rhel-8.qcow2 => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:6 Thursday 21 July 2022 19:39:28 +0000 (0:00:00.084) 0:03:07.580 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/vg1-lv1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:10 Thursday 21 July 2022 19:39:28 +0000 (0:00:00.045) 0:03:07.626 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 509814, "block_size": 4096, "block_total": 521728, "block_used": 11914, "device": "/dev/mapper/vg1-lv1", "fstype": "xfs", "inode_available": 1048573, "inode_total": 1048576, "inode_used": 3, "mount": "/opt/test1", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota", "size_available": 2088198144, "size_total": 2136997888, "uuid": "55e36adb-b7ab-4ba8-bac2-3a60cc24af4b" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 509814, "block_size": 4096, "block_total": 521728, "block_used": 11914, "device": "/dev/mapper/vg1-lv1", "fstype": "xfs", "inode_available": 1048573, "inode_total": 1048576, "inode_used": 3, "mount": "/opt/test1", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota", "size_available": 2088198144, "size_total": 2136997888, "uuid": "55e36adb-b7ab-4ba8-bac2-3a60cc24af4b" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:20 Thursday 21 July 2022 19:39:28 +0000 (0:00:00.059) 0:03:07.685 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:29 Thursday 21 July 2022 19:39:28 +0000 (0:00:00.103) 0:03:07.789 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:37 Thursday 21 July 2022 19:39:28 +0000 (0:00:00.149) 0:03:07.938 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:46 Thursday 21 July 2022 19:39:28 +0000 (0:00:00.053) 0:03:07.991 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:50 Thursday 21 July 2022 19:39:28 +0000 (0:00:00.026) 0:03:08.018 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:55 Thursday 21 July 2022 19:39:28 +0000 (0:00:00.025) 0:03:08.043 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:65 Thursday 21 July 2022 19:39:28 +0000 (0:00:00.027) 0:03:08.070 ********* ok: [/cache/rhel-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/tmpcv9gbk7i/tests/storage/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 19:39:28 +0000 (0:00:00.036) 0:03:08.107 ********* ok: [/cache/rhel-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/vg1-lv1 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test1 xfs defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test1 " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-fstab.yml:12 Thursday 21 July 2022 19:39:28 +0000 (0:00:00.064) 0:03:08.172 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-fstab.yml:19 Thursday 21 July 2022 19:39:29 +0000 (0:00:00.054) 0:03:08.227 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 19:39:29 +0000 (0:00:00.051) 0:03:08.278 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-fstab.yml:34 Thursday 21 July 2022 19:39:29 +0000 (0:00:00.038) 0:03:08.317 ********* ok: [/cache/rhel-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/tmpcv9gbk7i/tests/storage/test-verify-volume-fs.yml:4 Thursday 21 July 2022 19:39:29 +0000 (0:00:00.039) 0:03:08.356 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-fs.yml:10 Thursday 21 July 2022 19:39:29 +0000 (0:00:00.043) 0:03:08.400 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-device.yml:4 Thursday 21 July 2022 19:39:29 +0000 (0:00:00.040) 0:03:08.440 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "stat": { "atime": 1658432357.7488003, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658432357.7488003, "dev": 6, "device_type": 64772, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 121877, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1658432357.7488003, "nlink": 1, "path": "/dev/mapper/vg1-lv1", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-device.yml:10 Thursday 21 July 2022 19:39:29 +0000 (0:00:00.390) 0:03:08.830 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-device.yml:15 Thursday 21 July 2022 19:39:29 +0000 (0:00:00.042) 0:03:08.873 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-device.yml:21 Thursday 21 July 2022 19:39:29 +0000 (0:00:00.041) 0:03:08.915 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-device.yml:25 Thursday 21 July 2022 19:39:29 +0000 (0:00:00.040) 0:03:08.955 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-device.yml:30 Thursday 21 July 2022 19:39:29 +0000 (0:00:00.024) 0:03:08.980 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 19:39:29 +0000 (0:00:00.044) 0:03:09.025 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 19:39:29 +0000 (0:00:00.026) 0:03:09.051 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 19:39:31 +0000 (0:00:01.305) 0:03:10.356 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 19:39:31 +0000 (0:00:00.026) 0:03:10.383 ********* skipping: [/cache/rhel-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/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:27 Thursday 21 July 2022 19:39:31 +0000 (0:00:00.025) 0:03:10.408 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:33 Thursday 21 July 2022 19:39:31 +0000 (0:00:00.051) 0:03:10.459 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:39 Thursday 21 July 2022 19:39:31 +0000 (0:00:00.023) 0:03:10.483 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 19:39:31 +0000 (0:00:00.025) 0:03:10.509 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:50 Thursday 21 July 2022 19:39:31 +0000 (0:00:00.024) 0:03:10.533 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:56 Thursday 21 July 2022 19:39:31 +0000 (0:00:00.023) 0:03:10.557 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:62 Thursday 21 July 2022 19:39:31 +0000 (0:00:00.023) 0:03:10.580 ********* ok: [/cache/rhel-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/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 19:39:31 +0000 (0:00:00.088) 0:03:10.668 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:72 Thursday 21 July 2022 19:39:31 +0000 (0:00:00.085) 0:03:10.754 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:78 Thursday 21 July 2022 19:39:31 +0000 (0:00:00.039) 0:03:10.794 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:84 Thursday 21 July 2022 19:39:31 +0000 (0:00:00.079) 0:03:10.873 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:90 Thursday 21 July 2022 19:39:31 +0000 (0:00:00.044) 0:03:10.918 ********* ok: [/cache/rhel-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/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml:7 Thursday 21 July 2022 19:39:31 +0000 (0:00:00.041) 0:03:10.959 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml:13 Thursday 21 July 2022 19:39:31 +0000 (0:00:00.040) 0:03:11.000 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml:17 Thursday 21 July 2022 19:39:31 +0000 (0:00:00.041) 0:03:11.042 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml:21 Thursday 21 July 2022 19:39:31 +0000 (0:00:00.038) 0:03:11.080 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml:25 Thursday 21 July 2022 19:39:31 +0000 (0:00:00.038) 0:03:11.118 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml:31 Thursday 21 July 2022 19:39:31 +0000 (0:00:00.041) 0:03:11.159 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml:37 Thursday 21 July 2022 19:39:31 +0000 (0:00:00.047) 0:03:11.207 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:3 Thursday 21 July 2022 19:39:32 +0000 (0:00:00.042) 0:03:11.250 ********* ok: [/cache/rhel-8.qcow2] => { "bytes": 2147483648, "changed": false, "lvm": "2g", "parted": "2GiB", "size": "2 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:9 Thursday 21 July 2022 19:39:32 +0000 (0:00:00.370) 0:03:11.620 ********* ok: [/cache/rhel-8.qcow2] => { "bytes": 2147483648, "changed": false, "lvm": "2g", "parted": "2GiB", "size": "2 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:15 Thursday 21 July 2022 19:39:32 +0000 (0:00:00.394) 0:03:12.015 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_expected_size": "2147483648" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:20 Thursday 21 July 2022 19:39:32 +0000 (0:00:00.049) 0:03:12.064 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_expected_size": "2147483648" } TASK [debug] ******************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:25 Thursday 21 July 2022 19:39:32 +0000 (0:00:00.035) 0:03:12.100 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:28 Thursday 21 July 2022 19:39:32 +0000 (0:00:00.035) 0:03:12.135 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:31 Thursday 21 July 2022 19:39:32 +0000 (0:00:00.039) 0:03:12.175 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:36 Thursday 21 July 2022 19:39:33 +0000 (0:00:00.038) 0:03:12.213 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:39 Thursday 21 July 2022 19:39:33 +0000 (0:00:00.041) 0:03:12.254 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:44 Thursday 21 July 2022 19:39:33 +0000 (0:00:00.045) 0:03:12.300 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_actual_size": { "bytes": 2147483648, "changed": false, "failed": false, "lvm": "2g", "parted": "2GiB", "size": "2 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:47 Thursday 21 July 2022 19:39:33 +0000 (0:00:00.051) 0:03:12.352 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_expected_size": "2147483648" } TASK [assert] ****************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:50 Thursday 21 July 2022 19:39:33 +0000 (0:00:00.040) 0:03:12.392 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml:6 Thursday 21 July 2022 19:39:33 +0000 (0:00:00.056) 0:03:12.449 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "lvs", "--noheadings", "--nameprefixes", "--units=b", "--nosuffix", "--unquoted", "-o", "name,attr,cache_total_blocks,chunk_size,segtype", "vg1/lv1" ], "delta": "0:00:00.037035", "end": "2022-07-21 15:39:32.752821", "rc": 0, "start": "2022-07-21 15:39:32.715786" } STDOUT: LVM2_LV_NAME=lv1 LVM2_LV_ATTR=rwi-aor--- LVM2_CACHE_TOTAL_BLOCKS= LVM2_CHUNK_SIZE=0 LVM2_SEGTYPE=raid1 TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml:14 Thursday 21 July 2022 19:39:33 +0000 (0:00:00.427) 0:03:12.876 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_lv_segtype": [ "raid1" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml:17 Thursday 21 July 2022 19:39:33 +0000 (0:00:00.055) 0:03:12.932 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml:22 Thursday 21 July 2022 19:39:33 +0000 (0:00:00.055) 0:03:12.987 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml:26 Thursday 21 July 2022 19:39:33 +0000 (0:00:00.042) 0:03:13.030 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml:32 Thursday 21 July 2022 19:39:33 +0000 (0:00:00.039) 0:03:13.069 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml:36 Thursday 21 July 2022 19:39:33 +0000 (0:00:00.038) 0:03:13.108 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume.yml:16 Thursday 21 July 2022 19:39:33 +0000 (0:00:00.037) 0:03:13.146 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml:43 Thursday 21 July 2022 19:39:33 +0000 (0:00:00.042) 0:03:13.189 ********* TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml:53 Thursday 21 July 2022 19:39:33 +0000 (0:00:00.023) 0:03:13.212 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Remove the device created above] ***************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/tests_create_raid_pool_then_remove.yml:136 Thursday 21 July 2022 19:39:34 +0000 (0:00:00.078) 0:03:13.290 ********* TASK [fedora.linux_system_roles.storage : set platform/version specific variables] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Thursday 21 July 2022 19:39:34 +0000 (0:00:00.076) 0:03:13.367 ********* included: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for /cache/rhel-8.qcow2 TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Thursday 21 July 2022 19:39:34 +0000 (0:00:00.077) 0:03:13.445 ********* ok: [/cache/rhel-8.qcow2] TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Thursday 21 July 2022 19:39:34 +0000 (0:00:00.556) 0:03:14.001 ********* skipping: [/cache/rhel-8.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/rhel-8.qcow2] => (item=RedHat_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/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/vars/RedHat_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.yml" } skipping: [/cache/rhel-8.qcow2] => (item=RedHat_8.6.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.6.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Thursday 21 July 2022 19:39:34 +0000 (0:00:00.065) 0:03:14.066 ********* ok: [/cache/rhel-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/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Thursday 21 July 2022 19:39:34 +0000 (0:00:00.039) 0:03:14.106 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : include the appropriate provider tasks] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Thursday 21 July 2022 19:39:34 +0000 (0:00:00.036) 0:03:14.143 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for /cache/rhel-8.qcow2 TASK [fedora.linux_system_roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 19:39:34 +0000 (0:00:00.058) 0:03:14.202 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure blivet is available] ******* task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 19:39:35 +0000 (0:00:00.023) 0:03:14.225 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : show storage_pools] ****************** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:13 Thursday 21 July 2022 19:39:35 +0000 (0:00:00.028) 0:03:14.254 ********* ok: [/cache/rhel-8.qcow2] => { "storage_pools": [ { "disks": [ "sda", "sdb" ], "name": "vg1", "state": "absent", "type": "lvm", "volumes": [ { "mount_point": "/opt/test1", "name": "lv1", "raid_disks": [ "sda", "sdb" ], "raid_level": "raid1", "size": "2g" } ] } ] } TASK [fedora.linux_system_roles.storage : show storage_volumes] **************** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:18 Thursday 21 July 2022 19:39:35 +0000 (0:00:00.041) 0:03:14.295 ********* ok: [/cache/rhel-8.qcow2] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [fedora.linux_system_roles.storage : get required packages] *************** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:23 Thursday 21 July 2022 19:39:35 +0000 (0:00:00.040) 0:03:14.336 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : enable copr repositories if needed] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:35 Thursday 21 July 2022 19:39:35 +0000 (0:00:00.034) 0:03:14.371 ********* skipping: [/cache/rhel-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/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:41 Thursday 21 July 2022 19:39:35 +0000 (0:00:00.029) 0:03:14.401 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : get service facts] ******************* task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 Thursday 21 July 2022 19:39:35 +0000 (0:00:00.029) 0:03:14.430 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:53 Thursday 21 July 2022 19:39:35 +0000 (0:00:00.029) 0:03:14.460 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 19:39:35 +0000 (0:00:00.058) 0:03:14.518 ********* TASK [fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Thursday 21 July 2022 19:39:35 +0000 (0:00:00.024) 0:03:14.542 ********* changed: [/cache/rhel-8.qcow2] => { "actions": [ { "action": "destroy format", "device": "/dev/mapper/vg1-lv1", "fs_type": "xfs" }, { "action": "destroy device", "device": "/dev/mapper/vg1-lv1", "fs_type": null }, { "action": "destroy device", "device": "/dev/vg1", "fs_type": null }, { "action": "destroy format", "device": "/dev/sda1", "fs_type": "lvmpv" }, { "action": "destroy device", "device": "/dev/sda1", "fs_type": null }, { "action": "destroy format", "device": "/dev/sda", "fs_type": "disklabel" }, { "action": "destroy format", "device": "/dev/sdb1", "fs_type": "lvmpv" }, { "action": "destroy device", "device": "/dev/sdb1", "fs_type": null }, { "action": "destroy format", "device": "/dev/sdb", "fs_type": "disklabel" } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/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/vg1-lv1", "state": "absent" } ], "packages": [ "dosfstools", "xfsprogs" ], "pools": [ { "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [ "sda", "sdb" ], "raid_level": "raid1", "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } TASK [fedora.linux_system_roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:78 Thursday 21 July 2022 19:39:38 +0000 (0:00:02.951) 0:03:17.494 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Thursday 21 July 2022 19:39:38 +0000 (0:00:00.039) 0:03:17.533 ********* TASK [fedora.linux_system_roles.storage : show blivet_output] ****************** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:96 Thursday 21 July 2022 19:39:38 +0000 (0:00:00.023) 0:03:17.557 ********* ok: [/cache/rhel-8.qcow2] => { "blivet_output": { "actions": [ { "action": "destroy format", "device": "/dev/mapper/vg1-lv1", "fs_type": "xfs" }, { "action": "destroy device", "device": "/dev/mapper/vg1-lv1", "fs_type": null }, { "action": "destroy device", "device": "/dev/vg1", "fs_type": null }, { "action": "destroy format", "device": "/dev/sda1", "fs_type": "lvmpv" }, { "action": "destroy device", "device": "/dev/sda1", "fs_type": null }, { "action": "destroy format", "device": "/dev/sda", "fs_type": "disklabel" }, { "action": "destroy format", "device": "/dev/sdb1", "fs_type": "lvmpv" }, { "action": "destroy device", "device": "/dev/sdb1", "fs_type": null }, { "action": "destroy format", "device": "/dev/sdb", "fs_type": "disklabel" } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/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/vg1-lv1", "state": "absent" } ], "packages": [ "dosfstools", "xfsprogs" ], "pools": [ { "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [ "sda", "sdb" ], "raid_level": "raid1", "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } } TASK [fedora.linux_system_roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:101 Thursday 21 July 2022 19:39:38 +0000 (0:00:00.041) 0:03:17.599 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [ "sda", "sdb" ], "raid_level": "raid1", "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] }, "changed": false } TASK [fedora.linux_system_roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:105 Thursday 21 July 2022 19:39:38 +0000 (0:00:00.036) 0:03:17.635 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : remove obsolete mounts] ************** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:121 Thursday 21 July 2022 19:39:38 +0000 (0:00:00.036) 0:03:17.671 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/rhel-8.qcow2] => (item={'src': '/dev/mapper/vg1-lv1', 'path': '/opt/test1', 'state': 'absent', 'fstype': 'xfs'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "xfs", "mount_info": { "fstype": "xfs", "path": "/opt/test1", "src": "/dev/mapper/vg1-lv1", "state": "absent" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "/dev/mapper/vg1-lv1" } TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 Thursday 21 July 2022 19:39:38 +0000 (0:00:00.423) 0:03:18.095 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : set up new/current mounts] *********** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:137 Thursday 21 July 2022 19:39:39 +0000 (0:00:00.623) 0:03:18.718 ********* TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:148 Thursday 21 July 2022 19:39:39 +0000 (0:00:00.040) 0:03:18.758 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:156 Thursday 21 July 2022 19:39:40 +0000 (0:00:00.661) 0:03:19.420 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:161 Thursday 21 July 2022 19:39:40 +0000 (0:00:00.407) 0:03:19.827 ********* TASK [fedora.linux_system_roles.storage : Update facts] ************************ task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 Thursday 21 July 2022 19:39:40 +0000 (0:00:00.025) 0:03:19.853 ********* ok: [/cache/rhel-8.qcow2] META: role_complete for /cache/rhel-8.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/tests_create_raid_pool_then_remove.yml:152 Thursday 21 July 2022 19:39:42 +0000 (0:00:02.017) 0:03:21.870 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml for /cache/rhel-8.qcow2 TASK [Print out pool information] ********************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml:1 Thursday 21 July 2022 19:39:42 +0000 (0:00:00.055) 0:03:21.926 ********* ok: [/cache/rhel-8.qcow2] => { "_storage_pools_list": [ { "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [ "sda", "sdb" ], "raid_level": "raid1", "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] } TASK [Print out volume information] ******************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml:6 Thursday 21 July 2022 19:39:42 +0000 (0:00:00.051) 0:03:21.978 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml:14 Thursday 21 July 2022 19:39:42 +0000 (0:00:00.036) 0:03:22.014 ********* ok: [/cache/rhel-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-19-36-08-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "", "label": "", "name": "/dev/vda1", "size": "1M", "type": "partition", "uuid": "" }, "/dev/vda2": { "fstype": "vfat", "label": "", "name": "/dev/vda2", "size": "100M", "type": "partition", "uuid": "7B77-95E7" }, "/dev/vda3": { "fstype": "xfs", "label": "root", "name": "/dev/vda3", "size": "9.9G", "type": "partition", "uuid": "853ae189-b3fe-4a45-8485-75bbb1421bbe" }, "/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/tmpcv9gbk7i/tests/storage/verify-role-results.yml:19 Thursday 21 July 2022 19:39:43 +0000 (0:00:00.371) 0:03:22.386 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.002304", "end": "2022-07-21 15:39:42.633833", "rc": 0, "start": "2022-07-21 15:39:42.631529" } STDOUT: UUID=853ae189-b3fe-4a45-8485-75bbb1421bbe / xfs defaults 0 0 UUID=7B77-95E7 /boot/efi vfat defaults,uid=0,gid=0,umask=077,shortname=winnt 0 2 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml:24 Thursday 21 July 2022 19:39:43 +0000 (0:00:00.365) 0:03:22.751 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.002292", "end": "2022-07-21 15:39:43.000728", "failed_when_result": false, "rc": 1, "start": "2022-07-21 15:39:42.998436" } STDERR: cat: /etc/crypttab: No such file or directory MSG: non-zero return code TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml:33 Thursday 21 July 2022 19:39:43 +0000 (0:00:00.365) 0:03:23.116 ********* included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool.yml for /cache/rhel-8.qcow2 => (item={'disks': ['sda', 'sdb'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'name': 'vg1', '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': 'lv1', 'raid_level': 'raid1', 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': ['sda', 'sdb'], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1'}], 'raid_chunk_size': None}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool.yml:5 Thursday 21 July 2022 19:39:43 +0000 (0:00:00.058) 0:03:23.175 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool.yml:18 Thursday 21 July 2022 19:39:43 +0000 (0:00:00.032) 0:03:23.207 ********* included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml for /cache/rhel-8.qcow2 => (item=members) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-volumes.yml for /cache/rhel-8.qcow2 => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:1 Thursday 21 July 2022 19:39:44 +0000 (0:00:00.048) 0:03:23.256 ********* ok: [/cache/rhel-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/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:6 Thursday 21 July 2022 19:39:44 +0000 (0:00:00.085) 0:03:23.341 ********* TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:15 Thursday 21 July 2022 19:39:44 +0000 (0:00:00.021) 0:03:23.363 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "__pvs_lvm_len": "0" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:19 Thursday 21 July 2022 19:39:44 +0000 (0:00:00.048) 0:03:23.411 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_pool_pvs": [] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:23 Thursday 21 July 2022 19:39:44 +0000 (0:00:00.083) 0:03:23.495 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:29 Thursday 21 July 2022 19:39:44 +0000 (0:00:00.091) 0:03:23.586 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:33 Thursday 21 July 2022 19:39:44 +0000 (0:00:00.075) 0:03:23.661 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_type": "partition" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:37 Thursday 21 July 2022 19:39:44 +0000 (0:00:00.050) 0:03:23.712 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:41 Thursday 21 July 2022 19:39:44 +0000 (0:00:00.024) 0:03:23.737 ********* TASK [Check MD RAID] *********************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:50 Thursday 21 July 2022 19:39:44 +0000 (0:00:00.022) 0:03:23.759 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml for /cache/rhel-8.qcow2 TASK [get information about RAID] ********************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:6 Thursday 21 July 2022 19:39:44 +0000 (0:00:00.041) 0:03:23.801 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:12 Thursday 21 July 2022 19:39:44 +0000 (0:00:00.023) 0:03:23.825 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:16 Thursday 21 July 2022 19:39:44 +0000 (0:00:00.024) 0:03:23.849 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:20 Thursday 21 July 2022 19:39:44 +0000 (0:00:00.024) 0:03:23.873 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:24 Thursday 21 July 2022 19:39:44 +0000 (0:00:00.025) 0:03:23.899 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:30 Thursday 21 July 2022 19:39:44 +0000 (0:00:00.027) 0:03:23.926 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:36 Thursday 21 July 2022 19:39:44 +0000 (0:00:00.026) 0:03:23.953 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:44 Thursday 21 July 2022 19:39:44 +0000 (0:00:00.023) 0:03:23.977 ********* ok: [/cache/rhel-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/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:53 Thursday 21 July 2022 19:39:44 +0000 (0:00:00.036) 0:03:24.013 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-lvmraid.yml for /cache/rhel-8.qcow2 TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-lvmraid.yml:1 Thursday 21 July 2022 19:39:44 +0000 (0:00:00.042) 0:03:24.055 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-lvmraid.yml for /cache/rhel-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': 'lv1', 'raid_level': 'raid1', 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': ['sda', 'sdb'], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1'}) TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-lvmraid.yml:3 Thursday 21 July 2022 19:39:44 +0000 (0:00:00.048) 0:03:24.104 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-lvmraid.yml:8 Thursday 21 July 2022 19:39:44 +0000 (0:00:00.034) 0:03:24.139 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-lvmraid.yml:12 Thursday 21 July 2022 19:39:44 +0000 (0:00:00.033) 0:03:24.173 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:56 Thursday 21 July 2022 19:39:44 +0000 (0:00:00.030) 0:03:24.204 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-thin.yml for /cache/rhel-8.qcow2 TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-thin.yml:1 Thursday 21 July 2022 19:39:45 +0000 (0:00:00.050) 0:03:24.255 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-thin.yml for /cache/rhel-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': 'lv1', 'raid_level': 'raid1', 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': ['sda', 'sdb'], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1'}) TASK [Get information about thinpool] ****************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-thin.yml:3 Thursday 21 July 2022 19:39:45 +0000 (0:00:00.045) 0:03:24.301 ********* skipping: [/cache/rhel-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/tmpcv9gbk7i/tests/storage/verify-pool-member-thin.yml:8 Thursday 21 July 2022 19:39:45 +0000 (0:00:00.024) 0:03:24.326 ********* skipping: [/cache/rhel-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/tmpcv9gbk7i/tests/storage/verify-pool-member-thin.yml:13 Thursday 21 July 2022 19:39:45 +0000 (0:00:00.024) 0:03:24.350 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-thin.yml:17 Thursday 21 July 2022 19:39:45 +0000 (0:00:00.025) 0:03:24.375 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:59 Thursday 21 July 2022 19:39:45 +0000 (0:00:00.023) 0:03:24.399 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-encryption.yml for /cache/rhel-8.qcow2 TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-encryption.yml:4 Thursday 21 July 2022 19:39:45 +0000 (0:00:00.046) 0:03:24.446 ********* ok: [/cache/rhel-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/tmpcv9gbk7i/tests/storage/verify-pool-members-encryption.yml:8 Thursday 21 July 2022 19:39:45 +0000 (0:00:00.052) 0:03:24.499 ********* TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-encryption.yml:15 Thursday 21 July 2022 19:39:45 +0000 (0:00:00.023) 0:03:24.523 ********* TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-encryption.yml:22 Thursday 21 July 2022 19:39:45 +0000 (0:00:00.022) 0:03:24.545 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:62 Thursday 21 July 2022 19:39:45 +0000 (0:00:00.034) 0:03:24.580 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-vdo.yml for /cache/rhel-8.qcow2 TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-vdo.yml:1 Thursday 21 July 2022 19:39:45 +0000 (0:00:00.046) 0:03:24.626 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml for /cache/rhel-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': 'lv1', 'raid_level': 'raid1', 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': ['sda', 'sdb'], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1'}) TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:3 Thursday 21 July 2022 19:39:45 +0000 (0:00:00.045) 0:03:24.672 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:8 Thursday 21 July 2022 19:39:45 +0000 (0:00:00.023) 0:03:24.695 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:11 Thursday 21 July 2022 19:39:45 +0000 (0:00:00.023) 0:03:24.719 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:16 Thursday 21 July 2022 19:39:45 +0000 (0:00:00.024) 0:03:24.743 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:21 Thursday 21 July 2022 19:39:45 +0000 (0:00:00.024) 0:03:24.767 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:24 Thursday 21 July 2022 19:39:45 +0000 (0:00:00.071) 0:03:24.839 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:29 Thursday 21 July 2022 19:39:45 +0000 (0:00:00.025) 0:03:24.865 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:39 Thursday 21 July 2022 19:39:45 +0000 (0:00:00.025) 0:03:24.890 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:65 Thursday 21 July 2022 19:39:45 +0000 (0:00:00.037) 0:03:24.928 ********* ok: [/cache/rhel-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/tmpcv9gbk7i/tests/storage/test-verify-pool-volumes.yml:3 Thursday 21 July 2022 19:39:45 +0000 (0:00:00.040) 0:03:24.968 ********* included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume.yml for /cache/rhel-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': 'lv1', 'raid_level': 'raid1', 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': ['sda', 'sdb'], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1'}) TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume.yml:2 Thursday 21 July 2022 19:39:45 +0000 (0:00:00.043) 0:03:25.011 ********* ok: [/cache/rhel-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/tmpcv9gbk7i/tests/storage/test-verify-volume.yml:10 Thursday 21 July 2022 19:39:45 +0000 (0:00:00.050) 0:03:25.061 ********* included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml for /cache/rhel-8.qcow2 => (item=mount) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-fstab.yml for /cache/rhel-8.qcow2 => (item=fstab) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-fs.yml for /cache/rhel-8.qcow2 => (item=fs) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-device.yml for /cache/rhel-8.qcow2 => (item=device) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml for /cache/rhel-8.qcow2 => (item=encryption) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml for /cache/rhel-8.qcow2 => (item=md) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml for /cache/rhel-8.qcow2 => (item=size) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml for /cache/rhel-8.qcow2 => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:6 Thursday 21 July 2022 19:39:45 +0000 (0:00:00.084) 0:03:25.146 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/vg1-lv1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:10 Thursday 21 July 2022 19:39:45 +0000 (0:00:00.040) 0:03:25.186 ********* ok: [/cache/rhel-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/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:20 Thursday 21 July 2022 19:39:46 +0000 (0:00:00.053) 0:03:25.239 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:29 Thursday 21 July 2022 19:39:46 +0000 (0:00:00.023) 0:03:25.262 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:37 Thursday 21 July 2022 19:39:46 +0000 (0:00:00.047) 0:03:25.310 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [command] ***************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:46 Thursday 21 July 2022 19:39:46 +0000 (0:00:00.035) 0:03:25.345 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:50 Thursday 21 July 2022 19:39:46 +0000 (0:00:00.022) 0:03:25.368 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:55 Thursday 21 July 2022 19:39:46 +0000 (0:00:00.023) 0:03:25.391 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:65 Thursday 21 July 2022 19:39:46 +0000 (0:00:00.024) 0:03:25.415 ********* ok: [/cache/rhel-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/tmpcv9gbk7i/tests/storage/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 19:39:46 +0000 (0:00:00.035) 0:03:25.451 ********* ok: [/cache/rhel-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/tmpcv9gbk7i/tests/storage/test-verify-volume-fstab.yml:12 Thursday 21 July 2022 19:39:46 +0000 (0:00:00.062) 0:03:25.513 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-fstab.yml:19 Thursday 21 July 2022 19:39:46 +0000 (0:00:00.026) 0:03:25.539 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 19:39:46 +0000 (0:00:00.049) 0:03:25.589 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-fstab.yml:34 Thursday 21 July 2022 19:39:46 +0000 (0:00:00.036) 0:03:25.625 ********* ok: [/cache/rhel-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/tmpcv9gbk7i/tests/storage/test-verify-volume-fs.yml:4 Thursday 21 July 2022 19:39:46 +0000 (0:00:00.036) 0:03:25.661 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify fs label] ********************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-fs.yml:10 Thursday 21 July 2022 19:39:46 +0000 (0:00:00.025) 0:03:25.687 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [See whether the device node is present] ********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-device.yml:4 Thursday 21 July 2022 19:39:46 +0000 (0:00:00.021) 0:03:25.709 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "stat": { "exists": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-device.yml:10 Thursday 21 July 2022 19:39:46 +0000 (0:00:00.371) 0:03:26.080 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-device.yml:15 Thursday 21 July 2022 19:39:46 +0000 (0:00:00.040) 0:03:26.121 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-device.yml:21 Thursday 21 July 2022 19:39:46 +0000 (0:00:00.027) 0:03:26.149 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-device.yml:25 Thursday 21 July 2022 19:39:46 +0000 (0:00:00.047) 0:03:26.196 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-device.yml:30 Thursday 21 July 2022 19:39:47 +0000 (0:00:00.025) 0:03:26.222 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 19:39:47 +0000 (0:00:00.025) 0:03:26.247 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 19:39:47 +0000 (0:00:00.025) 0:03:26.273 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 19:39:48 +0000 (0:00:01.265) 0:03:27.538 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 19:39:48 +0000 (0:00:00.025) 0:03:27.564 ********* skipping: [/cache/rhel-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/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:27 Thursday 21 July 2022 19:39:48 +0000 (0:00:00.023) 0:03:27.588 ********* skipping: [/cache/rhel-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/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:33 Thursday 21 July 2022 19:39:48 +0000 (0:00:00.021) 0:03:27.610 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:39 Thursday 21 July 2022 19:39:48 +0000 (0:00:00.022) 0:03:27.632 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 19:39:48 +0000 (0:00:00.021) 0:03:27.654 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:50 Thursday 21 July 2022 19:39:48 +0000 (0:00:00.021) 0:03:27.675 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:56 Thursday 21 July 2022 19:39:48 +0000 (0:00:00.021) 0:03:27.697 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:62 Thursday 21 July 2022 19:39:48 +0000 (0:00:00.025) 0:03:27.722 ********* ok: [/cache/rhel-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/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 19:39:48 +0000 (0:00:00.048) 0:03:27.771 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:72 Thursday 21 July 2022 19:39:48 +0000 (0:00:00.050) 0:03:27.821 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:78 Thursday 21 July 2022 19:39:48 +0000 (0:00:00.036) 0:03:27.858 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:84 Thursday 21 July 2022 19:39:48 +0000 (0:00:00.037) 0:03:27.895 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:90 Thursday 21 July 2022 19:39:48 +0000 (0:00:00.035) 0:03:27.931 ********* ok: [/cache/rhel-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/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml:7 Thursday 21 July 2022 19:39:48 +0000 (0:00:00.034) 0:03:27.966 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml:13 Thursday 21 July 2022 19:39:48 +0000 (0:00:00.034) 0:03:28.000 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml:17 Thursday 21 July 2022 19:39:48 +0000 (0:00:00.037) 0:03:28.037 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml:21 Thursday 21 July 2022 19:39:48 +0000 (0:00:00.033) 0:03:28.071 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml:25 Thursday 21 July 2022 19:39:48 +0000 (0:00:00.036) 0:03:28.108 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml:31 Thursday 21 July 2022 19:39:48 +0000 (0:00:00.037) 0:03:28.145 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml:37 Thursday 21 July 2022 19:39:48 +0000 (0:00:00.041) 0:03:28.187 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:3 Thursday 21 July 2022 19:39:49 +0000 (0:00:00.038) 0:03:28.225 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:9 Thursday 21 July 2022 19:39:49 +0000 (0:00:00.025) 0:03:28.250 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:15 Thursday 21 July 2022 19:39:49 +0000 (0:00:00.037) 0:03:28.288 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:20 Thursday 21 July 2022 19:39:49 +0000 (0:00:00.040) 0:03:28.328 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_expected_size": "2147483648" } TASK [debug] ******************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:25 Thursday 21 July 2022 19:39:49 +0000 (0:00:00.037) 0:03:28.365 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:28 Thursday 21 July 2022 19:39:49 +0000 (0:00:00.036) 0:03:28.402 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:31 Thursday 21 July 2022 19:39:49 +0000 (0:00:00.034) 0:03:28.437 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:36 Thursday 21 July 2022 19:39:49 +0000 (0:00:00.040) 0:03:28.477 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:39 Thursday 21 July 2022 19:39:49 +0000 (0:00:00.037) 0:03:28.515 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:44 Thursday 21 July 2022 19:39:49 +0000 (0:00:00.036) 0:03:28.551 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_actual_size": { "changed": false, "skip_reason": "Conditional result was False", "skipped": true } } TASK [debug] ******************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:47 Thursday 21 July 2022 19:39:49 +0000 (0:00:00.037) 0:03:28.589 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_expected_size": "2147483648" } TASK [assert] ****************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:50 Thursday 21 July 2022 19:39:49 +0000 (0:00:00.036) 0:03:28.625 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about the LV] ******************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml:6 Thursday 21 July 2022 19:39:49 +0000 (0:00:00.023) 0:03:28.649 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml:14 Thursday 21 July 2022 19:39:49 +0000 (0:00:00.022) 0:03:28.671 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check segment type] ****************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml:17 Thursday 21 July 2022 19:39:49 +0000 (0:00:00.022) 0:03:28.694 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml:22 Thursday 21 July 2022 19:39:49 +0000 (0:00:00.022) 0:03:28.717 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml:26 Thursday 21 July 2022 19:39:49 +0000 (0:00:00.022) 0:03:28.740 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml:32 Thursday 21 July 2022 19:39:49 +0000 (0:00:00.021) 0:03:28.762 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml:36 Thursday 21 July 2022 19:39:49 +0000 (0:00:00.024) 0:03:28.786 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume.yml:16 Thursday 21 July 2022 19:39:49 +0000 (0:00:00.025) 0:03:28.812 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml:43 Thursday 21 July 2022 19:39:49 +0000 (0:00:00.034) 0:03:28.846 ********* TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml:53 Thursday 21 July 2022 19:39:49 +0000 (0:00:00.020) 0:03:28.866 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Create a RAID0 lvm raid device] ****************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/tests_create_raid_pool_then_remove.yml:154 Thursday 21 July 2022 19:39:49 +0000 (0:00:00.071) 0:03:28.938 ********* TASK [fedora.linux_system_roles.storage : set platform/version specific variables] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Thursday 21 July 2022 19:39:49 +0000 (0:00:00.134) 0:03:29.072 ********* included: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for /cache/rhel-8.qcow2 TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Thursday 21 July 2022 19:39:49 +0000 (0:00:00.036) 0:03:29.108 ********* ok: [/cache/rhel-8.qcow2] TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Thursday 21 July 2022 19:39:50 +0000 (0:00:00.519) 0:03:29.628 ********* skipping: [/cache/rhel-8.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/rhel-8.qcow2] => (item=RedHat_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/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/vars/RedHat_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.yml" } skipping: [/cache/rhel-8.qcow2] => (item=RedHat_8.6.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.6.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Thursday 21 July 2022 19:39:50 +0000 (0:00:00.064) 0:03:29.692 ********* ok: [/cache/rhel-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/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Thursday 21 July 2022 19:39:50 +0000 (0:00:00.037) 0:03:29.730 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : include the appropriate provider tasks] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Thursday 21 July 2022 19:39:50 +0000 (0:00:00.034) 0:03:29.764 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for /cache/rhel-8.qcow2 TASK [fedora.linux_system_roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 19:39:50 +0000 (0:00:00.055) 0:03:29.819 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure blivet is available] ******* task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 19:39:50 +0000 (0:00:00.021) 0:03:29.841 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : show storage_pools] ****************** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:13 Thursday 21 July 2022 19:39:50 +0000 (0:00:00.028) 0:03:29.869 ********* ok: [/cache/rhel-8.qcow2] => { "storage_pools": [ { "disks": [ "sda", "sdb" ], "name": "vg1", "state": "present", "type": "lvm", "volumes": [ { "mount_point": "/opt/test1", "name": "lv1", "raid_disks": [ "sda", "sdb" ], "raid_level": "raid0", "size": "2g" } ] } ] } TASK [fedora.linux_system_roles.storage : show storage_volumes] **************** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:18 Thursday 21 July 2022 19:39:50 +0000 (0:00:00.039) 0:03:29.909 ********* ok: [/cache/rhel-8.qcow2] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [fedora.linux_system_roles.storage : get required packages] *************** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:23 Thursday 21 July 2022 19:39:50 +0000 (0:00:00.041) 0:03:29.951 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : enable copr repositories if needed] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:35 Thursday 21 July 2022 19:39:50 +0000 (0:00:00.029) 0:03:29.980 ********* skipping: [/cache/rhel-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/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:41 Thursday 21 July 2022 19:39:50 +0000 (0:00:00.029) 0:03:30.009 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : get service facts] ******************* task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 Thursday 21 July 2022 19:39:50 +0000 (0:00:00.029) 0:03:30.039 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:53 Thursday 21 July 2022 19:39:50 +0000 (0:00:00.030) 0:03:30.070 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 19:39:50 +0000 (0:00:00.058) 0:03:30.128 ********* TASK [fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Thursday 21 July 2022 19:39:50 +0000 (0:00:00.022) 0:03:30.150 ********* changed: [/cache/rhel-8.qcow2] => { "actions": [ { "action": "create format", "device": "/dev/sdb", "fs_type": "disklabel" }, { "action": "create device", "device": "/dev/sdb1", "fs_type": null }, { "action": "create format", "device": "/dev/sdb1", "fs_type": "lvmpv" }, { "action": "create format", "device": "/dev/sda", "fs_type": "disklabel" }, { "action": "create device", "device": "/dev/sda1", "fs_type": null }, { "action": "create format", "device": "/dev/sda1", "fs_type": "lvmpv" }, { "action": "create device", "device": "/dev/vg1", "fs_type": null }, { "action": "create device", "device": "/dev/mapper/vg1-lv1", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/vg1-lv1", "fs_type": "xfs" } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb", "/dev/vdc", "/dev/vdd", "/dev/mapper/vg1-lv1" ], "mounts": [ { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/vg1-lv1", "state": "mounted" } ], "packages": [ "lvm2", "dosfstools", "xfsprogs" ], "pools": [ { "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_kernel_device": "/dev/dm-2", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "_raw_kernel_device": "/dev/dm-2", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [ "sda", "sdb" ], "raid_level": "raid0", "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } TASK [fedora.linux_system_roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:78 Thursday 21 July 2022 19:39:53 +0000 (0:00:02.695) 0:03:32.846 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Thursday 21 July 2022 19:39:53 +0000 (0:00:00.035) 0:03:32.882 ********* TASK [fedora.linux_system_roles.storage : show blivet_output] ****************** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:96 Thursday 21 July 2022 19:39:53 +0000 (0:00:00.021) 0:03:32.904 ********* ok: [/cache/rhel-8.qcow2] => { "blivet_output": { "actions": [ { "action": "create format", "device": "/dev/sdb", "fs_type": "disklabel" }, { "action": "create device", "device": "/dev/sdb1", "fs_type": null }, { "action": "create format", "device": "/dev/sdb1", "fs_type": "lvmpv" }, { "action": "create format", "device": "/dev/sda", "fs_type": "disklabel" }, { "action": "create device", "device": "/dev/sda1", "fs_type": null }, { "action": "create format", "device": "/dev/sda1", "fs_type": "lvmpv" }, { "action": "create device", "device": "/dev/vg1", "fs_type": null }, { "action": "create device", "device": "/dev/mapper/vg1-lv1", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/vg1-lv1", "fs_type": "xfs" } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb", "/dev/vdc", "/dev/vdd", "/dev/mapper/vg1-lv1" ], "mounts": [ { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/vg1-lv1", "state": "mounted" } ], "packages": [ "lvm2", "dosfstools", "xfsprogs" ], "pools": [ { "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_kernel_device": "/dev/dm-2", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "_raw_kernel_device": "/dev/dm-2", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [ "sda", "sdb" ], "raid_level": "raid0", "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } } TASK [fedora.linux_system_roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:101 Thursday 21 July 2022 19:39:53 +0000 (0:00:00.045) 0:03:32.949 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_kernel_device": "/dev/dm-2", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "_raw_kernel_device": "/dev/dm-2", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [ "sda", "sdb" ], "raid_level": "raid0", "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] }, "changed": false } TASK [fedora.linux_system_roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:105 Thursday 21 July 2022 19:39:53 +0000 (0:00:00.038) 0:03:32.988 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : remove obsolete mounts] ************** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:121 Thursday 21 July 2022 19:39:53 +0000 (0:00:00.036) 0:03:33.024 ********* TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 Thursday 21 July 2022 19:39:53 +0000 (0:00:00.046) 0:03:33.070 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : set up new/current mounts] *********** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:137 Thursday 21 July 2022 19:39:54 +0000 (0:00:00.636) 0:03:33.707 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/rhel-8.qcow2] => (item={'src': '/dev/mapper/vg1-lv1', 'path': '/opt/test1', 'fstype': 'xfs', 'opts': 'defaults', 'dump': 0, 'passno': 0, 'state': 'mounted'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "xfs", "mount_info": { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/vg1-lv1", "state": "mounted" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "/dev/mapper/vg1-lv1" } TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:148 Thursday 21 July 2022 19:39:54 +0000 (0:00:00.474) 0:03:34.182 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:156 Thursday 21 July 2022 19:39:55 +0000 (0:00:00.608) 0:03:34.790 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:161 Thursday 21 July 2022 19:39:55 +0000 (0:00:00.386) 0:03:35.177 ********* TASK [fedora.linux_system_roles.storage : Update facts] ************************ task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 Thursday 21 July 2022 19:39:55 +0000 (0:00:00.024) 0:03:35.201 ********* ok: [/cache/rhel-8.qcow2] META: role_complete for /cache/rhel-8.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/tests_create_raid_pool_then_remove.yml:170 Thursday 21 July 2022 19:39:56 +0000 (0:00:01.001) 0:03:36.202 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml for /cache/rhel-8.qcow2 TASK [Print out pool information] ********************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml:1 Thursday 21 July 2022 19:39:57 +0000 (0:00:00.062) 0:03:36.265 ********* ok: [/cache/rhel-8.qcow2] => { "_storage_pools_list": [ { "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_kernel_device": "/dev/dm-2", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "_raw_kernel_device": "/dev/dm-2", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [ "sda", "sdb" ], "raid_level": "raid0", "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] } TASK [Print out volume information] ******************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml:6 Thursday 21 July 2022 19:39:57 +0000 (0:00:00.051) 0:03:36.316 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml:14 Thursday 21 July 2022 19:39:57 +0000 (0:00:00.035) 0:03:36.351 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "info": { "/dev/mapper/vg1-lv1": { "fstype": "xfs", "label": "", "name": "/dev/mapper/vg1-lv1", "size": "2G", "type": "lvm", "uuid": "260adadc-c1c9-4508-bca6-88055494fc78" }, "/dev/mapper/vg1-lv1_rimage_0": { "fstype": "", "label": "", "name": "/dev/mapper/vg1-lv1_rimage_0", "size": "1G", "type": "lvm", "uuid": "" }, "/dev/mapper/vg1-lv1_rimage_1": { "fstype": "", "label": "", "name": "/dev/mapper/vg1-lv1_rimage_1", "size": "1G", "type": "lvm", "uuid": "" }, "/dev/nvme0n1": { "fstype": "", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme1n1": { "fstype": "", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme2n1": { "fstype": "", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda": { "fstype": "", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda1": { "fstype": "LVM2_member", "label": "", "name": "/dev/sda1", "size": "10G", "type": "partition", "uuid": "9xNSPh-W2zY-pZq0-r7Dm-1QXR-12Hw-ny9SJ7" }, "/dev/sdb": { "fstype": "", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdb1": { "fstype": "LVM2_member", "label": "", "name": "/dev/sdb1", "size": "10G", "type": "partition", "uuid": "xDELE2-e6oz-MM7M-ciLC-47cm-eobk-bbmXyt" }, "/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-19-36-08-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "", "label": "", "name": "/dev/vda1", "size": "1M", "type": "partition", "uuid": "" }, "/dev/vda2": { "fstype": "vfat", "label": "", "name": "/dev/vda2", "size": "100M", "type": "partition", "uuid": "7B77-95E7" }, "/dev/vda3": { "fstype": "xfs", "label": "root", "name": "/dev/vda3", "size": "9.9G", "type": "partition", "uuid": "853ae189-b3fe-4a45-8485-75bbb1421bbe" }, "/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/tmpcv9gbk7i/tests/storage/verify-role-results.yml:19 Thursday 21 July 2022 19:39:57 +0000 (0:00:00.371) 0:03:36.722 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.002357", "end": "2022-07-21 15:39:56.967730", "rc": 0, "start": "2022-07-21 15:39:56.965373" } STDOUT: UUID=853ae189-b3fe-4a45-8485-75bbb1421bbe / xfs defaults 0 0 UUID=7B77-95E7 /boot/efi vfat defaults,uid=0,gid=0,umask=077,shortname=winnt 0 2 /dev/mapper/vg1-lv1 /opt/test1 xfs defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml:24 Thursday 21 July 2022 19:39:57 +0000 (0:00:00.361) 0:03:37.084 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.002601", "end": "2022-07-21 15:39:57.339148", "failed_when_result": false, "rc": 1, "start": "2022-07-21 15:39:57.336547" } STDERR: cat: /etc/crypttab: No such file or directory MSG: non-zero return code TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml:33 Thursday 21 July 2022 19:39:58 +0000 (0:00:00.371) 0:03:37.456 ********* included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool.yml for /cache/rhel-8.qcow2 => (item={'disks': ['sda', 'sdb'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'name': 'vg1', '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': 'lv1', 'raid_level': 'raid0', 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': ['sda', 'sdb'], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1', '_kernel_device': '/dev/dm-2', '_raw_kernel_device': '/dev/dm-2'}], 'raid_chunk_size': None}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool.yml:5 Thursday 21 July 2022 19:39:58 +0000 (0:00:00.061) 0:03:37.518 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool.yml:18 Thursday 21 July 2022 19:39:58 +0000 (0:00:00.033) 0:03:37.551 ********* included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml for /cache/rhel-8.qcow2 => (item=members) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-volumes.yml for /cache/rhel-8.qcow2 => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:1 Thursday 21 July 2022 19:39:58 +0000 (0:00:00.045) 0:03:37.597 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_count": "2", "_storage_test_pool_pvs_lvm": [ "/dev/sda1", "/dev/sdb1" ] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:6 Thursday 21 July 2022 19:39:58 +0000 (0:00:00.091) 0:03:37.688 ********* ok: [/cache/rhel-8.qcow2] => (item=/dev/sda1) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/sda1", "pv": "/dev/sda1" } ok: [/cache/rhel-8.qcow2] => (item=/dev/sdb1) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/sdb1", "pv": "/dev/sdb1" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:15 Thursday 21 July 2022 19:39:59 +0000 (0:00:00.757) 0:03:38.446 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "__pvs_lvm_len": "2" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:19 Thursday 21 July 2022 19:39:59 +0000 (0:00:00.084) 0:03:38.530 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/sda1", "/dev/sdb1" ] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:23 Thursday 21 July 2022 19:39:59 +0000 (0:00:00.134) 0:03:38.665 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:29 Thursday 21 July 2022 19:39:59 +0000 (0:00:00.053) 0:03:38.719 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:33 Thursday 21 July 2022 19:39:59 +0000 (0:00:00.040) 0:03:38.759 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_type": "partition" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:37 Thursday 21 July 2022 19:39:59 +0000 (0:00:00.052) 0:03:38.811 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:41 Thursday 21 July 2022 19:39:59 +0000 (0:00:00.027) 0:03:38.839 ********* ok: [/cache/rhel-8.qcow2] => (item=/dev/sda1) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/sda1" } MSG: All assertions passed ok: [/cache/rhel-8.qcow2] => (item=/dev/sdb1) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/sdb1" } MSG: All assertions passed TASK [Check MD RAID] *********************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:50 Thursday 21 July 2022 19:39:59 +0000 (0:00:00.056) 0:03:38.895 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml for /cache/rhel-8.qcow2 TASK [get information about RAID] ********************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:6 Thursday 21 July 2022 19:39:59 +0000 (0:00:00.044) 0:03:38.940 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:12 Thursday 21 July 2022 19:39:59 +0000 (0:00:00.024) 0:03:38.965 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:16 Thursday 21 July 2022 19:39:59 +0000 (0:00:00.024) 0:03:38.990 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:20 Thursday 21 July 2022 19:39:59 +0000 (0:00:00.024) 0:03:39.015 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:24 Thursday 21 July 2022 19:39:59 +0000 (0:00:00.026) 0:03:39.041 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:30 Thursday 21 July 2022 19:39:59 +0000 (0:00:00.024) 0:03:39.066 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:36 Thursday 21 July 2022 19:39:59 +0000 (0:00:00.024) 0:03:39.090 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:44 Thursday 21 July 2022 19:39:59 +0000 (0:00:00.024) 0:03:39.115 ********* ok: [/cache/rhel-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/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:53 Thursday 21 July 2022 19:39:59 +0000 (0:00:00.039) 0:03:39.155 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-lvmraid.yml for /cache/rhel-8.qcow2 TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-lvmraid.yml:1 Thursday 21 July 2022 19:39:59 +0000 (0:00:00.042) 0:03:39.198 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-lvmraid.yml for /cache/rhel-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': 'lv1', 'raid_level': 'raid0', 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': ['sda', 'sdb'], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1', '_kernel_device': '/dev/dm-2', '_raw_kernel_device': '/dev/dm-2'}) TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-lvmraid.yml:3 Thursday 21 July 2022 19:40:00 +0000 (0:00:00.044) 0:03:39.243 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "lvs", "--noheading", "-o", "lv_name", "--select", "lv_name=lv1&&lv_layout=raid0", "vg1" ], "delta": "0:00:00.034604", "end": "2022-07-21 15:39:59.534151", "rc": 0, "start": "2022-07-21 15:39:59.499547" } STDOUT: lv1 TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-lvmraid.yml:8 Thursday 21 July 2022 19:40:00 +0000 (0:00:00.409) 0:03:39.653 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-lvmraid.yml:12 Thursday 21 July 2022 19:40:00 +0000 (0:00:00.055) 0:03:39.708 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_lvmraid_status": null }, "changed": false } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:56 Thursday 21 July 2022 19:40:00 +0000 (0:00:00.046) 0:03:39.755 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-thin.yml for /cache/rhel-8.qcow2 TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-thin.yml:1 Thursday 21 July 2022 19:40:00 +0000 (0:00:00.047) 0:03:39.803 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-thin.yml for /cache/rhel-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': 'lv1', 'raid_level': 'raid0', 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': ['sda', 'sdb'], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1', '_kernel_device': '/dev/dm-2', '_raw_kernel_device': '/dev/dm-2'}) TASK [Get information about thinpool] ****************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-thin.yml:3 Thursday 21 July 2022 19:40:00 +0000 (0:00:00.045) 0:03:39.848 ********* skipping: [/cache/rhel-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/tmpcv9gbk7i/tests/storage/verify-pool-member-thin.yml:8 Thursday 21 July 2022 19:40:00 +0000 (0:00:00.022) 0:03:39.871 ********* skipping: [/cache/rhel-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/tmpcv9gbk7i/tests/storage/verify-pool-member-thin.yml:13 Thursday 21 July 2022 19:40:00 +0000 (0:00:00.022) 0:03:39.894 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-thin.yml:17 Thursday 21 July 2022 19:40:00 +0000 (0:00:00.026) 0:03:39.921 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:59 Thursday 21 July 2022 19:40:00 +0000 (0:00:00.024) 0:03:39.945 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-encryption.yml for /cache/rhel-8.qcow2 TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-encryption.yml:4 Thursday 21 July 2022 19:40:00 +0000 (0:00:00.046) 0:03:39.992 ********* ok: [/cache/rhel-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/tmpcv9gbk7i/tests/storage/verify-pool-members-encryption.yml:8 Thursday 21 July 2022 19:40:00 +0000 (0:00:00.050) 0:03:40.042 ********* skipping: [/cache/rhel-8.qcow2] => (item=/dev/sda1) => { "_storage_test_pool_member_path": "/dev/sda1", "ansible_loop_var": "_storage_test_pool_member_path", "changed": false, "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=/dev/sdb1) => { "_storage_test_pool_member_path": "/dev/sdb1", "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/tmpcv9gbk7i/tests/storage/verify-pool-members-encryption.yml:15 Thursday 21 July 2022 19:40:00 +0000 (0:00:00.029) 0:03:40.071 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-crypttab.yml for /cache/rhel-8.qcow2 => (item=/dev/sda1) included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-crypttab.yml for /cache/rhel-8.qcow2 => (item=/dev/sdb1) TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-crypttab.yml:1 Thursday 21 July 2022 19:40:00 +0000 (0:00:00.048) 0:03:40.120 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": [] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-crypttab.yml:4 Thursday 21 July 2022 19:40:00 +0000 (0:00:00.082) 0:03:40.203 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-crypttab.yml:9 Thursday 21 July 2022 19:40:01 +0000 (0:00:00.051) 0:03:40.254 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-crypttab.yml:15 Thursday 21 July 2022 19:40:01 +0000 (0:00:00.038) 0:03:40.293 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-crypttab.yml:21 Thursday 21 July 2022 19:40:01 +0000 (0:00:00.039) 0:03:40.333 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-crypttab.yml:27 Thursday 21 July 2022 19:40:01 +0000 (0:00:00.034) 0:03:40.368 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-crypttab.yml:1 Thursday 21 July 2022 19:40:01 +0000 (0:00:00.037) 0:03:40.405 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": [] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-crypttab.yml:4 Thursday 21 July 2022 19:40:01 +0000 (0:00:00.054) 0:03:40.460 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-crypttab.yml:9 Thursday 21 July 2022 19:40:01 +0000 (0:00:00.052) 0:03:40.512 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-crypttab.yml:15 Thursday 21 July 2022 19:40:01 +0000 (0:00:00.038) 0:03:40.551 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-crypttab.yml:21 Thursday 21 July 2022 19:40:01 +0000 (0:00:00.039) 0:03:40.590 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-crypttab.yml:27 Thursday 21 July 2022 19:40:01 +0000 (0:00:00.040) 0:03:40.631 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-encryption.yml:22 Thursday 21 July 2022 19:40:01 +0000 (0:00:00.034) 0:03:40.665 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:62 Thursday 21 July 2022 19:40:01 +0000 (0:00:00.037) 0:03:40.703 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-vdo.yml for /cache/rhel-8.qcow2 TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-vdo.yml:1 Thursday 21 July 2022 19:40:01 +0000 (0:00:00.055) 0:03:40.759 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml for /cache/rhel-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': 'lv1', 'raid_level': 'raid0', 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': ['sda', 'sdb'], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1', '_kernel_device': '/dev/dm-2', '_raw_kernel_device': '/dev/dm-2'}) TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:3 Thursday 21 July 2022 19:40:01 +0000 (0:00:00.048) 0:03:40.808 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:8 Thursday 21 July 2022 19:40:01 +0000 (0:00:00.030) 0:03:40.838 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:11 Thursday 21 July 2022 19:40:01 +0000 (0:00:00.032) 0:03:40.871 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:16 Thursday 21 July 2022 19:40:01 +0000 (0:00:00.030) 0:03:40.902 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:21 Thursday 21 July 2022 19:40:01 +0000 (0:00:00.028) 0:03:40.930 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:24 Thursday 21 July 2022 19:40:01 +0000 (0:00:00.040) 0:03:40.971 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:29 Thursday 21 July 2022 19:40:01 +0000 (0:00:00.048) 0:03:41.020 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:39 Thursday 21 July 2022 19:40:01 +0000 (0:00:00.043) 0:03:41.063 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:65 Thursday 21 July 2022 19:40:01 +0000 (0:00:00.065) 0:03:41.129 ********* ok: [/cache/rhel-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/tmpcv9gbk7i/tests/storage/test-verify-pool-volumes.yml:3 Thursday 21 July 2022 19:40:01 +0000 (0:00:00.068) 0:03:41.197 ********* included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume.yml for /cache/rhel-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': 'lv1', 'raid_level': 'raid0', 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': ['sda', 'sdb'], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1', '_kernel_device': '/dev/dm-2', '_raw_kernel_device': '/dev/dm-2'}) TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume.yml:2 Thursday 21 July 2022 19:40:02 +0000 (0:00:00.068) 0:03:41.266 ********* ok: [/cache/rhel-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/tmpcv9gbk7i/tests/storage/test-verify-volume.yml:10 Thursday 21 July 2022 19:40:02 +0000 (0:00:00.067) 0:03:41.333 ********* included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml for /cache/rhel-8.qcow2 => (item=mount) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-fstab.yml for /cache/rhel-8.qcow2 => (item=fstab) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-fs.yml for /cache/rhel-8.qcow2 => (item=fs) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-device.yml for /cache/rhel-8.qcow2 => (item=device) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml for /cache/rhel-8.qcow2 => (item=encryption) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml for /cache/rhel-8.qcow2 => (item=md) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml for /cache/rhel-8.qcow2 => (item=size) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml for /cache/rhel-8.qcow2 => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:6 Thursday 21 July 2022 19:40:02 +0000 (0:00:00.086) 0:03:41.420 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/vg1-lv1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:10 Thursday 21 July 2022 19:40:02 +0000 (0:00:00.042) 0:03:41.462 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 509649, "block_size": 4096, "block_total": 521600, "block_used": 11951, "device": "/dev/mapper/vg1-lv1", "fstype": "xfs", "inode_available": 1048317, "inode_total": 1048320, "inode_used": 3, "mount": "/opt/test1", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=64k,sunit=128,swidth=256,noquota", "size_available": 2087522304, "size_total": 2136473600, "uuid": "260adadc-c1c9-4508-bca6-88055494fc78" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 509649, "block_size": 4096, "block_total": 521600, "block_used": 11951, "device": "/dev/mapper/vg1-lv1", "fstype": "xfs", "inode_available": 1048317, "inode_total": 1048320, "inode_used": 3, "mount": "/opt/test1", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=64k,sunit=128,swidth=256,noquota", "size_available": 2087522304, "size_total": 2136473600, "uuid": "260adadc-c1c9-4508-bca6-88055494fc78" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:20 Thursday 21 July 2022 19:40:02 +0000 (0:00:00.058) 0:03:41.521 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:29 Thursday 21 July 2022 19:40:02 +0000 (0:00:00.052) 0:03:41.573 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:37 Thursday 21 July 2022 19:40:02 +0000 (0:00:00.055) 0:03:41.629 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:46 Thursday 21 July 2022 19:40:02 +0000 (0:00:00.091) 0:03:41.721 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:50 Thursday 21 July 2022 19:40:02 +0000 (0:00:00.023) 0:03:41.744 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:55 Thursday 21 July 2022 19:40:02 +0000 (0:00:00.025) 0:03:41.770 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:65 Thursday 21 July 2022 19:40:02 +0000 (0:00:00.063) 0:03:41.833 ********* ok: [/cache/rhel-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/tmpcv9gbk7i/tests/storage/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 19:40:02 +0000 (0:00:00.036) 0:03:41.870 ********* ok: [/cache/rhel-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/vg1-lv1 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test1 xfs defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test1 " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-fstab.yml:12 Thursday 21 July 2022 19:40:02 +0000 (0:00:00.064) 0:03:41.934 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-fstab.yml:19 Thursday 21 July 2022 19:40:02 +0000 (0:00:00.061) 0:03:41.996 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 19:40:02 +0000 (0:00:00.051) 0:03:42.048 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-fstab.yml:34 Thursday 21 July 2022 19:40:02 +0000 (0:00:00.037) 0:03:42.085 ********* ok: [/cache/rhel-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/tmpcv9gbk7i/tests/storage/test-verify-volume-fs.yml:4 Thursday 21 July 2022 19:40:02 +0000 (0:00:00.034) 0:03:42.120 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-fs.yml:10 Thursday 21 July 2022 19:40:02 +0000 (0:00:00.039) 0:03:42.159 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-device.yml:4 Thursday 21 July 2022 19:40:02 +0000 (0:00:00.037) 0:03:42.196 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "stat": { "atime": 1658432392.6668003, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658432392.6668003, "dev": 6, "device_type": 64770, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 151430, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1658432392.6668003, "nlink": 1, "path": "/dev/mapper/vg1-lv1", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-device.yml:10 Thursday 21 July 2022 19:40:03 +0000 (0:00:00.375) 0:03:42.572 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-device.yml:15 Thursday 21 July 2022 19:40:03 +0000 (0:00:00.038) 0:03:42.610 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-device.yml:21 Thursday 21 July 2022 19:40:03 +0000 (0:00:00.037) 0:03:42.648 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-device.yml:25 Thursday 21 July 2022 19:40:03 +0000 (0:00:00.035) 0:03:42.683 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-device.yml:30 Thursday 21 July 2022 19:40:03 +0000 (0:00:00.022) 0:03:42.705 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 19:40:03 +0000 (0:00:00.038) 0:03:42.744 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 19:40:03 +0000 (0:00:00.022) 0:03:42.767 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 19:40:04 +0000 (0:00:01.306) 0:03:44.073 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 19:40:04 +0000 (0:00:00.026) 0:03:44.100 ********* skipping: [/cache/rhel-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/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:27 Thursday 21 July 2022 19:40:04 +0000 (0:00:00.026) 0:03:44.126 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:33 Thursday 21 July 2022 19:40:04 +0000 (0:00:00.054) 0:03:44.181 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:39 Thursday 21 July 2022 19:40:04 +0000 (0:00:00.026) 0:03:44.208 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 19:40:05 +0000 (0:00:00.026) 0:03:44.235 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:50 Thursday 21 July 2022 19:40:05 +0000 (0:00:00.025) 0:03:44.261 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:56 Thursday 21 July 2022 19:40:05 +0000 (0:00:00.025) 0:03:44.286 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:62 Thursday 21 July 2022 19:40:05 +0000 (0:00:00.024) 0:03:44.311 ********* ok: [/cache/rhel-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/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 19:40:05 +0000 (0:00:00.055) 0:03:44.366 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:72 Thursday 21 July 2022 19:40:05 +0000 (0:00:00.086) 0:03:44.453 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:78 Thursday 21 July 2022 19:40:05 +0000 (0:00:00.039) 0:03:44.492 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:84 Thursday 21 July 2022 19:40:05 +0000 (0:00:00.039) 0:03:44.532 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:90 Thursday 21 July 2022 19:40:05 +0000 (0:00:00.038) 0:03:44.571 ********* ok: [/cache/rhel-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/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml:7 Thursday 21 July 2022 19:40:05 +0000 (0:00:00.075) 0:03:44.646 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml:13 Thursday 21 July 2022 19:40:05 +0000 (0:00:00.038) 0:03:44.685 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml:17 Thursday 21 July 2022 19:40:05 +0000 (0:00:00.104) 0:03:44.789 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml:21 Thursday 21 July 2022 19:40:05 +0000 (0:00:00.040) 0:03:44.829 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml:25 Thursday 21 July 2022 19:40:05 +0000 (0:00:00.038) 0:03:44.868 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml:31 Thursday 21 July 2022 19:40:05 +0000 (0:00:00.040) 0:03:44.908 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml:37 Thursday 21 July 2022 19:40:05 +0000 (0:00:00.043) 0:03:44.952 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:3 Thursday 21 July 2022 19:40:05 +0000 (0:00:00.041) 0:03:44.993 ********* ok: [/cache/rhel-8.qcow2] => { "bytes": 2147483648, "changed": false, "lvm": "2g", "parted": "2GiB", "size": "2 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:9 Thursday 21 July 2022 19:40:06 +0000 (0:00:00.374) 0:03:45.367 ********* ok: [/cache/rhel-8.qcow2] => { "bytes": 2147483648, "changed": false, "lvm": "2g", "parted": "2GiB", "size": "2 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:15 Thursday 21 July 2022 19:40:06 +0000 (0:00:00.383) 0:03:45.751 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_expected_size": "2147483648" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:20 Thursday 21 July 2022 19:40:06 +0000 (0:00:00.050) 0:03:45.802 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_expected_size": "2147483648" } TASK [debug] ******************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:25 Thursday 21 July 2022 19:40:06 +0000 (0:00:00.039) 0:03:45.841 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:28 Thursday 21 July 2022 19:40:06 +0000 (0:00:00.043) 0:03:45.885 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:31 Thursday 21 July 2022 19:40:06 +0000 (0:00:00.040) 0:03:45.925 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:36 Thursday 21 July 2022 19:40:06 +0000 (0:00:00.039) 0:03:45.965 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:39 Thursday 21 July 2022 19:40:06 +0000 (0:00:00.038) 0:03:46.004 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:44 Thursday 21 July 2022 19:40:06 +0000 (0:00:00.043) 0:03:46.047 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_actual_size": { "bytes": 2147483648, "changed": false, "failed": false, "lvm": "2g", "parted": "2GiB", "size": "2 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:47 Thursday 21 July 2022 19:40:06 +0000 (0:00:00.049) 0:03:46.096 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_expected_size": "2147483648" } TASK [assert] ****************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:50 Thursday 21 July 2022 19:40:06 +0000 (0:00:00.044) 0:03:46.141 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml:6 Thursday 21 July 2022 19:40:06 +0000 (0:00:00.065) 0:03:46.207 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "lvs", "--noheadings", "--nameprefixes", "--units=b", "--nosuffix", "--unquoted", "-o", "name,attr,cache_total_blocks,chunk_size,segtype", "vg1/lv1" ], "delta": "0:00:00.040688", "end": "2022-07-21 15:40:06.526498", "rc": 0, "start": "2022-07-21 15:40:06.485810" } STDOUT: LVM2_LV_NAME=lv1 LVM2_LV_ATTR=rwi-aor--- LVM2_CACHE_TOTAL_BLOCKS= LVM2_CHUNK_SIZE=0 LVM2_SEGTYPE=raid0 TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml:14 Thursday 21 July 2022 19:40:07 +0000 (0:00:00.446) 0:03:46.653 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_lv_segtype": [ "raid0" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml:17 Thursday 21 July 2022 19:40:07 +0000 (0:00:00.057) 0:03:46.710 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml:22 Thursday 21 July 2022 19:40:07 +0000 (0:00:00.057) 0:03:46.768 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml:26 Thursday 21 July 2022 19:40:07 +0000 (0:00:00.038) 0:03:46.807 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml:32 Thursday 21 July 2022 19:40:07 +0000 (0:00:00.036) 0:03:46.843 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml:36 Thursday 21 July 2022 19:40:07 +0000 (0:00:00.035) 0:03:46.879 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume.yml:16 Thursday 21 July 2022 19:40:07 +0000 (0:00:00.039) 0:03:46.918 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml:43 Thursday 21 July 2022 19:40:07 +0000 (0:00:00.037) 0:03:46.956 ********* TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml:53 Thursday 21 July 2022 19:40:07 +0000 (0:00:00.023) 0:03:46.979 ********* ok: [/cache/rhel-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/tmpcv9gbk7i/tests/storage/tests_create_raid_pool_then_remove.yml:172 Thursday 21 July 2022 19:40:07 +0000 (0:00:00.038) 0:03:47.018 ********* TASK [fedora.linux_system_roles.storage : set platform/version specific variables] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Thursday 21 July 2022 19:40:07 +0000 (0:00:00.082) 0:03:47.100 ********* included: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for /cache/rhel-8.qcow2 TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Thursday 21 July 2022 19:40:07 +0000 (0:00:00.037) 0:03:47.138 ********* ok: [/cache/rhel-8.qcow2] TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Thursday 21 July 2022 19:40:08 +0000 (0:00:00.579) 0:03:47.718 ********* skipping: [/cache/rhel-8.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/rhel-8.qcow2] => (item=RedHat_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/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/vars/RedHat_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.yml" } skipping: [/cache/rhel-8.qcow2] => (item=RedHat_8.6.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.6.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Thursday 21 July 2022 19:40:08 +0000 (0:00:00.065) 0:03:47.784 ********* ok: [/cache/rhel-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/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Thursday 21 July 2022 19:40:08 +0000 (0:00:00.037) 0:03:47.822 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : include the appropriate provider tasks] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Thursday 21 July 2022 19:40:08 +0000 (0:00:00.033) 0:03:47.855 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for /cache/rhel-8.qcow2 TASK [fedora.linux_system_roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 19:40:08 +0000 (0:00:00.058) 0:03:47.914 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure blivet is available] ******* task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 19:40:08 +0000 (0:00:00.021) 0:03:47.936 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : show storage_pools] ****************** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:13 Thursday 21 July 2022 19:40:08 +0000 (0:00:00.028) 0:03:47.964 ********* ok: [/cache/rhel-8.qcow2] => { "storage_pools": [ { "disks": [ "sda", "sdb" ], "name": "vg1", "state": "present", "type": "lvm", "volumes": [ { "mount_point": "/opt/test1", "name": "lv1", "raid_disks": [ "sda", "sdb" ], "raid_level": "raid0", "size": "2g" } ] } ] } TASK [fedora.linux_system_roles.storage : show storage_volumes] **************** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:18 Thursday 21 July 2022 19:40:08 +0000 (0:00:00.043) 0:03:48.007 ********* ok: [/cache/rhel-8.qcow2] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [fedora.linux_system_roles.storage : get required packages] *************** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:23 Thursday 21 July 2022 19:40:08 +0000 (0:00:00.039) 0:03:48.046 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : enable copr repositories if needed] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:35 Thursday 21 July 2022 19:40:08 +0000 (0:00:00.027) 0:03:48.074 ********* skipping: [/cache/rhel-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/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:41 Thursday 21 July 2022 19:40:08 +0000 (0:00:00.030) 0:03:48.104 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : get service facts] ******************* task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 Thursday 21 July 2022 19:40:08 +0000 (0:00:00.030) 0:03:48.134 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:53 Thursday 21 July 2022 19:40:08 +0000 (0:00:00.030) 0:03:48.165 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 19:40:09 +0000 (0:00:00.057) 0:03:48.223 ********* TASK [fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Thursday 21 July 2022 19:40:09 +0000 (0:00:00.021) 0:03:48.244 ********* ok: [/cache/rhel-8.qcow2] => { "actions": [], "changed": false, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/mapper/vg1-lv1", "/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/vg1-lv1", "state": "mounted" } ], "packages": [ "xfsprogs", "dosfstools", "lvm2" ], "pools": [ { "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_kernel_device": "/dev/dm-2", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "_raw_kernel_device": "/dev/dm-2", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [ "sda", "sdb" ], "raid_level": "raid0", "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } TASK [fedora.linux_system_roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:78 Thursday 21 July 2022 19:40:10 +0000 (0:00:01.809) 0:03:50.054 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Thursday 21 July 2022 19:40:10 +0000 (0:00:00.039) 0:03:50.093 ********* TASK [fedora.linux_system_roles.storage : show blivet_output] ****************** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:96 Thursday 21 July 2022 19:40:10 +0000 (0:00:00.023) 0:03:50.117 ********* ok: [/cache/rhel-8.qcow2] => { "blivet_output": { "actions": [], "changed": false, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/dev/mapper/vg1-lv1", "/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/vg1-lv1", "state": "mounted" } ], "packages": [ "xfsprogs", "dosfstools", "lvm2" ], "pools": [ { "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_kernel_device": "/dev/dm-2", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "_raw_kernel_device": "/dev/dm-2", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [ "sda", "sdb" ], "raid_level": "raid0", "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } } TASK [fedora.linux_system_roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:101 Thursday 21 July 2022 19:40:10 +0000 (0:00:00.041) 0:03:50.158 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_kernel_device": "/dev/dm-2", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "_raw_kernel_device": "/dev/dm-2", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [ "sda", "sdb" ], "raid_level": "raid0", "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] }, "changed": false } TASK [fedora.linux_system_roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:105 Thursday 21 July 2022 19:40:10 +0000 (0:00:00.041) 0:03:50.200 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : remove obsolete mounts] ************** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:121 Thursday 21 July 2022 19:40:11 +0000 (0:00:00.046) 0:03:50.247 ********* TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 Thursday 21 July 2022 19:40:11 +0000 (0:00:00.041) 0:03:50.288 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : set up new/current mounts] *********** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:137 Thursday 21 July 2022 19:40:11 +0000 (0:00:00.619) 0:03:50.907 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount ok: [/cache/rhel-8.qcow2] => (item={'src': '/dev/mapper/vg1-lv1', 'path': '/opt/test1', 'fstype': 'xfs', 'opts': 'defaults', 'dump': 0, 'passno': 0, 'state': 'mounted'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": false, "dump": "0", "fstab": "/etc/fstab", "fstype": "xfs", "mount_info": { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/vg1-lv1", "state": "mounted" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "/dev/mapper/vg1-lv1" } TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:148 Thursday 21 July 2022 19:40:12 +0000 (0:00:00.464) 0:03:51.372 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:156 Thursday 21 July 2022 19:40:12 +0000 (0:00:00.634) 0:03:52.006 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:161 Thursday 21 July 2022 19:40:13 +0000 (0:00:00.381) 0:03:52.387 ********* TASK [fedora.linux_system_roles.storage : Update facts] ************************ task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 Thursday 21 July 2022 19:40:13 +0000 (0:00:00.025) 0:03:52.412 ********* ok: [/cache/rhel-8.qcow2] META: role_complete for /cache/rhel-8.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/tests_create_raid_pool_then_remove.yml:188 Thursday 21 July 2022 19:40:14 +0000 (0:00:00.990) 0:03:53.403 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml for /cache/rhel-8.qcow2 TASK [Print out pool information] ********************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml:1 Thursday 21 July 2022 19:40:14 +0000 (0:00:00.060) 0:03:53.464 ********* ok: [/cache/rhel-8.qcow2] => { "_storage_pools_list": [ { "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_kernel_device": "/dev/dm-2", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "_raw_kernel_device": "/dev/dm-2", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [ "sda", "sdb" ], "raid_level": "raid0", "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] } TASK [Print out volume information] ******************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml:6 Thursday 21 July 2022 19:40:14 +0000 (0:00:00.050) 0:03:53.514 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml:14 Thursday 21 July 2022 19:40:14 +0000 (0:00:00.041) 0:03:53.555 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "info": { "/dev/mapper/vg1-lv1": { "fstype": "xfs", "label": "", "name": "/dev/mapper/vg1-lv1", "size": "2G", "type": "lvm", "uuid": "260adadc-c1c9-4508-bca6-88055494fc78" }, "/dev/mapper/vg1-lv1_rimage_0": { "fstype": "", "label": "", "name": "/dev/mapper/vg1-lv1_rimage_0", "size": "1G", "type": "lvm", "uuid": "" }, "/dev/mapper/vg1-lv1_rimage_1": { "fstype": "", "label": "", "name": "/dev/mapper/vg1-lv1_rimage_1", "size": "1G", "type": "lvm", "uuid": "" }, "/dev/nvme0n1": { "fstype": "", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme1n1": { "fstype": "", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme2n1": { "fstype": "", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda": { "fstype": "", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda1": { "fstype": "LVM2_member", "label": "", "name": "/dev/sda1", "size": "10G", "type": "partition", "uuid": "9xNSPh-W2zY-pZq0-r7Dm-1QXR-12Hw-ny9SJ7" }, "/dev/sdb": { "fstype": "", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdb1": { "fstype": "LVM2_member", "label": "", "name": "/dev/sdb1", "size": "10G", "type": "partition", "uuid": "xDELE2-e6oz-MM7M-ciLC-47cm-eobk-bbmXyt" }, "/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-19-36-08-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "", "label": "", "name": "/dev/vda1", "size": "1M", "type": "partition", "uuid": "" }, "/dev/vda2": { "fstype": "vfat", "label": "", "name": "/dev/vda2", "size": "100M", "type": "partition", "uuid": "7B77-95E7" }, "/dev/vda3": { "fstype": "xfs", "label": "root", "name": "/dev/vda3", "size": "9.9G", "type": "partition", "uuid": "853ae189-b3fe-4a45-8485-75bbb1421bbe" }, "/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/tmpcv9gbk7i/tests/storage/verify-role-results.yml:19 Thursday 21 July 2022 19:40:14 +0000 (0:00:00.373) 0:03:53.929 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.002416", "end": "2022-07-21 15:40:14.172608", "rc": 0, "start": "2022-07-21 15:40:14.170192" } STDOUT: UUID=853ae189-b3fe-4a45-8485-75bbb1421bbe / xfs defaults 0 0 UUID=7B77-95E7 /boot/efi vfat defaults,uid=0,gid=0,umask=077,shortname=winnt 0 2 /dev/mapper/vg1-lv1 /opt/test1 xfs defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml:24 Thursday 21 July 2022 19:40:15 +0000 (0:00:00.361) 0:03:54.291 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:01.004043", "end": "2022-07-21 15:40:15.542517", "failed_when_result": false, "rc": 1, "start": "2022-07-21 15:40:14.538474" } STDERR: cat: /etc/crypttab: No such file or directory MSG: non-zero return code TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml:33 Thursday 21 July 2022 19:40:16 +0000 (0:00:01.372) 0:03:55.663 ********* included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool.yml for /cache/rhel-8.qcow2 => (item={'disks': ['sda', 'sdb'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'name': 'vg1', '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': 'lv1', 'raid_level': 'raid0', 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': ['sda', 'sdb'], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1', '_kernel_device': '/dev/dm-2', '_raw_kernel_device': '/dev/dm-2'}], 'raid_chunk_size': None}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool.yml:5 Thursday 21 July 2022 19:40:16 +0000 (0:00:00.060) 0:03:55.724 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool.yml:18 Thursday 21 July 2022 19:40:16 +0000 (0:00:00.036) 0:03:55.760 ********* included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml for /cache/rhel-8.qcow2 => (item=members) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-volumes.yml for /cache/rhel-8.qcow2 => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:1 Thursday 21 July 2022 19:40:16 +0000 (0:00:00.050) 0:03:55.810 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_count": "2", "_storage_test_pool_pvs_lvm": [ "/dev/sda1", "/dev/sdb1" ] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:6 Thursday 21 July 2022 19:40:16 +0000 (0:00:00.089) 0:03:55.900 ********* ok: [/cache/rhel-8.qcow2] => (item=/dev/sda1) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/sda1", "pv": "/dev/sda1" } ok: [/cache/rhel-8.qcow2] => (item=/dev/sdb1) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/sdb1", "pv": "/dev/sdb1" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:15 Thursday 21 July 2022 19:40:17 +0000 (0:00:00.761) 0:03:56.662 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "__pvs_lvm_len": "2" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:19 Thursday 21 July 2022 19:40:17 +0000 (0:00:00.089) 0:03:56.751 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/sda1", "/dev/sdb1" ] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:23 Thursday 21 July 2022 19:40:17 +0000 (0:00:00.085) 0:03:56.836 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:29 Thursday 21 July 2022 19:40:17 +0000 (0:00:00.050) 0:03:56.887 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:33 Thursday 21 July 2022 19:40:17 +0000 (0:00:00.040) 0:03:56.927 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_type": "partition" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:37 Thursday 21 July 2022 19:40:17 +0000 (0:00:00.054) 0:03:56.981 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:41 Thursday 21 July 2022 19:40:17 +0000 (0:00:00.023) 0:03:57.005 ********* ok: [/cache/rhel-8.qcow2] => (item=/dev/sda1) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/sda1" } MSG: All assertions passed ok: [/cache/rhel-8.qcow2] => (item=/dev/sdb1) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/sdb1" } MSG: All assertions passed TASK [Check MD RAID] *********************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:50 Thursday 21 July 2022 19:40:17 +0000 (0:00:00.056) 0:03:57.062 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml for /cache/rhel-8.qcow2 TASK [get information about RAID] ********************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:6 Thursday 21 July 2022 19:40:17 +0000 (0:00:00.055) 0:03:57.118 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:12 Thursday 21 July 2022 19:40:17 +0000 (0:00:00.029) 0:03:57.147 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:16 Thursday 21 July 2022 19:40:17 +0000 (0:00:00.027) 0:03:57.174 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:20 Thursday 21 July 2022 19:40:17 +0000 (0:00:00.026) 0:03:57.201 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:24 Thursday 21 July 2022 19:40:18 +0000 (0:00:00.025) 0:03:57.227 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:30 Thursday 21 July 2022 19:40:18 +0000 (0:00:00.025) 0:03:57.252 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:36 Thursday 21 July 2022 19:40:18 +0000 (0:00:00.024) 0:03:57.277 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:44 Thursday 21 July 2022 19:40:18 +0000 (0:00:00.025) 0:03:57.303 ********* ok: [/cache/rhel-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/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:53 Thursday 21 July 2022 19:40:18 +0000 (0:00:00.035) 0:03:57.339 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-lvmraid.yml for /cache/rhel-8.qcow2 TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-lvmraid.yml:1 Thursday 21 July 2022 19:40:18 +0000 (0:00:00.044) 0:03:57.383 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-lvmraid.yml for /cache/rhel-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': 'lv1', 'raid_level': 'raid0', 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': ['sda', 'sdb'], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1', '_kernel_device': '/dev/dm-2', '_raw_kernel_device': '/dev/dm-2'}) TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-lvmraid.yml:3 Thursday 21 July 2022 19:40:18 +0000 (0:00:00.044) 0:03:57.428 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "lvs", "--noheading", "-o", "lv_name", "--select", "lv_name=lv1&&lv_layout=raid0", "vg1" ], "delta": "0:00:00.038460", "end": "2022-07-21 15:40:17.734442", "rc": 0, "start": "2022-07-21 15:40:17.695982" } STDOUT: lv1 TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-lvmraid.yml:8 Thursday 21 July 2022 19:40:18 +0000 (0:00:00.429) 0:03:57.857 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-lvmraid.yml:12 Thursday 21 July 2022 19:40:18 +0000 (0:00:00.058) 0:03:57.916 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_lvmraid_status": null }, "changed": false } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:56 Thursday 21 July 2022 19:40:18 +0000 (0:00:00.043) 0:03:57.959 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-thin.yml for /cache/rhel-8.qcow2 TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-thin.yml:1 Thursday 21 July 2022 19:40:18 +0000 (0:00:00.046) 0:03:58.006 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-thin.yml for /cache/rhel-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': 'lv1', 'raid_level': 'raid0', 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': ['sda', 'sdb'], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1', '_kernel_device': '/dev/dm-2', '_raw_kernel_device': '/dev/dm-2'}) TASK [Get information about thinpool] ****************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-thin.yml:3 Thursday 21 July 2022 19:40:18 +0000 (0:00:00.044) 0:03:58.050 ********* skipping: [/cache/rhel-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/tmpcv9gbk7i/tests/storage/verify-pool-member-thin.yml:8 Thursday 21 July 2022 19:40:18 +0000 (0:00:00.025) 0:03:58.076 ********* skipping: [/cache/rhel-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/tmpcv9gbk7i/tests/storage/verify-pool-member-thin.yml:13 Thursday 21 July 2022 19:40:18 +0000 (0:00:00.026) 0:03:58.102 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-thin.yml:17 Thursday 21 July 2022 19:40:18 +0000 (0:00:00.026) 0:03:58.129 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:59 Thursday 21 July 2022 19:40:18 +0000 (0:00:00.024) 0:03:58.153 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-encryption.yml for /cache/rhel-8.qcow2 TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-encryption.yml:4 Thursday 21 July 2022 19:40:18 +0000 (0:00:00.051) 0:03:58.204 ********* ok: [/cache/rhel-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/tmpcv9gbk7i/tests/storage/verify-pool-members-encryption.yml:8 Thursday 21 July 2022 19:40:19 +0000 (0:00:00.092) 0:03:58.296 ********* skipping: [/cache/rhel-8.qcow2] => (item=/dev/sda1) => { "_storage_test_pool_member_path": "/dev/sda1", "ansible_loop_var": "_storage_test_pool_member_path", "changed": false, "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=/dev/sdb1) => { "_storage_test_pool_member_path": "/dev/sdb1", "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/tmpcv9gbk7i/tests/storage/verify-pool-members-encryption.yml:15 Thursday 21 July 2022 19:40:19 +0000 (0:00:00.030) 0:03:58.327 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-crypttab.yml for /cache/rhel-8.qcow2 => (item=/dev/sda1) included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-crypttab.yml for /cache/rhel-8.qcow2 => (item=/dev/sdb1) TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-crypttab.yml:1 Thursday 21 July 2022 19:40:19 +0000 (0:00:00.092) 0:03:58.419 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": [] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-crypttab.yml:4 Thursday 21 July 2022 19:40:19 +0000 (0:00:00.049) 0:03:58.469 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-crypttab.yml:9 Thursday 21 July 2022 19:40:19 +0000 (0:00:00.054) 0:03:58.523 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-crypttab.yml:15 Thursday 21 July 2022 19:40:19 +0000 (0:00:00.036) 0:03:58.560 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-crypttab.yml:21 Thursday 21 July 2022 19:40:19 +0000 (0:00:00.038) 0:03:58.599 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-crypttab.yml:27 Thursday 21 July 2022 19:40:19 +0000 (0:00:00.035) 0:03:58.634 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-crypttab.yml:1 Thursday 21 July 2022 19:40:19 +0000 (0:00:00.039) 0:03:58.674 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": [] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-crypttab.yml:4 Thursday 21 July 2022 19:40:19 +0000 (0:00:00.049) 0:03:58.724 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-crypttab.yml:9 Thursday 21 July 2022 19:40:19 +0000 (0:00:00.051) 0:03:58.776 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-crypttab.yml:15 Thursday 21 July 2022 19:40:19 +0000 (0:00:00.038) 0:03:58.814 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-crypttab.yml:21 Thursday 21 July 2022 19:40:19 +0000 (0:00:00.043) 0:03:58.857 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-crypttab.yml:27 Thursday 21 July 2022 19:40:19 +0000 (0:00:00.037) 0:03:58.895 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-encryption.yml:22 Thursday 21 July 2022 19:40:19 +0000 (0:00:00.041) 0:03:58.937 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:62 Thursday 21 July 2022 19:40:19 +0000 (0:00:00.038) 0:03:58.975 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-vdo.yml for /cache/rhel-8.qcow2 TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-vdo.yml:1 Thursday 21 July 2022 19:40:19 +0000 (0:00:00.048) 0:03:59.024 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml for /cache/rhel-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': 'lv1', 'raid_level': 'raid0', 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': ['sda', 'sdb'], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1', '_kernel_device': '/dev/dm-2', '_raw_kernel_device': '/dev/dm-2'}) TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:3 Thursday 21 July 2022 19:40:19 +0000 (0:00:00.046) 0:03:59.070 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:8 Thursday 21 July 2022 19:40:19 +0000 (0:00:00.025) 0:03:59.096 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:11 Thursday 21 July 2022 19:40:19 +0000 (0:00:00.027) 0:03:59.123 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:16 Thursday 21 July 2022 19:40:19 +0000 (0:00:00.027) 0:03:59.151 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:21 Thursday 21 July 2022 19:40:19 +0000 (0:00:00.027) 0:03:59.179 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:24 Thursday 21 July 2022 19:40:19 +0000 (0:00:00.026) 0:03:59.205 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:29 Thursday 21 July 2022 19:40:20 +0000 (0:00:00.026) 0:03:59.232 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:39 Thursday 21 July 2022 19:40:20 +0000 (0:00:00.027) 0:03:59.259 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:65 Thursday 21 July 2022 19:40:20 +0000 (0:00:00.041) 0:03:59.301 ********* ok: [/cache/rhel-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/tmpcv9gbk7i/tests/storage/test-verify-pool-volumes.yml:3 Thursday 21 July 2022 19:40:20 +0000 (0:00:00.037) 0:03:59.339 ********* included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume.yml for /cache/rhel-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': 'lv1', 'raid_level': 'raid0', 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': ['sda', 'sdb'], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1', '_kernel_device': '/dev/dm-2', '_raw_kernel_device': '/dev/dm-2'}) TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume.yml:2 Thursday 21 July 2022 19:40:20 +0000 (0:00:00.044) 0:03:59.383 ********* ok: [/cache/rhel-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/tmpcv9gbk7i/tests/storage/test-verify-volume.yml:10 Thursday 21 July 2022 19:40:20 +0000 (0:00:00.055) 0:03:59.439 ********* included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml for /cache/rhel-8.qcow2 => (item=mount) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-fstab.yml for /cache/rhel-8.qcow2 => (item=fstab) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-fs.yml for /cache/rhel-8.qcow2 => (item=fs) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-device.yml for /cache/rhel-8.qcow2 => (item=device) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml for /cache/rhel-8.qcow2 => (item=encryption) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml for /cache/rhel-8.qcow2 => (item=md) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml for /cache/rhel-8.qcow2 => (item=size) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml for /cache/rhel-8.qcow2 => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:6 Thursday 21 July 2022 19:40:20 +0000 (0:00:00.082) 0:03:59.522 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/vg1-lv1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:10 Thursday 21 July 2022 19:40:20 +0000 (0:00:00.043) 0:03:59.566 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 509649, "block_size": 4096, "block_total": 521600, "block_used": 11951, "device": "/dev/mapper/vg1-lv1", "fstype": "xfs", "inode_available": 1048317, "inode_total": 1048320, "inode_used": 3, "mount": "/opt/test1", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=64k,sunit=128,swidth=256,noquota", "size_available": 2087522304, "size_total": 2136473600, "uuid": "260adadc-c1c9-4508-bca6-88055494fc78" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 509649, "block_size": 4096, "block_total": 521600, "block_used": 11951, "device": "/dev/mapper/vg1-lv1", "fstype": "xfs", "inode_available": 1048317, "inode_total": 1048320, "inode_used": 3, "mount": "/opt/test1", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=64k,sunit=128,swidth=256,noquota", "size_available": 2087522304, "size_total": 2136473600, "uuid": "260adadc-c1c9-4508-bca6-88055494fc78" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:20 Thursday 21 July 2022 19:40:20 +0000 (0:00:00.059) 0:03:59.625 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:29 Thursday 21 July 2022 19:40:20 +0000 (0:00:00.053) 0:03:59.679 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:37 Thursday 21 July 2022 19:40:20 +0000 (0:00:00.095) 0:03:59.774 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:46 Thursday 21 July 2022 19:40:20 +0000 (0:00:00.099) 0:03:59.873 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:50 Thursday 21 July 2022 19:40:20 +0000 (0:00:00.069) 0:03:59.943 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:55 Thursday 21 July 2022 19:40:20 +0000 (0:00:00.025) 0:03:59.968 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:65 Thursday 21 July 2022 19:40:20 +0000 (0:00:00.026) 0:03:59.995 ********* ok: [/cache/rhel-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/tmpcv9gbk7i/tests/storage/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 19:40:20 +0000 (0:00:00.040) 0:04:00.035 ********* ok: [/cache/rhel-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/vg1-lv1 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test1 xfs defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test1 " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-fstab.yml:12 Thursday 21 July 2022 19:40:20 +0000 (0:00:00.064) 0:04:00.099 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-fstab.yml:19 Thursday 21 July 2022 19:40:20 +0000 (0:00:00.049) 0:04:00.149 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 19:40:20 +0000 (0:00:00.054) 0:04:00.203 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-fstab.yml:34 Thursday 21 July 2022 19:40:21 +0000 (0:00:00.042) 0:04:00.246 ********* ok: [/cache/rhel-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/tmpcv9gbk7i/tests/storage/test-verify-volume-fs.yml:4 Thursday 21 July 2022 19:40:21 +0000 (0:00:00.040) 0:04:00.287 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-fs.yml:10 Thursday 21 July 2022 19:40:21 +0000 (0:00:00.042) 0:04:00.330 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-device.yml:4 Thursday 21 July 2022 19:40:21 +0000 (0:00:00.042) 0:04:00.372 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "stat": { "atime": 1658432392.6668003, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658432392.6668003, "dev": 6, "device_type": 64770, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 151430, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1658432392.6668003, "nlink": 1, "path": "/dev/mapper/vg1-lv1", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-device.yml:10 Thursday 21 July 2022 19:40:21 +0000 (0:00:00.407) 0:04:00.780 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-device.yml:15 Thursday 21 July 2022 19:40:21 +0000 (0:00:00.044) 0:04:00.825 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-device.yml:21 Thursday 21 July 2022 19:40:21 +0000 (0:00:00.048) 0:04:00.873 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-device.yml:25 Thursday 21 July 2022 19:40:21 +0000 (0:00:00.044) 0:04:00.917 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-device.yml:30 Thursday 21 July 2022 19:40:21 +0000 (0:00:00.030) 0:04:00.948 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 19:40:21 +0000 (0:00:00.050) 0:04:00.998 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 19:40:21 +0000 (0:00:00.029) 0:04:01.027 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 19:40:23 +0000 (0:00:01.326) 0:04:02.354 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 19:40:23 +0000 (0:00:00.024) 0:04:02.379 ********* skipping: [/cache/rhel-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/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:27 Thursday 21 July 2022 19:40:23 +0000 (0:00:00.024) 0:04:02.403 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:33 Thursday 21 July 2022 19:40:23 +0000 (0:00:00.050) 0:04:02.454 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:39 Thursday 21 July 2022 19:40:23 +0000 (0:00:00.024) 0:04:02.478 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 19:40:23 +0000 (0:00:00.025) 0:04:02.503 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:50 Thursday 21 July 2022 19:40:23 +0000 (0:00:00.027) 0:04:02.531 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:56 Thursday 21 July 2022 19:40:23 +0000 (0:00:00.026) 0:04:02.558 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:62 Thursday 21 July 2022 19:40:23 +0000 (0:00:00.027) 0:04:02.585 ********* ok: [/cache/rhel-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/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 19:40:23 +0000 (0:00:00.056) 0:04:02.642 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:72 Thursday 21 July 2022 19:40:23 +0000 (0:00:00.059) 0:04:02.702 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:78 Thursday 21 July 2022 19:40:23 +0000 (0:00:00.038) 0:04:02.741 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:84 Thursday 21 July 2022 19:40:23 +0000 (0:00:00.036) 0:04:02.777 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:90 Thursday 21 July 2022 19:40:23 +0000 (0:00:00.040) 0:04:02.818 ********* ok: [/cache/rhel-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/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml:7 Thursday 21 July 2022 19:40:23 +0000 (0:00:00.034) 0:04:02.852 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml:13 Thursday 21 July 2022 19:40:23 +0000 (0:00:00.036) 0:04:02.889 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml:17 Thursday 21 July 2022 19:40:23 +0000 (0:00:00.036) 0:04:02.926 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml:21 Thursday 21 July 2022 19:40:23 +0000 (0:00:00.039) 0:04:02.965 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml:25 Thursday 21 July 2022 19:40:23 +0000 (0:00:00.048) 0:04:03.013 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml:31 Thursday 21 July 2022 19:40:23 +0000 (0:00:00.043) 0:04:03.056 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml:37 Thursday 21 July 2022 19:40:23 +0000 (0:00:00.036) 0:04:03.093 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:3 Thursday 21 July 2022 19:40:23 +0000 (0:00:00.042) 0:04:03.136 ********* ok: [/cache/rhel-8.qcow2] => { "bytes": 2147483648, "changed": false, "lvm": "2g", "parted": "2GiB", "size": "2 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:9 Thursday 21 July 2022 19:40:24 +0000 (0:00:00.427) 0:04:03.564 ********* ok: [/cache/rhel-8.qcow2] => { "bytes": 2147483648, "changed": false, "lvm": "2g", "parted": "2GiB", "size": "2 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:15 Thursday 21 July 2022 19:40:24 +0000 (0:00:00.394) 0:04:03.958 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_expected_size": "2147483648" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:20 Thursday 21 July 2022 19:40:24 +0000 (0:00:00.050) 0:04:04.009 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_expected_size": "2147483648" } TASK [debug] ******************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:25 Thursday 21 July 2022 19:40:24 +0000 (0:00:00.038) 0:04:04.047 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:28 Thursday 21 July 2022 19:40:24 +0000 (0:00:00.049) 0:04:04.097 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:31 Thursday 21 July 2022 19:40:24 +0000 (0:00:00.044) 0:04:04.141 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:36 Thursday 21 July 2022 19:40:24 +0000 (0:00:00.046) 0:04:04.188 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:39 Thursday 21 July 2022 19:40:25 +0000 (0:00:00.040) 0:04:04.229 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:44 Thursday 21 July 2022 19:40:25 +0000 (0:00:00.038) 0:04:04.268 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_actual_size": { "bytes": 2147483648, "changed": false, "failed": false, "lvm": "2g", "parted": "2GiB", "size": "2 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:47 Thursday 21 July 2022 19:40:25 +0000 (0:00:00.040) 0:04:04.309 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_expected_size": "2147483648" } TASK [assert] ****************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:50 Thursday 21 July 2022 19:40:25 +0000 (0:00:00.038) 0:04:04.347 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml:6 Thursday 21 July 2022 19:40:25 +0000 (0:00:00.050) 0:04:04.398 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "lvs", "--noheadings", "--nameprefixes", "--units=b", "--nosuffix", "--unquoted", "-o", "name,attr,cache_total_blocks,chunk_size,segtype", "vg1/lv1" ], "delta": "0:00:00.034309", "end": "2022-07-21 15:40:24.693449", "rc": 0, "start": "2022-07-21 15:40:24.659140" } STDOUT: LVM2_LV_NAME=lv1 LVM2_LV_ATTR=rwi-aor--- LVM2_CACHE_TOTAL_BLOCKS= LVM2_CHUNK_SIZE=0 LVM2_SEGTYPE=raid0 TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml:14 Thursday 21 July 2022 19:40:25 +0000 (0:00:00.419) 0:04:04.818 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_lv_segtype": [ "raid0" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml:17 Thursday 21 July 2022 19:40:25 +0000 (0:00:00.054) 0:04:04.872 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml:22 Thursday 21 July 2022 19:40:25 +0000 (0:00:00.060) 0:04:04.932 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml:26 Thursday 21 July 2022 19:40:25 +0000 (0:00:00.042) 0:04:04.975 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml:32 Thursday 21 July 2022 19:40:25 +0000 (0:00:00.044) 0:04:05.020 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml:36 Thursday 21 July 2022 19:40:25 +0000 (0:00:00.048) 0:04:05.068 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume.yml:16 Thursday 21 July 2022 19:40:25 +0000 (0:00:00.040) 0:04:05.108 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml:43 Thursday 21 July 2022 19:40:25 +0000 (0:00:00.038) 0:04:05.147 ********* TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml:53 Thursday 21 July 2022 19:40:25 +0000 (0:00:00.025) 0:04:05.173 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Remove the device created above] ***************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/tests_create_raid_pool_then_remove.yml:190 Thursday 21 July 2022 19:40:25 +0000 (0:00:00.034) 0:04:05.208 ********* TASK [fedora.linux_system_roles.storage : set platform/version specific variables] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Thursday 21 July 2022 19:40:26 +0000 (0:00:00.089) 0:04:05.298 ********* included: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for /cache/rhel-8.qcow2 TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Thursday 21 July 2022 19:40:26 +0000 (0:00:00.076) 0:04:05.374 ********* ok: [/cache/rhel-8.qcow2] TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Thursday 21 July 2022 19:40:26 +0000 (0:00:00.538) 0:04:05.912 ********* skipping: [/cache/rhel-8.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/rhel-8.qcow2] => (item=RedHat_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/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/vars/RedHat_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.yml" } skipping: [/cache/rhel-8.qcow2] => (item=RedHat_8.6.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.6.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Thursday 21 July 2022 19:40:26 +0000 (0:00:00.065) 0:04:05.978 ********* ok: [/cache/rhel-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/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Thursday 21 July 2022 19:40:26 +0000 (0:00:00.039) 0:04:06.018 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : include the appropriate provider tasks] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Thursday 21 July 2022 19:40:26 +0000 (0:00:00.040) 0:04:06.058 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for /cache/rhel-8.qcow2 TASK [fedora.linux_system_roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 19:40:26 +0000 (0:00:00.058) 0:04:06.117 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure blivet is available] ******* task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 19:40:26 +0000 (0:00:00.022) 0:04:06.139 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : show storage_pools] ****************** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:13 Thursday 21 July 2022 19:40:26 +0000 (0:00:00.032) 0:04:06.171 ********* ok: [/cache/rhel-8.qcow2] => { "storage_pools": [ { "disks": [ "sda", "sdb" ], "name": "vg1", "state": "absent", "type": "lvm", "volumes": [ { "mount_point": "/opt/test1", "name": "lv1", "raid_disks": [ "sda", "sdb" ], "raid_level": "raid0", "size": "2g" } ] } ] } TASK [fedora.linux_system_roles.storage : show storage_volumes] **************** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:18 Thursday 21 July 2022 19:40:27 +0000 (0:00:00.046) 0:04:06.218 ********* ok: [/cache/rhel-8.qcow2] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [fedora.linux_system_roles.storage : get required packages] *************** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:23 Thursday 21 July 2022 19:40:27 +0000 (0:00:00.041) 0:04:06.259 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : enable copr repositories if needed] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:35 Thursday 21 July 2022 19:40:27 +0000 (0:00:00.030) 0:04:06.290 ********* skipping: [/cache/rhel-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/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:41 Thursday 21 July 2022 19:40:27 +0000 (0:00:00.034) 0:04:06.324 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : get service facts] ******************* task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 Thursday 21 July 2022 19:40:27 +0000 (0:00:00.028) 0:04:06.353 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:53 Thursday 21 July 2022 19:40:27 +0000 (0:00:00.027) 0:04:06.380 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 19:40:27 +0000 (0:00:00.058) 0:04:06.439 ********* TASK [fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Thursday 21 July 2022 19:40:27 +0000 (0:00:00.025) 0:04:06.464 ********* changed: [/cache/rhel-8.qcow2] => { "actions": [ { "action": "destroy format", "device": "/dev/mapper/vg1-lv1", "fs_type": "xfs" }, { "action": "destroy device", "device": "/dev/mapper/vg1-lv1", "fs_type": null }, { "action": "destroy device", "device": "/dev/vg1", "fs_type": null }, { "action": "destroy format", "device": "/dev/sda1", "fs_type": "lvmpv" }, { "action": "destroy device", "device": "/dev/sda1", "fs_type": null }, { "action": "destroy format", "device": "/dev/sda", "fs_type": "disklabel" }, { "action": "destroy format", "device": "/dev/sdb1", "fs_type": "lvmpv" }, { "action": "destroy device", "device": "/dev/sdb1", "fs_type": null }, { "action": "destroy format", "device": "/dev/sdb", "fs_type": "disklabel" } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/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/vg1-lv1", "state": "absent" } ], "packages": [ "xfsprogs", "dosfstools" ], "pools": [ { "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [ "sda", "sdb" ], "raid_level": "raid0", "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } TASK [fedora.linux_system_roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:78 Thursday 21 July 2022 19:40:30 +0000 (0:00:02.773) 0:04:09.238 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Thursday 21 July 2022 19:40:30 +0000 (0:00:00.041) 0:04:09.280 ********* TASK [fedora.linux_system_roles.storage : show blivet_output] ****************** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:96 Thursday 21 July 2022 19:40:30 +0000 (0:00:00.025) 0:04:09.305 ********* ok: [/cache/rhel-8.qcow2] => { "blivet_output": { "actions": [ { "action": "destroy format", "device": "/dev/mapper/vg1-lv1", "fs_type": "xfs" }, { "action": "destroy device", "device": "/dev/mapper/vg1-lv1", "fs_type": null }, { "action": "destroy device", "device": "/dev/vg1", "fs_type": null }, { "action": "destroy format", "device": "/dev/sda1", "fs_type": "lvmpv" }, { "action": "destroy device", "device": "/dev/sda1", "fs_type": null }, { "action": "destroy format", "device": "/dev/sda", "fs_type": "disklabel" }, { "action": "destroy format", "device": "/dev/sdb1", "fs_type": "lvmpv" }, { "action": "destroy device", "device": "/dev/sdb1", "fs_type": null }, { "action": "destroy format", "device": "/dev/sdb", "fs_type": "disklabel" } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/vda2", "/dev/vda3", "/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/vg1-lv1", "state": "absent" } ], "packages": [ "xfsprogs", "dosfstools" ], "pools": [ { "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [ "sda", "sdb" ], "raid_level": "raid0", "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } } TASK [fedora.linux_system_roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:101 Thursday 21 July 2022 19:40:30 +0000 (0:00:00.043) 0:04:09.348 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [ "sda", "sdb" ], "raid_level": "raid0", "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] }, "changed": false } TASK [fedora.linux_system_roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:105 Thursday 21 July 2022 19:40:30 +0000 (0:00:00.043) 0:04:09.392 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : remove obsolete mounts] ************** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:121 Thursday 21 July 2022 19:40:30 +0000 (0:00:00.040) 0:04:09.432 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/rhel-8.qcow2] => (item={'src': '/dev/mapper/vg1-lv1', 'path': '/opt/test1', 'state': 'absent', 'fstype': 'xfs'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "xfs", "mount_info": { "fstype": "xfs", "path": "/opt/test1", "src": "/dev/mapper/vg1-lv1", "state": "absent" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "/dev/mapper/vg1-lv1" } TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 Thursday 21 July 2022 19:40:30 +0000 (0:00:00.411) 0:04:09.844 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : set up new/current mounts] *********** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:137 Thursday 21 July 2022 19:40:31 +0000 (0:00:00.613) 0:04:10.457 ********* TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:148 Thursday 21 July 2022 19:40:31 +0000 (0:00:00.042) 0:04:10.500 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:156 Thursday 21 July 2022 19:40:31 +0000 (0:00:00.645) 0:04:11.145 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:161 Thursday 21 July 2022 19:40:32 +0000 (0:00:00.375) 0:04:11.520 ********* TASK [fedora.linux_system_roles.storage : Update facts] ************************ task path: /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 Thursday 21 July 2022 19:40:32 +0000 (0:00:00.025) 0:04:11.546 ********* ok: [/cache/rhel-8.qcow2] META: role_complete for /cache/rhel-8.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/tests_create_raid_pool_then_remove.yml:206 Thursday 21 July 2022 19:40:33 +0000 (0:00:01.052) 0:04:12.599 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml for /cache/rhel-8.qcow2 TASK [Print out pool information] ********************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml:1 Thursday 21 July 2022 19:40:33 +0000 (0:00:00.063) 0:04:12.662 ********* ok: [/cache/rhel-8.qcow2] => { "_storage_pools_list": [ { "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda", "sdb" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [ "sda", "sdb" ], "raid_level": "raid0", "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] } TASK [Print out volume information] ******************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml:6 Thursday 21 July 2022 19:40:33 +0000 (0:00:00.053) 0:04:12.715 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml:14 Thursday 21 July 2022 19:40:33 +0000 (0:00:00.037) 0:04:12.753 ********* ok: [/cache/rhel-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-19-36-08-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "", "label": "", "name": "/dev/vda1", "size": "1M", "type": "partition", "uuid": "" }, "/dev/vda2": { "fstype": "vfat", "label": "", "name": "/dev/vda2", "size": "100M", "type": "partition", "uuid": "7B77-95E7" }, "/dev/vda3": { "fstype": "xfs", "label": "root", "name": "/dev/vda3", "size": "9.9G", "type": "partition", "uuid": "853ae189-b3fe-4a45-8485-75bbb1421bbe" }, "/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/tmpcv9gbk7i/tests/storage/verify-role-results.yml:19 Thursday 21 July 2022 19:40:33 +0000 (0:00:00.362) 0:04:13.116 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.002267", "end": "2022-07-21 15:40:33.358828", "rc": 0, "start": "2022-07-21 15:40:33.356561" } STDOUT: UUID=853ae189-b3fe-4a45-8485-75bbb1421bbe / xfs defaults 0 0 UUID=7B77-95E7 /boot/efi vfat defaults,uid=0,gid=0,umask=077,shortname=winnt 0 2 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml:24 Thursday 21 July 2022 19:40:34 +0000 (0:00:00.360) 0:04:13.476 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.002944", "end": "2022-07-21 15:40:33.746271", "failed_when_result": false, "rc": 1, "start": "2022-07-21 15:40:33.743327" } STDERR: cat: /etc/crypttab: No such file or directory MSG: non-zero return code TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml:33 Thursday 21 July 2022 19:40:34 +0000 (0:00:00.390) 0:04:13.867 ********* included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool.yml for /cache/rhel-8.qcow2 => (item={'disks': ['sda', 'sdb'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'name': 'vg1', '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': 'lv1', 'raid_level': 'raid0', 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': ['sda', 'sdb'], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1'}], 'raid_chunk_size': None}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool.yml:5 Thursday 21 July 2022 19:40:34 +0000 (0:00:00.062) 0:04:13.930 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool.yml:18 Thursday 21 July 2022 19:40:34 +0000 (0:00:00.034) 0:04:13.964 ********* included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml for /cache/rhel-8.qcow2 => (item=members) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-volumes.yml for /cache/rhel-8.qcow2 => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:1 Thursday 21 July 2022 19:40:34 +0000 (0:00:00.048) 0:04:14.013 ********* ok: [/cache/rhel-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/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:6 Thursday 21 July 2022 19:40:34 +0000 (0:00:00.051) 0:04:14.064 ********* TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:15 Thursday 21 July 2022 19:40:34 +0000 (0:00:00.020) 0:04:14.085 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "__pvs_lvm_len": "0" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:19 Thursday 21 July 2022 19:40:34 +0000 (0:00:00.049) 0:04:14.135 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_pool_pvs": [] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:23 Thursday 21 July 2022 19:40:34 +0000 (0:00:00.048) 0:04:14.183 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:29 Thursday 21 July 2022 19:40:35 +0000 (0:00:00.052) 0:04:14.236 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:33 Thursday 21 July 2022 19:40:35 +0000 (0:00:00.038) 0:04:14.275 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_type": "partition" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:37 Thursday 21 July 2022 19:40:35 +0000 (0:00:00.051) 0:04:14.326 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:41 Thursday 21 July 2022 19:40:35 +0000 (0:00:00.025) 0:04:14.351 ********* TASK [Check MD RAID] *********************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:50 Thursday 21 July 2022 19:40:35 +0000 (0:00:00.025) 0:04:14.377 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml for /cache/rhel-8.qcow2 TASK [get information about RAID] ********************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:6 Thursday 21 July 2022 19:40:35 +0000 (0:00:00.046) 0:04:14.424 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:12 Thursday 21 July 2022 19:40:35 +0000 (0:00:00.026) 0:04:14.450 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:16 Thursday 21 July 2022 19:40:35 +0000 (0:00:00.025) 0:04:14.476 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:20 Thursday 21 July 2022 19:40:35 +0000 (0:00:00.026) 0:04:14.503 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:24 Thursday 21 July 2022 19:40:35 +0000 (0:00:00.067) 0:04:14.570 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:30 Thursday 21 July 2022 19:40:35 +0000 (0:00:00.025) 0:04:14.595 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:36 Thursday 21 July 2022 19:40:35 +0000 (0:00:00.025) 0:04:14.620 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-md.yml:44 Thursday 21 July 2022 19:40:35 +0000 (0:00:00.024) 0:04:14.645 ********* ok: [/cache/rhel-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/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:53 Thursday 21 July 2022 19:40:35 +0000 (0:00:00.039) 0:04:14.685 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-lvmraid.yml for /cache/rhel-8.qcow2 TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-lvmraid.yml:1 Thursday 21 July 2022 19:40:35 +0000 (0:00:00.044) 0:04:14.729 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-lvmraid.yml for /cache/rhel-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': 'lv1', 'raid_level': 'raid0', 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': ['sda', 'sdb'], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1'}) TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-lvmraid.yml:3 Thursday 21 July 2022 19:40:35 +0000 (0:00:00.044) 0:04:14.774 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-lvmraid.yml:8 Thursday 21 July 2022 19:40:35 +0000 (0:00:00.030) 0:04:14.804 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-lvmraid.yml:12 Thursday 21 July 2022 19:40:35 +0000 (0:00:00.030) 0:04:14.835 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:56 Thursday 21 July 2022 19:40:35 +0000 (0:00:00.032) 0:04:14.867 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-thin.yml for /cache/rhel-8.qcow2 TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-thin.yml:1 Thursday 21 July 2022 19:40:35 +0000 (0:00:00.046) 0:04:14.913 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-thin.yml for /cache/rhel-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': 'lv1', 'raid_level': 'raid0', 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': ['sda', 'sdb'], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1'}) TASK [Get information about thinpool] ****************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-thin.yml:3 Thursday 21 July 2022 19:40:35 +0000 (0:00:00.046) 0:04:14.960 ********* skipping: [/cache/rhel-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/tmpcv9gbk7i/tests/storage/verify-pool-member-thin.yml:8 Thursday 21 July 2022 19:40:35 +0000 (0:00:00.024) 0:04:14.985 ********* skipping: [/cache/rhel-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/tmpcv9gbk7i/tests/storage/verify-pool-member-thin.yml:13 Thursday 21 July 2022 19:40:35 +0000 (0:00:00.024) 0:04:15.009 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-thin.yml:17 Thursday 21 July 2022 19:40:35 +0000 (0:00:00.024) 0:04:15.034 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:59 Thursday 21 July 2022 19:40:35 +0000 (0:00:00.025) 0:04:15.059 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-encryption.yml for /cache/rhel-8.qcow2 TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-encryption.yml:4 Thursday 21 July 2022 19:40:35 +0000 (0:00:00.047) 0:04:15.107 ********* ok: [/cache/rhel-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/tmpcv9gbk7i/tests/storage/verify-pool-members-encryption.yml:8 Thursday 21 July 2022 19:40:35 +0000 (0:00:00.050) 0:04:15.157 ********* TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-encryption.yml:15 Thursday 21 July 2022 19:40:35 +0000 (0:00:00.022) 0:04:15.179 ********* TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-encryption.yml:22 Thursday 21 July 2022 19:40:35 +0000 (0:00:00.023) 0:04:15.203 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:62 Thursday 21 July 2022 19:40:36 +0000 (0:00:00.037) 0:04:15.241 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-vdo.yml for /cache/rhel-8.qcow2 TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-members-vdo.yml:1 Thursday 21 July 2022 19:40:36 +0000 (0:00:00.048) 0:04:15.289 ********* included: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml for /cache/rhel-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': 'lv1', 'raid_level': 'raid0', 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': ['sda', 'sdb'], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1'}) TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:3 Thursday 21 July 2022 19:40:36 +0000 (0:00:00.043) 0:04:15.333 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:8 Thursday 21 July 2022 19:40:36 +0000 (0:00:00.023) 0:04:15.356 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:11 Thursday 21 July 2022 19:40:36 +0000 (0:00:00.022) 0:04:15.379 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:16 Thursday 21 July 2022 19:40:36 +0000 (0:00:00.021) 0:04:15.401 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:21 Thursday 21 July 2022 19:40:36 +0000 (0:00:00.022) 0:04:15.423 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:24 Thursday 21 July 2022 19:40:36 +0000 (0:00:00.024) 0:04:15.448 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:29 Thursday 21 July 2022 19:40:36 +0000 (0:00:00.025) 0:04:15.473 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-pool-member-vdo.yml:39 Thursday 21 July 2022 19:40:36 +0000 (0:00:00.024) 0:04:15.498 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-pool-members.yml:65 Thursday 21 July 2022 19:40:36 +0000 (0:00:00.036) 0:04:15.534 ********* ok: [/cache/rhel-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/tmpcv9gbk7i/tests/storage/test-verify-pool-volumes.yml:3 Thursday 21 July 2022 19:40:36 +0000 (0:00:00.037) 0:04:15.572 ********* included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume.yml for /cache/rhel-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': 'lv1', 'raid_level': 'raid0', 'size': '2g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': ['sda', 'sdb'], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': ['sda', 'sdb'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/vg1-lv1', '_raw_device': '/dev/mapper/vg1-lv1', '_mount_id': '/dev/mapper/vg1-lv1'}) TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume.yml:2 Thursday 21 July 2022 19:40:36 +0000 (0:00:00.044) 0:04:15.616 ********* ok: [/cache/rhel-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/tmpcv9gbk7i/tests/storage/test-verify-volume.yml:10 Thursday 21 July 2022 19:40:36 +0000 (0:00:00.097) 0:04:15.713 ********* included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml for /cache/rhel-8.qcow2 => (item=mount) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-fstab.yml for /cache/rhel-8.qcow2 => (item=fstab) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-fs.yml for /cache/rhel-8.qcow2 => (item=fs) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-device.yml for /cache/rhel-8.qcow2 => (item=device) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml for /cache/rhel-8.qcow2 => (item=encryption) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml for /cache/rhel-8.qcow2 => (item=md) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml for /cache/rhel-8.qcow2 => (item=size) included: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml for /cache/rhel-8.qcow2 => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:6 Thursday 21 July 2022 19:40:36 +0000 (0:00:00.126) 0:04:15.840 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/vg1-lv1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:10 Thursday 21 July 2022 19:40:36 +0000 (0:00:00.041) 0:04:15.881 ********* ok: [/cache/rhel-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/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:20 Thursday 21 July 2022 19:40:36 +0000 (0:00:00.057) 0:04:15.938 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:29 Thursday 21 July 2022 19:40:36 +0000 (0:00:00.025) 0:04:15.964 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:37 Thursday 21 July 2022 19:40:36 +0000 (0:00:00.051) 0:04:16.015 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [command] ***************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:46 Thursday 21 July 2022 19:40:36 +0000 (0:00:00.037) 0:04:16.053 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:50 Thursday 21 July 2022 19:40:36 +0000 (0:00:00.024) 0:04:16.077 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:55 Thursday 21 July 2022 19:40:36 +0000 (0:00:00.025) 0:04:16.103 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-mount.yml:65 Thursday 21 July 2022 19:40:36 +0000 (0:00:00.024) 0:04:16.128 ********* ok: [/cache/rhel-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/tmpcv9gbk7i/tests/storage/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 19:40:36 +0000 (0:00:00.035) 0:04:16.163 ********* ok: [/cache/rhel-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/tmpcv9gbk7i/tests/storage/test-verify-volume-fstab.yml:12 Thursday 21 July 2022 19:40:37 +0000 (0:00:00.069) 0:04:16.233 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-fstab.yml:19 Thursday 21 July 2022 19:40:37 +0000 (0:00:00.025) 0:04:16.259 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 19:40:37 +0000 (0:00:00.050) 0:04:16.309 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-fstab.yml:34 Thursday 21 July 2022 19:40:37 +0000 (0:00:00.040) 0:04:16.350 ********* ok: [/cache/rhel-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/tmpcv9gbk7i/tests/storage/test-verify-volume-fs.yml:4 Thursday 21 July 2022 19:40:37 +0000 (0:00:00.034) 0:04:16.385 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify fs label] ********************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-fs.yml:10 Thursday 21 July 2022 19:40:37 +0000 (0:00:00.023) 0:04:16.409 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [See whether the device node is present] ********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-device.yml:4 Thursday 21 July 2022 19:40:37 +0000 (0:00:00.024) 0:04:16.433 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "stat": { "exists": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-device.yml:10 Thursday 21 July 2022 19:40:37 +0000 (0:00:00.378) 0:04:16.812 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-device.yml:15 Thursday 21 July 2022 19:40:37 +0000 (0:00:00.037) 0:04:16.850 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-device.yml:21 Thursday 21 July 2022 19:40:37 +0000 (0:00:00.022) 0:04:16.872 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-device.yml:25 Thursday 21 July 2022 19:40:37 +0000 (0:00:00.033) 0:04:16.906 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-device.yml:30 Thursday 21 July 2022 19:40:37 +0000 (0:00:00.024) 0:04:16.930 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 19:40:37 +0000 (0:00:00.022) 0:04:16.953 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 19:40:37 +0000 (0:00:00.022) 0:04:16.976 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 19:40:39 +0000 (0:00:01.257) 0:04:18.233 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 19:40:39 +0000 (0:00:00.024) 0:04:18.258 ********* skipping: [/cache/rhel-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/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:27 Thursday 21 July 2022 19:40:39 +0000 (0:00:00.022) 0:04:18.280 ********* skipping: [/cache/rhel-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/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:33 Thursday 21 July 2022 19:40:39 +0000 (0:00:00.022) 0:04:18.302 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:39 Thursday 21 July 2022 19:40:39 +0000 (0:00:00.021) 0:04:18.324 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 19:40:39 +0000 (0:00:00.021) 0:04:18.346 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:50 Thursday 21 July 2022 19:40:39 +0000 (0:00:00.022) 0:04:18.368 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:56 Thursday 21 July 2022 19:40:39 +0000 (0:00:00.023) 0:04:18.391 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:62 Thursday 21 July 2022 19:40:39 +0000 (0:00:00.021) 0:04:18.413 ********* ok: [/cache/rhel-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/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 19:40:39 +0000 (0:00:00.081) 0:04:18.495 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:72 Thursday 21 July 2022 19:40:39 +0000 (0:00:00.082) 0:04:18.577 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:78 Thursday 21 July 2022 19:40:39 +0000 (0:00:00.040) 0:04:18.618 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:84 Thursday 21 July 2022 19:40:39 +0000 (0:00:00.034) 0:04:18.652 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:90 Thursday 21 July 2022 19:40:39 +0000 (0:00:00.035) 0:04:18.687 ********* ok: [/cache/rhel-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/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml:7 Thursday 21 July 2022 19:40:39 +0000 (0:00:00.092) 0:04:18.780 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml:13 Thursday 21 July 2022 19:40:39 +0000 (0:00:00.039) 0:04:18.819 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml:17 Thursday 21 July 2022 19:40:39 +0000 (0:00:00.037) 0:04:18.856 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml:21 Thursday 21 July 2022 19:40:39 +0000 (0:00:00.039) 0:04:18.896 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml:25 Thursday 21 July 2022 19:40:39 +0000 (0:00:00.037) 0:04:18.934 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml:31 Thursday 21 July 2022 19:40:39 +0000 (0:00:00.037) 0:04:18.971 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-md.yml:37 Thursday 21 July 2022 19:40:39 +0000 (0:00:00.037) 0:04:19.008 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:3 Thursday 21 July 2022 19:40:39 +0000 (0:00:00.038) 0:04:19.047 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:9 Thursday 21 July 2022 19:40:39 +0000 (0:00:00.025) 0:04:19.073 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:15 Thursday 21 July 2022 19:40:39 +0000 (0:00:00.036) 0:04:19.109 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:20 Thursday 21 July 2022 19:40:39 +0000 (0:00:00.034) 0:04:19.144 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_expected_size": "2147483648" } TASK [debug] ******************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:25 Thursday 21 July 2022 19:40:39 +0000 (0:00:00.036) 0:04:19.180 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:28 Thursday 21 July 2022 19:40:40 +0000 (0:00:00.034) 0:04:19.215 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:31 Thursday 21 July 2022 19:40:40 +0000 (0:00:00.038) 0:04:19.253 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:36 Thursday 21 July 2022 19:40:40 +0000 (0:00:00.035) 0:04:19.288 ********* skipping: [/cache/rhel-8.qcow2] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:39 Thursday 21 July 2022 19:40:40 +0000 (0:00:00.035) 0:04:19.324 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:44 Thursday 21 July 2022 19:40:40 +0000 (0:00:00.033) 0:04:19.358 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_actual_size": { "changed": false, "skip_reason": "Conditional result was False", "skipped": true } } TASK [debug] ******************************************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:47 Thursday 21 July 2022 19:40:40 +0000 (0:00:00.037) 0:04:19.395 ********* ok: [/cache/rhel-8.qcow2] => { "storage_test_expected_size": "2147483648" } TASK [assert] ****************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-size.yml:50 Thursday 21 July 2022 19:40:40 +0000 (0:00:00.040) 0:04:19.435 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about the LV] ******************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml:6 Thursday 21 July 2022 19:40:40 +0000 (0:00:00.027) 0:04:19.463 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml:14 Thursday 21 July 2022 19:40:40 +0000 (0:00:00.025) 0:04:19.488 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check segment type] ****************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml:17 Thursday 21 July 2022 19:40:40 +0000 (0:00:00.024) 0:04:19.512 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml:22 Thursday 21 July 2022 19:40:40 +0000 (0:00:00.023) 0:04:19.536 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml:26 Thursday 21 July 2022 19:40:40 +0000 (0:00:00.025) 0:04:19.562 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml:32 Thursday 21 July 2022 19:40:40 +0000 (0:00:00.025) 0:04:19.587 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-cache.yml:36 Thursday 21 July 2022 19:40:40 +0000 (0:00:00.024) 0:04:19.612 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume.yml:16 Thursday 21 July 2022 19:40:40 +0000 (0:00:00.024) 0:04:19.636 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml:43 Thursday 21 July 2022 19:40:40 +0000 (0:00:00.038) 0:04:19.675 ********* TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml:53 Thursday 21 July 2022 19:40:40 +0000 (0:00:00.021) 0:04:19.697 ********* ok: [/cache/rhel-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/rhel-8.qcow2 : ok=1124 changed=17 unreachable=0 failed=0 skipped=989 rescued=0 ignored=0 Thursday 21 July 2022 19:40:40 +0000 (0:00:00.049) 0:04:19.746 ********* =============================================================================== fedora.linux_system_roles.storage : make sure blivet is available ------ 50.56s /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state --- 8.30s /tmp/tmpj2uhjp4w/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 --- 3.57s /tmp/tmpj2uhjp4w/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 --- 3.14s /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state --- 2.95s /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state --- 2.77s /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state --- 2.70s /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state --- 2.49s /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state --- 2.16s /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 fedora.linux_system_roles.storage : Update facts ------------------------ 2.02s /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 Ensure cryptsetup is present -------------------------------------------- 1.91s /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:10 ----------- Gathering Facts --------------------------------------------------------- 1.82s /tmp/tmpcv9gbk7i/tests/storage/tests_create_raid_pool_then_remove.yml:2 ------- fedora.linux_system_roles.storage : get service facts ------------------- 1.81s /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state --- 1.81s /tmp/tmpj2uhjp4w/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Gathering Facts --------------------------------------------------------- 1.41s /tmp/tmpcv9gbk7i/tests/storage/tests_create_raid_pool_then_remove_scsi_generated.yml:3 Read the /etc/crypttab file --------------------------------------------- 1.37s /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml:24 --------------------- Read the /etc/crypttab file --------------------------------------------- 1.37s /tmp/tmpcv9gbk7i/tests/storage/verify-role-results.yml:24 --------------------- set up internal repositories -------------------------------------------- 1.34s /cache/rhel-8_setup.yml:5 ----------------------------------------------------- Ensure cryptsetup is present -------------------------------------------- 1.33s /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:10 ----------- Ensure cryptsetup is present -------------------------------------------- 1.32s /tmp/tmpcv9gbk7i/tests/storage/test-verify-volume-encryption.yml:10 -----------