ansible-playbook [core 2.12.6] config file = /etc/ansible/ansible.cfg configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python3.9/site-packages/ansible ansible collection location = /tmp/tmpu1heti3n executable location = /usr/bin/ansible-playbook python version = 3.9.13 (main, May 18 2022, 00:00:00) [GCC 11.3.1 20220421 (Red Hat 11.3.1-2)] jinja version = 2.11.3 libyaml = True Using /etc/ansible/ansible.cfg as config file Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: centos-8_setup.yml *************************************************** 1 plays in /cache/centos-8_setup.yml PLAY [Enable HA repos] ********************************************************* META: ran handlers TASK [Enable HA repos] ********************************************************* task path: /cache/centos-8_setup.yml:5 Thursday 21 July 2022 08:00:53 +0000 (0:00:00.018) 0:00:00.018 ********* changed: [/cache/centos-8.qcow2] => { "ansible_facts": { "discovered_interpreter_python": "/usr/libexec/platform-python" }, "changed": true, "cmd": [ "dnf", "config-manager", "--set-enabled", "ha" ], "delta": "0:00:00.391687", "end": "2022-07-21 08:00:54.290150", "rc": 0, "start": "2022-07-21 08:00:53.898463" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-8.qcow2 : ok=1 changed=1 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Thursday 21 July 2022 08:00:54 +0000 (0:00:01.018) 0:00:01.037 ********* =============================================================================== Enable HA repos --------------------------------------------------------- 1.02s /cache/centos-8_setup.yml:5 --------------------------------------------------- PLAYBOOK: tests_change_mount.yml *********************************************** 1 plays in /tmp/tmpa3egnbq5/tests/tests_change_mount.yml PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpa3egnbq5/tests/tests_change_mount.yml:2 Thursday 21 July 2022 08:00:54 +0000 (0:00:00.013) 0:00:01.051 ********* ok: [/cache/centos-8.qcow2] META: ran handlers TASK [include_role : linux-system-roles.storage] ******************************* task path: /tmp/tmpa3egnbq5/tests/tests_change_mount.yml:12 Thursday 21 July 2022 08:00:55 +0000 (0:00:01.154) 0:00:02.205 ********* TASK [linux-system-roles.storage : set platform/version specific variables] **** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Thursday 21 July 2022 08:00:55 +0000 (0:00:00.054) 0:00:02.260 ********* included: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/set_vars.yml for /cache/centos-8.qcow2 TASK [linux-system-roles.storage : Ensure ansible_facts used by role] ********** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Thursday 21 July 2022 08:00:55 +0000 (0:00:00.053) 0:00:02.313 ********* ok: [/cache/centos-8.qcow2] TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Thursday 21 July 2022 08:00:56 +0000 (0:00:00.575) 0:00:02.889 ********* skipping: [/cache/centos-8.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [/cache/centos-8.qcow2] => (item=CentOS_8.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs" ] }, "ansible_included_var_files": [ "/tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } ok: [/cache/centos-8.qcow2] => (item=CentOS_8.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs" ] }, "ansible_included_var_files": [ "/tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } TASK [linux-system-roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Thursday 21 July 2022 08:00:56 +0000 (0:00:00.066) 0:00:02.956 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [linux-system-roles.storage : define an empty list of volumes to be used in testing] *** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Thursday 21 July 2022 08:00:56 +0000 (0:00:00.030) 0:00:02.986 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : include the appropriate provider tasks] ***** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Thursday 21 July 2022 08:00:56 +0000 (0:00:00.027) 0:00:03.014 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml for /cache/centos-8.qcow2 TASK [linux-system-roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 08:00:56 +0000 (0:00:00.044) 0:00:03.058 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure blivet is available] ************** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 08:00:56 +0000 (0:00:00.017) 0:00:03.075 ********* changed: [/cache/centos-8.qcow2] => { "changed": true, "rc": 0, "results": [ "Installed: ndctl-71.1-4.el8.x86_64", "Installed: libblockdev-loop-2.24-8.el8.x86_64", "Installed: ndctl-libs-71.1-4.el8.x86_64", "Installed: libblockdev-lvm-2.24-8.el8.x86_64", "Installed: lvm2-libs-8:2.03.14-2.el8.x86_64", "Installed: device-mapper-multipath-libs-0.8.4-20.el8.x86_64", "Installed: nss-softokn-freebl-3.79.0-5.el8.x86_64", "Installed: kernel-modules-4.18.0-408.el8.x86_64", "Installed: daxctl-libs-71.1-4.el8.x86_64", "Installed: libblockdev-mdraid-2.24-8.el8.x86_64", "Installed: libblockdev-mpath-2.24-8.el8.x86_64", "Installed: device-mapper-persistent-data-0.9.0-7.el8.x86_64", "Installed: nss-sysinit-3.79.0-5.el8.x86_64", "Installed: libblockdev-nvdimm-2.24-8.el8.x86_64", "Installed: userspace-rcu-0.10.1-4.el8.x86_64", "Installed: libblockdev-part-2.24-8.el8.x86_64", "Installed: nss-util-3.79.0-5.el8.x86_64", "Installed: libblockdev-swap-2.24-8.el8.x86_64", "Installed: vdo-6.2.6.14-14.el8.x86_64", "Installed: libblockdev-utils-2.24-8.el8.x86_64", "Installed: linux-firmware-20220713-109.gitdfa29317.el8.noarch", "Installed: nspr-4.34.0-3.el8.x86_64", "Installed: mdadm-4.2-3.el8.x86_64", "Installed: python3-pyparted-1:3.11.7-4.el8.x86_64", "Installed: device-mapper-event-8:1.02.181-2.el8.x86_64", "Installed: libbytesize-1.4-3.el8.x86_64", "Installed: libblockdev-2.24-8.el8.x86_64", "Installed: nss-3.79.0-5.el8.x86_64", "Installed: python3-blivet-1:3.4.0-12.el8.noarch", "Installed: kernel-core-4.18.0-408.el8.x86_64", "Installed: libblockdev-crypto-2.24-8.el8.x86_64", "Installed: device-mapper-event-libs-8:1.02.181-2.el8.x86_64", "Installed: lsof-4.93.2-1.el8.x86_64", "Installed: libblockdev-dm-2.24-8.el8.x86_64", "Installed: python3-blockdev-2.24-8.el8.x86_64", "Installed: volume_key-libs-0.3.11-5.el8.x86_64", "Installed: blivet-data-1:3.4.0-12.el8.noarch", "Installed: python3-bytesize-1.4-3.el8.x86_64", "Installed: lvm2-8:2.03.14-2.el8.x86_64", "Installed: libblockdev-fs-2.24-8.el8.x86_64", "Installed: kmod-kvdo-6.2.6.14-84.el8.x86_64", "Installed: libblockdev-kbd-2.24-8.el8.x86_64", "Installed: nss-softokn-3.79.0-5.el8.x86_64", "Installed: libaio-0.3.112-1.el8.x86_64", "Installed: device-mapper-multipath-0.8.4-20.el8.x86_64" ] } TASK [linux-system-roles.storage : show storage_pools] ************************* task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:14 Thursday 21 July 2022 08:03:42 +0000 (0:02:46.405) 0:02:49.480 ********* ok: [/cache/centos-8.qcow2] => { "storage_pools": "VARIABLE IS NOT DEFINED!: 'storage_pools' is undefined" } TASK [linux-system-roles.storage : show storage_volumes] *********************** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:19 Thursday 21 July 2022 08:03:43 +0000 (0:00:00.080) 0:02:49.561 ********* ok: [/cache/centos-8.qcow2] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [linux-system-roles.storage : get required packages] ********************** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:24 Thursday 21 July 2022 08:03:43 +0000 (0:00:00.077) 0:02:49.639 ********* ok: [/cache/centos-8.qcow2] => { "actions": [], "changed": false, "crypts": [], "leaves": [], "mounts": [], "packages": [], "pools": [], "volumes": [] } TASK [linux-system-roles.storage : enable copr repositories if needed] ********* task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:37 Thursday 21 July 2022 08:03:43 +0000 (0:00:00.717) 0:02:50.356 ********* included: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/enable_coprs.yml for /cache/centos-8.qcow2 TASK [linux-system-roles.storage : check if the COPR support packages should be installed] *** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/enable_coprs.yml:2 Thursday 21 July 2022 08:03:43 +0000 (0:00:00.040) 0:02:50.397 ********* TASK [linux-system-roles.storage : make sure COPR support packages are present] *** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/enable_coprs.yml:13 Thursday 21 July 2022 08:03:43 +0000 (0:00:00.032) 0:02:50.429 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : enable COPRs] ******************************* task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/enable_coprs.yml:18 Thursday 21 July 2022 08:03:43 +0000 (0:00:00.035) 0:02:50.465 ********* TASK [linux-system-roles.storage : make sure required packages are installed] *** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:44 Thursday 21 July 2022 08:03:43 +0000 (0:00:00.032) 0:02:50.497 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.storage : get service facts] ************************** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 Thursday 21 July 2022 08:03:45 +0000 (0:00:02.015) 0:02:52.513 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "services": { "NetworkManager-dispatcher.service": { "name": "NetworkManager-dispatcher.service", "source": "systemd", "state": "inactive", "status": "enabled" }, "NetworkManager-wait-online.service": { "name": "NetworkManager-wait-online.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "NetworkManager.service": { "name": "NetworkManager.service", "source": "systemd", "state": "running", "status": "enabled" }, "auditd.service": { "name": "auditd.service", "source": "systemd", "state": "running", "status": "enabled" }, "auth-rpcgss-module.service": { "name": "auth-rpcgss-module.service", "source": "systemd", "state": "stopped", "status": "static" }, "autovt@.service": { "name": "autovt@.service", "source": "systemd", "state": "unknown", "status": "enabled" }, "blivet.service": { "name": "blivet.service", "source": "systemd", "state": "inactive", "status": "static" }, "blk-availability.service": { "name": "blk-availability.service", "source": "systemd", "state": "stopped", "status": "disabled" }, "chrony-dnssrv@.service": { "name": "chrony-dnssrv@.service", "source": "systemd", "state": "unknown", "status": "static" }, "chrony-wait.service": { "name": "chrony-wait.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "chronyd.service": { "name": "chronyd.service", "source": "systemd", "state": "running", "status": "enabled" }, "cloud-config.service": { "name": "cloud-config.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "cloud-final.service": { "name": "cloud-final.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "cloud-init-local.service": { "name": "cloud-init-local.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "cloud-init.service": { "name": "cloud-init.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "cockpit-motd.service": { "name": "cockpit-motd.service", "source": "systemd", "state": "inactive", "status": "static" }, "cockpit-wsinstance-http.service": { "name": "cockpit-wsinstance-http.service", "source": "systemd", "state": "inactive", "status": "static" }, "cockpit-wsinstance-https-factory@.service": { "name": "cockpit-wsinstance-https-factory@.service", "source": "systemd", "state": "unknown", "status": "static" }, "cockpit-wsinstance-https@.service": { "name": "cockpit-wsinstance-https@.service", "source": "systemd", "state": "unknown", "status": "static" }, "cockpit.service": { "name": "cockpit.service", "source": "systemd", "state": "inactive", "status": "static" }, "console-getty.service": { "name": "console-getty.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "container-getty@.service": { "name": "container-getty@.service", "source": "systemd", "state": "unknown", "status": "static" }, "cpupower.service": { "name": "cpupower.service", "source": "systemd", "state": "stopped", "status": "disabled" }, "crond.service": { "name": "crond.service", "source": "systemd", "state": "running", "status": "enabled" }, "dbus-org.freedesktop.hostname1.service": { "name": "dbus-org.freedesktop.hostname1.service", "source": "systemd", "state": "inactive", "status": "static" }, "dbus-org.freedesktop.locale1.service": { "name": "dbus-org.freedesktop.locale1.service", "source": "systemd", "state": "inactive", "status": "static" }, "dbus-org.freedesktop.login1.service": { "name": "dbus-org.freedesktop.login1.service", "source": "systemd", "state": "active", "status": "static" }, "dbus-org.freedesktop.nm-dispatcher.service": { "name": "dbus-org.freedesktop.nm-dispatcher.service", "source": "systemd", "state": "inactive", "status": "enabled" }, "dbus-org.freedesktop.portable1.service": { "name": "dbus-org.freedesktop.portable1.service", "source": "systemd", "state": "inactive", "status": "static" }, "dbus-org.freedesktop.timedate1.service": { "name": "dbus-org.freedesktop.timedate1.service", "source": "systemd", "state": "inactive", "status": "enabled" }, "dbus.service": { "name": "dbus.service", "source": "systemd", "state": "running", "status": "static" }, "debug-shell.service": { "name": "debug-shell.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "display-manager.service": { "name": "display-manager.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "dm-event.service": { "name": "dm-event.service", "source": "systemd", "state": "stopped", "status": "static" }, "dnf-makecache.service": { "name": "dnf-makecache.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-cmdline.service": { "name": "dracut-cmdline.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-initqueue.service": { "name": "dracut-initqueue.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-mount.service": { "name": "dracut-mount.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-pre-mount.service": { "name": "dracut-pre-mount.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-pre-pivot.service": { "name": "dracut-pre-pivot.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-pre-trigger.service": { "name": "dracut-pre-trigger.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-pre-udev.service": { "name": "dracut-pre-udev.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-shutdown.service": { "name": "dracut-shutdown.service", "source": "systemd", "state": "stopped", "status": "static" }, "emergency.service": { "name": "emergency.service", "source": "systemd", "state": "stopped", "status": "static" }, "fcoe.service": { "name": "fcoe.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "fstrim.service": { "name": "fstrim.service", "source": "systemd", "state": "inactive", "status": "static" }, "getty@.service": { "name": "getty@.service", "source": "systemd", "state": "unknown", "status": "enabled" }, "getty@tty1.service": { "name": "getty@tty1.service", "source": "systemd", "state": "running", "status": "active" }, "grub-boot-indeterminate.service": { "name": "grub-boot-indeterminate.service", "source": "systemd", "state": "inactive", "status": "static" }, "gssproxy.service": { "name": "gssproxy.service", "source": "systemd", "state": "running", "status": "disabled" }, "halt-local.service": { "name": "halt-local.service", "source": "systemd", "state": "inactive", "status": "static" }, "import-state.service": { "name": "import-state.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "initrd-cleanup.service": { "name": "initrd-cleanup.service", "source": "systemd", "state": "stopped", "status": "static" }, "initrd-parse-etc.service": { "name": "initrd-parse-etc.service", "source": "systemd", "state": "stopped", "status": "static" }, "initrd-switch-root.service": { "name": "initrd-switch-root.service", "source": "systemd", "state": "stopped", "status": "static" }, "initrd-udevadm-cleanup-db.service": { "name": "initrd-udevadm-cleanup-db.service", "source": "systemd", "state": "stopped", "status": "static" }, "irqbalance.service": { "name": "irqbalance.service", "source": "systemd", "state": "running", "status": "enabled" }, "iscsi-shutdown.service": { "name": "iscsi-shutdown.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "iscsi.service": { "name": "iscsi.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "iscsid.service": { "name": "iscsid.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "kdump.service": { "name": "kdump.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "kmod-static-nodes.service": { "name": "kmod-static-nodes.service", "source": "systemd", "state": "stopped", "status": "static" }, "kvm_stat.service": { "name": "kvm_stat.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "ldconfig.service": { "name": "ldconfig.service", "source": "systemd", "state": "stopped", "status": "static" }, "loadmodules.service": { "name": "loadmodules.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "lvm2-activation-early.service": { "name": "lvm2-activation-early.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "lvm2-activation.service": { "name": "lvm2-activation.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "lvm2-lvmpolld.service": { "name": "lvm2-lvmpolld.service", "source": "systemd", "state": "stopped", "status": "static" }, "lvm2-monitor.service": { "name": "lvm2-monitor.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "lvm2-pvscan@.service": { "name": "lvm2-pvscan@.service", "source": "systemd", "state": "unknown", "status": "static" }, "man-db-cache-update.service": { "name": "man-db-cache-update.service", "source": "systemd", "state": "stopped", "status": "static" }, "man-db-restart-cache-update.service": { "name": "man-db-restart-cache-update.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "mdadm-grow-continue@.service": { "name": "mdadm-grow-continue@.service", "source": "systemd", "state": "unknown", "status": "static" }, "mdadm-last-resort@.service": { "name": "mdadm-last-resort@.service", "source": "systemd", "state": "unknown", "status": "static" }, "mdcheck_continue.service": { "name": "mdcheck_continue.service", "source": "systemd", "state": "inactive", "status": "static" }, "mdcheck_start.service": { "name": "mdcheck_start.service", "source": "systemd", "state": "inactive", "status": "static" }, "mdmon@.service": { "name": "mdmon@.service", "source": "systemd", "state": "unknown", "status": "static" }, "mdmonitor-oneshot.service": { "name": "mdmonitor-oneshot.service", "source": "systemd", "state": "inactive", "status": "static" }, "mdmonitor.service": { "name": "mdmonitor.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "messagebus.service": { "name": "messagebus.service", "source": "systemd", "state": "active", "status": "static" }, "microcode.service": { "name": "microcode.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "multipathd.service": { "name": "multipathd.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "ndctl-monitor.service": { "name": "ndctl-monitor.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "network.service": { "name": "network.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "nfs-blkmap.service": { "name": "nfs-blkmap.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "nfs-convert.service": { "name": "nfs-convert.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "nfs-idmapd.service": { "name": "nfs-idmapd.service", "source": "systemd", "state": "stopped", "status": "static" }, "nfs-mountd.service": { "name": "nfs-mountd.service", "source": "systemd", "state": "stopped", "status": "static" }, "nfs-server.service": { "name": "nfs-server.service", "source": "systemd", "state": "stopped", "status": "disabled" }, "nfs-utils.service": { "name": "nfs-utils.service", "source": "systemd", "state": "stopped", "status": "static" }, "nfsdcld.service": { "name": "nfsdcld.service", "source": "systemd", "state": "stopped", "status": "static" }, "nis-domainname.service": { "name": "nis-domainname.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "nm-priv-helper.service": { "name": "nm-priv-helper.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "ntpd.service": { "name": "ntpd.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "ntpdate.service": { "name": "ntpdate.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "oddjobd.service": { "name": "oddjobd.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "packagekit-offline-update.service": { "name": "packagekit-offline-update.service", "source": "systemd", "state": "inactive", "status": "static" }, "packagekit.service": { "name": "packagekit.service", "source": "systemd", "state": "inactive", "status": "static" }, "plymouth-quit-wait.service": { "name": "plymouth-quit-wait.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "plymouth-start.service": { "name": "plymouth-start.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "polkit.service": { "name": "polkit.service", "source": "systemd", "state": "running", "status": "static" }, "qemu-guest-agent.service": { "name": "qemu-guest-agent.service", "source": "systemd", "state": "inactive", "status": "enabled" }, "quotaon.service": { "name": "quotaon.service", "source": "systemd", "state": "inactive", "status": "static" }, "rbdmap.service": { "name": "rbdmap.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "rc-local.service": { "name": "rc-local.service", "source": "systemd", "state": "stopped", "status": "static" }, "rdisc.service": { "name": "rdisc.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "rescue.service": { "name": "rescue.service", "source": "systemd", "state": "stopped", "status": "static" }, "rngd-wake-threshold.service": { "name": "rngd-wake-threshold.service", "source": "systemd", "state": "stopped", "status": "disabled" }, "rngd.service": { "name": "rngd.service", "source": "systemd", "state": "running", "status": "enabled" }, "rpc-gssd.service": { "name": "rpc-gssd.service", "source": "systemd", "state": "stopped", "status": "static" }, "rpc-statd-notify.service": { "name": "rpc-statd-notify.service", "source": "systemd", "state": "stopped", "status": "static" }, "rpc-statd.service": { "name": "rpc-statd.service", "source": "systemd", "state": "stopped", "status": "static" }, "rpcbind.service": { "name": "rpcbind.service", "source": "systemd", "state": "running", "status": "enabled" }, "rsyslog.service": { "name": "rsyslog.service", "source": "systemd", "state": "running", "status": "enabled" }, "run-r70a2fb336a4e4f8ba13c06cc4131ef8c.service": { "name": "run-r70a2fb336a4e4f8ba13c06cc4131ef8c.service", "source": "systemd", "state": "running", "status": "transient" }, "selinux-autorelabel-mark.service": { "name": "selinux-autorelabel-mark.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "selinux-autorelabel.service": { "name": "selinux-autorelabel.service", "source": "systemd", "state": "inactive", "status": "static" }, "serial-getty@.service": { "name": "serial-getty@.service", "source": "systemd", "state": "unknown", "status": "indirect" }, "serial-getty@ttyS0.service": { "name": "serial-getty@ttyS0.service", "source": "systemd", "state": "running", "status": "active" }, "sntp.service": { "name": "sntp.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "sshd-keygen.service": { "name": "sshd-keygen.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "sshd-keygen@.service": { "name": "sshd-keygen@.service", "source": "systemd", "state": "unknown", "status": "disabled" }, "sshd-keygen@ecdsa.service": { "name": "sshd-keygen@ecdsa.service", "source": "systemd", "state": "stopped", "status": "inactive" }, "sshd-keygen@ed25519.service": { "name": "sshd-keygen@ed25519.service", "source": "systemd", "state": "stopped", "status": "inactive" }, "sshd-keygen@rsa.service": { "name": "sshd-keygen@rsa.service", "source": "systemd", "state": "stopped", "status": "inactive" }, "sshd.service": { "name": "sshd.service", "source": "systemd", "state": "running", "status": "enabled" }, "sshd@.service": { "name": "sshd@.service", "source": "systemd", "state": "unknown", "status": "static" }, "sssd-autofs.service": { "name": "sssd-autofs.service", "source": "systemd", "state": "inactive", "status": "indirect" }, "sssd-kcm.service": { "name": "sssd-kcm.service", "source": "systemd", "state": "stopped", "status": "indirect" }, "sssd-nss.service": { "name": "sssd-nss.service", "source": "systemd", "state": "inactive", "status": "indirect" }, "sssd-pac.service": { "name": "sssd-pac.service", "source": "systemd", "state": "inactive", "status": "indirect" }, "sssd-pam.service": { "name": "sssd-pam.service", "source": "systemd", "state": "inactive", "status": "indirect" }, "sssd-ssh.service": { "name": "sssd-ssh.service", "source": "systemd", "state": "inactive", "status": "indirect" }, "sssd-sudo.service": { "name": "sssd-sudo.service", "source": "systemd", "state": "inactive", "status": "indirect" }, "sssd.service": { "name": "sssd.service", "source": "systemd", "state": "running", "status": "enabled" }, "syslog.service": { "name": "syslog.service", "source": "systemd", "state": "active", "status": "enabled" }, "system-update-cleanup.service": { "name": "system-update-cleanup.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-ask-password-console.service": { "name": "systemd-ask-password-console.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-ask-password-wall.service": { "name": "systemd-ask-password-wall.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-backlight@.service": { "name": "systemd-backlight@.service", "source": "systemd", "state": "unknown", "status": "static" }, "systemd-binfmt.service": { "name": "systemd-binfmt.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-coredump@.service": { "name": "systemd-coredump@.service", "source": "systemd", "state": "unknown", "status": "static" }, "systemd-exit.service": { "name": "systemd-exit.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-firstboot.service": { "name": "systemd-firstboot.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-fsck-root.service": { "name": "systemd-fsck-root.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-fsck@.service": { "name": "systemd-fsck@.service", "source": "systemd", "state": "unknown", "status": "static" }, "systemd-halt.service": { "name": "systemd-halt.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-hibernate-resume@.service": { "name": "systemd-hibernate-resume@.service", "source": "systemd", "state": "unknown", "status": "static" }, "systemd-hibernate.service": { "name": "systemd-hibernate.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-hostnamed.service": { "name": "systemd-hostnamed.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-hwdb-update.service": { "name": "systemd-hwdb-update.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-hybrid-sleep.service": { "name": "systemd-hybrid-sleep.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-initctl.service": { "name": "systemd-initctl.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-journal-catalog-update.service": { "name": "systemd-journal-catalog-update.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-journal-flush.service": { "name": "systemd-journal-flush.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-journald.service": { "name": "systemd-journald.service", "source": "systemd", "state": "running", "status": "static" }, "systemd-kexec.service": { "name": "systemd-kexec.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-localed.service": { "name": "systemd-localed.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-logind.service": { "name": "systemd-logind.service", "source": "systemd", "state": "running", "status": "static" }, "systemd-machine-id-commit.service": { "name": "systemd-machine-id-commit.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-modules-load.service": { "name": "systemd-modules-load.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-portabled.service": { "name": "systemd-portabled.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-poweroff.service": { "name": "systemd-poweroff.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-quotacheck.service": { "name": "systemd-quotacheck.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-random-seed.service": { "name": "systemd-random-seed.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-reboot.service": { "name": "systemd-reboot.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-remount-fs.service": { "name": "systemd-remount-fs.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-resolved.service": { "name": "systemd-resolved.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "systemd-rfkill.service": { "name": "systemd-rfkill.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-suspend-then-hibernate.service": { "name": "systemd-suspend-then-hibernate.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-suspend.service": { "name": "systemd-suspend.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-sysctl.service": { "name": "systemd-sysctl.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-sysusers.service": { "name": "systemd-sysusers.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-timedated.service": { "name": "systemd-timedated.service", "source": "systemd", "state": "inactive", "status": "masked" }, "systemd-timesyncd.service": { "name": "systemd-timesyncd.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "systemd-tmpfiles-clean.service": { "name": "systemd-tmpfiles-clean.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-tmpfiles-setup-dev.service": { "name": "systemd-tmpfiles-setup-dev.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-tmpfiles-setup.service": { "name": "systemd-tmpfiles-setup.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-udev-settle.service": { "name": "systemd-udev-settle.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-udev-trigger.service": { "name": "systemd-udev-trigger.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-udevd.service": { "name": "systemd-udevd.service", "source": "systemd", "state": "running", "status": "static" }, "systemd-update-done.service": { "name": "systemd-update-done.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-update-utmp-runlevel.service": { "name": "systemd-update-utmp-runlevel.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-update-utmp.service": { "name": "systemd-update-utmp.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-user-sessions.service": { "name": "systemd-user-sessions.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-vconsole-setup.service": { "name": "systemd-vconsole-setup.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-volatile-root.service": { "name": "systemd-volatile-root.service", "source": "systemd", "state": "inactive", "status": "static" }, "tcsd.service": { "name": "tcsd.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "teamd@.service": { "name": "teamd@.service", "source": "systemd", "state": "unknown", "status": "static" }, "timedatex.service": { "name": "timedatex.service", "source": "systemd", "state": "inactive", "status": "enabled" }, "tuned.service": { "name": "tuned.service", "source": "systemd", "state": "running", "status": "enabled" }, "unbound-anchor.service": { "name": "unbound-anchor.service", "source": "systemd", "state": "stopped", "status": "static" }, "user-runtime-dir@.service": { "name": "user-runtime-dir@.service", "source": "systemd", "state": "unknown", "status": "static" }, "user-runtime-dir@0.service": { "name": "user-runtime-dir@0.service", "source": "systemd", "state": "stopped", "status": "active" }, "user@.service": { "name": "user@.service", "source": "systemd", "state": "unknown", "status": "static" }, "user@0.service": { "name": "user@0.service", "source": "systemd", "state": "running", "status": "active" }, "vdo-start-by-dev@.service": { "name": "vdo-start-by-dev@.service", "source": "systemd", "state": "unknown", "status": "static" }, "vdo.service": { "name": "vdo.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "ypbind.service": { "name": "ypbind.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "yppasswdd.service": { "name": "yppasswdd.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "ypserv.service": { "name": "ypserv.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "ypxfrd.service": { "name": "ypxfrd.service", "source": "systemd", "state": "stopped", "status": "not-found" } } }, "changed": false } TASK [linux-system-roles.storage : Set storage_cryptsetup_services] ************ task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 08:03:47 +0000 (0:00:01.757) 0:02:54.270 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [linux-system-roles.storage : Mask the systemd cryptsetup services] ******* task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:71 Thursday 21 July 2022 08:03:47 +0000 (0:00:00.054) 0:02:54.325 ********* TASK [linux-system-roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Thursday 21 July 2022 08:03:47 +0000 (0:00:00.021) 0:02:54.346 ********* ok: [/cache/centos-8.qcow2] => { "actions": [], "changed": false, "crypts": [], "leaves": [], "mounts": [], "packages": [], "pools": [], "volumes": [] } TASK [linux-system-roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:91 Thursday 21 July 2022 08:03:48 +0000 (0:00:00.568) 0:02:54.915 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Unmask the systemd cryptsetup services] ***** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:103 Thursday 21 July 2022 08:03:48 +0000 (0:00:00.035) 0:02:54.951 ********* TASK [linux-system-roles.storage : show blivet_output] ************************* task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:109 Thursday 21 July 2022 08:03:48 +0000 (0:00:00.020) 0:02:54.971 ********* ok: [/cache/centos-8.qcow2] => { "blivet_output": { "actions": [], "changed": false, "crypts": [], "failed": false, "leaves": [], "mounts": [], "packages": [], "pools": [], "volumes": [] } } TASK [linux-system-roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:114 Thursday 21 July 2022 08:03:48 +0000 (0:00:00.034) 0:02:55.006 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [linux-system-roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:118 Thursday 21 July 2022 08:03:48 +0000 (0:00:00.035) 0:02:55.041 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : remove obsolete mounts] ********************* task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:134 Thursday 21 July 2022 08:03:48 +0000 (0:00:00.037) 0:02:55.078 ********* TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:146 Thursday 21 July 2022 08:03:48 +0000 (0:00:00.036) 0:02:55.115 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : set up new/current mounts] ****************** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:151 Thursday 21 July 2022 08:03:48 +0000 (0:00:00.023) 0:02:55.138 ********* TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:163 Thursday 21 July 2022 08:03:48 +0000 (0:00:00.034) 0:02:55.173 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:171 Thursday 21 July 2022 08:03:48 +0000 (0:00:00.024) 0:02:55.198 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "stat": { "atime": 1658390507.5094395, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1643141385.117, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 135, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "inode/x-empty", "mode": "0600", "mtime": 1643141019.537, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "3147672035", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:176 Thursday 21 July 2022 08:03:49 +0000 (0:00:00.502) 0:02:55.701 ********* TASK [linux-system-roles.storage : Update facts] ******************************* task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 Thursday 21 July 2022 08:03:49 +0000 (0:00:00.022) 0:02:55.724 ********* ok: [/cache/centos-8.qcow2] META: role_complete for /cache/centos-8.qcow2 TASK [Mark tasks to be skipped] ************************************************ task path: /tmp/tmpa3egnbq5/tests/tests_change_mount.yml:15 Thursday 21 July 2022 08:03:50 +0000 (0:00:00.988) 0:02:56.712 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "storage_skip_checks": [ "blivet_available", "packages_installed", "service_facts" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpa3egnbq5/tests/tests_change_mount.yml:22 Thursday 21 July 2022 08:03:50 +0000 (0:00:00.034) 0:02:56.746 ********* included: /tmp/tmpa3egnbq5/tests/get_unused_disk.yml for /cache/centos-8.qcow2 TASK [Find unused disks in the system] ***************************************** task path: /tmp/tmpa3egnbq5/tests/get_unused_disk.yml:2 Thursday 21 July 2022 08:03:50 +0000 (0:00:00.035) 0:02:56.782 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "disks": [ "sda" ] } TASK [Set unused_disks if necessary] ******************************************* task path: /tmp/tmpa3egnbq5/tests/get_unused_disk.yml:9 Thursday 21 July 2022 08:03:50 +0000 (0:00:00.527) 0:02:57.309 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "unused_disks": [ "sda" ] }, "changed": false } TASK [Exit playbook when there's not enough unused disks in the system] ******** task path: /tmp/tmpa3egnbq5/tests/get_unused_disk.yml:14 Thursday 21 July 2022 08:03:50 +0000 (0:00:00.036) 0:02:57.346 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Print unused disks] ****************************************************** task path: /tmp/tmpa3egnbq5/tests/get_unused_disk.yml:19 Thursday 21 July 2022 08:03:50 +0000 (0:00:00.038) 0:02:57.384 ********* ok: [/cache/centos-8.qcow2] => { "unused_disks": [ "sda" ] } TASK [Create a LVM logical volume mounted at "/opt/test1"] ********************* task path: /tmp/tmpa3egnbq5/tests/tests_change_mount.yml:27 Thursday 21 July 2022 08:03:50 +0000 (0:00:00.036) 0:02:57.421 ********* TASK [linux-system-roles.storage : set platform/version specific variables] **** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Thursday 21 July 2022 08:03:50 +0000 (0:00:00.042) 0:02:57.464 ********* included: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/set_vars.yml for /cache/centos-8.qcow2 TASK [linux-system-roles.storage : Ensure ansible_facts used by role] ********** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Thursday 21 July 2022 08:03:50 +0000 (0:00:00.033) 0:02:57.497 ********* ok: [/cache/centos-8.qcow2] TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Thursday 21 July 2022 08:03:51 +0000 (0:00:00.564) 0:02:58.062 ********* skipping: [/cache/centos-8.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [/cache/centos-8.qcow2] => (item=CentOS_8.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs" ] }, "ansible_included_var_files": [ "/tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } ok: [/cache/centos-8.qcow2] => (item=CentOS_8.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs" ] }, "ansible_included_var_files": [ "/tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } TASK [linux-system-roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Thursday 21 July 2022 08:03:51 +0000 (0:00:00.070) 0:02:58.132 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [linux-system-roles.storage : define an empty list of volumes to be used in testing] *** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Thursday 21 July 2022 08:03:51 +0000 (0:00:00.032) 0:02:58.165 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : include the appropriate provider tasks] ***** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Thursday 21 July 2022 08:03:51 +0000 (0:00:00.035) 0:02:58.200 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml for /cache/centos-8.qcow2 TASK [linux-system-roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 08:03:51 +0000 (0:00:00.047) 0:02:58.248 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure blivet is available] ************** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 08:03:51 +0000 (0:00:00.021) 0:02:58.269 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : show storage_pools] ************************* task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:14 Thursday 21 July 2022 08:03:51 +0000 (0:00:00.027) 0:02:58.296 ********* ok: [/cache/centos-8.qcow2] => { "storage_pools": [ { "disks": [ "sda" ], "name": "foo", "volumes": [ { "mount_point": "/opt/test1", "name": "test1", "size": "3g" } ] } ] } TASK [linux-system-roles.storage : show storage_volumes] *********************** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:19 Thursday 21 July 2022 08:03:51 +0000 (0:00:00.039) 0:02:58.336 ********* ok: [/cache/centos-8.qcow2] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [linux-system-roles.storage : get required packages] ********************** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:24 Thursday 21 July 2022 08:03:51 +0000 (0:00:00.039) 0:02:58.375 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : enable copr repositories if needed] ********* task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:37 Thursday 21 July 2022 08:03:51 +0000 (0:00:00.030) 0:02:58.406 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure required packages are installed] *** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:44 Thursday 21 July 2022 08:03:51 +0000 (0:00:00.026) 0:02:58.433 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : get service facts] ************************** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 Thursday 21 July 2022 08:03:51 +0000 (0:00:00.028) 0:02:58.462 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set storage_cryptsetup_services] ************ task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 08:03:51 +0000 (0:00:00.025) 0:02:58.487 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [linux-system-roles.storage : Mask the systemd cryptsetup services] ******* task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:71 Thursday 21 July 2022 08:03:52 +0000 (0:00:00.093) 0:02:58.581 ********* TASK [linux-system-roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Thursday 21 July 2022 08:03:52 +0000 (0:00:00.022) 0:02:58.603 ********* changed: [/cache/centos-8.qcow2] => { "actions": [ { "action": "create format", "device": "/dev/sda", "fs_type": "lvmpv" }, { "action": "create device", "device": "/dev/foo", "fs_type": null }, { "action": "create device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/foo-test1", "fs_type": "xfs" } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb", "/dev/vdc", "/dev/vdd", "/dev/mapper/foo-test1" ], "mounts": [ { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "lvm2", "xfsprogs" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "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/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:91 Thursday 21 July 2022 08:03:53 +0000 (0:00:01.597) 0:03:00.201 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Unmask the systemd cryptsetup services] ***** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:103 Thursday 21 July 2022 08:03:53 +0000 (0:00:00.036) 0:03:00.238 ********* TASK [linux-system-roles.storage : show blivet_output] ************************* task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:109 Thursday 21 July 2022 08:03:53 +0000 (0:00:00.019) 0:03:00.258 ********* ok: [/cache/centos-8.qcow2] => { "blivet_output": { "actions": [ { "action": "create format", "device": "/dev/sda", "fs_type": "lvmpv" }, { "action": "create device", "device": "/dev/foo", "fs_type": null }, { "action": "create device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/foo-test1", "fs_type": "xfs" } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb", "/dev/vdc", "/dev/vdd", "/dev/mapper/foo-test1" ], "mounts": [ { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "lvm2", "xfsprogs" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "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/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:114 Thursday 21 July 2022 08:03:53 +0000 (0:00:00.035) 0:03:00.293 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "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/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:118 Thursday 21 July 2022 08:03:53 +0000 (0:00:00.043) 0:03:00.337 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : remove obsolete mounts] ********************* task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:134 Thursday 21 July 2022 08:03:53 +0000 (0:00:00.041) 0:03:00.379 ********* TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:146 Thursday 21 July 2022 08:03:53 +0000 (0:00:00.040) 0:03:00.419 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : set up new/current mounts] ****************** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:151 Thursday 21 July 2022 08:03:54 +0000 (0:00:00.888) 0:03:01.307 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/centos-8.qcow2] => (item={'src': '/dev/mapper/foo-test1', 'path': '/opt/test1', 'fstype': 'xfs', 'opts': 'defaults', 'dump': 0, 'passno': 0, 'state': 'mounted'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "xfs", "mount_info": { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "/dev/mapper/foo-test1" } TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:163 Thursday 21 July 2022 08:03:55 +0000 (0:00:00.597) 0:03:01.904 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:171 Thursday 21 July 2022 08:03:56 +0000 (0:00:00.645) 0:03:02.550 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "stat": { "atime": 1658390507.5094395, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1643141385.117, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 135, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "inode/x-empty", "mode": "0600", "mtime": 1643141019.537, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "3147672035", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:176 Thursday 21 July 2022 08:03:56 +0000 (0:00:00.394) 0:03:02.944 ********* TASK [linux-system-roles.storage : Update facts] ******************************* task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 Thursday 21 July 2022 08:03:56 +0000 (0:00:00.024) 0:03:02.969 ********* ok: [/cache/centos-8.qcow2] META: role_complete for /cache/centos-8.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmpa3egnbq5/tests/tests_change_mount.yml:39 Thursday 21 July 2022 08:03:57 +0000 (0:00:00.965) 0:03:03.934 ********* included: /tmp/tmpa3egnbq5/tests/verify-role-results.yml for /cache/centos-8.qcow2 TASK [Print out pool information] ********************************************** task path: /tmp/tmpa3egnbq5/tests/verify-role-results.yml:1 Thursday 21 July 2022 08:03:57 +0000 (0:00:00.039) 0:03:03.973 ********* ok: [/cache/centos-8.qcow2] => { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "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/tmpa3egnbq5/tests/verify-role-results.yml:6 Thursday 21 July 2022 08:03:57 +0000 (0:00:00.051) 0:03:04.025 ********* skipping: [/cache/centos-8.qcow2] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpa3egnbq5/tests/verify-role-results.yml:14 Thursday 21 July 2022 08:03:57 +0000 (0:00:00.036) 0:03:04.061 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "info": { "/dev/mapper/foo-test1": { "fstype": "xfs", "label": "", "name": "/dev/mapper/foo-test1", "size": "3G", "type": "lvm", "uuid": "d7f9718a-bc30-4e0b-9b9d-29db6fad33b8" }, "/dev/nvme0n1": { "fstype": "", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme1n1": { "fstype": "", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme2n1": { "fstype": "", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda": { "fstype": "LVM2_member", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "KGuvBA-SSPO-ZPPw-b6h1-aNga-YvV7-DS7olG" }, "/dev/sdb": { "fstype": "", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdc": { "fstype": "", "label": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sr0": { "fstype": "iso9660", "label": "cidata", "name": "/dev/sr0", "size": "364K", "type": "rom", "uuid": "2022-07-21-08-00-33-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "xfs", "label": "", "name": "/dev/vda1", "size": "10G", "type": "partition", "uuid": "395b9844-e404-4857-afbb-c6edccaf72f3" }, "/dev/vdb": { "fstype": "", "label": "", "name": "/dev/vdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vdc": { "fstype": "", "label": "", "name": "/dev/vdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vdd": { "fstype": "", "label": "", "name": "/dev/vdd", "size": "10G", "type": "disk", "uuid": "" } } } TASK [Read the /etc/fstab file for volume existence] *************************** task path: /tmp/tmpa3egnbq5/tests/verify-role-results.yml:19 Thursday 21 July 2022 08:03:58 +0000 (0:00:00.501) 0:03:04.563 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.003162", "end": "2022-07-21 08:03:58.212116", "rc": 0, "start": "2022-07-21 08:03:58.208954" } STDOUT: # # /etc/fstab # Created by anaconda on Tue Jan 25 20:03:39 2022 # # Accessible filesystems, by reference, are maintained under '/dev/disk/'. # See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info. # # After editing this file, run 'systemctl daemon-reload' to update systemd # units generated from this file. # UUID=395b9844-e404-4857-afbb-c6edccaf72f3 / xfs defaults 0 0 /dev/mapper/foo-test1 /opt/test1 xfs defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpa3egnbq5/tests/verify-role-results.yml:24 Thursday 21 July 2022 08:03:58 +0000 (0:00:00.397) 0:03:04.961 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.002589", "end": "2022-07-21 08:03:58.616937", "failed_when_result": false, "rc": 0, "start": "2022-07-21 08:03:58.614348" } TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmpa3egnbq5/tests/verify-role-results.yml:33 Thursday 21 July 2022 08:03:58 +0000 (0:00:00.405) 0:03:05.366 ********* included: /tmp/tmpa3egnbq5/tests/test-verify-pool.yml for /cache/centos-8.qcow2 => (item={'disks': ['sda'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'name': 'foo', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'state': 'present', 'type': 'lvm', 'volumes': [{'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '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/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}], 'raid_chunk_size': None}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-pool.yml:5 Thursday 21 July 2022 08:03:58 +0000 (0:00:00.056) 0:03:05.423 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-pool.yml:18 Thursday 21 July 2022 08:03:58 +0000 (0:00:00.102) 0:03:05.525 ********* included: /tmp/tmpa3egnbq5/tests/test-verify-pool-members.yml for /cache/centos-8.qcow2 => (item=members) included: /tmp/tmpa3egnbq5/tests/test-verify-pool-volumes.yml for /cache/centos-8.qcow2 => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-pool-members.yml:1 Thursday 21 July 2022 08:03:59 +0000 (0:00:00.046) 0:03:05.571 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_count": "1", "_storage_test_pool_pvs_lvm": [ "/dev/sda" ] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmpa3egnbq5/tests/test-verify-pool-members.yml:10 Thursday 21 July 2022 08:03:59 +0000 (0:00:00.064) 0:03:05.635 ********* ok: [/cache/centos-8.qcow2] => (item=/dev/sda) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/sda", "pv": "/dev/sda" } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-pool-members.yml:19 Thursday 21 July 2022 08:03:59 +0000 (0:00:00.463) 0:03:06.099 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "__pvs_lvm_len": "1" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-pool-members.yml:23 Thursday 21 July 2022 08:03:59 +0000 (0:00:00.049) 0:03:06.149 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/sda" ] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-pool-members.yml:27 Thursday 21 July 2022 08:03:59 +0000 (0:00:00.051) 0:03:06.200 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-pool-members.yml:34 Thursday 21 July 2022 08:03:59 +0000 (0:00:00.052) 0:03:06.253 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-pool-members.yml:38 Thursday 21 July 2022 08:03:59 +0000 (0:00:00.040) 0:03:06.294 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-pool-members.yml:42 Thursday 21 July 2022 08:03:59 +0000 (0:00:00.048) 0:03:06.343 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-pool-members.yml:46 Thursday 21 July 2022 08:03:59 +0000 (0:00:00.022) 0:03:06.366 ********* ok: [/cache/centos-8.qcow2] => (item=/dev/sda) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/sda" } MSG: All assertions passed TASK [Check MD RAID] *********************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-pool-members.yml:56 Thursday 21 July 2022 08:03:59 +0000 (0:00:00.039) 0:03:06.405 ********* included: /tmp/tmpa3egnbq5/tests/verify-pool-md.yml for /cache/centos-8.qcow2 TASK [get information about RAID] ********************************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-md.yml:6 Thursday 21 July 2022 08:03:59 +0000 (0:00:00.041) 0:03:06.447 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-md.yml:12 Thursday 21 July 2022 08:03:59 +0000 (0:00:00.022) 0:03:06.470 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-md.yml:16 Thursday 21 July 2022 08:03:59 +0000 (0:00:00.022) 0:03:06.492 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-md.yml:20 Thursday 21 July 2022 08:03:59 +0000 (0:00:00.021) 0:03:06.514 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-md.yml:24 Thursday 21 July 2022 08:03:59 +0000 (0:00:00.024) 0:03:06.538 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-md.yml:30 Thursday 21 July 2022 08:04:00 +0000 (0:00:00.022) 0:03:06.561 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpa3egnbq5/tests/verify-pool-md.yml:36 Thursday 21 July 2022 08:04:00 +0000 (0:00:00.025) 0:03:06.586 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-md.yml:44 Thursday 21 July 2022 08:04:00 +0000 (0:00:00.024) 0:03:06.611 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "storage_test_md_active_devices_re": null, "storage_test_md_metadata_version_re": null, "storage_test_md_spare_devices_re": null }, "changed": false } TASK [Check LVM RAID] ********************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-pool-members.yml:59 Thursday 21 July 2022 08:04:00 +0000 (0:00:00.034) 0:03:06.645 ********* included: /tmp/tmpa3egnbq5/tests/verify-pool-members-lvmraid.yml for /cache/centos-8.qcow2 TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-members-lvmraid.yml:1 Thursday 21 July 2022 08:04:00 +0000 (0:00:00.046) 0:03:06.691 ********* included: /tmp/tmpa3egnbq5/tests/verify-pool-member-lvmraid.yml for /cache/centos-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '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/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-member-lvmraid.yml:3 Thursday 21 July 2022 08:04:00 +0000 (0:00:00.042) 0:03:06.734 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmpa3egnbq5/tests/verify-pool-member-lvmraid.yml:8 Thursday 21 July 2022 08:04:00 +0000 (0:00:00.027) 0:03:06.761 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-member-lvmraid.yml:12 Thursday 21 July 2022 08:04:00 +0000 (0:00:00.028) 0:03:06.790 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-pool-members.yml:62 Thursday 21 July 2022 08:04:00 +0000 (0:00:00.027) 0:03:06.817 ********* included: /tmp/tmpa3egnbq5/tests/verify-pool-members-thin.yml for /cache/centos-8.qcow2 TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-members-thin.yml:1 Thursday 21 July 2022 08:04:00 +0000 (0:00:00.044) 0:03:06.862 ********* included: /tmp/tmpa3egnbq5/tests/verify-pool-member-thin.yml for /cache/centos-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '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/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [Get information about thinpool] ****************************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-member-thin.yml:3 Thursday 21 July 2022 08:04:00 +0000 (0:00:00.045) 0:03:06.907 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in correct thinpool (when thinp name is provided)] *** task path: /tmp/tmpa3egnbq5/tests/verify-pool-member-thin.yml:8 Thursday 21 July 2022 08:04:00 +0000 (0:00:00.024) 0:03:06.932 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in thinpool (when thinp name is not provided)] ****** task path: /tmp/tmpa3egnbq5/tests/verify-pool-member-thin.yml:13 Thursday 21 July 2022 08:04:00 +0000 (0:00:00.022) 0:03:06.954 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-member-thin.yml:17 Thursday 21 July 2022 08:04:00 +0000 (0:00:00.022) 0:03:06.977 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-pool-members.yml:65 Thursday 21 July 2022 08:04:00 +0000 (0:00:00.048) 0:03:07.025 ********* included: /tmp/tmpa3egnbq5/tests/verify-pool-members-encryption.yml for /cache/centos-8.qcow2 TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-members-encryption.yml:4 Thursday 21 July 2022 08:04:00 +0000 (0:00:00.044) 0:03:07.070 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Validate pool member LUKS settings] ************************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-members-encryption.yml:8 Thursday 21 July 2022 08:04:00 +0000 (0:00:00.046) 0:03:07.117 ********* skipping: [/cache/centos-8.qcow2] => (item=/dev/sda) => { "_storage_test_pool_member_path": "/dev/sda", "ansible_loop_var": "_storage_test_pool_member_path", "changed": false, "skip_reason": "Conditional result was False" } TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-members-encryption.yml:15 Thursday 21 July 2022 08:04:00 +0000 (0:00:00.024) 0:03:07.142 ********* included: /tmp/tmpa3egnbq5/tests/verify-pool-member-crypttab.yml for /cache/centos-8.qcow2 => (item=/dev/sda) TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-member-crypttab.yml:1 Thursday 21 July 2022 08:04:00 +0000 (0:00:00.042) 0:03:07.184 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": [] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpa3egnbq5/tests/verify-pool-member-crypttab.yml:6 Thursday 21 July 2022 08:04:00 +0000 (0:00:00.053) 0:03:07.237 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpa3egnbq5/tests/verify-pool-member-crypttab.yml:11 Thursday 21 July 2022 08:04:00 +0000 (0:00:00.049) 0:03:07.287 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-member-crypttab.yml:17 Thursday 21 July 2022 08:04:00 +0000 (0:00:00.037) 0:03:07.324 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-member-crypttab.yml:23 Thursday 21 July 2022 08:04:00 +0000 (0:00:00.036) 0:03:07.361 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-member-crypttab.yml:29 Thursday 21 July 2022 08:04:00 +0000 (0:00:00.040) 0:03:07.402 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-members-encryption.yml:22 Thursday 21 July 2022 08:04:00 +0000 (0:00:00.034) 0:03:07.437 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-pool-members.yml:68 Thursday 21 July 2022 08:04:00 +0000 (0:00:00.034) 0:03:07.471 ********* included: /tmp/tmpa3egnbq5/tests/verify-pool-members-vdo.yml for /cache/centos-8.qcow2 TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-members-vdo.yml:1 Thursday 21 July 2022 08:04:00 +0000 (0:00:00.046) 0:03:07.518 ********* included: /tmp/tmpa3egnbq5/tests/verify-pool-member-vdo.yml for /cache/centos-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '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/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmpa3egnbq5/tests/verify-pool-member-vdo.yml:3 Thursday 21 July 2022 08:04:01 +0000 (0:00:00.042) 0:03:07.560 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-member-vdo.yml:8 Thursday 21 July 2022 08:04:01 +0000 (0:00:00.023) 0:03:07.584 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-member-vdo.yml:11 Thursday 21 July 2022 08:04:01 +0000 (0:00:00.022) 0:03:07.606 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-member-vdo.yml:16 Thursday 21 July 2022 08:04:01 +0000 (0:00:00.025) 0:03:07.631 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-member-vdo.yml:21 Thursday 21 July 2022 08:04:01 +0000 (0:00:00.023) 0:03:07.655 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-member-vdo.yml:24 Thursday 21 July 2022 08:04:01 +0000 (0:00:00.026) 0:03:07.682 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-member-vdo.yml:29 Thursday 21 July 2022 08:04:01 +0000 (0:00:00.025) 0:03:07.707 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-member-vdo.yml:39 Thursday 21 July 2022 08:04:01 +0000 (0:00:00.024) 0:03:07.732 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-pool-members.yml:71 Thursday 21 July 2022 08:04:01 +0000 (0:00:00.037) 0:03:07.769 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "__pvs_lvm_len": null, "_storage_test_expected_pv_count": null, "_storage_test_expected_pv_type": null, "_storage_test_pool_pvs": [], "_storage_test_pool_pvs_lvm": [] }, "changed": false } TASK [verify the volumes] ****************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-pool-volumes.yml:3 Thursday 21 July 2022 08:04:01 +0000 (0:00:00.037) 0:03:07.807 ********* included: /tmp/tmpa3egnbq5/tests/test-verify-volume.yml for /cache/centos-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '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/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume.yml:2 Thursday 21 July 2022 08:04:01 +0000 (0:00:00.041) 0:03:07.848 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_test_volume_present": true, "_storage_volume_tests": [ "mount", "fstab", "fs", "device", "encryption", "md", "size", "cache" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume.yml:10 Thursday 21 July 2022 08:04:01 +0000 (0:00:00.047) 0:03:07.896 ********* included: /tmp/tmpa3egnbq5/tests/test-verify-volume-mount.yml for /cache/centos-8.qcow2 => (item=mount) included: /tmp/tmpa3egnbq5/tests/test-verify-volume-fstab.yml for /cache/centos-8.qcow2 => (item=fstab) included: /tmp/tmpa3egnbq5/tests/test-verify-volume-fs.yml for /cache/centos-8.qcow2 => (item=fs) included: /tmp/tmpa3egnbq5/tests/test-verify-volume-device.yml for /cache/centos-8.qcow2 => (item=device) included: /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml for /cache/centos-8.qcow2 => (item=encryption) included: /tmp/tmpa3egnbq5/tests/test-verify-volume-md.yml for /cache/centos-8.qcow2 => (item=md) included: /tmp/tmpa3egnbq5/tests/test-verify-volume-size.yml for /cache/centos-8.qcow2 => (item=size) included: /tmp/tmpa3egnbq5/tests/test-verify-volume-cache.yml for /cache/centos-8.qcow2 => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-mount.yml:6 Thursday 21 July 2022 08:04:01 +0000 (0:00:00.084) 0:03:07.980 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/foo-test1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-mount.yml:14 Thursday 21 July 2022 08:04:01 +0000 (0:00:00.045) 0:03:08.026 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 770146, "block_size": 4096, "block_total": 783872, "block_used": 13726, "device": "/dev/mapper/foo-test1", "fstype": "xfs", "inode_available": 1572861, "inode_total": 1572864, "inode_used": 3, "mount": "/opt/test1", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota", "size_available": 3154518016, "size_total": 3210739712, "uuid": "d7f9718a-bc30-4e0b-9b9d-29db6fad33b8" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 770146, "block_size": 4096, "block_total": 783872, "block_used": 13726, "device": "/dev/mapper/foo-test1", "fstype": "xfs", "inode_available": 1572861, "inode_total": 1572864, "inode_used": 3, "mount": "/opt/test1", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota", "size_available": 3154518016, "size_total": 3210739712, "uuid": "d7f9718a-bc30-4e0b-9b9d-29db6fad33b8" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-mount.yml:28 Thursday 21 July 2022 08:04:01 +0000 (0:00:00.058) 0:03:08.085 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-mount.yml:37 Thursday 21 July 2022 08:04:01 +0000 (0:00:00.051) 0:03:08.136 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-mount.yml:45 Thursday 21 July 2022 08:04:01 +0000 (0:00:00.047) 0:03:08.183 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-mount.yml:54 Thursday 21 July 2022 08:04:01 +0000 (0:00:00.104) 0:03:08.288 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-mount.yml:58 Thursday 21 July 2022 08:04:01 +0000 (0:00:00.037) 0:03:08.326 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-mount.yml:63 Thursday 21 July 2022 08:04:01 +0000 (0:00:00.061) 0:03:08.387 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-mount.yml:75 Thursday 21 July 2022 08:04:01 +0000 (0:00:00.025) 0:03:08.412 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "storage_test_mount_device_matches": null, "storage_test_mount_expected_match_count": null, "storage_test_mount_point_matches": null, "storage_test_swap_expected_matches": null, "storage_test_swaps": null, "storage_test_sys_node": null }, "changed": false } TASK [Set some variables for fstab checking] *********************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 08:04:01 +0000 (0:00:00.037) 0:03:08.449 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "1", "storage_test_fstab_expected_mount_options_matches": "1", "storage_test_fstab_expected_mount_point_matches": "1", "storage_test_fstab_id_matches": [ "/dev/mapper/foo-test1 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test1 xfs defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test1 " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 08:04:01 +0000 (0:00:00.066) 0:03:08.516 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-fstab.yml:32 Thursday 21 July 2022 08:04:02 +0000 (0:00:00.051) 0:03:08.568 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-fstab.yml:39 Thursday 21 July 2022 08:04:02 +0000 (0:00:00.055) 0:03:08.623 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-fstab.yml:49 Thursday 21 July 2022 08:04:02 +0000 (0:00:00.039) 0:03:08.663 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": null, "storage_test_fstab_expected_mount_options_matches": null, "storage_test_fstab_expected_mount_point_matches": null, "storage_test_fstab_id_matches": null, "storage_test_fstab_mount_options_matches": null, "storage_test_fstab_mount_point_matches": null }, "changed": false } TASK [Verify fs type] ********************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-fs.yml:4 Thursday 21 July 2022 08:04:02 +0000 (0:00:00.039) 0:03:08.703 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-fs.yml:10 Thursday 21 July 2022 08:04:02 +0000 (0:00:00.041) 0:03:08.744 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-device.yml:4 Thursday 21 July 2022 08:04:02 +0000 (0:00:00.042) 0:03:08.787 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "stat": { "atime": 1658390633.4044394, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658390633.4044394, "dev": 6, "device_type": 64768, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 97489, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1658390633.4044394, "nlink": 1, "path": "/dev/mapper/foo-test1", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-device.yml:10 Thursday 21 July 2022 08:04:02 +0000 (0:00:00.374) 0:03:09.161 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-device.yml:18 Thursday 21 July 2022 08:04:02 +0000 (0:00:00.035) 0:03:09.197 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-device.yml:24 Thursday 21 July 2022 08:04:02 +0000 (0:00:00.035) 0:03:09.233 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-device.yml:28 Thursday 21 July 2022 08:04:02 +0000 (0:00:00.033) 0:03:09.266 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-device.yml:33 Thursday 21 July 2022 08:04:02 +0000 (0:00:00.026) 0:03:09.292 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 08:04:02 +0000 (0:00:00.039) 0:03:09.332 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 08:04:02 +0000 (0:00:00.022) 0:03:09.355 ********* changed: [/cache/centos-8.qcow2] => { "changed": true, "rc": 0, "results": [ "Installed: cryptsetup-libs-2.3.7-2.el8.x86_64", "Installed: cryptsetup-2.3.7-2.el8.x86_64", "Removed: cryptsetup-libs-2.3.3-4.el8.x86_64" ] } TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 08:04:06 +0000 (0:00:03.597) 0:03:12.952 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 08:04:06 +0000 (0:00:00.023) 0:03:12.975 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the raw device is the same as the device if not encrypted] *** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:30 Thursday 21 July 2022 08:04:06 +0000 (0:00:00.024) 0:03:12.999 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:38 Thursday 21 July 2022 08:04:06 +0000 (0:00:00.053) 0:03:13.053 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 08:04:06 +0000 (0:00:00.024) 0:03:13.077 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:49 Thursday 21 July 2022 08:04:06 +0000 (0:00:00.024) 0:03:13.102 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:55 Thursday 21 July 2022 08:04:06 +0000 (0:00:00.022) 0:03:13.125 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:61 Thursday 21 July 2022 08:04:06 +0000 (0:00:00.023) 0:03:13.148 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 08:04:06 +0000 (0:00:00.022) 0:03:13.171 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": [], "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:74 Thursday 21 July 2022 08:04:06 +0000 (0:00:00.078) 0:03:13.249 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:79 Thursday 21 July 2022 08:04:06 +0000 (0:00:00.049) 0:03:13.299 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:85 Thursday 21 July 2022 08:04:06 +0000 (0:00:00.035) 0:03:13.335 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:91 Thursday 21 July 2022 08:04:06 +0000 (0:00:00.037) 0:03:13.372 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:97 Thursday 21 July 2022 08:04:06 +0000 (0:00:00.037) 0:03:13.410 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_expected_crypttab_entries": null, "_storage_test_expected_crypttab_key_file": null }, "changed": false } TASK [get information about RAID] ********************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-md.yml:7 Thursday 21 July 2022 08:04:06 +0000 (0:00:00.040) 0:03:13.450 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-md.yml:13 Thursday 21 July 2022 08:04:06 +0000 (0:00:00.040) 0:03:13.491 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-md.yml:17 Thursday 21 July 2022 08:04:06 +0000 (0:00:00.038) 0:03:13.530 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-md.yml:21 Thursday 21 July 2022 08:04:07 +0000 (0:00:00.035) 0:03:13.566 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-md.yml:25 Thursday 21 July 2022 08:04:07 +0000 (0:00:00.038) 0:03:13.604 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-md.yml:31 Thursday 21 July 2022 08:04:07 +0000 (0:00:00.035) 0:03:13.639 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-md.yml:37 Thursday 21 July 2022 08:04:07 +0000 (0:00:00.037) 0:03:13.677 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-size.yml:3 Thursday 21 July 2022 08:04:07 +0000 (0:00:00.041) 0:03:13.719 ********* ok: [/cache/centos-8.qcow2] => { "bytes": 3221225472, "changed": false, "lvm": "3g", "parted": "3GiB", "size": "3 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-size.yml:9 Thursday 21 July 2022 08:04:07 +0000 (0:00:00.523) 0:03:14.242 ********* ok: [/cache/centos-8.qcow2] => { "bytes": 3221225472, "changed": false, "lvm": "3g", "parted": "3GiB", "size": "3 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-size.yml:15 Thursday 21 July 2022 08:04:08 +0000 (0:00:00.425) 0:03:14.668 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "storage_test_expected_size": "3221225472" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-size.yml:20 Thursday 21 July 2022 08:04:08 +0000 (0:00:00.051) 0:03:14.719 ********* ok: [/cache/centos-8.qcow2] => { "storage_test_expected_size": "3221225472" } TASK [debug] ******************************************************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-size.yml:25 Thursday 21 July 2022 08:04:08 +0000 (0:00:00.035) 0:03:14.755 ********* skipping: [/cache/centos-8.qcow2] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-size.yml:28 Thursday 21 July 2022 08:04:08 +0000 (0:00:00.041) 0:03:14.796 ********* skipping: [/cache/centos-8.qcow2] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-size.yml:31 Thursday 21 July 2022 08:04:08 +0000 (0:00:00.041) 0:03:14.838 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-size.yml:36 Thursday 21 July 2022 08:04:08 +0000 (0:00:00.039) 0:03:14.877 ********* skipping: [/cache/centos-8.qcow2] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-size.yml:39 Thursday 21 July 2022 08:04:08 +0000 (0:00:00.039) 0:03:14.917 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-size.yml:44 Thursday 21 July 2022 08:04:08 +0000 (0:00:00.037) 0:03:14.954 ********* ok: [/cache/centos-8.qcow2] => { "storage_test_actual_size": { "bytes": 3221225472, "changed": false, "failed": false, "lvm": "3g", "parted": "3GiB", "size": "3 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-size.yml:47 Thursday 21 July 2022 08:04:08 +0000 (0:00:00.037) 0:03:14.992 ********* ok: [/cache/centos-8.qcow2] => { "storage_test_expected_size": "3221225472" } TASK [assert] ****************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-size.yml:50 Thursday 21 July 2022 08:04:08 +0000 (0:00:00.035) 0:03:15.027 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-cache.yml:6 Thursday 21 July 2022 08:04:08 +0000 (0:00:00.052) 0:03:15.080 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "cmd": [ "lvs", "--noheadings", "--nameprefixes", "--units=b", "--nosuffix", "--unquoted", "-o", "name,attr,cache_total_blocks,chunk_size,segtype", "foo/test1" ], "delta": "0:00:00.034568", "end": "2022-07-21 08:04:08.756482", "rc": 0, "start": "2022-07-21 08:04:08.721914" } STDOUT: LVM2_LV_NAME=test1 LVM2_LV_ATTR=-wi-ao---- LVM2_CACHE_TOTAL_BLOCKS= LVM2_CHUNK_SIZE=0 LVM2_SEGTYPE=linear TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-cache.yml:14 Thursday 21 July 2022 08:04:08 +0000 (0:00:00.427) 0:03:15.507 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "storage_test_lv_segtype": [ "linear" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-cache.yml:17 Thursday 21 July 2022 08:04:09 +0000 (0:00:00.051) 0:03:15.558 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-cache.yml:22 Thursday 21 July 2022 08:04:09 +0000 (0:00:00.053) 0:03:15.611 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-cache.yml:26 Thursday 21 July 2022 08:04:09 +0000 (0:00:00.039) 0:03:15.651 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-cache.yml:32 Thursday 21 July 2022 08:04:09 +0000 (0:00:00.037) 0:03:15.689 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-cache.yml:36 Thursday 21 July 2022 08:04:09 +0000 (0:00:00.036) 0:03:15.725 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume.yml:16 Thursday 21 July 2022 08:04:09 +0000 (0:00:00.036) 0:03:15.762 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpa3egnbq5/tests/verify-role-results.yml:43 Thursday 21 July 2022 08:04:09 +0000 (0:00:00.036) 0:03:15.798 ********* TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpa3egnbq5/tests/verify-role-results.yml:53 Thursday 21 July 2022 08:04:09 +0000 (0:00:00.020) 0:03:15.819 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Change the mount location to "/opt/test2"] ******************************* task path: /tmp/tmpa3egnbq5/tests/tests_change_mount.yml:41 Thursday 21 July 2022 08:04:09 +0000 (0:00:00.036) 0:03:15.855 ********* TASK [linux-system-roles.storage : set platform/version specific variables] **** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Thursday 21 July 2022 08:04:09 +0000 (0:00:00.052) 0:03:15.908 ********* included: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/set_vars.yml for /cache/centos-8.qcow2 TASK [linux-system-roles.storage : Ensure ansible_facts used by role] ********** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Thursday 21 July 2022 08:04:09 +0000 (0:00:00.032) 0:03:15.940 ********* ok: [/cache/centos-8.qcow2] TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Thursday 21 July 2022 08:04:09 +0000 (0:00:00.517) 0:03:16.458 ********* skipping: [/cache/centos-8.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [/cache/centos-8.qcow2] => (item=CentOS_8.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs" ] }, "ansible_included_var_files": [ "/tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } ok: [/cache/centos-8.qcow2] => (item=CentOS_8.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs" ] }, "ansible_included_var_files": [ "/tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } TASK [linux-system-roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Thursday 21 July 2022 08:04:09 +0000 (0:00:00.070) 0:03:16.529 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [linux-system-roles.storage : define an empty list of volumes to be used in testing] *** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Thursday 21 July 2022 08:04:10 +0000 (0:00:00.033) 0:03:16.562 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : include the appropriate provider tasks] ***** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Thursday 21 July 2022 08:04:10 +0000 (0:00:00.072) 0:03:16.634 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml for /cache/centos-8.qcow2 TASK [linux-system-roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 08:04:10 +0000 (0:00:00.047) 0:03:16.682 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure blivet is available] ************** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 08:04:10 +0000 (0:00:00.021) 0:03:16.703 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : show storage_pools] ************************* task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:14 Thursday 21 July 2022 08:04:10 +0000 (0:00:00.028) 0:03:16.732 ********* ok: [/cache/centos-8.qcow2] => { "storage_pools": [ { "disks": [ "sda" ], "name": "foo", "volumes": [ { "mount_point": "/opt/test2", "name": "test1", "size": "3g" } ] } ] } TASK [linux-system-roles.storage : show storage_volumes] *********************** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:19 Thursday 21 July 2022 08:04:10 +0000 (0:00:00.037) 0:03:16.769 ********* ok: [/cache/centos-8.qcow2] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [linux-system-roles.storage : get required packages] ********************** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:24 Thursday 21 July 2022 08:04:10 +0000 (0:00:00.073) 0:03:16.843 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : enable copr repositories if needed] ********* task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:37 Thursday 21 July 2022 08:04:10 +0000 (0:00:00.028) 0:03:16.871 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure required packages are installed] *** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:44 Thursday 21 July 2022 08:04:10 +0000 (0:00:00.064) 0:03:16.936 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : get service facts] ************************** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 Thursday 21 July 2022 08:04:10 +0000 (0:00:00.029) 0:03:16.965 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set storage_cryptsetup_services] ************ task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 08:04:10 +0000 (0:00:00.028) 0:03:16.994 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [linux-system-roles.storage : Mask the systemd cryptsetup services] ******* task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:71 Thursday 21 July 2022 08:04:10 +0000 (0:00:00.057) 0:03:17.052 ********* TASK [linux-system-roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Thursday 21 July 2022 08:04:10 +0000 (0:00:00.023) 0:03:17.075 ********* ok: [/cache/centos-8.qcow2] => { "actions": [], "changed": false, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/mapper/foo-test1", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb", "/dev/vdc", "/dev/vdd" ], "mounts": [ { "path": "/opt/test1", "state": "absent" }, { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test2", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "lvm2", "xfsprogs" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "test1", "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/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:91 Thursday 21 July 2022 08:04:11 +0000 (0:00:01.214) 0:03:18.290 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Unmask the systemd cryptsetup services] ***** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:103 Thursday 21 July 2022 08:04:11 +0000 (0:00:00.040) 0:03:18.330 ********* TASK [linux-system-roles.storage : show blivet_output] ************************* task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:109 Thursday 21 July 2022 08:04:11 +0000 (0:00:00.023) 0:03:18.353 ********* ok: [/cache/centos-8.qcow2] => { "blivet_output": { "actions": [], "changed": false, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/mapper/foo-test1", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb", "/dev/vdc", "/dev/vdd" ], "mounts": [ { "path": "/opt/test1", "state": "absent" }, { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test2", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "lvm2", "xfsprogs" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "test1", "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/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:114 Thursday 21 July 2022 08:04:11 +0000 (0:00:00.041) 0:03:18.395 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "test1", "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/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:118 Thursday 21 July 2022 08:04:11 +0000 (0:00:00.037) 0:03:18.432 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : remove obsolete mounts] ********************* task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:134 Thursday 21 July 2022 08:04:11 +0000 (0:00:00.037) 0:03:18.470 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/centos-8.qcow2] => (item={'path': '/opt/test1', 'state': 'absent'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "mount_info": { "path": "/opt/test1", "state": "absent" }, "name": "/opt/test1", "opts": "defaults", "passno": "0" } TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:146 Thursday 21 July 2022 08:04:12 +0000 (0:00:00.416) 0:03:18.886 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : set up new/current mounts] ****************** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:151 Thursday 21 July 2022 08:04:12 +0000 (0:00:00.607) 0:03:19.494 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/centos-8.qcow2] => (item={'src': '/dev/mapper/foo-test1', 'path': '/opt/test2', 'fstype': 'xfs', 'opts': 'defaults', 'dump': 0, 'passno': 0, 'state': 'mounted'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "xfs", "mount_info": { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test2", "src": "/dev/mapper/foo-test1", "state": "mounted" }, "name": "/opt/test2", "opts": "defaults", "passno": "0", "src": "/dev/mapper/foo-test1" } TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:163 Thursday 21 July 2022 08:04:13 +0000 (0:00:00.412) 0:03:19.906 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:171 Thursday 21 July 2022 08:04:13 +0000 (0:00:00.600) 0:03:20.507 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "stat": { "atime": 1658390507.5094395, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1643141385.117, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 135, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "inode/x-empty", "mode": "0600", "mtime": 1643141019.537, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "3147672035", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:176 Thursday 21 July 2022 08:04:14 +0000 (0:00:00.381) 0:03:20.888 ********* TASK [linux-system-roles.storage : Update facts] ******************************* task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 Thursday 21 July 2022 08:04:14 +0000 (0:00:00.023) 0:03:20.912 ********* ok: [/cache/centos-8.qcow2] META: role_complete for /cache/centos-8.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmpa3egnbq5/tests/tests_change_mount.yml:53 Thursday 21 July 2022 08:04:15 +0000 (0:00:00.918) 0:03:21.830 ********* included: /tmp/tmpa3egnbq5/tests/verify-role-results.yml for /cache/centos-8.qcow2 TASK [Print out pool information] ********************************************** task path: /tmp/tmpa3egnbq5/tests/verify-role-results.yml:1 Thursday 21 July 2022 08:04:15 +0000 (0:00:00.043) 0:03:21.874 ********* ok: [/cache/centos-8.qcow2] => { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "test1", "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/tmpa3egnbq5/tests/verify-role-results.yml:6 Thursday 21 July 2022 08:04:15 +0000 (0:00:00.091) 0:03:21.965 ********* skipping: [/cache/centos-8.qcow2] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpa3egnbq5/tests/verify-role-results.yml:14 Thursday 21 July 2022 08:04:15 +0000 (0:00:00.073) 0:03:22.039 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "info": { "/dev/mapper/foo-test1": { "fstype": "xfs", "label": "", "name": "/dev/mapper/foo-test1", "size": "3G", "type": "lvm", "uuid": "d7f9718a-bc30-4e0b-9b9d-29db6fad33b8" }, "/dev/nvme0n1": { "fstype": "", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme1n1": { "fstype": "", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme2n1": { "fstype": "", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda": { "fstype": "LVM2_member", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "KGuvBA-SSPO-ZPPw-b6h1-aNga-YvV7-DS7olG" }, "/dev/sdb": { "fstype": "", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdc": { "fstype": "", "label": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sr0": { "fstype": "iso9660", "label": "cidata", "name": "/dev/sr0", "size": "364K", "type": "rom", "uuid": "2022-07-21-08-00-33-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "xfs", "label": "", "name": "/dev/vda1", "size": "10G", "type": "partition", "uuid": "395b9844-e404-4857-afbb-c6edccaf72f3" }, "/dev/vdb": { "fstype": "", "label": "", "name": "/dev/vdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vdc": { "fstype": "", "label": "", "name": "/dev/vdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vdd": { "fstype": "", "label": "", "name": "/dev/vdd", "size": "10G", "type": "disk", "uuid": "" } } } TASK [Read the /etc/fstab file for volume existence] *************************** task path: /tmp/tmpa3egnbq5/tests/verify-role-results.yml:19 Thursday 21 July 2022 08:04:15 +0000 (0:00:00.411) 0:03:22.450 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.002829", "end": "2022-07-21 08:04:16.067445", "rc": 0, "start": "2022-07-21 08:04:16.064616" } STDOUT: # # /etc/fstab # Created by anaconda on Tue Jan 25 20:03:39 2022 # # Accessible filesystems, by reference, are maintained under '/dev/disk/'. # See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info. # # After editing this file, run 'systemctl daemon-reload' to update systemd # units generated from this file. # UUID=395b9844-e404-4857-afbb-c6edccaf72f3 / xfs defaults 0 0 /dev/mapper/foo-test1 /opt/test2 xfs defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpa3egnbq5/tests/verify-role-results.yml:24 Thursday 21 July 2022 08:04:16 +0000 (0:00:00.367) 0:03:22.817 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.003188", "end": "2022-07-21 08:04:16.435647", "failed_when_result": false, "rc": 0, "start": "2022-07-21 08:04:16.432459" } TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmpa3egnbq5/tests/verify-role-results.yml:33 Thursday 21 July 2022 08:04:16 +0000 (0:00:00.367) 0:03:23.185 ********* included: /tmp/tmpa3egnbq5/tests/test-verify-pool.yml for /cache/centos-8.qcow2 => (item={'disks': ['sda'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'name': 'foo', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'state': 'present', 'type': 'lvm', 'volumes': [{'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test2', 'name': 'test1', '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'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}], 'raid_chunk_size': None}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-pool.yml:5 Thursday 21 July 2022 08:04:16 +0000 (0:00:00.056) 0:03:23.241 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-pool.yml:18 Thursday 21 July 2022 08:04:16 +0000 (0:00:00.032) 0:03:23.274 ********* included: /tmp/tmpa3egnbq5/tests/test-verify-pool-members.yml for /cache/centos-8.qcow2 => (item=members) included: /tmp/tmpa3egnbq5/tests/test-verify-pool-volumes.yml for /cache/centos-8.qcow2 => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-pool-members.yml:1 Thursday 21 July 2022 08:04:16 +0000 (0:00:00.043) 0:03:23.318 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_count": "1", "_storage_test_pool_pvs_lvm": [ "/dev/sda" ] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmpa3egnbq5/tests/test-verify-pool-members.yml:10 Thursday 21 July 2022 08:04:16 +0000 (0:00:00.053) 0:03:23.371 ********* ok: [/cache/centos-8.qcow2] => (item=/dev/sda) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/sda", "pv": "/dev/sda" } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-pool-members.yml:19 Thursday 21 July 2022 08:04:17 +0000 (0:00:00.362) 0:03:23.733 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "__pvs_lvm_len": "1" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-pool-members.yml:23 Thursday 21 July 2022 08:04:17 +0000 (0:00:00.046) 0:03:23.780 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/sda" ] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-pool-members.yml:27 Thursday 21 July 2022 08:04:17 +0000 (0:00:00.048) 0:03:23.828 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-pool-members.yml:34 Thursday 21 July 2022 08:04:17 +0000 (0:00:00.047) 0:03:23.876 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-pool-members.yml:38 Thursday 21 July 2022 08:04:17 +0000 (0:00:00.035) 0:03:23.912 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-pool-members.yml:42 Thursday 21 July 2022 08:04:17 +0000 (0:00:00.047) 0:03:23.960 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-pool-members.yml:46 Thursday 21 July 2022 08:04:17 +0000 (0:00:00.023) 0:03:23.984 ********* ok: [/cache/centos-8.qcow2] => (item=/dev/sda) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/sda" } MSG: All assertions passed TASK [Check MD RAID] *********************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-pool-members.yml:56 Thursday 21 July 2022 08:04:17 +0000 (0:00:00.040) 0:03:24.024 ********* included: /tmp/tmpa3egnbq5/tests/verify-pool-md.yml for /cache/centos-8.qcow2 TASK [get information about RAID] ********************************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-md.yml:6 Thursday 21 July 2022 08:04:17 +0000 (0:00:00.040) 0:03:24.064 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-md.yml:12 Thursday 21 July 2022 08:04:17 +0000 (0:00:00.022) 0:03:24.087 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-md.yml:16 Thursday 21 July 2022 08:04:17 +0000 (0:00:00.022) 0:03:24.110 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-md.yml:20 Thursday 21 July 2022 08:04:17 +0000 (0:00:00.022) 0:03:24.132 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-md.yml:24 Thursday 21 July 2022 08:04:17 +0000 (0:00:00.023) 0:03:24.156 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-md.yml:30 Thursday 21 July 2022 08:04:17 +0000 (0:00:00.022) 0:03:24.179 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpa3egnbq5/tests/verify-pool-md.yml:36 Thursday 21 July 2022 08:04:17 +0000 (0:00:00.022) 0:03:24.201 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-md.yml:44 Thursday 21 July 2022 08:04:17 +0000 (0:00:00.022) 0:03:24.224 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "storage_test_md_active_devices_re": null, "storage_test_md_metadata_version_re": null, "storage_test_md_spare_devices_re": null }, "changed": false } TASK [Check LVM RAID] ********************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-pool-members.yml:59 Thursday 21 July 2022 08:04:17 +0000 (0:00:00.091) 0:03:24.316 ********* included: /tmp/tmpa3egnbq5/tests/verify-pool-members-lvmraid.yml for /cache/centos-8.qcow2 TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-members-lvmraid.yml:1 Thursday 21 July 2022 08:04:17 +0000 (0:00:00.043) 0:03:24.359 ********* included: /tmp/tmpa3egnbq5/tests/verify-pool-member-lvmraid.yml for /cache/centos-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test2', 'name': 'test1', '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'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-member-lvmraid.yml:3 Thursday 21 July 2022 08:04:17 +0000 (0:00:00.041) 0:03:24.401 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmpa3egnbq5/tests/verify-pool-member-lvmraid.yml:8 Thursday 21 July 2022 08:04:17 +0000 (0:00:00.027) 0:03:24.428 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-member-lvmraid.yml:12 Thursday 21 July 2022 08:04:17 +0000 (0:00:00.026) 0:03:24.455 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-pool-members.yml:62 Thursday 21 July 2022 08:04:17 +0000 (0:00:00.025) 0:03:24.481 ********* included: /tmp/tmpa3egnbq5/tests/verify-pool-members-thin.yml for /cache/centos-8.qcow2 TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-members-thin.yml:1 Thursday 21 July 2022 08:04:17 +0000 (0:00:00.043) 0:03:24.524 ********* included: /tmp/tmpa3egnbq5/tests/verify-pool-member-thin.yml for /cache/centos-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test2', 'name': 'test1', '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'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [Get information about thinpool] ****************************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-member-thin.yml:3 Thursday 21 July 2022 08:04:18 +0000 (0:00:00.042) 0:03:24.567 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in correct thinpool (when thinp name is provided)] *** task path: /tmp/tmpa3egnbq5/tests/verify-pool-member-thin.yml:8 Thursday 21 July 2022 08:04:18 +0000 (0:00:00.023) 0:03:24.591 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in thinpool (when thinp name is not provided)] ****** task path: /tmp/tmpa3egnbq5/tests/verify-pool-member-thin.yml:13 Thursday 21 July 2022 08:04:18 +0000 (0:00:00.022) 0:03:24.613 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-member-thin.yml:17 Thursday 21 July 2022 08:04:18 +0000 (0:00:00.022) 0:03:24.635 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-pool-members.yml:65 Thursday 21 July 2022 08:04:18 +0000 (0:00:00.023) 0:03:24.659 ********* included: /tmp/tmpa3egnbq5/tests/verify-pool-members-encryption.yml for /cache/centos-8.qcow2 TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-members-encryption.yml:4 Thursday 21 July 2022 08:04:18 +0000 (0:00:00.046) 0:03:24.705 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Validate pool member LUKS settings] ************************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-members-encryption.yml:8 Thursday 21 July 2022 08:04:18 +0000 (0:00:00.048) 0:03:24.753 ********* skipping: [/cache/centos-8.qcow2] => (item=/dev/sda) => { "_storage_test_pool_member_path": "/dev/sda", "ansible_loop_var": "_storage_test_pool_member_path", "changed": false, "skip_reason": "Conditional result was False" } TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-members-encryption.yml:15 Thursday 21 July 2022 08:04:18 +0000 (0:00:00.029) 0:03:24.783 ********* included: /tmp/tmpa3egnbq5/tests/verify-pool-member-crypttab.yml for /cache/centos-8.qcow2 => (item=/dev/sda) TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-member-crypttab.yml:1 Thursday 21 July 2022 08:04:18 +0000 (0:00:00.046) 0:03:24.829 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": [] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpa3egnbq5/tests/verify-pool-member-crypttab.yml:6 Thursday 21 July 2022 08:04:18 +0000 (0:00:00.050) 0:03:24.880 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpa3egnbq5/tests/verify-pool-member-crypttab.yml:11 Thursday 21 July 2022 08:04:18 +0000 (0:00:00.051) 0:03:24.931 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-member-crypttab.yml:17 Thursday 21 July 2022 08:04:18 +0000 (0:00:00.036) 0:03:24.968 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-member-crypttab.yml:23 Thursday 21 July 2022 08:04:18 +0000 (0:00:00.035) 0:03:25.004 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-member-crypttab.yml:29 Thursday 21 July 2022 08:04:18 +0000 (0:00:00.035) 0:03:25.039 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-members-encryption.yml:22 Thursday 21 July 2022 08:04:18 +0000 (0:00:00.036) 0:03:25.076 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-pool-members.yml:68 Thursday 21 July 2022 08:04:18 +0000 (0:00:00.033) 0:03:25.109 ********* included: /tmp/tmpa3egnbq5/tests/verify-pool-members-vdo.yml for /cache/centos-8.qcow2 TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-members-vdo.yml:1 Thursday 21 July 2022 08:04:18 +0000 (0:00:00.046) 0:03:25.155 ********* included: /tmp/tmpa3egnbq5/tests/verify-pool-member-vdo.yml for /cache/centos-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test2', 'name': 'test1', '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'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmpa3egnbq5/tests/verify-pool-member-vdo.yml:3 Thursday 21 July 2022 08:04:18 +0000 (0:00:00.044) 0:03:25.200 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-member-vdo.yml:8 Thursday 21 July 2022 08:04:18 +0000 (0:00:00.023) 0:03:25.224 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-member-vdo.yml:11 Thursday 21 July 2022 08:04:18 +0000 (0:00:00.022) 0:03:25.246 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-member-vdo.yml:16 Thursday 21 July 2022 08:04:18 +0000 (0:00:00.024) 0:03:25.271 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-member-vdo.yml:21 Thursday 21 July 2022 08:04:18 +0000 (0:00:00.023) 0:03:25.294 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-member-vdo.yml:24 Thursday 21 July 2022 08:04:18 +0000 (0:00:00.023) 0:03:25.317 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-member-vdo.yml:29 Thursday 21 July 2022 08:04:18 +0000 (0:00:00.022) 0:03:25.339 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-member-vdo.yml:39 Thursday 21 July 2022 08:04:18 +0000 (0:00:00.023) 0:03:25.363 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-pool-members.yml:71 Thursday 21 July 2022 08:04:18 +0000 (0:00:00.032) 0:03:25.395 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "__pvs_lvm_len": null, "_storage_test_expected_pv_count": null, "_storage_test_expected_pv_type": null, "_storage_test_pool_pvs": [], "_storage_test_pool_pvs_lvm": [] }, "changed": false } TASK [verify the volumes] ****************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-pool-volumes.yml:3 Thursday 21 July 2022 08:04:18 +0000 (0:00:00.068) 0:03:25.464 ********* included: /tmp/tmpa3egnbq5/tests/test-verify-volume.yml for /cache/centos-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test2', 'name': 'test1', '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'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume.yml:2 Thursday 21 July 2022 08:04:18 +0000 (0:00:00.042) 0:03:25.506 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_test_volume_present": true, "_storage_volume_tests": [ "mount", "fstab", "fs", "device", "encryption", "md", "size", "cache" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume.yml:10 Thursday 21 July 2022 08:04:19 +0000 (0:00:00.082) 0:03:25.588 ********* included: /tmp/tmpa3egnbq5/tests/test-verify-volume-mount.yml for /cache/centos-8.qcow2 => (item=mount) included: /tmp/tmpa3egnbq5/tests/test-verify-volume-fstab.yml for /cache/centos-8.qcow2 => (item=fstab) included: /tmp/tmpa3egnbq5/tests/test-verify-volume-fs.yml for /cache/centos-8.qcow2 => (item=fs) included: /tmp/tmpa3egnbq5/tests/test-verify-volume-device.yml for /cache/centos-8.qcow2 => (item=device) included: /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml for /cache/centos-8.qcow2 => (item=encryption) included: /tmp/tmpa3egnbq5/tests/test-verify-volume-md.yml for /cache/centos-8.qcow2 => (item=md) included: /tmp/tmpa3egnbq5/tests/test-verify-volume-size.yml for /cache/centos-8.qcow2 => (item=size) included: /tmp/tmpa3egnbq5/tests/test-verify-volume-cache.yml for /cache/centos-8.qcow2 => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-mount.yml:6 Thursday 21 July 2022 08:04:19 +0000 (0:00:00.093) 0:03:25.682 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/foo-test1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-mount.yml:14 Thursday 21 July 2022 08:04:19 +0000 (0:00:00.038) 0:03:25.720 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 770146, "block_size": 4096, "block_total": 783872, "block_used": 13726, "device": "/dev/mapper/foo-test1", "fstype": "xfs", "inode_available": 1572861, "inode_total": 1572864, "inode_used": 3, "mount": "/opt/test2", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota", "size_available": 3154518016, "size_total": 3210739712, "uuid": "d7f9718a-bc30-4e0b-9b9d-29db6fad33b8" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 770146, "block_size": 4096, "block_total": 783872, "block_used": 13726, "device": "/dev/mapper/foo-test1", "fstype": "xfs", "inode_available": 1572861, "inode_total": 1572864, "inode_used": 3, "mount": "/opt/test2", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota", "size_available": 3154518016, "size_total": 3210739712, "uuid": "d7f9718a-bc30-4e0b-9b9d-29db6fad33b8" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-mount.yml:28 Thursday 21 July 2022 08:04:19 +0000 (0:00:00.051) 0:03:25.772 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-mount.yml:37 Thursday 21 July 2022 08:04:19 +0000 (0:00:00.045) 0:03:25.818 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-mount.yml:45 Thursday 21 July 2022 08:04:19 +0000 (0:00:00.043) 0:03:25.862 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-mount.yml:54 Thursday 21 July 2022 08:04:19 +0000 (0:00:00.045) 0:03:25.908 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-mount.yml:58 Thursday 21 July 2022 08:04:19 +0000 (0:00:00.022) 0:03:25.930 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-mount.yml:63 Thursday 21 July 2022 08:04:19 +0000 (0:00:00.021) 0:03:25.951 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-mount.yml:75 Thursday 21 July 2022 08:04:19 +0000 (0:00:00.023) 0:03:25.974 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "storage_test_mount_device_matches": null, "storage_test_mount_expected_match_count": null, "storage_test_mount_point_matches": null, "storage_test_swap_expected_matches": null, "storage_test_swaps": null, "storage_test_sys_node": null }, "changed": false } TASK [Set some variables for fstab checking] *********************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 08:04:19 +0000 (0:00:00.035) 0:03:26.010 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "1", "storage_test_fstab_expected_mount_options_matches": "1", "storage_test_fstab_expected_mount_point_matches": "1", "storage_test_fstab_id_matches": [ "/dev/mapper/foo-test1 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test2 xfs defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test2 " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 08:04:19 +0000 (0:00:00.063) 0:03:26.073 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-fstab.yml:32 Thursday 21 July 2022 08:04:19 +0000 (0:00:00.046) 0:03:26.120 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-fstab.yml:39 Thursday 21 July 2022 08:04:19 +0000 (0:00:00.046) 0:03:26.166 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-fstab.yml:49 Thursday 21 July 2022 08:04:19 +0000 (0:00:00.035) 0:03:26.202 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": null, "storage_test_fstab_expected_mount_options_matches": null, "storage_test_fstab_expected_mount_point_matches": null, "storage_test_fstab_id_matches": null, "storage_test_fstab_mount_options_matches": null, "storage_test_fstab_mount_point_matches": null }, "changed": false } TASK [Verify fs type] ********************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-fs.yml:4 Thursday 21 July 2022 08:04:19 +0000 (0:00:00.032) 0:03:26.234 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-fs.yml:10 Thursday 21 July 2022 08:04:19 +0000 (0:00:00.035) 0:03:26.270 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-device.yml:4 Thursday 21 July 2022 08:04:19 +0000 (0:00:00.036) 0:03:26.307 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "stat": { "atime": 1658390633.4044394, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658390633.4044394, "dev": 6, "device_type": 64768, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 97489, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1658390633.4044394, "nlink": 1, "path": "/dev/mapper/foo-test1", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-device.yml:10 Thursday 21 July 2022 08:04:20 +0000 (0:00:00.395) 0:03:26.702 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-device.yml:18 Thursday 21 July 2022 08:04:20 +0000 (0:00:00.035) 0:03:26.737 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-device.yml:24 Thursday 21 July 2022 08:04:20 +0000 (0:00:00.036) 0:03:26.774 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-device.yml:28 Thursday 21 July 2022 08:04:20 +0000 (0:00:00.037) 0:03:26.812 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-device.yml:33 Thursday 21 July 2022 08:04:20 +0000 (0:00:00.025) 0:03:26.837 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 08:04:20 +0000 (0:00:00.040) 0:03:26.878 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 08:04:20 +0000 (0:00:00.024) 0:03:26.902 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 08:04:22 +0000 (0:00:01.849) 0:03:28.752 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 08:04:22 +0000 (0:00:00.026) 0:03:28.778 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the raw device is the same as the device if not encrypted] *** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:30 Thursday 21 July 2022 08:04:22 +0000 (0:00:00.025) 0:03:28.803 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:38 Thursday 21 July 2022 08:04:22 +0000 (0:00:00.082) 0:03:28.886 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 08:04:22 +0000 (0:00:00.030) 0:03:28.917 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:49 Thursday 21 July 2022 08:04:22 +0000 (0:00:00.023) 0:03:28.940 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:55 Thursday 21 July 2022 08:04:22 +0000 (0:00:00.022) 0:03:28.963 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:61 Thursday 21 July 2022 08:04:22 +0000 (0:00:00.022) 0:03:28.986 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 08:04:22 +0000 (0:00:00.023) 0:03:29.009 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": [], "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:74 Thursday 21 July 2022 08:04:22 +0000 (0:00:00.079) 0:03:29.089 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:79 Thursday 21 July 2022 08:04:22 +0000 (0:00:00.078) 0:03:29.168 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:85 Thursday 21 July 2022 08:04:22 +0000 (0:00:00.068) 0:03:29.236 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:91 Thursday 21 July 2022 08:04:22 +0000 (0:00:00.034) 0:03:29.271 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:97 Thursday 21 July 2022 08:04:22 +0000 (0:00:00.034) 0:03:29.305 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_expected_crypttab_entries": null, "_storage_test_expected_crypttab_key_file": null }, "changed": false } TASK [get information about RAID] ********************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-md.yml:7 Thursday 21 July 2022 08:04:22 +0000 (0:00:00.034) 0:03:29.340 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-md.yml:13 Thursday 21 July 2022 08:04:22 +0000 (0:00:00.034) 0:03:29.375 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-md.yml:17 Thursday 21 July 2022 08:04:22 +0000 (0:00:00.035) 0:03:29.410 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-md.yml:21 Thursday 21 July 2022 08:04:22 +0000 (0:00:00.036) 0:03:29.447 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-md.yml:25 Thursday 21 July 2022 08:04:22 +0000 (0:00:00.036) 0:03:29.483 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-md.yml:31 Thursday 21 July 2022 08:04:22 +0000 (0:00:00.035) 0:03:29.519 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-md.yml:37 Thursday 21 July 2022 08:04:23 +0000 (0:00:00.035) 0:03:29.555 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-size.yml:3 Thursday 21 July 2022 08:04:23 +0000 (0:00:00.036) 0:03:29.592 ********* ok: [/cache/centos-8.qcow2] => { "bytes": 3221225472, "changed": false, "lvm": "3g", "parted": "3GiB", "size": "3 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-size.yml:9 Thursday 21 July 2022 08:04:23 +0000 (0:00:00.367) 0:03:29.959 ********* ok: [/cache/centos-8.qcow2] => { "bytes": 3221225472, "changed": false, "lvm": "3g", "parted": "3GiB", "size": "3 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-size.yml:15 Thursday 21 July 2022 08:04:23 +0000 (0:00:00.375) 0:03:30.335 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "storage_test_expected_size": "3221225472" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-size.yml:20 Thursday 21 July 2022 08:04:23 +0000 (0:00:00.048) 0:03:30.383 ********* ok: [/cache/centos-8.qcow2] => { "storage_test_expected_size": "3221225472" } TASK [debug] ******************************************************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-size.yml:25 Thursday 21 July 2022 08:04:23 +0000 (0:00:00.038) 0:03:30.422 ********* skipping: [/cache/centos-8.qcow2] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-size.yml:28 Thursday 21 July 2022 08:04:23 +0000 (0:00:00.035) 0:03:30.457 ********* skipping: [/cache/centos-8.qcow2] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-size.yml:31 Thursday 21 July 2022 08:04:23 +0000 (0:00:00.034) 0:03:30.492 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-size.yml:36 Thursday 21 July 2022 08:04:23 +0000 (0:00:00.034) 0:03:30.527 ********* skipping: [/cache/centos-8.qcow2] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-size.yml:39 Thursday 21 July 2022 08:04:24 +0000 (0:00:00.035) 0:03:30.562 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-size.yml:44 Thursday 21 July 2022 08:04:24 +0000 (0:00:00.035) 0:03:30.598 ********* ok: [/cache/centos-8.qcow2] => { "storage_test_actual_size": { "bytes": 3221225472, "changed": false, "failed": false, "lvm": "3g", "parted": "3GiB", "size": "3 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-size.yml:47 Thursday 21 July 2022 08:04:24 +0000 (0:00:00.034) 0:03:30.633 ********* ok: [/cache/centos-8.qcow2] => { "storage_test_expected_size": "3221225472" } TASK [assert] ****************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-size.yml:50 Thursday 21 July 2022 08:04:24 +0000 (0:00:00.034) 0:03:30.668 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-cache.yml:6 Thursday 21 July 2022 08:04:24 +0000 (0:00:00.051) 0:03:30.719 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "cmd": [ "lvs", "--noheadings", "--nameprefixes", "--units=b", "--nosuffix", "--unquoted", "-o", "name,attr,cache_total_blocks,chunk_size,segtype", "foo/test1" ], "delta": "0:00:00.035458", "end": "2022-07-21 08:04:24.373957", "rc": 0, "start": "2022-07-21 08:04:24.338499" } STDOUT: LVM2_LV_NAME=test1 LVM2_LV_ATTR=-wi-ao---- LVM2_CACHE_TOTAL_BLOCKS= LVM2_CHUNK_SIZE=0 LVM2_SEGTYPE=linear TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-cache.yml:14 Thursday 21 July 2022 08:04:24 +0000 (0:00:00.406) 0:03:31.126 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "storage_test_lv_segtype": [ "linear" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-cache.yml:17 Thursday 21 July 2022 08:04:24 +0000 (0:00:00.048) 0:03:31.174 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-cache.yml:22 Thursday 21 July 2022 08:04:24 +0000 (0:00:00.050) 0:03:31.225 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-cache.yml:26 Thursday 21 July 2022 08:04:24 +0000 (0:00:00.036) 0:03:31.261 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-cache.yml:32 Thursday 21 July 2022 08:04:24 +0000 (0:00:00.036) 0:03:31.297 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-cache.yml:36 Thursday 21 July 2022 08:04:24 +0000 (0:00:00.036) 0:03:31.334 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume.yml:16 Thursday 21 July 2022 08:04:24 +0000 (0:00:00.069) 0:03:31.403 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpa3egnbq5/tests/verify-role-results.yml:43 Thursday 21 July 2022 08:04:24 +0000 (0:00:00.064) 0:03:31.468 ********* TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpa3egnbq5/tests/verify-role-results.yml:53 Thursday 21 July 2022 08:04:24 +0000 (0:00:00.020) 0:03:31.488 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Repeat the previous invocation to verify idempotence] ******************** task path: /tmp/tmpa3egnbq5/tests/tests_change_mount.yml:55 Thursday 21 July 2022 08:04:25 +0000 (0:00:00.096) 0:03:31.584 ********* TASK [linux-system-roles.storage : set platform/version specific variables] **** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Thursday 21 July 2022 08:04:25 +0000 (0:00:00.049) 0:03:31.634 ********* included: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/set_vars.yml for /cache/centos-8.qcow2 TASK [linux-system-roles.storage : Ensure ansible_facts used by role] ********** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Thursday 21 July 2022 08:04:25 +0000 (0:00:00.035) 0:03:31.670 ********* ok: [/cache/centos-8.qcow2] TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Thursday 21 July 2022 08:04:25 +0000 (0:00:00.529) 0:03:32.199 ********* skipping: [/cache/centos-8.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [/cache/centos-8.qcow2] => (item=CentOS_8.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs" ] }, "ansible_included_var_files": [ "/tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } ok: [/cache/centos-8.qcow2] => (item=CentOS_8.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs" ] }, "ansible_included_var_files": [ "/tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } TASK [linux-system-roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Thursday 21 July 2022 08:04:25 +0000 (0:00:00.069) 0:03:32.268 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [linux-system-roles.storage : define an empty list of volumes to be used in testing] *** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Thursday 21 July 2022 08:04:25 +0000 (0:00:00.033) 0:03:32.302 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : include the appropriate provider tasks] ***** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Thursday 21 July 2022 08:04:25 +0000 (0:00:00.036) 0:03:32.339 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml for /cache/centos-8.qcow2 TASK [linux-system-roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 08:04:25 +0000 (0:00:00.046) 0:03:32.386 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure blivet is available] ************** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 08:04:25 +0000 (0:00:00.022) 0:03:32.408 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : show storage_pools] ************************* task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:14 Thursday 21 July 2022 08:04:25 +0000 (0:00:00.027) 0:03:32.436 ********* ok: [/cache/centos-8.qcow2] => { "storage_pools": [ { "disks": [ "sda" ], "name": "foo", "volumes": [ { "mount_point": "/opt/test2", "name": "test1", "size": "3g" } ] } ] } TASK [linux-system-roles.storage : show storage_volumes] *********************** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:19 Thursday 21 July 2022 08:04:25 +0000 (0:00:00.036) 0:03:32.473 ********* ok: [/cache/centos-8.qcow2] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [linux-system-roles.storage : get required packages] ********************** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:24 Thursday 21 July 2022 08:04:25 +0000 (0:00:00.036) 0:03:32.509 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : enable copr repositories if needed] ********* task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:37 Thursday 21 July 2022 08:04:25 +0000 (0:00:00.032) 0:03:32.542 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure required packages are installed] *** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:44 Thursday 21 July 2022 08:04:26 +0000 (0:00:00.028) 0:03:32.570 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : get service facts] ************************** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 Thursday 21 July 2022 08:04:26 +0000 (0:00:00.028) 0:03:32.599 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set storage_cryptsetup_services] ************ task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 08:04:26 +0000 (0:00:00.029) 0:03:32.629 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [linux-system-roles.storage : Mask the systemd cryptsetup services] ******* task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:71 Thursday 21 July 2022 08:04:26 +0000 (0:00:00.059) 0:03:32.688 ********* TASK [linux-system-roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Thursday 21 July 2022 08:04:26 +0000 (0:00:00.021) 0:03:32.709 ********* ok: [/cache/centos-8.qcow2] => { "actions": [], "changed": false, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/mapper/foo-test1", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb", "/dev/vdc", "/dev/vdd" ], "mounts": [ { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test2", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "lvm2", "xfsprogs" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "test1", "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/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:91 Thursday 21 July 2022 08:04:27 +0000 (0:00:01.252) 0:03:33.962 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Unmask the systemd cryptsetup services] ***** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:103 Thursday 21 July 2022 08:04:27 +0000 (0:00:00.036) 0:03:33.998 ********* TASK [linux-system-roles.storage : show blivet_output] ************************* task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:109 Thursday 21 July 2022 08:04:27 +0000 (0:00:00.021) 0:03:34.020 ********* ok: [/cache/centos-8.qcow2] => { "blivet_output": { "actions": [], "changed": false, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/mapper/foo-test1", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb", "/dev/vdc", "/dev/vdd" ], "mounts": [ { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test2", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "lvm2", "xfsprogs" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "test1", "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/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:114 Thursday 21 July 2022 08:04:27 +0000 (0:00:00.072) 0:03:34.092 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "test1", "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/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:118 Thursday 21 July 2022 08:04:27 +0000 (0:00:00.035) 0:03:34.128 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : remove obsolete mounts] ********************* task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:134 Thursday 21 July 2022 08:04:27 +0000 (0:00:00.034) 0:03:34.162 ********* TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:146 Thursday 21 July 2022 08:04:27 +0000 (0:00:00.035) 0:03:34.198 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : set up new/current mounts] ****************** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:151 Thursday 21 July 2022 08:04:28 +0000 (0:00:00.609) 0:03:34.808 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount ok: [/cache/centos-8.qcow2] => (item={'src': '/dev/mapper/foo-test1', '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/foo-test1", "state": "mounted" }, "name": "/opt/test2", "opts": "defaults", "passno": "0", "src": "/dev/mapper/foo-test1" } TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:163 Thursday 21 July 2022 08:04:28 +0000 (0:00:00.408) 0:03:35.217 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:171 Thursday 21 July 2022 08:04:29 +0000 (0:00:00.635) 0:03:35.852 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "stat": { "atime": 1658390507.5094395, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1643141385.117, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 135, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "inode/x-empty", "mode": "0600", "mtime": 1643141019.537, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "3147672035", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:176 Thursday 21 July 2022 08:04:29 +0000 (0:00:00.409) 0:03:36.262 ********* TASK [linux-system-roles.storage : Update facts] ******************************* task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 Thursday 21 July 2022 08:04:29 +0000 (0:00:00.021) 0:03:36.283 ********* ok: [/cache/centos-8.qcow2] META: role_complete for /cache/centos-8.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmpa3egnbq5/tests/tests_change_mount.yml:67 Thursday 21 July 2022 08:04:30 +0000 (0:00:00.954) 0:03:37.237 ********* included: /tmp/tmpa3egnbq5/tests/verify-role-results.yml for /cache/centos-8.qcow2 TASK [Print out pool information] ********************************************** task path: /tmp/tmpa3egnbq5/tests/verify-role-results.yml:1 Thursday 21 July 2022 08:04:30 +0000 (0:00:00.042) 0:03:37.279 ********* ok: [/cache/centos-8.qcow2] => { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "test1", "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/tmpa3egnbq5/tests/verify-role-results.yml:6 Thursday 21 July 2022 08:04:30 +0000 (0:00:00.050) 0:03:37.330 ********* skipping: [/cache/centos-8.qcow2] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpa3egnbq5/tests/verify-role-results.yml:14 Thursday 21 July 2022 08:04:30 +0000 (0:00:00.033) 0:03:37.363 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "info": { "/dev/mapper/foo-test1": { "fstype": "xfs", "label": "", "name": "/dev/mapper/foo-test1", "size": "3G", "type": "lvm", "uuid": "d7f9718a-bc30-4e0b-9b9d-29db6fad33b8" }, "/dev/nvme0n1": { "fstype": "", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme1n1": { "fstype": "", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme2n1": { "fstype": "", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda": { "fstype": "LVM2_member", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "KGuvBA-SSPO-ZPPw-b6h1-aNga-YvV7-DS7olG" }, "/dev/sdb": { "fstype": "", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdc": { "fstype": "", "label": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sr0": { "fstype": "iso9660", "label": "cidata", "name": "/dev/sr0", "size": "364K", "type": "rom", "uuid": "2022-07-21-08-00-33-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "xfs", "label": "", "name": "/dev/vda1", "size": "10G", "type": "partition", "uuid": "395b9844-e404-4857-afbb-c6edccaf72f3" }, "/dev/vdb": { "fstype": "", "label": "", "name": "/dev/vdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vdc": { "fstype": "", "label": "", "name": "/dev/vdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vdd": { "fstype": "", "label": "", "name": "/dev/vdd", "size": "10G", "type": "disk", "uuid": "" } } } TASK [Read the /etc/fstab file for volume existence] *************************** task path: /tmp/tmpa3egnbq5/tests/verify-role-results.yml:19 Thursday 21 July 2022 08:04:31 +0000 (0:00:00.386) 0:03:37.750 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.003132", "end": "2022-07-21 08:04:31.390695", "rc": 0, "start": "2022-07-21 08:04:31.387563" } STDOUT: # # /etc/fstab # Created by anaconda on Tue Jan 25 20:03:39 2022 # # Accessible filesystems, by reference, are maintained under '/dev/disk/'. # See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info. # # After editing this file, run 'systemctl daemon-reload' to update systemd # units generated from this file. # UUID=395b9844-e404-4857-afbb-c6edccaf72f3 / xfs defaults 0 0 /dev/mapper/foo-test1 /opt/test2 xfs defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpa3egnbq5/tests/verify-role-results.yml:24 Thursday 21 July 2022 08:04:31 +0000 (0:00:00.391) 0:03:38.142 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.003455", "end": "2022-07-21 08:04:31.764276", "failed_when_result": false, "rc": 0, "start": "2022-07-21 08:04:31.760821" } TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmpa3egnbq5/tests/verify-role-results.yml:33 Thursday 21 July 2022 08:04:31 +0000 (0:00:00.373) 0:03:38.515 ********* included: /tmp/tmpa3egnbq5/tests/test-verify-pool.yml for /cache/centos-8.qcow2 => (item={'disks': ['sda'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'name': 'foo', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'state': 'present', 'type': 'lvm', 'volumes': [{'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test2', 'name': 'test1', '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'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}], 'raid_chunk_size': None}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-pool.yml:5 Thursday 21 July 2022 08:04:32 +0000 (0:00:00.055) 0:03:38.571 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-pool.yml:18 Thursday 21 July 2022 08:04:32 +0000 (0:00:00.033) 0:03:38.605 ********* included: /tmp/tmpa3egnbq5/tests/test-verify-pool-members.yml for /cache/centos-8.qcow2 => (item=members) included: /tmp/tmpa3egnbq5/tests/test-verify-pool-volumes.yml for /cache/centos-8.qcow2 => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-pool-members.yml:1 Thursday 21 July 2022 08:04:32 +0000 (0:00:00.043) 0:03:38.649 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_count": "1", "_storage_test_pool_pvs_lvm": [ "/dev/sda" ] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmpa3egnbq5/tests/test-verify-pool-members.yml:10 Thursday 21 July 2022 08:04:32 +0000 (0:00:00.052) 0:03:38.701 ********* ok: [/cache/centos-8.qcow2] => (item=/dev/sda) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/sda", "pv": "/dev/sda" } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-pool-members.yml:19 Thursday 21 July 2022 08:04:32 +0000 (0:00:00.367) 0:03:39.069 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "__pvs_lvm_len": "1" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-pool-members.yml:23 Thursday 21 July 2022 08:04:32 +0000 (0:00:00.046) 0:03:39.116 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/sda" ] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-pool-members.yml:27 Thursday 21 July 2022 08:04:32 +0000 (0:00:00.046) 0:03:39.162 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-pool-members.yml:34 Thursday 21 July 2022 08:04:32 +0000 (0:00:00.045) 0:03:39.208 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-pool-members.yml:38 Thursday 21 July 2022 08:04:32 +0000 (0:00:00.035) 0:03:39.243 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-pool-members.yml:42 Thursday 21 July 2022 08:04:32 +0000 (0:00:00.047) 0:03:39.291 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-pool-members.yml:46 Thursday 21 July 2022 08:04:32 +0000 (0:00:00.033) 0:03:39.325 ********* ok: [/cache/centos-8.qcow2] => (item=/dev/sda) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/sda" } MSG: All assertions passed TASK [Check MD RAID] *********************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-pool-members.yml:56 Thursday 21 July 2022 08:04:32 +0000 (0:00:00.041) 0:03:39.366 ********* included: /tmp/tmpa3egnbq5/tests/verify-pool-md.yml for /cache/centos-8.qcow2 TASK [get information about RAID] ********************************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-md.yml:6 Thursday 21 July 2022 08:04:32 +0000 (0:00:00.040) 0:03:39.407 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-md.yml:12 Thursday 21 July 2022 08:04:32 +0000 (0:00:00.022) 0:03:39.429 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-md.yml:16 Thursday 21 July 2022 08:04:32 +0000 (0:00:00.021) 0:03:39.450 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-md.yml:20 Thursday 21 July 2022 08:04:32 +0000 (0:00:00.021) 0:03:39.472 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-md.yml:24 Thursday 21 July 2022 08:04:32 +0000 (0:00:00.022) 0:03:39.494 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-md.yml:30 Thursday 21 July 2022 08:04:32 +0000 (0:00:00.021) 0:03:39.515 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpa3egnbq5/tests/verify-pool-md.yml:36 Thursday 21 July 2022 08:04:32 +0000 (0:00:00.022) 0:03:39.538 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-md.yml:44 Thursday 21 July 2022 08:04:33 +0000 (0:00:00.022) 0:03:39.560 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "storage_test_md_active_devices_re": null, "storage_test_md_metadata_version_re": null, "storage_test_md_spare_devices_re": null }, "changed": false } TASK [Check LVM RAID] ********************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-pool-members.yml:59 Thursday 21 July 2022 08:04:33 +0000 (0:00:00.033) 0:03:39.593 ********* included: /tmp/tmpa3egnbq5/tests/verify-pool-members-lvmraid.yml for /cache/centos-8.qcow2 TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-members-lvmraid.yml:1 Thursday 21 July 2022 08:04:33 +0000 (0:00:00.041) 0:03:39.634 ********* included: /tmp/tmpa3egnbq5/tests/verify-pool-member-lvmraid.yml for /cache/centos-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test2', 'name': 'test1', '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'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-member-lvmraid.yml:3 Thursday 21 July 2022 08:04:33 +0000 (0:00:00.040) 0:03:39.675 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmpa3egnbq5/tests/verify-pool-member-lvmraid.yml:8 Thursday 21 July 2022 08:04:33 +0000 (0:00:00.025) 0:03:39.701 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-member-lvmraid.yml:12 Thursday 21 July 2022 08:04:33 +0000 (0:00:00.025) 0:03:39.727 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-pool-members.yml:62 Thursday 21 July 2022 08:04:33 +0000 (0:00:00.024) 0:03:39.751 ********* included: /tmp/tmpa3egnbq5/tests/verify-pool-members-thin.yml for /cache/centos-8.qcow2 TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-members-thin.yml:1 Thursday 21 July 2022 08:04:33 +0000 (0:00:00.042) 0:03:39.794 ********* included: /tmp/tmpa3egnbq5/tests/verify-pool-member-thin.yml for /cache/centos-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test2', 'name': 'test1', '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'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [Get information about thinpool] ****************************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-member-thin.yml:3 Thursday 21 July 2022 08:04:33 +0000 (0:00:00.040) 0:03:39.835 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in correct thinpool (when thinp name is provided)] *** task path: /tmp/tmpa3egnbq5/tests/verify-pool-member-thin.yml:8 Thursday 21 July 2022 08:04:33 +0000 (0:00:00.022) 0:03:39.857 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in thinpool (when thinp name is not provided)] ****** task path: /tmp/tmpa3egnbq5/tests/verify-pool-member-thin.yml:13 Thursday 21 July 2022 08:04:33 +0000 (0:00:00.048) 0:03:39.906 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-member-thin.yml:17 Thursday 21 July 2022 08:04:33 +0000 (0:00:00.022) 0:03:39.929 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-pool-members.yml:65 Thursday 21 July 2022 08:04:33 +0000 (0:00:00.021) 0:03:39.950 ********* included: /tmp/tmpa3egnbq5/tests/verify-pool-members-encryption.yml for /cache/centos-8.qcow2 TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-members-encryption.yml:4 Thursday 21 July 2022 08:04:33 +0000 (0:00:00.044) 0:03:39.995 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Validate pool member LUKS settings] ************************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-members-encryption.yml:8 Thursday 21 July 2022 08:04:33 +0000 (0:00:00.046) 0:03:40.041 ********* skipping: [/cache/centos-8.qcow2] => (item=/dev/sda) => { "_storage_test_pool_member_path": "/dev/sda", "ansible_loop_var": "_storage_test_pool_member_path", "changed": false, "skip_reason": "Conditional result was False" } TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-members-encryption.yml:15 Thursday 21 July 2022 08:04:33 +0000 (0:00:00.025) 0:03:40.067 ********* included: /tmp/tmpa3egnbq5/tests/verify-pool-member-crypttab.yml for /cache/centos-8.qcow2 => (item=/dev/sda) TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-member-crypttab.yml:1 Thursday 21 July 2022 08:04:33 +0000 (0:00:00.039) 0:03:40.107 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": [] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpa3egnbq5/tests/verify-pool-member-crypttab.yml:6 Thursday 21 July 2022 08:04:33 +0000 (0:00:00.045) 0:03:40.152 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpa3egnbq5/tests/verify-pool-member-crypttab.yml:11 Thursday 21 July 2022 08:04:33 +0000 (0:00:00.045) 0:03:40.198 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-member-crypttab.yml:17 Thursday 21 July 2022 08:04:33 +0000 (0:00:00.035) 0:03:40.233 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-member-crypttab.yml:23 Thursday 21 July 2022 08:04:33 +0000 (0:00:00.033) 0:03:40.266 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-member-crypttab.yml:29 Thursday 21 July 2022 08:04:33 +0000 (0:00:00.033) 0:03:40.300 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-members-encryption.yml:22 Thursday 21 July 2022 08:04:33 +0000 (0:00:00.033) 0:03:40.333 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-pool-members.yml:68 Thursday 21 July 2022 08:04:33 +0000 (0:00:00.034) 0:03:40.368 ********* included: /tmp/tmpa3egnbq5/tests/verify-pool-members-vdo.yml for /cache/centos-8.qcow2 TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-members-vdo.yml:1 Thursday 21 July 2022 08:04:33 +0000 (0:00:00.045) 0:03:40.414 ********* included: /tmp/tmpa3egnbq5/tests/verify-pool-member-vdo.yml for /cache/centos-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test2', 'name': 'test1', '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'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmpa3egnbq5/tests/verify-pool-member-vdo.yml:3 Thursday 21 July 2022 08:04:33 +0000 (0:00:00.043) 0:03:40.458 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-member-vdo.yml:8 Thursday 21 July 2022 08:04:33 +0000 (0:00:00.022) 0:03:40.480 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-member-vdo.yml:11 Thursday 21 July 2022 08:04:33 +0000 (0:00:00.022) 0:03:40.503 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-member-vdo.yml:16 Thursday 21 July 2022 08:04:33 +0000 (0:00:00.023) 0:03:40.526 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-member-vdo.yml:21 Thursday 21 July 2022 08:04:34 +0000 (0:00:00.022) 0:03:40.549 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-member-vdo.yml:24 Thursday 21 July 2022 08:04:34 +0000 (0:00:00.022) 0:03:40.571 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-member-vdo.yml:29 Thursday 21 July 2022 08:04:34 +0000 (0:00:00.022) 0:03:40.593 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-member-vdo.yml:39 Thursday 21 July 2022 08:04:34 +0000 (0:00:00.023) 0:03:40.617 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-pool-members.yml:71 Thursday 21 July 2022 08:04:34 +0000 (0:00:00.032) 0:03:40.649 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "__pvs_lvm_len": null, "_storage_test_expected_pv_count": null, "_storage_test_expected_pv_type": null, "_storage_test_pool_pvs": [], "_storage_test_pool_pvs_lvm": [] }, "changed": false } TASK [verify the volumes] ****************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-pool-volumes.yml:3 Thursday 21 July 2022 08:04:34 +0000 (0:00:00.032) 0:03:40.682 ********* included: /tmp/tmpa3egnbq5/tests/test-verify-volume.yml for /cache/centos-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test2', 'name': 'test1', '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'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume.yml:2 Thursday 21 July 2022 08:04:34 +0000 (0:00:00.041) 0:03:40.723 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_test_volume_present": true, "_storage_volume_tests": [ "mount", "fstab", "fs", "device", "encryption", "md", "size", "cache" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume.yml:10 Thursday 21 July 2022 08:04:34 +0000 (0:00:00.046) 0:03:40.769 ********* included: /tmp/tmpa3egnbq5/tests/test-verify-volume-mount.yml for /cache/centos-8.qcow2 => (item=mount) included: /tmp/tmpa3egnbq5/tests/test-verify-volume-fstab.yml for /cache/centos-8.qcow2 => (item=fstab) included: /tmp/tmpa3egnbq5/tests/test-verify-volume-fs.yml for /cache/centos-8.qcow2 => (item=fs) included: /tmp/tmpa3egnbq5/tests/test-verify-volume-device.yml for /cache/centos-8.qcow2 => (item=device) included: /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml for /cache/centos-8.qcow2 => (item=encryption) included: /tmp/tmpa3egnbq5/tests/test-verify-volume-md.yml for /cache/centos-8.qcow2 => (item=md) included: /tmp/tmpa3egnbq5/tests/test-verify-volume-size.yml for /cache/centos-8.qcow2 => (item=size) included: /tmp/tmpa3egnbq5/tests/test-verify-volume-cache.yml for /cache/centos-8.qcow2 => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-mount.yml:6 Thursday 21 July 2022 08:04:34 +0000 (0:00:00.072) 0:03:40.842 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/foo-test1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-mount.yml:14 Thursday 21 July 2022 08:04:34 +0000 (0:00:00.037) 0:03:40.880 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 770146, "block_size": 4096, "block_total": 783872, "block_used": 13726, "device": "/dev/mapper/foo-test1", "fstype": "xfs", "inode_available": 1572861, "inode_total": 1572864, "inode_used": 3, "mount": "/opt/test2", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota", "size_available": 3154518016, "size_total": 3210739712, "uuid": "d7f9718a-bc30-4e0b-9b9d-29db6fad33b8" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 770146, "block_size": 4096, "block_total": 783872, "block_used": 13726, "device": "/dev/mapper/foo-test1", "fstype": "xfs", "inode_available": 1572861, "inode_total": 1572864, "inode_used": 3, "mount": "/opt/test2", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota", "size_available": 3154518016, "size_total": 3210739712, "uuid": "d7f9718a-bc30-4e0b-9b9d-29db6fad33b8" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-mount.yml:28 Thursday 21 July 2022 08:04:34 +0000 (0:00:00.053) 0:03:40.934 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-mount.yml:37 Thursday 21 July 2022 08:04:34 +0000 (0:00:00.047) 0:03:40.982 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-mount.yml:45 Thursday 21 July 2022 08:04:34 +0000 (0:00:00.082) 0:03:41.064 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-mount.yml:54 Thursday 21 July 2022 08:04:34 +0000 (0:00:00.114) 0:03:41.178 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-mount.yml:58 Thursday 21 July 2022 08:04:34 +0000 (0:00:00.023) 0:03:41.201 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-mount.yml:63 Thursday 21 July 2022 08:04:34 +0000 (0:00:00.023) 0:03:41.225 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-mount.yml:75 Thursday 21 July 2022 08:04:34 +0000 (0:00:00.023) 0:03:41.248 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "storage_test_mount_device_matches": null, "storage_test_mount_expected_match_count": null, "storage_test_mount_point_matches": null, "storage_test_swap_expected_matches": null, "storage_test_swaps": null, "storage_test_sys_node": null }, "changed": false } TASK [Set some variables for fstab checking] *********************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 08:04:34 +0000 (0:00:00.035) 0:03:41.283 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "1", "storage_test_fstab_expected_mount_options_matches": "1", "storage_test_fstab_expected_mount_point_matches": "1", "storage_test_fstab_id_matches": [ "/dev/mapper/foo-test1 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test2 xfs defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test2 " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 08:04:34 +0000 (0:00:00.059) 0:03:41.343 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-fstab.yml:32 Thursday 21 July 2022 08:04:34 +0000 (0:00:00.050) 0:03:41.394 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-fstab.yml:39 Thursday 21 July 2022 08:04:34 +0000 (0:00:00.051) 0:03:41.446 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-fstab.yml:49 Thursday 21 July 2022 08:04:34 +0000 (0:00:00.035) 0:03:41.481 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": null, "storage_test_fstab_expected_mount_options_matches": null, "storage_test_fstab_expected_mount_point_matches": null, "storage_test_fstab_id_matches": null, "storage_test_fstab_mount_options_matches": null, "storage_test_fstab_mount_point_matches": null }, "changed": false } TASK [Verify fs type] ********************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-fs.yml:4 Thursday 21 July 2022 08:04:34 +0000 (0:00:00.034) 0:03:41.516 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-fs.yml:10 Thursday 21 July 2022 08:04:35 +0000 (0:00:00.039) 0:03:41.555 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-device.yml:4 Thursday 21 July 2022 08:04:35 +0000 (0:00:00.043) 0:03:41.599 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "stat": { "atime": 1658390633.4044394, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658390633.4044394, "dev": 6, "device_type": 64768, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 97489, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1658390633.4044394, "nlink": 1, "path": "/dev/mapper/foo-test1", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-device.yml:10 Thursday 21 July 2022 08:04:35 +0000 (0:00:00.373) 0:03:41.973 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-device.yml:18 Thursday 21 July 2022 08:04:35 +0000 (0:00:00.036) 0:03:42.009 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-device.yml:24 Thursday 21 July 2022 08:04:35 +0000 (0:00:00.037) 0:03:42.047 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-device.yml:28 Thursday 21 July 2022 08:04:35 +0000 (0:00:00.036) 0:03:42.084 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-device.yml:33 Thursday 21 July 2022 08:04:35 +0000 (0:00:00.023) 0:03:42.107 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 08:04:35 +0000 (0:00:00.038) 0:03:42.146 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 08:04:35 +0000 (0:00:00.022) 0:03:42.168 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 08:04:37 +0000 (0:00:01.963) 0:03:44.132 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 08:04:37 +0000 (0:00:00.023) 0:03:44.156 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the raw device is the same as the device if not encrypted] *** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:30 Thursday 21 July 2022 08:04:37 +0000 (0:00:00.022) 0:03:44.178 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:38 Thursday 21 July 2022 08:04:37 +0000 (0:00:00.052) 0:03:44.230 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 08:04:37 +0000 (0:00:00.022) 0:03:44.253 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:49 Thursday 21 July 2022 08:04:37 +0000 (0:00:00.022) 0:03:44.276 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:55 Thursday 21 July 2022 08:04:37 +0000 (0:00:00.022) 0:03:44.299 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:61 Thursday 21 July 2022 08:04:37 +0000 (0:00:00.024) 0:03:44.323 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 08:04:37 +0000 (0:00:00.023) 0:03:44.347 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": [], "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:74 Thursday 21 July 2022 08:04:37 +0000 (0:00:00.049) 0:03:44.397 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:79 Thursday 21 July 2022 08:04:37 +0000 (0:00:00.058) 0:03:44.455 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:85 Thursday 21 July 2022 08:04:37 +0000 (0:00:00.056) 0:03:44.512 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:91 Thursday 21 July 2022 08:04:38 +0000 (0:00:00.038) 0:03:44.551 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:97 Thursday 21 July 2022 08:04:38 +0000 (0:00:00.036) 0:03:44.588 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_expected_crypttab_entries": null, "_storage_test_expected_crypttab_key_file": null }, "changed": false } TASK [get information about RAID] ********************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-md.yml:7 Thursday 21 July 2022 08:04:38 +0000 (0:00:00.036) 0:03:44.624 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-md.yml:13 Thursday 21 July 2022 08:04:38 +0000 (0:00:00.036) 0:03:44.661 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-md.yml:17 Thursday 21 July 2022 08:04:38 +0000 (0:00:00.036) 0:03:44.697 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-md.yml:21 Thursday 21 July 2022 08:04:38 +0000 (0:00:00.036) 0:03:44.733 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-md.yml:25 Thursday 21 July 2022 08:04:38 +0000 (0:00:00.037) 0:03:44.770 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-md.yml:31 Thursday 21 July 2022 08:04:38 +0000 (0:00:00.071) 0:03:44.842 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-md.yml:37 Thursday 21 July 2022 08:04:38 +0000 (0:00:00.036) 0:03:44.879 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-size.yml:3 Thursday 21 July 2022 08:04:38 +0000 (0:00:00.036) 0:03:44.916 ********* ok: [/cache/centos-8.qcow2] => { "bytes": 3221225472, "changed": false, "lvm": "3g", "parted": "3GiB", "size": "3 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-size.yml:9 Thursday 21 July 2022 08:04:38 +0000 (0:00:00.367) 0:03:45.283 ********* ok: [/cache/centos-8.qcow2] => { "bytes": 3221225472, "changed": false, "lvm": "3g", "parted": "3GiB", "size": "3 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-size.yml:15 Thursday 21 July 2022 08:04:39 +0000 (0:00:00.375) 0:03:45.659 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "storage_test_expected_size": "3221225472" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-size.yml:20 Thursday 21 July 2022 08:04:39 +0000 (0:00:00.048) 0:03:45.707 ********* ok: [/cache/centos-8.qcow2] => { "storage_test_expected_size": "3221225472" } TASK [debug] ******************************************************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-size.yml:25 Thursday 21 July 2022 08:04:39 +0000 (0:00:00.034) 0:03:45.742 ********* skipping: [/cache/centos-8.qcow2] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-size.yml:28 Thursday 21 July 2022 08:04:39 +0000 (0:00:00.034) 0:03:45.777 ********* skipping: [/cache/centos-8.qcow2] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-size.yml:31 Thursday 21 July 2022 08:04:39 +0000 (0:00:00.035) 0:03:45.812 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-size.yml:36 Thursday 21 July 2022 08:04:39 +0000 (0:00:00.034) 0:03:45.847 ********* skipping: [/cache/centos-8.qcow2] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-size.yml:39 Thursday 21 July 2022 08:04:39 +0000 (0:00:00.036) 0:03:45.883 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-size.yml:44 Thursday 21 July 2022 08:04:39 +0000 (0:00:00.035) 0:03:45.918 ********* ok: [/cache/centos-8.qcow2] => { "storage_test_actual_size": { "bytes": 3221225472, "changed": false, "failed": false, "lvm": "3g", "parted": "3GiB", "size": "3 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-size.yml:47 Thursday 21 July 2022 08:04:39 +0000 (0:00:00.035) 0:03:45.954 ********* ok: [/cache/centos-8.qcow2] => { "storage_test_expected_size": "3221225472" } TASK [assert] ****************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-size.yml:50 Thursday 21 July 2022 08:04:39 +0000 (0:00:00.038) 0:03:45.992 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-cache.yml:6 Thursday 21 July 2022 08:04:39 +0000 (0:00:00.051) 0:03:46.044 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "cmd": [ "lvs", "--noheadings", "--nameprefixes", "--units=b", "--nosuffix", "--unquoted", "-o", "name,attr,cache_total_blocks,chunk_size,segtype", "foo/test1" ], "delta": "0:00:00.035052", "end": "2022-07-21 08:04:39.701946", "rc": 0, "start": "2022-07-21 08:04:39.666894" } STDOUT: LVM2_LV_NAME=test1 LVM2_LV_ATTR=-wi-ao---- LVM2_CACHE_TOTAL_BLOCKS= LVM2_CHUNK_SIZE=0 LVM2_SEGTYPE=linear TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-cache.yml:14 Thursday 21 July 2022 08:04:39 +0000 (0:00:00.416) 0:03:46.460 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "storage_test_lv_segtype": [ "linear" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-cache.yml:17 Thursday 21 July 2022 08:04:39 +0000 (0:00:00.048) 0:03:46.509 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-cache.yml:22 Thursday 21 July 2022 08:04:40 +0000 (0:00:00.054) 0:03:46.563 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-cache.yml:26 Thursday 21 July 2022 08:04:40 +0000 (0:00:00.038) 0:03:46.601 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-cache.yml:32 Thursday 21 July 2022 08:04:40 +0000 (0:00:00.037) 0:03:46.639 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-cache.yml:36 Thursday 21 July 2022 08:04:40 +0000 (0:00:00.037) 0:03:46.677 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume.yml:16 Thursday 21 July 2022 08:04:40 +0000 (0:00:00.040) 0:03:46.717 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpa3egnbq5/tests/verify-role-results.yml:43 Thursday 21 July 2022 08:04:40 +0000 (0:00:00.033) 0:03:46.751 ********* TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpa3egnbq5/tests/verify-role-results.yml:53 Thursday 21 July 2022 08:04:40 +0000 (0:00:00.022) 0:03:46.773 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Clean up] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/tests_change_mount.yml:69 Thursday 21 July 2022 08:04:40 +0000 (0:00:00.037) 0:03:46.810 ********* TASK [linux-system-roles.storage : set platform/version specific variables] **** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Thursday 21 July 2022 08:04:40 +0000 (0:00:00.060) 0:03:46.870 ********* included: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/set_vars.yml for /cache/centos-8.qcow2 TASK [linux-system-roles.storage : Ensure ansible_facts used by role] ********** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Thursday 21 July 2022 08:04:40 +0000 (0:00:00.067) 0:03:46.938 ********* ok: [/cache/centos-8.qcow2] TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Thursday 21 July 2022 08:04:40 +0000 (0:00:00.526) 0:03:47.464 ********* skipping: [/cache/centos-8.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [/cache/centos-8.qcow2] => (item=CentOS_8.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs" ] }, "ansible_included_var_files": [ "/tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } ok: [/cache/centos-8.qcow2] => (item=CentOS_8.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs" ] }, "ansible_included_var_files": [ "/tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } TASK [linux-system-roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Thursday 21 July 2022 08:04:40 +0000 (0:00:00.071) 0:03:47.536 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [linux-system-roles.storage : define an empty list of volumes to be used in testing] *** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Thursday 21 July 2022 08:04:41 +0000 (0:00:00.035) 0:03:47.571 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : include the appropriate provider tasks] ***** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Thursday 21 July 2022 08:04:41 +0000 (0:00:00.035) 0:03:47.606 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml for /cache/centos-8.qcow2 TASK [linux-system-roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 08:04:41 +0000 (0:00:00.045) 0:03:47.652 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure blivet is available] ************** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 08:04:41 +0000 (0:00:00.020) 0:03:47.672 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : show storage_pools] ************************* task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:14 Thursday 21 July 2022 08:04:41 +0000 (0:00:00.030) 0:03:47.702 ********* ok: [/cache/centos-8.qcow2] => { "storage_pools": [ { "disks": [ "sda" ], "name": "foo", "state": "absent", "volumes": [ { "mount_point": "/opt/test2", "name": "test1", "size": "3g" } ] } ] } TASK [linux-system-roles.storage : show storage_volumes] *********************** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:19 Thursday 21 July 2022 08:04:41 +0000 (0:00:00.036) 0:03:47.738 ********* ok: [/cache/centos-8.qcow2] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [linux-system-roles.storage : get required packages] ********************** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:24 Thursday 21 July 2022 08:04:41 +0000 (0:00:00.036) 0:03:47.774 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : enable copr repositories if needed] ********* task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:37 Thursday 21 July 2022 08:04:41 +0000 (0:00:00.027) 0:03:47.802 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure required packages are installed] *** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:44 Thursday 21 July 2022 08:04:41 +0000 (0:00:00.030) 0:03:47.832 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : get service facts] ************************** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 Thursday 21 July 2022 08:04:41 +0000 (0:00:00.027) 0:03:47.859 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set storage_cryptsetup_services] ************ task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 08:04:41 +0000 (0:00:00.027) 0:03:47.886 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [linux-system-roles.storage : Mask the systemd cryptsetup services] ******* task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:71 Thursday 21 July 2022 08:04:41 +0000 (0:00:00.060) 0:03:47.946 ********* TASK [linux-system-roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Thursday 21 July 2022 08:04:41 +0000 (0:00:00.021) 0:03:47.968 ********* changed: [/cache/centos-8.qcow2] => { "actions": [ { "action": "destroy format", "device": "/dev/mapper/foo-test1", "fs_type": "xfs" }, { "action": "destroy device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "destroy device", "device": "/dev/foo", "fs_type": null }, { "action": "destroy format", "device": "/dev/sda", "fs_type": "lvmpv" } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb", "/dev/vdc", "/dev/vdd" ], "mounts": [ { "fstype": "xfs", "path": "/opt/test2", "src": "/dev/mapper/foo-test1", "state": "absent" } ], "packages": [ "xfsprogs" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "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/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:91 Thursday 21 July 2022 08:04:43 +0000 (0:00:01.723) 0:03:49.692 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Unmask the systemd cryptsetup services] ***** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:103 Thursday 21 July 2022 08:04:43 +0000 (0:00:00.036) 0:03:49.728 ********* TASK [linux-system-roles.storage : show blivet_output] ************************* task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:109 Thursday 21 July 2022 08:04:43 +0000 (0:00:00.021) 0:03:49.750 ********* ok: [/cache/centos-8.qcow2] => { "blivet_output": { "actions": [ { "action": "destroy format", "device": "/dev/mapper/foo-test1", "fs_type": "xfs" }, { "action": "destroy device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "destroy device", "device": "/dev/foo", "fs_type": null }, { "action": "destroy format", "device": "/dev/sda", "fs_type": "lvmpv" } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb", "/dev/vdc", "/dev/vdd" ], "mounts": [ { "fstype": "xfs", "path": "/opt/test2", "src": "/dev/mapper/foo-test1", "state": "absent" } ], "packages": [ "xfsprogs" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "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/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:114 Thursday 21 July 2022 08:04:43 +0000 (0:00:00.075) 0:03:49.825 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "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/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:118 Thursday 21 July 2022 08:04:43 +0000 (0:00:00.040) 0:03:49.866 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : remove obsolete mounts] ********************* task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:134 Thursday 21 July 2022 08:04:43 +0000 (0:00:00.036) 0:03:49.902 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/centos-8.qcow2] => (item={'src': '/dev/mapper/foo-test1', 'path': '/opt/test2', 'state': 'absent', 'fstype': 'xfs'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "xfs", "mount_info": { "fstype": "xfs", "path": "/opt/test2", "src": "/dev/mapper/foo-test1", "state": "absent" }, "name": "/opt/test2", "opts": "defaults", "passno": "0", "src": "/dev/mapper/foo-test1" } TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:146 Thursday 21 July 2022 08:04:43 +0000 (0:00:00.426) 0:03:50.329 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : set up new/current mounts] ****************** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:151 Thursday 21 July 2022 08:04:44 +0000 (0:00:00.637) 0:03:50.966 ********* TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:163 Thursday 21 July 2022 08:04:44 +0000 (0:00:00.044) 0:03:51.010 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:171 Thursday 21 July 2022 08:04:45 +0000 (0:00:00.668) 0:03:51.678 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "stat": { "atime": 1658390507.5094395, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1643141385.117, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 135, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "inode/x-empty", "mode": "0600", "mtime": 1643141019.537, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "3147672035", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [linux-system-roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:176 Thursday 21 July 2022 08:04:45 +0000 (0:00:00.415) 0:03:52.094 ********* TASK [linux-system-roles.storage : Update facts] ******************************* task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 Thursday 21 July 2022 08:04:45 +0000 (0:00:00.021) 0:03:52.115 ********* ok: [/cache/centos-8.qcow2] META: role_complete for /cache/centos-8.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmpa3egnbq5/tests/tests_change_mount.yml:82 Thursday 21 July 2022 08:04:46 +0000 (0:00:00.953) 0:03:53.069 ********* included: /tmp/tmpa3egnbq5/tests/verify-role-results.yml for /cache/centos-8.qcow2 TASK [Print out pool information] ********************************************** task path: /tmp/tmpa3egnbq5/tests/verify-role-results.yml:1 Thursday 21 July 2022 08:04:46 +0000 (0:00:00.046) 0:03:53.116 ********* ok: [/cache/centos-8.qcow2] => { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "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/tmpa3egnbq5/tests/verify-role-results.yml:6 Thursday 21 July 2022 08:04:46 +0000 (0:00:00.049) 0:03:53.165 ********* skipping: [/cache/centos-8.qcow2] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpa3egnbq5/tests/verify-role-results.yml:14 Thursday 21 July 2022 08:04:46 +0000 (0:00:00.044) 0:03:53.210 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "info": { "/dev/nvme0n1": { "fstype": "", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme1n1": { "fstype": "", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme2n1": { "fstype": "", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda": { "fstype": "", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdb": { "fstype": "", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdc": { "fstype": "", "label": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sr0": { "fstype": "iso9660", "label": "cidata", "name": "/dev/sr0", "size": "364K", "type": "rom", "uuid": "2022-07-21-08-00-33-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "xfs", "label": "", "name": "/dev/vda1", "size": "10G", "type": "partition", "uuid": "395b9844-e404-4857-afbb-c6edccaf72f3" }, "/dev/vdb": { "fstype": "", "label": "", "name": "/dev/vdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vdc": { "fstype": "", "label": "", "name": "/dev/vdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vdd": { "fstype": "", "label": "", "name": "/dev/vdd", "size": "10G", "type": "disk", "uuid": "" } } } TASK [Read the /etc/fstab file for volume existence] *************************** task path: /tmp/tmpa3egnbq5/tests/verify-role-results.yml:19 Thursday 21 July 2022 08:04:47 +0000 (0:00:00.388) 0:03:53.598 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.002827", "end": "2022-07-21 08:04:47.212582", "rc": 0, "start": "2022-07-21 08:04:47.209755" } STDOUT: # # /etc/fstab # Created by anaconda on Tue Jan 25 20:03:39 2022 # # Accessible filesystems, by reference, are maintained under '/dev/disk/'. # See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info. # # After editing this file, run 'systemctl daemon-reload' to update systemd # units generated from this file. # UUID=395b9844-e404-4857-afbb-c6edccaf72f3 / xfs defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpa3egnbq5/tests/verify-role-results.yml:24 Thursday 21 July 2022 08:04:47 +0000 (0:00:00.363) 0:03:53.962 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.003477", "end": "2022-07-21 08:04:47.575470", "failed_when_result": false, "rc": 0, "start": "2022-07-21 08:04:47.571993" } TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmpa3egnbq5/tests/verify-role-results.yml:33 Thursday 21 July 2022 08:04:47 +0000 (0:00:00.365) 0:03:54.327 ********* included: /tmp/tmpa3egnbq5/tests/test-verify-pool.yml for /cache/centos-8.qcow2 => (item={'disks': ['sda'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'name': 'foo', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'state': 'absent', 'type': 'lvm', 'volumes': [{'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test2', 'name': 'test1', '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'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1'}], 'raid_chunk_size': None}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-pool.yml:5 Thursday 21 July 2022 08:04:47 +0000 (0:00:00.057) 0:03:54.384 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-pool.yml:18 Thursday 21 July 2022 08:04:47 +0000 (0:00:00.065) 0:03:54.449 ********* included: /tmp/tmpa3egnbq5/tests/test-verify-pool-members.yml for /cache/centos-8.qcow2 => (item=members) included: /tmp/tmpa3egnbq5/tests/test-verify-pool-volumes.yml for /cache/centos-8.qcow2 => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-pool-members.yml:1 Thursday 21 July 2022 08:04:47 +0000 (0:00:00.043) 0:03:54.492 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_count": "0", "_storage_test_pool_pvs_lvm": [] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmpa3egnbq5/tests/test-verify-pool-members.yml:10 Thursday 21 July 2022 08:04:48 +0000 (0:00:00.109) 0:03:54.602 ********* TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-pool-members.yml:19 Thursday 21 July 2022 08:04:48 +0000 (0:00:00.020) 0:03:54.622 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "__pvs_lvm_len": "0" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-pool-members.yml:23 Thursday 21 July 2022 08:04:48 +0000 (0:00:00.048) 0:03:54.670 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_test_pool_pvs": [] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-pool-members.yml:27 Thursday 21 July 2022 08:04:48 +0000 (0:00:00.050) 0:03:54.721 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-pool-members.yml:34 Thursday 21 July 2022 08:04:48 +0000 (0:00:00.046) 0:03:54.768 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-pool-members.yml:38 Thursday 21 July 2022 08:04:48 +0000 (0:00:00.035) 0:03:54.803 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-pool-members.yml:42 Thursday 21 July 2022 08:04:48 +0000 (0:00:00.047) 0:03:54.851 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-pool-members.yml:46 Thursday 21 July 2022 08:04:48 +0000 (0:00:00.024) 0:03:54.875 ********* TASK [Check MD RAID] *********************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-pool-members.yml:56 Thursday 21 July 2022 08:04:48 +0000 (0:00:00.020) 0:03:54.895 ********* included: /tmp/tmpa3egnbq5/tests/verify-pool-md.yml for /cache/centos-8.qcow2 TASK [get information about RAID] ********************************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-md.yml:6 Thursday 21 July 2022 08:04:48 +0000 (0:00:00.040) 0:03:54.936 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-md.yml:12 Thursday 21 July 2022 08:04:48 +0000 (0:00:00.022) 0:03:54.958 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-md.yml:16 Thursday 21 July 2022 08:04:48 +0000 (0:00:00.022) 0:03:54.980 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-md.yml:20 Thursday 21 July 2022 08:04:48 +0000 (0:00:00.022) 0:03:55.002 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-md.yml:24 Thursday 21 July 2022 08:04:48 +0000 (0:00:00.023) 0:03:55.025 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-md.yml:30 Thursday 21 July 2022 08:04:48 +0000 (0:00:00.021) 0:03:55.047 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpa3egnbq5/tests/verify-pool-md.yml:36 Thursday 21 July 2022 08:04:48 +0000 (0:00:00.021) 0:03:55.068 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-md.yml:44 Thursday 21 July 2022 08:04:48 +0000 (0:00:00.022) 0:03:55.091 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "storage_test_md_active_devices_re": null, "storage_test_md_metadata_version_re": null, "storage_test_md_spare_devices_re": null }, "changed": false } TASK [Check LVM RAID] ********************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-pool-members.yml:59 Thursday 21 July 2022 08:04:48 +0000 (0:00:00.034) 0:03:55.125 ********* included: /tmp/tmpa3egnbq5/tests/verify-pool-members-lvmraid.yml for /cache/centos-8.qcow2 TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-members-lvmraid.yml:1 Thursday 21 July 2022 08:04:48 +0000 (0:00:00.041) 0:03:55.166 ********* included: /tmp/tmpa3egnbq5/tests/verify-pool-member-lvmraid.yml for /cache/centos-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test2', 'name': 'test1', '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'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1'}) TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-member-lvmraid.yml:3 Thursday 21 July 2022 08:04:48 +0000 (0:00:00.041) 0:03:55.207 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmpa3egnbq5/tests/verify-pool-member-lvmraid.yml:8 Thursday 21 July 2022 08:04:48 +0000 (0:00:00.025) 0:03:55.233 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-member-lvmraid.yml:12 Thursday 21 July 2022 08:04:48 +0000 (0:00:00.025) 0:03:55.259 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-pool-members.yml:62 Thursday 21 July 2022 08:04:48 +0000 (0:00:00.025) 0:03:55.285 ********* included: /tmp/tmpa3egnbq5/tests/verify-pool-members-thin.yml for /cache/centos-8.qcow2 TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-members-thin.yml:1 Thursday 21 July 2022 08:04:48 +0000 (0:00:00.043) 0:03:55.328 ********* included: /tmp/tmpa3egnbq5/tests/verify-pool-member-thin.yml for /cache/centos-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test2', 'name': 'test1', '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'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1'}) TASK [Get information about thinpool] ****************************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-member-thin.yml:3 Thursday 21 July 2022 08:04:48 +0000 (0:00:00.040) 0:03:55.368 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in correct thinpool (when thinp name is provided)] *** task path: /tmp/tmpa3egnbq5/tests/verify-pool-member-thin.yml:8 Thursday 21 July 2022 08:04:48 +0000 (0:00:00.023) 0:03:55.392 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in thinpool (when thinp name is not provided)] ****** task path: /tmp/tmpa3egnbq5/tests/verify-pool-member-thin.yml:13 Thursday 21 July 2022 08:04:48 +0000 (0:00:00.022) 0:03:55.414 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-member-thin.yml:17 Thursday 21 July 2022 08:04:48 +0000 (0:00:00.022) 0:03:55.437 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-pool-members.yml:65 Thursday 21 July 2022 08:04:48 +0000 (0:00:00.021) 0:03:55.458 ********* included: /tmp/tmpa3egnbq5/tests/verify-pool-members-encryption.yml for /cache/centos-8.qcow2 TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-members-encryption.yml:4 Thursday 21 July 2022 08:04:48 +0000 (0:00:00.044) 0:03:55.503 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Validate pool member LUKS settings] ************************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-members-encryption.yml:8 Thursday 21 July 2022 08:04:49 +0000 (0:00:00.046) 0:03:55.550 ********* TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-members-encryption.yml:15 Thursday 21 July 2022 08:04:49 +0000 (0:00:00.019) 0:03:55.570 ********* TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-members-encryption.yml:22 Thursday 21 July 2022 08:04:49 +0000 (0:00:00.020) 0:03:55.590 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-pool-members.yml:68 Thursday 21 July 2022 08:04:49 +0000 (0:00:00.032) 0:03:55.622 ********* included: /tmp/tmpa3egnbq5/tests/verify-pool-members-vdo.yml for /cache/centos-8.qcow2 TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-members-vdo.yml:1 Thursday 21 July 2022 08:04:49 +0000 (0:00:00.046) 0:03:55.669 ********* included: /tmp/tmpa3egnbq5/tests/verify-pool-member-vdo.yml for /cache/centos-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test2', 'name': 'test1', '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'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1'}) TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmpa3egnbq5/tests/verify-pool-member-vdo.yml:3 Thursday 21 July 2022 08:04:49 +0000 (0:00:00.069) 0:03:55.739 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-member-vdo.yml:8 Thursday 21 July 2022 08:04:49 +0000 (0:00:00.023) 0:03:55.762 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-member-vdo.yml:11 Thursday 21 July 2022 08:04:49 +0000 (0:00:00.022) 0:03:55.785 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-member-vdo.yml:16 Thursday 21 July 2022 08:04:49 +0000 (0:00:00.023) 0:03:55.808 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-member-vdo.yml:21 Thursday 21 July 2022 08:04:49 +0000 (0:00:00.022) 0:03:55.830 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-member-vdo.yml:24 Thursday 21 July 2022 08:04:49 +0000 (0:00:00.022) 0:03:55.853 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-member-vdo.yml:29 Thursday 21 July 2022 08:04:49 +0000 (0:00:00.022) 0:03:55.875 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-member-vdo.yml:39 Thursday 21 July 2022 08:04:49 +0000 (0:00:00.023) 0:03:55.899 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-pool-members.yml:71 Thursday 21 July 2022 08:04:49 +0000 (0:00:00.032) 0:03:55.931 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "__pvs_lvm_len": null, "_storage_test_expected_pv_count": null, "_storage_test_expected_pv_type": null, "_storage_test_pool_pvs": [], "_storage_test_pool_pvs_lvm": [] }, "changed": false } TASK [verify the volumes] ****************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-pool-volumes.yml:3 Thursday 21 July 2022 08:04:49 +0000 (0:00:00.033) 0:03:55.964 ********* included: /tmp/tmpa3egnbq5/tests/test-verify-volume.yml for /cache/centos-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test2', 'name': 'test1', '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'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1'}) TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume.yml:2 Thursday 21 July 2022 08:04:49 +0000 (0:00:00.041) 0:03:56.006 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_test_volume_present": false, "_storage_volume_tests": [ "mount", "fstab", "fs", "device", "encryption", "md", "size", "cache" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume.yml:10 Thursday 21 July 2022 08:04:49 +0000 (0:00:00.046) 0:03:56.052 ********* included: /tmp/tmpa3egnbq5/tests/test-verify-volume-mount.yml for /cache/centos-8.qcow2 => (item=mount) included: /tmp/tmpa3egnbq5/tests/test-verify-volume-fstab.yml for /cache/centos-8.qcow2 => (item=fstab) included: /tmp/tmpa3egnbq5/tests/test-verify-volume-fs.yml for /cache/centos-8.qcow2 => (item=fs) included: /tmp/tmpa3egnbq5/tests/test-verify-volume-device.yml for /cache/centos-8.qcow2 => (item=device) included: /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml for /cache/centos-8.qcow2 => (item=encryption) included: /tmp/tmpa3egnbq5/tests/test-verify-volume-md.yml for /cache/centos-8.qcow2 => (item=md) included: /tmp/tmpa3egnbq5/tests/test-verify-volume-size.yml for /cache/centos-8.qcow2 => (item=size) included: /tmp/tmpa3egnbq5/tests/test-verify-volume-cache.yml for /cache/centos-8.qcow2 => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-mount.yml:6 Thursday 21 July 2022 08:04:49 +0000 (0:00:00.073) 0:03:56.126 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/foo-test1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-mount.yml:14 Thursday 21 July 2022 08:04:49 +0000 (0:00:00.039) 0:03:56.165 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "storage_test_mount_device_matches": [], "storage_test_mount_expected_match_count": "0", "storage_test_mount_point_matches": [], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-mount.yml:28 Thursday 21 July 2022 08:04:49 +0000 (0:00:00.053) 0:03:56.219 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-mount.yml:37 Thursday 21 July 2022 08:04:49 +0000 (0:00:00.022) 0:03:56.241 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-mount.yml:45 Thursday 21 July 2022 08:04:49 +0000 (0:00:00.046) 0:03:56.288 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [command] ***************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-mount.yml:54 Thursday 21 July 2022 08:04:49 +0000 (0:00:00.034) 0:03:56.322 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-mount.yml:58 Thursday 21 July 2022 08:04:49 +0000 (0:00:00.021) 0:03:56.344 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-mount.yml:63 Thursday 21 July 2022 08:04:49 +0000 (0:00:00.021) 0:03:56.365 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-mount.yml:75 Thursday 21 July 2022 08:04:49 +0000 (0:00:00.021) 0:03:56.386 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "storage_test_mount_device_matches": null, "storage_test_mount_expected_match_count": null, "storage_test_mount_point_matches": null, "storage_test_swap_expected_matches": null, "storage_test_swaps": null, "storage_test_sys_node": null }, "changed": false } TASK [Set some variables for fstab checking] *********************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 08:04:49 +0000 (0:00:00.034) 0:03:56.421 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "0", "storage_test_fstab_expected_mount_options_matches": "0", "storage_test_fstab_expected_mount_point_matches": "0", "storage_test_fstab_id_matches": [], "storage_test_fstab_mount_options_matches": [], "storage_test_fstab_mount_point_matches": [] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 08:04:49 +0000 (0:00:00.056) 0:03:56.477 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-fstab.yml:32 Thursday 21 July 2022 08:04:49 +0000 (0:00:00.023) 0:03:56.501 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-fstab.yml:39 Thursday 21 July 2022 08:04:50 +0000 (0:00:00.051) 0:03:56.553 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-fstab.yml:49 Thursday 21 July 2022 08:04:50 +0000 (0:00:00.037) 0:03:56.590 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": null, "storage_test_fstab_expected_mount_options_matches": null, "storage_test_fstab_expected_mount_point_matches": null, "storage_test_fstab_id_matches": null, "storage_test_fstab_mount_options_matches": null, "storage_test_fstab_mount_point_matches": null }, "changed": false } TASK [Verify fs type] ********************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-fs.yml:4 Thursday 21 July 2022 08:04:50 +0000 (0:00:00.033) 0:03:56.623 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify fs label] ********************************************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-fs.yml:10 Thursday 21 July 2022 08:04:50 +0000 (0:00:00.022) 0:03:56.646 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [See whether the device node is present] ********************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-device.yml:4 Thursday 21 July 2022 08:04:50 +0000 (0:00:00.021) 0:03:56.667 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "stat": { "exists": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-device.yml:10 Thursday 21 July 2022 08:04:50 +0000 (0:00:00.382) 0:03:57.050 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-device.yml:18 Thursday 21 July 2022 08:04:50 +0000 (0:00:00.069) 0:03:57.119 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-device.yml:24 Thursday 21 July 2022 08:04:50 +0000 (0:00:00.021) 0:03:57.141 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-device.yml:28 Thursday 21 July 2022 08:04:50 +0000 (0:00:00.065) 0:03:57.206 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-device.yml:33 Thursday 21 July 2022 08:04:50 +0000 (0:00:00.022) 0:03:57.229 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 08:04:50 +0000 (0:00:00.021) 0:03:57.250 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 08:04:50 +0000 (0:00:00.021) 0:03:57.272 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 08:04:52 +0000 (0:00:01.977) 0:03:59.249 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 08:04:52 +0000 (0:00:00.024) 0:03:59.274 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the raw device is the same as the device if not encrypted] *** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:30 Thursday 21 July 2022 08:04:52 +0000 (0:00:00.025) 0:03:59.300 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:38 Thursday 21 July 2022 08:04:52 +0000 (0:00:00.056) 0:03:59.357 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 08:04:52 +0000 (0:00:00.024) 0:03:59.382 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:49 Thursday 21 July 2022 08:04:52 +0000 (0:00:00.025) 0:03:59.407 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:55 Thursday 21 July 2022 08:04:52 +0000 (0:00:00.025) 0:03:59.433 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:61 Thursday 21 July 2022 08:04:52 +0000 (0:00:00.026) 0:03:59.459 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 08:04:52 +0000 (0:00:00.025) 0:03:59.484 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": [], "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:74 Thursday 21 July 2022 08:04:52 +0000 (0:00:00.054) 0:03:59.538 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:79 Thursday 21 July 2022 08:04:53 +0000 (0:00:00.050) 0:03:59.588 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:85 Thursday 21 July 2022 08:04:53 +0000 (0:00:00.034) 0:03:59.623 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:91 Thursday 21 July 2022 08:04:53 +0000 (0:00:00.034) 0:03:59.657 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:97 Thursday 21 July 2022 08:04:53 +0000 (0:00:00.033) 0:03:59.691 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_expected_crypttab_entries": null, "_storage_test_expected_crypttab_key_file": null }, "changed": false } TASK [get information about RAID] ********************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-md.yml:7 Thursday 21 July 2022 08:04:53 +0000 (0:00:00.040) 0:03:59.731 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-md.yml:13 Thursday 21 July 2022 08:04:53 +0000 (0:00:00.037) 0:03:59.768 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-md.yml:17 Thursday 21 July 2022 08:04:53 +0000 (0:00:00.034) 0:03:59.803 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-md.yml:21 Thursday 21 July 2022 08:04:53 +0000 (0:00:00.033) 0:03:59.837 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-md.yml:25 Thursday 21 July 2022 08:04:53 +0000 (0:00:00.035) 0:03:59.873 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-md.yml:31 Thursday 21 July 2022 08:04:53 +0000 (0:00:00.035) 0:03:59.909 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-md.yml:37 Thursday 21 July 2022 08:04:53 +0000 (0:00:00.035) 0:03:59.944 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-size.yml:3 Thursday 21 July 2022 08:04:53 +0000 (0:00:00.034) 0:03:59.979 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-size.yml:9 Thursday 21 July 2022 08:04:53 +0000 (0:00:00.025) 0:04:00.004 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-size.yml:15 Thursday 21 July 2022 08:04:53 +0000 (0:00:00.035) 0:04:00.040 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-size.yml:20 Thursday 21 July 2022 08:04:53 +0000 (0:00:00.035) 0:04:00.075 ********* ok: [/cache/centos-8.qcow2] => { "storage_test_expected_size": "3221225472" } TASK [debug] ******************************************************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-size.yml:25 Thursday 21 July 2022 08:04:53 +0000 (0:00:00.035) 0:04:00.110 ********* skipping: [/cache/centos-8.qcow2] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-size.yml:28 Thursday 21 July 2022 08:04:53 +0000 (0:00:00.036) 0:04:00.147 ********* skipping: [/cache/centos-8.qcow2] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-size.yml:31 Thursday 21 July 2022 08:04:53 +0000 (0:00:00.036) 0:04:00.183 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-size.yml:36 Thursday 21 July 2022 08:04:53 +0000 (0:00:00.035) 0:04:00.219 ********* skipping: [/cache/centos-8.qcow2] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-size.yml:39 Thursday 21 July 2022 08:04:53 +0000 (0:00:00.036) 0:04:00.255 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-size.yml:44 Thursday 21 July 2022 08:04:53 +0000 (0:00:00.036) 0:04:00.291 ********* ok: [/cache/centos-8.qcow2] => { "storage_test_actual_size": { "changed": false, "skip_reason": "Conditional result was False", "skipped": true } } TASK [debug] ******************************************************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-size.yml:47 Thursday 21 July 2022 08:04:53 +0000 (0:00:00.035) 0:04:00.326 ********* ok: [/cache/centos-8.qcow2] => { "storage_test_expected_size": "3221225472" } TASK [assert] ****************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-size.yml:50 Thursday 21 July 2022 08:04:53 +0000 (0:00:00.035) 0:04:00.362 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about the LV] ******************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-cache.yml:6 Thursday 21 July 2022 08:04:53 +0000 (0:00:00.024) 0:04:00.386 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-cache.yml:14 Thursday 21 July 2022 08:04:53 +0000 (0:00:00.026) 0:04:00.412 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check segment type] ****************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-cache.yml:17 Thursday 21 July 2022 08:04:53 +0000 (0:00:00.025) 0:04:00.438 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-cache.yml:22 Thursday 21 July 2022 08:04:53 +0000 (0:00:00.026) 0:04:00.465 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-cache.yml:26 Thursday 21 July 2022 08:04:53 +0000 (0:00:00.025) 0:04:00.490 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-cache.yml:32 Thursday 21 July 2022 08:04:53 +0000 (0:00:00.026) 0:04:00.517 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-cache.yml:36 Thursday 21 July 2022 08:04:53 +0000 (0:00:00.025) 0:04:00.543 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume.yml:16 Thursday 21 July 2022 08:04:54 +0000 (0:00:00.025) 0:04:00.568 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpa3egnbq5/tests/verify-role-results.yml:43 Thursday 21 July 2022 08:04:54 +0000 (0:00:00.037) 0:04:00.606 ********* TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpa3egnbq5/tests/verify-role-results.yml:53 Thursday 21 July 2022 08:04:54 +0000 (0:00:00.024) 0:04:00.630 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-8.qcow2 : ok=391 changed=9 unreachable=0 failed=0 skipped=311 rescued=0 ignored=0 Thursday 21 July 2022 08:04:54 +0000 (0:00:00.047) 0:04:00.678 ********* =============================================================================== linux-system-roles.storage : make sure blivet is available ------------ 166.41s /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 Ensure cryptsetup is present -------------------------------------------- 3.60s /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:10 ------------------- linux-system-roles.storage : make sure required packages are installed --- 2.02s /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:44 Ensure cryptsetup is present -------------------------------------------- 1.98s /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:10 ------------------- Ensure cryptsetup is present -------------------------------------------- 1.96s /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:10 ------------------- Ensure cryptsetup is present -------------------------------------------- 1.85s /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:10 ------------------- linux-system-roles.storage : get service facts -------------------------- 1.76s /tmp/tmpa3egnbq5/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.72s /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 linux-system-roles.storage : manage the pools and volumes to match the specified state --- 1.60s /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 linux-system-roles.storage : manage the pools and volumes to match the specified state --- 1.25s /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 linux-system-roles.storage : manage the pools and volumes to match the specified state --- 1.21s /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Gathering Facts --------------------------------------------------------- 1.15s /tmp/tmpa3egnbq5/tests/tests_change_mount.yml:2 ------------------------------- Enable HA repos --------------------------------------------------------- 1.02s /cache/centos-8_setup.yml:5 --------------------------------------------------- linux-system-roles.storage : Update facts ------------------------------- 0.99s /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 linux-system-roles.storage : Update facts ------------------------------- 0.97s /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 linux-system-roles.storage : Update facts ------------------------------- 0.95s /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 linux-system-roles.storage : Update facts ------------------------------- 0.95s /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 linux-system-roles.storage : Update facts ------------------------------- 0.92s /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab --- 0.89s /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:146 linux-system-roles.storage : get required packages ---------------------- 0.72s /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:24 ansible-playbook [core 2.12.6] config file = /etc/ansible/ansible.cfg configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python3.9/site-packages/ansible ansible collection location = /tmp/tmpu1heti3n executable location = /usr/bin/ansible-playbook python version = 3.9.13 (main, May 18 2022, 00:00:00) [GCC 11.3.1 20220421 (Red Hat 11.3.1-2)] jinja version = 2.11.3 libyaml = True Using /etc/ansible/ansible.cfg as config file Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: centos-8_setup.yml *************************************************** 1 plays in /cache/centos-8_setup.yml PLAY [Enable HA repos] ********************************************************* META: ran handlers TASK [Enable HA repos] ********************************************************* task path: /cache/centos-8_setup.yml:5 Thursday 21 July 2022 17:19:46 +0000 (0:00:00.018) 0:00:00.018 ********* changed: [/cache/centos-8.qcow2] => { "ansible_facts": { "discovered_interpreter_python": "/usr/libexec/platform-python" }, "changed": true, "cmd": [ "dnf", "config-manager", "--set-enabled", "ha" ], "delta": "0:00:00.371696", "end": "2022-07-21 17:19:46.047148", "rc": 0, "start": "2022-07-21 17:19:45.675452" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-8.qcow2 : ok=1 changed=1 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Thursday 21 July 2022 17:19:47 +0000 (0:00:01.029) 0:00:01.047 ********* =============================================================================== Enable HA repos --------------------------------------------------------- 1.03s /cache/centos-8_setup.yml:5 --------------------------------------------------- PLAYBOOK: tests_change_mount.yml *********************************************** 1 plays in /tmp/tmp_0pjp8ed/tests/storage/tests_change_mount.yml PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/tests_change_mount.yml:2 Thursday 21 July 2022 17:19:47 +0000 (0:00:00.013) 0:00:01.061 ********* ok: [/cache/centos-8.qcow2] META: ran handlers TASK [include_role : fedora.linux_system_roles.storage] ************************ task path: /tmp/tmp_0pjp8ed/tests/storage/tests_change_mount.yml:12 Thursday 21 July 2022 17:19:48 +0000 (0:00:01.110) 0:00:02.171 ********* TASK [fedora.linux_system_roles.storage : set platform/version specific variables] *** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Thursday 21 July 2022 17:19:48 +0000 (0:00:00.037) 0:00:02.208 ********* included: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for /cache/centos-8.qcow2 TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Thursday 21 July 2022 17:19:48 +0000 (0:00:00.029) 0:00:02.238 ********* ok: [/cache/centos-8.qcow2] TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Thursday 21 July 2022 17:19:49 +0000 (0:00:00.539) 0:00:02.778 ********* skipping: [/cache/centos-8.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [/cache/centos-8.qcow2] => (item=CentOS_8.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs" ] }, "ansible_included_var_files": [ "/tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } ok: [/cache/centos-8.qcow2] => (item=CentOS_8.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs" ] }, "ansible_included_var_files": [ "/tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } TASK [fedora.linux_system_roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Thursday 21 July 2022 17:19:49 +0000 (0:00:00.065) 0:00:02.843 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : define an empty list of volumes to be used in testing] *** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Thursday 21 July 2022 17:19:49 +0000 (0:00:00.031) 0:00:02.875 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : include the appropriate provider tasks] *** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Thursday 21 July 2022 17:19:49 +0000 (0:00:00.031) 0:00:02.907 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for /cache/centos-8.qcow2 TASK [fedora.linux_system_roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 17:19:49 +0000 (0:00:00.054) 0:00:02.961 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure blivet is available] ******* task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 17:19:49 +0000 (0:00:00.016) 0:00:02.978 ********* changed: [/cache/centos-8.qcow2] => { "changed": true, "rc": 0, "results": [ "Installed: ndctl-71.1-4.el8.x86_64", "Installed: libblockdev-loop-2.24-8.el8.x86_64", "Installed: ndctl-libs-71.1-4.el8.x86_64", "Installed: libblockdev-lvm-2.24-8.el8.x86_64", "Installed: lvm2-libs-8:2.03.14-2.el8.x86_64", "Installed: device-mapper-multipath-libs-0.8.4-20.el8.x86_64", "Installed: nss-softokn-freebl-3.79.0-5.el8.x86_64", "Installed: kernel-modules-4.18.0-408.el8.x86_64", "Installed: daxctl-libs-71.1-4.el8.x86_64", "Installed: libblockdev-mdraid-2.24-8.el8.x86_64", "Installed: libblockdev-mpath-2.24-8.el8.x86_64", "Installed: device-mapper-persistent-data-0.9.0-7.el8.x86_64", "Installed: nss-sysinit-3.79.0-5.el8.x86_64", "Installed: libblockdev-nvdimm-2.24-8.el8.x86_64", "Installed: userspace-rcu-0.10.1-4.el8.x86_64", "Installed: libblockdev-part-2.24-8.el8.x86_64", "Installed: nss-util-3.79.0-5.el8.x86_64", "Installed: libblockdev-swap-2.24-8.el8.x86_64", "Installed: vdo-6.2.6.14-14.el8.x86_64", "Installed: libblockdev-utils-2.24-8.el8.x86_64", "Installed: linux-firmware-20220713-109.gitdfa29317.el8.noarch", "Installed: nspr-4.34.0-3.el8.x86_64", "Installed: mdadm-4.2-3.el8.x86_64", "Installed: python3-pyparted-1:3.11.7-4.el8.x86_64", "Installed: device-mapper-event-8:1.02.181-2.el8.x86_64", "Installed: libbytesize-1.4-3.el8.x86_64", "Installed: libblockdev-2.24-8.el8.x86_64", "Installed: nss-3.79.0-5.el8.x86_64", "Installed: python3-blivet-1:3.4.0-12.el8.noarch", "Installed: kernel-core-4.18.0-408.el8.x86_64", "Installed: libblockdev-crypto-2.24-8.el8.x86_64", "Installed: device-mapper-event-libs-8:1.02.181-2.el8.x86_64", "Installed: lsof-4.93.2-1.el8.x86_64", "Installed: libblockdev-dm-2.24-8.el8.x86_64", "Installed: python3-blockdev-2.24-8.el8.x86_64", "Installed: volume_key-libs-0.3.11-5.el8.x86_64", "Installed: blivet-data-1:3.4.0-12.el8.noarch", "Installed: python3-bytesize-1.4-3.el8.x86_64", "Installed: lvm2-8:2.03.14-2.el8.x86_64", "Installed: libblockdev-fs-2.24-8.el8.x86_64", "Installed: kmod-kvdo-6.2.6.14-84.el8.x86_64", "Installed: libblockdev-kbd-2.24-8.el8.x86_64", "Installed: nss-softokn-3.79.0-5.el8.x86_64", "Installed: libaio-0.3.112-1.el8.x86_64", "Installed: device-mapper-multipath-0.8.4-20.el8.x86_64" ] } TASK [fedora.linux_system_roles.storage : show storage_pools] ****************** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:13 Thursday 21 July 2022 17:22:13 +0000 (0:02:24.550) 0:02:27.528 ********* ok: [/cache/centos-8.qcow2] => { "storage_pools": "VARIABLE IS NOT DEFINED!: 'storage_pools' is undefined" } TASK [fedora.linux_system_roles.storage : show storage_volumes] **************** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:18 Thursday 21 July 2022 17:22:13 +0000 (0:00:00.037) 0:02:27.566 ********* ok: [/cache/centos-8.qcow2] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [fedora.linux_system_roles.storage : get required packages] *************** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:23 Thursday 21 July 2022 17:22:14 +0000 (0:00:00.040) 0:02:27.606 ********* ok: [/cache/centos-8.qcow2] => { "actions": [], "changed": false, "crypts": [], "leaves": [], "mounts": [], "packages": [], "pools": [], "volumes": [] } TASK [fedora.linux_system_roles.storage : enable copr repositories if needed] *** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:35 Thursday 21 July 2022 17:22:14 +0000 (0:00:00.768) 0:02:28.375 ********* included: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/enable_coprs.yml for /cache/centos-8.qcow2 TASK [fedora.linux_system_roles.storage : check if the COPR support packages should be installed] *** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/enable_coprs.yml:2 Thursday 21 July 2022 17:22:14 +0000 (0:00:00.041) 0:02:28.416 ********* TASK [fedora.linux_system_roles.storage : make sure COPR support packages are present] *** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/enable_coprs.yml:13 Thursday 21 July 2022 17:22:14 +0000 (0:00:00.029) 0:02:28.446 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : enable COPRs] ************************ task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/enable_coprs.yml:18 Thursday 21 July 2022 17:22:14 +0000 (0:00:00.032) 0:02:28.478 ********* TASK [fedora.linux_system_roles.storage : make sure required packages are installed] *** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:41 Thursday 21 July 2022 17:22:14 +0000 (0:00:00.028) 0:02:28.507 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.storage : get service facts] ******************* task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 Thursday 21 July 2022 17:22:16 +0000 (0:00:01.951) 0:02:30.459 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "services": { "NetworkManager-dispatcher.service": { "name": "NetworkManager-dispatcher.service", "source": "systemd", "state": "inactive", "status": "enabled" }, "NetworkManager-wait-online.service": { "name": "NetworkManager-wait-online.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "NetworkManager.service": { "name": "NetworkManager.service", "source": "systemd", "state": "running", "status": "enabled" }, "auditd.service": { "name": "auditd.service", "source": "systemd", "state": "running", "status": "enabled" }, "auth-rpcgss-module.service": { "name": "auth-rpcgss-module.service", "source": "systemd", "state": "stopped", "status": "static" }, "autovt@.service": { "name": "autovt@.service", "source": "systemd", "state": "unknown", "status": "enabled" }, "blivet.service": { "name": "blivet.service", "source": "systemd", "state": "inactive", "status": "static" }, "blk-availability.service": { "name": "blk-availability.service", "source": "systemd", "state": "stopped", "status": "disabled" }, "chrony-dnssrv@.service": { "name": "chrony-dnssrv@.service", "source": "systemd", "state": "unknown", "status": "static" }, "chrony-wait.service": { "name": "chrony-wait.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "chronyd.service": { "name": "chronyd.service", "source": "systemd", "state": "running", "status": "enabled" }, "cloud-config.service": { "name": "cloud-config.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "cloud-final.service": { "name": "cloud-final.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "cloud-init-local.service": { "name": "cloud-init-local.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "cloud-init.service": { "name": "cloud-init.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "cockpit-motd.service": { "name": "cockpit-motd.service", "source": "systemd", "state": "inactive", "status": "static" }, "cockpit-wsinstance-http.service": { "name": "cockpit-wsinstance-http.service", "source": "systemd", "state": "inactive", "status": "static" }, "cockpit-wsinstance-https-factory@.service": { "name": "cockpit-wsinstance-https-factory@.service", "source": "systemd", "state": "unknown", "status": "static" }, "cockpit-wsinstance-https@.service": { "name": "cockpit-wsinstance-https@.service", "source": "systemd", "state": "unknown", "status": "static" }, "cockpit.service": { "name": "cockpit.service", "source": "systemd", "state": "inactive", "status": "static" }, "console-getty.service": { "name": "console-getty.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "container-getty@.service": { "name": "container-getty@.service", "source": "systemd", "state": "unknown", "status": "static" }, "cpupower.service": { "name": "cpupower.service", "source": "systemd", "state": "stopped", "status": "disabled" }, "crond.service": { "name": "crond.service", "source": "systemd", "state": "running", "status": "enabled" }, "dbus-org.freedesktop.hostname1.service": { "name": "dbus-org.freedesktop.hostname1.service", "source": "systemd", "state": "inactive", "status": "static" }, "dbus-org.freedesktop.locale1.service": { "name": "dbus-org.freedesktop.locale1.service", "source": "systemd", "state": "inactive", "status": "static" }, "dbus-org.freedesktop.login1.service": { "name": "dbus-org.freedesktop.login1.service", "source": "systemd", "state": "active", "status": "static" }, "dbus-org.freedesktop.nm-dispatcher.service": { "name": "dbus-org.freedesktop.nm-dispatcher.service", "source": "systemd", "state": "inactive", "status": "enabled" }, "dbus-org.freedesktop.portable1.service": { "name": "dbus-org.freedesktop.portable1.service", "source": "systemd", "state": "inactive", "status": "static" }, "dbus-org.freedesktop.timedate1.service": { "name": "dbus-org.freedesktop.timedate1.service", "source": "systemd", "state": "inactive", "status": "enabled" }, "dbus.service": { "name": "dbus.service", "source": "systemd", "state": "running", "status": "static" }, "debug-shell.service": { "name": "debug-shell.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "display-manager.service": { "name": "display-manager.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "dm-event.service": { "name": "dm-event.service", "source": "systemd", "state": "stopped", "status": "static" }, "dnf-makecache.service": { "name": "dnf-makecache.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-cmdline.service": { "name": "dracut-cmdline.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-initqueue.service": { "name": "dracut-initqueue.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-mount.service": { "name": "dracut-mount.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-pre-mount.service": { "name": "dracut-pre-mount.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-pre-pivot.service": { "name": "dracut-pre-pivot.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-pre-trigger.service": { "name": "dracut-pre-trigger.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-pre-udev.service": { "name": "dracut-pre-udev.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-shutdown.service": { "name": "dracut-shutdown.service", "source": "systemd", "state": "stopped", "status": "static" }, "emergency.service": { "name": "emergency.service", "source": "systemd", "state": "stopped", "status": "static" }, "fcoe.service": { "name": "fcoe.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "fstrim.service": { "name": "fstrim.service", "source": "systemd", "state": "inactive", "status": "static" }, "getty@.service": { "name": "getty@.service", "source": "systemd", "state": "unknown", "status": "enabled" }, "getty@tty1.service": { "name": "getty@tty1.service", "source": "systemd", "state": "running", "status": "active" }, "grub-boot-indeterminate.service": { "name": "grub-boot-indeterminate.service", "source": "systemd", "state": "inactive", "status": "static" }, "gssproxy.service": { "name": "gssproxy.service", "source": "systemd", "state": "running", "status": "disabled" }, "halt-local.service": { "name": "halt-local.service", "source": "systemd", "state": "inactive", "status": "static" }, "import-state.service": { "name": "import-state.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "initrd-cleanup.service": { "name": "initrd-cleanup.service", "source": "systemd", "state": "stopped", "status": "static" }, "initrd-parse-etc.service": { "name": "initrd-parse-etc.service", "source": "systemd", "state": "stopped", "status": "static" }, "initrd-switch-root.service": { "name": "initrd-switch-root.service", "source": "systemd", "state": "stopped", "status": "static" }, "initrd-udevadm-cleanup-db.service": { "name": "initrd-udevadm-cleanup-db.service", "source": "systemd", "state": "stopped", "status": "static" }, "irqbalance.service": { "name": "irqbalance.service", "source": "systemd", "state": "running", "status": "enabled" }, "iscsi-shutdown.service": { "name": "iscsi-shutdown.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "iscsi.service": { "name": "iscsi.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "iscsid.service": { "name": "iscsid.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "kdump.service": { "name": "kdump.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "kmod-static-nodes.service": { "name": "kmod-static-nodes.service", "source": "systemd", "state": "stopped", "status": "static" }, "kvm_stat.service": { "name": "kvm_stat.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "ldconfig.service": { "name": "ldconfig.service", "source": "systemd", "state": "stopped", "status": "static" }, "loadmodules.service": { "name": "loadmodules.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "lvm2-activation-early.service": { "name": "lvm2-activation-early.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "lvm2-activation.service": { "name": "lvm2-activation.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "lvm2-lvmpolld.service": { "name": "lvm2-lvmpolld.service", "source": "systemd", "state": "stopped", "status": "static" }, "lvm2-monitor.service": { "name": "lvm2-monitor.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "lvm2-pvscan@.service": { "name": "lvm2-pvscan@.service", "source": "systemd", "state": "unknown", "status": "static" }, "man-db-cache-update.service": { "name": "man-db-cache-update.service", "source": "systemd", "state": "stopped", "status": "static" }, "man-db-restart-cache-update.service": { "name": "man-db-restart-cache-update.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "mdadm-grow-continue@.service": { "name": "mdadm-grow-continue@.service", "source": "systemd", "state": "unknown", "status": "static" }, "mdadm-last-resort@.service": { "name": "mdadm-last-resort@.service", "source": "systemd", "state": "unknown", "status": "static" }, "mdcheck_continue.service": { "name": "mdcheck_continue.service", "source": "systemd", "state": "inactive", "status": "static" }, "mdcheck_start.service": { "name": "mdcheck_start.service", "source": "systemd", "state": "inactive", "status": "static" }, "mdmon@.service": { "name": "mdmon@.service", "source": "systemd", "state": "unknown", "status": "static" }, "mdmonitor-oneshot.service": { "name": "mdmonitor-oneshot.service", "source": "systemd", "state": "inactive", "status": "static" }, "mdmonitor.service": { "name": "mdmonitor.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "messagebus.service": { "name": "messagebus.service", "source": "systemd", "state": "active", "status": "static" }, "microcode.service": { "name": "microcode.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "multipathd.service": { "name": "multipathd.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "ndctl-monitor.service": { "name": "ndctl-monitor.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "network.service": { "name": "network.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "nfs-blkmap.service": { "name": "nfs-blkmap.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "nfs-convert.service": { "name": "nfs-convert.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "nfs-idmapd.service": { "name": "nfs-idmapd.service", "source": "systemd", "state": "stopped", "status": "static" }, "nfs-mountd.service": { "name": "nfs-mountd.service", "source": "systemd", "state": "stopped", "status": "static" }, "nfs-server.service": { "name": "nfs-server.service", "source": "systemd", "state": "stopped", "status": "disabled" }, "nfs-utils.service": { "name": "nfs-utils.service", "source": "systemd", "state": "stopped", "status": "static" }, "nfsdcld.service": { "name": "nfsdcld.service", "source": "systemd", "state": "stopped", "status": "static" }, "nis-domainname.service": { "name": "nis-domainname.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "nm-priv-helper.service": { "name": "nm-priv-helper.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "ntpd.service": { "name": "ntpd.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "ntpdate.service": { "name": "ntpdate.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "oddjobd.service": { "name": "oddjobd.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "packagekit-offline-update.service": { "name": "packagekit-offline-update.service", "source": "systemd", "state": "inactive", "status": "static" }, "packagekit.service": { "name": "packagekit.service", "source": "systemd", "state": "inactive", "status": "static" }, "plymouth-quit-wait.service": { "name": "plymouth-quit-wait.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "plymouth-start.service": { "name": "plymouth-start.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "polkit.service": { "name": "polkit.service", "source": "systemd", "state": "running", "status": "static" }, "qemu-guest-agent.service": { "name": "qemu-guest-agent.service", "source": "systemd", "state": "inactive", "status": "enabled" }, "quotaon.service": { "name": "quotaon.service", "source": "systemd", "state": "inactive", "status": "static" }, "rbdmap.service": { "name": "rbdmap.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "rc-local.service": { "name": "rc-local.service", "source": "systemd", "state": "stopped", "status": "static" }, "rdisc.service": { "name": "rdisc.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "rescue.service": { "name": "rescue.service", "source": "systemd", "state": "stopped", "status": "static" }, "rngd-wake-threshold.service": { "name": "rngd-wake-threshold.service", "source": "systemd", "state": "stopped", "status": "disabled" }, "rngd.service": { "name": "rngd.service", "source": "systemd", "state": "running", "status": "enabled" }, "rpc-gssd.service": { "name": "rpc-gssd.service", "source": "systemd", "state": "stopped", "status": "static" }, "rpc-statd-notify.service": { "name": "rpc-statd-notify.service", "source": "systemd", "state": "stopped", "status": "static" }, "rpc-statd.service": { "name": "rpc-statd.service", "source": "systemd", "state": "stopped", "status": "static" }, "rpcbind.service": { "name": "rpcbind.service", "source": "systemd", "state": "running", "status": "enabled" }, "rsyslog.service": { "name": "rsyslog.service", "source": "systemd", "state": "running", "status": "enabled" }, "run-r1850177038b54a60824ed2f1271661f6.service": { "name": "run-r1850177038b54a60824ed2f1271661f6.service", "source": "systemd", "state": "running", "status": "transient" }, "selinux-autorelabel-mark.service": { "name": "selinux-autorelabel-mark.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "selinux-autorelabel.service": { "name": "selinux-autorelabel.service", "source": "systemd", "state": "inactive", "status": "static" }, "serial-getty@.service": { "name": "serial-getty@.service", "source": "systemd", "state": "unknown", "status": "indirect" }, "serial-getty@ttyS0.service": { "name": "serial-getty@ttyS0.service", "source": "systemd", "state": "running", "status": "active" }, "sntp.service": { "name": "sntp.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "sshd-keygen.service": { "name": "sshd-keygen.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "sshd-keygen@.service": { "name": "sshd-keygen@.service", "source": "systemd", "state": "unknown", "status": "disabled" }, "sshd-keygen@ecdsa.service": { "name": "sshd-keygen@ecdsa.service", "source": "systemd", "state": "stopped", "status": "inactive" }, "sshd-keygen@ed25519.service": { "name": "sshd-keygen@ed25519.service", "source": "systemd", "state": "stopped", "status": "inactive" }, "sshd-keygen@rsa.service": { "name": "sshd-keygen@rsa.service", "source": "systemd", "state": "stopped", "status": "inactive" }, "sshd.service": { "name": "sshd.service", "source": "systemd", "state": "running", "status": "enabled" }, "sshd@.service": { "name": "sshd@.service", "source": "systemd", "state": "unknown", "status": "static" }, "sssd-autofs.service": { "name": "sssd-autofs.service", "source": "systemd", "state": "inactive", "status": "indirect" }, "sssd-kcm.service": { "name": "sssd-kcm.service", "source": "systemd", "state": "stopped", "status": "indirect" }, "sssd-nss.service": { "name": "sssd-nss.service", "source": "systemd", "state": "inactive", "status": "indirect" }, "sssd-pac.service": { "name": "sssd-pac.service", "source": "systemd", "state": "inactive", "status": "indirect" }, "sssd-pam.service": { "name": "sssd-pam.service", "source": "systemd", "state": "inactive", "status": "indirect" }, "sssd-ssh.service": { "name": "sssd-ssh.service", "source": "systemd", "state": "inactive", "status": "indirect" }, "sssd-sudo.service": { "name": "sssd-sudo.service", "source": "systemd", "state": "inactive", "status": "indirect" }, "sssd.service": { "name": "sssd.service", "source": "systemd", "state": "running", "status": "enabled" }, "syslog.service": { "name": "syslog.service", "source": "systemd", "state": "active", "status": "enabled" }, "system-update-cleanup.service": { "name": "system-update-cleanup.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-ask-password-console.service": { "name": "systemd-ask-password-console.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-ask-password-wall.service": { "name": "systemd-ask-password-wall.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-backlight@.service": { "name": "systemd-backlight@.service", "source": "systemd", "state": "unknown", "status": "static" }, "systemd-binfmt.service": { "name": "systemd-binfmt.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-coredump@.service": { "name": "systemd-coredump@.service", "source": "systemd", "state": "unknown", "status": "static" }, "systemd-exit.service": { "name": "systemd-exit.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-firstboot.service": { "name": "systemd-firstboot.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-fsck-root.service": { "name": "systemd-fsck-root.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-fsck@.service": { "name": "systemd-fsck@.service", "source": "systemd", "state": "unknown", "status": "static" }, "systemd-halt.service": { "name": "systemd-halt.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-hibernate-resume@.service": { "name": "systemd-hibernate-resume@.service", "source": "systemd", "state": "unknown", "status": "static" }, "systemd-hibernate.service": { "name": "systemd-hibernate.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-hostnamed.service": { "name": "systemd-hostnamed.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-hwdb-update.service": { "name": "systemd-hwdb-update.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-hybrid-sleep.service": { "name": "systemd-hybrid-sleep.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-initctl.service": { "name": "systemd-initctl.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-journal-catalog-update.service": { "name": "systemd-journal-catalog-update.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-journal-flush.service": { "name": "systemd-journal-flush.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-journald.service": { "name": "systemd-journald.service", "source": "systemd", "state": "running", "status": "static" }, "systemd-kexec.service": { "name": "systemd-kexec.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-localed.service": { "name": "systemd-localed.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-logind.service": { "name": "systemd-logind.service", "source": "systemd", "state": "running", "status": "static" }, "systemd-machine-id-commit.service": { "name": "systemd-machine-id-commit.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-modules-load.service": { "name": "systemd-modules-load.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-portabled.service": { "name": "systemd-portabled.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-poweroff.service": { "name": "systemd-poweroff.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-quotacheck.service": { "name": "systemd-quotacheck.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-random-seed.service": { "name": "systemd-random-seed.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-reboot.service": { "name": "systemd-reboot.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-remount-fs.service": { "name": "systemd-remount-fs.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-resolved.service": { "name": "systemd-resolved.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "systemd-rfkill.service": { "name": "systemd-rfkill.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-suspend-then-hibernate.service": { "name": "systemd-suspend-then-hibernate.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-suspend.service": { "name": "systemd-suspend.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-sysctl.service": { "name": "systemd-sysctl.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-sysusers.service": { "name": "systemd-sysusers.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-timedated.service": { "name": "systemd-timedated.service", "source": "systemd", "state": "inactive", "status": "masked" }, "systemd-timesyncd.service": { "name": "systemd-timesyncd.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "systemd-tmpfiles-clean.service": { "name": "systemd-tmpfiles-clean.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-tmpfiles-setup-dev.service": { "name": "systemd-tmpfiles-setup-dev.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-tmpfiles-setup.service": { "name": "systemd-tmpfiles-setup.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-udev-settle.service": { "name": "systemd-udev-settle.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-udev-trigger.service": { "name": "systemd-udev-trigger.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-udevd.service": { "name": "systemd-udevd.service", "source": "systemd", "state": "running", "status": "static" }, "systemd-update-done.service": { "name": "systemd-update-done.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-update-utmp-runlevel.service": { "name": "systemd-update-utmp-runlevel.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-update-utmp.service": { "name": "systemd-update-utmp.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-user-sessions.service": { "name": "systemd-user-sessions.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-vconsole-setup.service": { "name": "systemd-vconsole-setup.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-volatile-root.service": { "name": "systemd-volatile-root.service", "source": "systemd", "state": "inactive", "status": "static" }, "tcsd.service": { "name": "tcsd.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "teamd@.service": { "name": "teamd@.service", "source": "systemd", "state": "unknown", "status": "static" }, "timedatex.service": { "name": "timedatex.service", "source": "systemd", "state": "inactive", "status": "enabled" }, "tuned.service": { "name": "tuned.service", "source": "systemd", "state": "running", "status": "enabled" }, "unbound-anchor.service": { "name": "unbound-anchor.service", "source": "systemd", "state": "stopped", "status": "static" }, "user-runtime-dir@.service": { "name": "user-runtime-dir@.service", "source": "systemd", "state": "unknown", "status": "static" }, "user-runtime-dir@0.service": { "name": "user-runtime-dir@0.service", "source": "systemd", "state": "stopped", "status": "active" }, "user@.service": { "name": "user@.service", "source": "systemd", "state": "unknown", "status": "static" }, "user@0.service": { "name": "user@0.service", "source": "systemd", "state": "running", "status": "active" }, "vdo-start-by-dev@.service": { "name": "vdo-start-by-dev@.service", "source": "systemd", "state": "unknown", "status": "static" }, "vdo.service": { "name": "vdo.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "ypbind.service": { "name": "ypbind.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "yppasswdd.service": { "name": "yppasswdd.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "ypserv.service": { "name": "ypserv.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "ypxfrd.service": { "name": "ypxfrd.service", "source": "systemd", "state": "stopped", "status": "not-found" } } }, "changed": false } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:53 Thursday 21 July 2022 17:22:18 +0000 (0:00:01.743) 0:02:32.202 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 17:22:18 +0000 (0:00:00.057) 0:02:32.259 ********* TASK [fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Thursday 21 July 2022 17:22:18 +0000 (0:00:00.021) 0:02:32.281 ********* ok: [/cache/centos-8.qcow2] => { "actions": [], "changed": false, "crypts": [], "leaves": [], "mounts": [], "packages": [], "pools": [], "volumes": [] } TASK [fedora.linux_system_roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:78 Thursday 21 July 2022 17:22:19 +0000 (0:00:00.554) 0:02:32.836 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Thursday 21 July 2022 17:22:19 +0000 (0:00:00.035) 0:02:32.871 ********* TASK [fedora.linux_system_roles.storage : show blivet_output] ****************** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:96 Thursday 21 July 2022 17:22:19 +0000 (0:00:00.023) 0:02:32.894 ********* ok: [/cache/centos-8.qcow2] => { "blivet_output": { "actions": [], "changed": false, "crypts": [], "failed": false, "leaves": [], "mounts": [], "packages": [], "pools": [], "volumes": [] } } TASK [fedora.linux_system_roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:101 Thursday 21 July 2022 17:22:19 +0000 (0:00:00.037) 0:02:32.931 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:105 Thursday 21 July 2022 17:22:19 +0000 (0:00:00.037) 0:02:32.968 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : remove obsolete mounts] ************** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:121 Thursday 21 July 2022 17:22:19 +0000 (0:00:00.034) 0:02:33.003 ********* TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 Thursday 21 July 2022 17:22:19 +0000 (0:00:00.034) 0:02:33.038 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : set up new/current mounts] *********** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:137 Thursday 21 July 2022 17:22:19 +0000 (0:00:00.023) 0:02:33.062 ********* TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:148 Thursday 21 July 2022 17:22:19 +0000 (0:00:00.032) 0:02:33.094 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:156 Thursday 21 July 2022 17:22:19 +0000 (0:00:00.021) 0:02:33.116 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "stat": { "atime": 1658424019.5990922, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1643141385.117, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 135, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "inode/x-empty", "mode": "0600", "mtime": 1643141019.537, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "3147672035", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:161 Thursday 21 July 2022 17:22:20 +0000 (0:00:00.509) 0:02:33.626 ********* TASK [fedora.linux_system_roles.storage : Update facts] ************************ task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 Thursday 21 July 2022 17:22:20 +0000 (0:00:00.022) 0:02:33.649 ********* ok: [/cache/centos-8.qcow2] META: role_complete for /cache/centos-8.qcow2 TASK [Mark tasks to be skipped] ************************************************ task path: /tmp/tmp_0pjp8ed/tests/storage/tests_change_mount.yml:15 Thursday 21 July 2022 17:22:21 +0000 (0:00:00.981) 0:02:34.630 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "storage_skip_checks": [ "blivet_available", "packages_installed", "service_facts" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/tests_change_mount.yml:22 Thursday 21 July 2022 17:22:21 +0000 (0:00:00.064) 0:02:34.695 ********* included: /tmp/tmp_0pjp8ed/tests/storage/get_unused_disk.yml for /cache/centos-8.qcow2 TASK [Find unused disks in the system] ***************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/get_unused_disk.yml:2 Thursday 21 July 2022 17:22:21 +0000 (0:00:00.061) 0:02:34.757 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "disks": [ "sda" ] } TASK [Set unused_disks if necessary] ******************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/get_unused_disk.yml:9 Thursday 21 July 2022 17:22:21 +0000 (0:00:00.496) 0:02:35.253 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "unused_disks": [ "sda" ] }, "changed": false } TASK [Exit playbook when there's not enough unused disks in the system] ******** task path: /tmp/tmp_0pjp8ed/tests/storage/get_unused_disk.yml:14 Thursday 21 July 2022 17:22:21 +0000 (0:00:00.036) 0:02:35.290 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Print unused disks] ****************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/get_unused_disk.yml:19 Thursday 21 July 2022 17:22:21 +0000 (0:00:00.037) 0:02:35.328 ********* ok: [/cache/centos-8.qcow2] => { "unused_disks": [ "sda" ] } TASK [Create a LVM logical volume mounted at "/opt/test1"] ********************* task path: /tmp/tmp_0pjp8ed/tests/storage/tests_change_mount.yml:27 Thursday 21 July 2022 17:22:21 +0000 (0:00:00.034) 0:02:35.363 ********* TASK [fedora.linux_system_roles.storage : set platform/version specific variables] *** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Thursday 21 July 2022 17:22:21 +0000 (0:00:00.052) 0:02:35.416 ********* included: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for /cache/centos-8.qcow2 TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Thursday 21 July 2022 17:22:21 +0000 (0:00:00.035) 0:02:35.452 ********* ok: [/cache/centos-8.qcow2] TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Thursday 21 July 2022 17:22:22 +0000 (0:00:00.524) 0:02:35.977 ********* skipping: [/cache/centos-8.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [/cache/centos-8.qcow2] => (item=CentOS_8.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs" ] }, "ansible_included_var_files": [ "/tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } ok: [/cache/centos-8.qcow2] => (item=CentOS_8.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs" ] }, "ansible_included_var_files": [ "/tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } TASK [fedora.linux_system_roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Thursday 21 July 2022 17:22:22 +0000 (0:00:00.074) 0:02:36.051 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : define an empty list of volumes to be used in testing] *** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Thursday 21 July 2022 17:22:22 +0000 (0:00:00.032) 0:02:36.083 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : include the appropriate provider tasks] *** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Thursday 21 July 2022 17:22:22 +0000 (0:00:00.031) 0:02:36.115 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for /cache/centos-8.qcow2 TASK [fedora.linux_system_roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 17:22:22 +0000 (0:00:00.052) 0:02:36.168 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure blivet is available] ******* task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 17:22:22 +0000 (0:00:00.018) 0:02:36.187 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : show storage_pools] ****************** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:13 Thursday 21 July 2022 17:22:22 +0000 (0:00:00.025) 0:02:36.213 ********* ok: [/cache/centos-8.qcow2] => { "storage_pools": [ { "disks": [ "sda" ], "name": "foo", "volumes": [ { "mount_point": "/opt/test1", "name": "test1", "size": "3g" } ] } ] } TASK [fedora.linux_system_roles.storage : show storage_volumes] **************** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:18 Thursday 21 July 2022 17:22:22 +0000 (0:00:00.038) 0:02:36.252 ********* ok: [/cache/centos-8.qcow2] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [fedora.linux_system_roles.storage : get required packages] *************** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:23 Thursday 21 July 2022 17:22:22 +0000 (0:00:00.035) 0:02:36.288 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : enable copr repositories if needed] *** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:35 Thursday 21 July 2022 17:22:22 +0000 (0:00:00.027) 0:02:36.315 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure required packages are installed] *** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:41 Thursday 21 July 2022 17:22:22 +0000 (0:00:00.029) 0:02:36.344 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : get service facts] ******************* task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 Thursday 21 July 2022 17:22:22 +0000 (0:00:00.032) 0:02:36.377 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:53 Thursday 21 July 2022 17:22:22 +0000 (0:00:00.028) 0:02:36.406 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 17:22:22 +0000 (0:00:00.058) 0:02:36.465 ********* TASK [fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Thursday 21 July 2022 17:22:22 +0000 (0:00:00.021) 0:02:36.486 ********* changed: [/cache/centos-8.qcow2] => { "actions": [ { "action": "create format", "device": "/dev/sda", "fs_type": "lvmpv" }, { "action": "create device", "device": "/dev/foo", "fs_type": null }, { "action": "create device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/foo-test1", "fs_type": "xfs" } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb", "/dev/vdc", "/dev/vdd", "/dev/mapper/foo-test1" ], "mounts": [ { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "xfsprogs", "lvm2" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "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/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:78 Thursday 21 July 2022 17:22:24 +0000 (0:00:01.547) 0:02:38.034 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Thursday 21 July 2022 17:22:24 +0000 (0:00:00.036) 0:02:38.070 ********* TASK [fedora.linux_system_roles.storage : show blivet_output] ****************** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:96 Thursday 21 July 2022 17:22:24 +0000 (0:00:00.022) 0:02:38.093 ********* ok: [/cache/centos-8.qcow2] => { "blivet_output": { "actions": [ { "action": "create format", "device": "/dev/sda", "fs_type": "lvmpv" }, { "action": "create device", "device": "/dev/foo", "fs_type": null }, { "action": "create device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/foo-test1", "fs_type": "xfs" } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb", "/dev/vdc", "/dev/vdd", "/dev/mapper/foo-test1" ], "mounts": [ { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "xfsprogs", "lvm2" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "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/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:101 Thursday 21 July 2022 17:22:24 +0000 (0:00:00.040) 0:02:38.134 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "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/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:105 Thursday 21 July 2022 17:22:24 +0000 (0:00:00.040) 0:02:38.175 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : remove obsolete mounts] ************** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:121 Thursday 21 July 2022 17:22:24 +0000 (0:00:00.045) 0:02:38.221 ********* TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 Thursday 21 July 2022 17:22:24 +0000 (0:00:00.039) 0:02:38.260 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : set up new/current mounts] *********** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:137 Thursday 21 July 2022 17:22:25 +0000 (0:00:00.856) 0:02:39.117 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/centos-8.qcow2] => (item={'src': '/dev/mapper/foo-test1', 'path': '/opt/test1', 'fstype': 'xfs', 'opts': 'defaults', 'dump': 0, 'passno': 0, 'state': 'mounted'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "xfs", "mount_info": { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "/dev/mapper/foo-test1" } TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:148 Thursday 21 July 2022 17:22:26 +0000 (0:00:00.556) 0:02:39.674 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:156 Thursday 21 July 2022 17:22:26 +0000 (0:00:00.624) 0:02:40.299 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "stat": { "atime": 1658424019.5990922, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1643141385.117, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 135, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "inode/x-empty", "mode": "0600", "mtime": 1643141019.537, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "3147672035", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:161 Thursday 21 July 2022 17:22:27 +0000 (0:00:00.392) 0:02:40.691 ********* TASK [fedora.linux_system_roles.storage : Update facts] ************************ task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 Thursday 21 July 2022 17:22:27 +0000 (0:00:00.023) 0:02:40.714 ********* ok: [/cache/centos-8.qcow2] META: role_complete for /cache/centos-8.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/tests_change_mount.yml:39 Thursday 21 July 2022 17:22:28 +0000 (0:00:00.959) 0:02:41.674 ********* included: /tmp/tmp_0pjp8ed/tests/storage/verify-role-results.yml for /cache/centos-8.qcow2 TASK [Print out pool information] ********************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-role-results.yml:1 Thursday 21 July 2022 17:22:28 +0000 (0:00:00.039) 0:02:41.714 ********* ok: [/cache/centos-8.qcow2] => { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "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/tmp_0pjp8ed/tests/storage/verify-role-results.yml:6 Thursday 21 July 2022 17:22:28 +0000 (0:00:00.072) 0:02:41.786 ********* skipping: [/cache/centos-8.qcow2] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-role-results.yml:14 Thursday 21 July 2022 17:22:28 +0000 (0:00:00.034) 0:02:41.820 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "info": { "/dev/mapper/foo-test1": { "fstype": "xfs", "label": "", "name": "/dev/mapper/foo-test1", "size": "3G", "type": "lvm", "uuid": "3f9707eb-e9e3-48e9-8192-684bff860e45" }, "/dev/nvme0n1": { "fstype": "", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme1n1": { "fstype": "", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme2n1": { "fstype": "", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda": { "fstype": "LVM2_member", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "d4pbts-xL1t-Vmh1-xa4l-rUIh-9H1g-wushZY" }, "/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-17-19-27-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "xfs", "label": "", "name": "/dev/vda1", "size": "10G", "type": "partition", "uuid": "395b9844-e404-4857-afbb-c6edccaf72f3" }, "/dev/vdb": { "fstype": "", "label": "", "name": "/dev/vdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vdc": { "fstype": "", "label": "", "name": "/dev/vdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vdd": { "fstype": "", "label": "", "name": "/dev/vdd", "size": "10G", "type": "disk", "uuid": "" } } } TASK [Read the /etc/fstab file for volume existence] *************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-role-results.yml:19 Thursday 21 July 2022 17:22:28 +0000 (0:00:00.498) 0:02:42.319 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.002850", "end": "2022-07-21 17:22:27.702905", "rc": 0, "start": "2022-07-21 17:22:27.700055" } STDOUT: # # /etc/fstab # Created by anaconda on Tue Jan 25 20:03:39 2022 # # Accessible filesystems, by reference, are maintained under '/dev/disk/'. # See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info. # # After editing this file, run 'systemctl daemon-reload' to update systemd # units generated from this file. # UUID=395b9844-e404-4857-afbb-c6edccaf72f3 / xfs defaults 0 0 /dev/mapper/foo-test1 /opt/test1 xfs defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/verify-role-results.yml:24 Thursday 21 July 2022 17:22:29 +0000 (0:00:00.381) 0:02:42.701 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.002902", "end": "2022-07-21 17:22:28.084435", "failed_when_result": false, "rc": 0, "start": "2022-07-21 17:22:28.081533" } TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmp_0pjp8ed/tests/storage/verify-role-results.yml:33 Thursday 21 July 2022 17:22:29 +0000 (0:00:00.383) 0:02:43.084 ********* included: /tmp/tmp_0pjp8ed/tests/storage/test-verify-pool.yml for /cache/centos-8.qcow2 => (item={'disks': ['sda'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'name': 'foo', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'state': 'present', 'type': 'lvm', 'volumes': [{'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '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/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}], 'raid_chunk_size': None}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-pool.yml:5 Thursday 21 July 2022 17:22:29 +0000 (0:00:00.057) 0:02:43.142 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-pool.yml:18 Thursday 21 July 2022 17:22:29 +0000 (0:00:00.034) 0:02:43.177 ********* included: /tmp/tmp_0pjp8ed/tests/storage/test-verify-pool-members.yml for /cache/centos-8.qcow2 => (item=members) included: /tmp/tmp_0pjp8ed/tests/storage/test-verify-pool-volumes.yml for /cache/centos-8.qcow2 => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-pool-members.yml:1 Thursday 21 July 2022 17:22:29 +0000 (0:00:00.050) 0:02:43.227 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_count": "1", "_storage_test_pool_pvs_lvm": [ "/dev/sda" ] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-pool-members.yml:6 Thursday 21 July 2022 17:22:29 +0000 (0:00:00.056) 0:02:43.283 ********* ok: [/cache/centos-8.qcow2] => (item=/dev/sda) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/sda", "pv": "/dev/sda" } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-pool-members.yml:15 Thursday 21 July 2022 17:22:30 +0000 (0:00:00.537) 0:02:43.821 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "__pvs_lvm_len": "1" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-pool-members.yml:19 Thursday 21 July 2022 17:22:30 +0000 (0:00:00.048) 0:02:43.869 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/sda" ] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-pool-members.yml:23 Thursday 21 July 2022 17:22:30 +0000 (0:00:00.052) 0:02:43.921 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-pool-members.yml:29 Thursday 21 July 2022 17:22:30 +0000 (0:00:00.051) 0:02:43.973 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-pool-members.yml:33 Thursday 21 July 2022 17:22:30 +0000 (0:00:00.038) 0:02:44.012 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-pool-members.yml:37 Thursday 21 July 2022 17:22:30 +0000 (0:00:00.051) 0:02:44.063 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-pool-members.yml:41 Thursday 21 July 2022 17:22:30 +0000 (0:00:00.025) 0:02:44.089 ********* ok: [/cache/centos-8.qcow2] => (item=/dev/sda) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/sda" } MSG: All assertions passed TASK [Check MD RAID] *********************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-pool-members.yml:50 Thursday 21 July 2022 17:22:30 +0000 (0:00:00.040) 0:02:44.129 ********* included: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-md.yml for /cache/centos-8.qcow2 TASK [get information about RAID] ********************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-md.yml:6 Thursday 21 July 2022 17:22:30 +0000 (0:00:00.041) 0:02:44.171 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-md.yml:12 Thursday 21 July 2022 17:22:30 +0000 (0:00:00.023) 0:02:44.194 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-md.yml:16 Thursday 21 July 2022 17:22:30 +0000 (0:00:00.022) 0:02:44.216 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-md.yml:20 Thursday 21 July 2022 17:22:30 +0000 (0:00:00.022) 0:02:44.238 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-md.yml:24 Thursday 21 July 2022 17:22:30 +0000 (0:00:00.022) 0:02:44.261 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-md.yml:30 Thursday 21 July 2022 17:22:30 +0000 (0:00:00.023) 0:02:44.284 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-md.yml:36 Thursday 21 July 2022 17:22:30 +0000 (0:00:00.051) 0:02:44.335 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-md.yml:44 Thursday 21 July 2022 17:22:30 +0000 (0:00:00.024) 0:02:44.360 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "storage_test_md_active_devices_re": null, "storage_test_md_metadata_version_re": null, "storage_test_md_spare_devices_re": null }, "changed": false } TASK [Check LVM RAID] ********************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-pool-members.yml:53 Thursday 21 July 2022 17:22:30 +0000 (0:00:00.032) 0:02:44.392 ********* included: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-members-lvmraid.yml for /cache/centos-8.qcow2 TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-members-lvmraid.yml:1 Thursday 21 July 2022 17:22:30 +0000 (0:00:00.042) 0:02:44.434 ********* included: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-lvmraid.yml for /cache/centos-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '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/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-lvmraid.yml:3 Thursday 21 July 2022 17:22:30 +0000 (0:00:00.039) 0:02:44.473 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-lvmraid.yml:8 Thursday 21 July 2022 17:22:30 +0000 (0:00:00.028) 0:02:44.502 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-lvmraid.yml:12 Thursday 21 July 2022 17:22:30 +0000 (0:00:00.027) 0:02:44.530 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-pool-members.yml:56 Thursday 21 July 2022 17:22:30 +0000 (0:00:00.025) 0:02:44.555 ********* included: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-members-thin.yml for /cache/centos-8.qcow2 TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-members-thin.yml:1 Thursday 21 July 2022 17:22:31 +0000 (0:00:00.042) 0:02:44.598 ********* included: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-thin.yml for /cache/centos-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '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/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [Get information about thinpool] ****************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-thin.yml:3 Thursday 21 July 2022 17:22:31 +0000 (0:00:00.040) 0:02:44.639 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in correct thinpool (when thinp name is provided)] *** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-thin.yml:8 Thursday 21 July 2022 17:22:31 +0000 (0:00:00.022) 0:02:44.661 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in thinpool (when thinp name is not provided)] ****** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-thin.yml:13 Thursday 21 July 2022 17:22:31 +0000 (0:00:00.022) 0:02:44.684 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-thin.yml:17 Thursday 21 July 2022 17:22:31 +0000 (0:00:00.024) 0:02:44.709 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-pool-members.yml:59 Thursday 21 July 2022 17:22:31 +0000 (0:00:00.023) 0:02:44.732 ********* included: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-members-encryption.yml for /cache/centos-8.qcow2 TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-members-encryption.yml:4 Thursday 21 July 2022 17:22:31 +0000 (0:00:00.045) 0:02:44.777 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Validate pool member LUKS settings] ************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-members-encryption.yml:8 Thursday 21 July 2022 17:22:31 +0000 (0:00:00.045) 0:02:44.823 ********* skipping: [/cache/centos-8.qcow2] => (item=/dev/sda) => { "_storage_test_pool_member_path": "/dev/sda", "ansible_loop_var": "_storage_test_pool_member_path", "changed": false, "skip_reason": "Conditional result was False" } TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-members-encryption.yml:15 Thursday 21 July 2022 17:22:31 +0000 (0:00:00.025) 0:02:44.848 ********* included: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-crypttab.yml for /cache/centos-8.qcow2 => (item=/dev/sda) TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-crypttab.yml:1 Thursday 21 July 2022 17:22:31 +0000 (0:00:00.040) 0:02:44.888 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": [] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-crypttab.yml:4 Thursday 21 July 2022 17:22:31 +0000 (0:00:00.045) 0:02:44.934 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-crypttab.yml:9 Thursday 21 July 2022 17:22:31 +0000 (0:00:00.046) 0:02:44.981 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-crypttab.yml:15 Thursday 21 July 2022 17:22:31 +0000 (0:00:00.037) 0:02:45.018 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-crypttab.yml:21 Thursday 21 July 2022 17:22:31 +0000 (0:00:00.036) 0:02:45.055 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-crypttab.yml:27 Thursday 21 July 2022 17:22:31 +0000 (0:00:00.036) 0:02:45.091 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-members-encryption.yml:22 Thursday 21 July 2022 17:22:31 +0000 (0:00:00.033) 0:02:45.125 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-pool-members.yml:62 Thursday 21 July 2022 17:22:31 +0000 (0:00:00.035) 0:02:45.160 ********* included: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-members-vdo.yml for /cache/centos-8.qcow2 TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-members-vdo.yml:1 Thursday 21 July 2022 17:22:31 +0000 (0:00:00.049) 0:02:45.209 ********* included: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-vdo.yml for /cache/centos-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '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/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-vdo.yml:3 Thursday 21 July 2022 17:22:31 +0000 (0:00:00.049) 0:02:45.258 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-vdo.yml:8 Thursday 21 July 2022 17:22:31 +0000 (0:00:00.026) 0:02:45.285 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-vdo.yml:11 Thursday 21 July 2022 17:22:31 +0000 (0:00:00.024) 0:02:45.310 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-vdo.yml:16 Thursday 21 July 2022 17:22:31 +0000 (0:00:00.026) 0:02:45.336 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-vdo.yml:21 Thursday 21 July 2022 17:22:31 +0000 (0:00:00.026) 0:02:45.362 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-vdo.yml:24 Thursday 21 July 2022 17:22:31 +0000 (0:00:00.024) 0:02:45.386 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-vdo.yml:29 Thursday 21 July 2022 17:22:31 +0000 (0:00:00.025) 0:02:45.412 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-vdo.yml:39 Thursday 21 July 2022 17:22:31 +0000 (0:00:00.024) 0:02:45.436 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-pool-members.yml:65 Thursday 21 July 2022 17:22:31 +0000 (0:00:00.106) 0:02:45.543 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "__pvs_lvm_len": null, "_storage_test_expected_pv_count": null, "_storage_test_expected_pv_type": null, "_storage_test_pool_pvs": [], "_storage_test_pool_pvs_lvm": [] }, "changed": false } TASK [verify the volumes] ****************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-pool-volumes.yml:3 Thursday 21 July 2022 17:22:31 +0000 (0:00:00.035) 0:02:45.578 ********* included: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume.yml for /cache/centos-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '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/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume.yml:2 Thursday 21 July 2022 17:22:32 +0000 (0:00:00.046) 0:02:45.624 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_test_volume_present": true, "_storage_volume_tests": [ "mount", "fstab", "fs", "device", "encryption", "md", "size", "cache" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume.yml:10 Thursday 21 July 2022 17:22:32 +0000 (0:00:00.049) 0:02:45.674 ********* included: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-mount.yml for /cache/centos-8.qcow2 => (item=mount) included: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-fstab.yml for /cache/centos-8.qcow2 => (item=fstab) included: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-fs.yml for /cache/centos-8.qcow2 => (item=fs) included: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-device.yml for /cache/centos-8.qcow2 => (item=device) included: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml for /cache/centos-8.qcow2 => (item=encryption) included: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-md.yml for /cache/centos-8.qcow2 => (item=md) included: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-size.yml for /cache/centos-8.qcow2 => (item=size) included: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-cache.yml for /cache/centos-8.qcow2 => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-mount.yml:6 Thursday 21 July 2022 17:22:32 +0000 (0:00:00.086) 0:02:45.760 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/foo-test1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-mount.yml:10 Thursday 21 July 2022 17:22:32 +0000 (0:00:00.044) 0:02:45.804 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 770146, "block_size": 4096, "block_total": 783872, "block_used": 13726, "device": "/dev/mapper/foo-test1", "fstype": "xfs", "inode_available": 1572861, "inode_total": 1572864, "inode_used": 3, "mount": "/opt/test1", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota", "size_available": 3154518016, "size_total": 3210739712, "uuid": "3f9707eb-e9e3-48e9-8192-684bff860e45" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 770146, "block_size": 4096, "block_total": 783872, "block_used": 13726, "device": "/dev/mapper/foo-test1", "fstype": "xfs", "inode_available": 1572861, "inode_total": 1572864, "inode_used": 3, "mount": "/opt/test1", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota", "size_available": 3154518016, "size_total": 3210739712, "uuid": "3f9707eb-e9e3-48e9-8192-684bff860e45" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-mount.yml:20 Thursday 21 July 2022 17:22:32 +0000 (0:00:00.056) 0:02:45.861 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-mount.yml:29 Thursday 21 July 2022 17:22:32 +0000 (0:00:00.052) 0:02:45.914 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-mount.yml:37 Thursday 21 July 2022 17:22:32 +0000 (0:00:00.050) 0:02:45.964 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-mount.yml:46 Thursday 21 July 2022 17:22:32 +0000 (0:00:00.048) 0:02:46.012 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-mount.yml:50 Thursday 21 July 2022 17:22:32 +0000 (0:00:00.023) 0:02:46.036 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-mount.yml:55 Thursday 21 July 2022 17:22:32 +0000 (0:00:00.024) 0:02:46.060 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-mount.yml:65 Thursday 21 July 2022 17:22:32 +0000 (0:00:00.025) 0:02:46.085 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "storage_test_mount_device_matches": null, "storage_test_mount_expected_match_count": null, "storage_test_mount_point_matches": null, "storage_test_swap_expected_matches": null, "storage_test_swaps": null, "storage_test_sys_node": null }, "changed": false } TASK [Set some variables for fstab checking] *********************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 17:22:32 +0000 (0:00:00.033) 0:02:46.119 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "1", "storage_test_fstab_expected_mount_options_matches": "1", "storage_test_fstab_expected_mount_point_matches": "1", "storage_test_fstab_id_matches": [ "/dev/mapper/foo-test1 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test1 xfs defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test1 " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-fstab.yml:12 Thursday 21 July 2022 17:22:32 +0000 (0:00:00.061) 0:02:46.180 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-fstab.yml:19 Thursday 21 July 2022 17:22:32 +0000 (0:00:00.052) 0:02:46.233 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 17:22:32 +0000 (0:00:00.049) 0:02:46.282 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-fstab.yml:34 Thursday 21 July 2022 17:22:32 +0000 (0:00:00.036) 0:02:46.319 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": null, "storage_test_fstab_expected_mount_options_matches": null, "storage_test_fstab_expected_mount_point_matches": null, "storage_test_fstab_id_matches": null, "storage_test_fstab_mount_options_matches": null, "storage_test_fstab_mount_point_matches": null }, "changed": false } TASK [Verify fs type] ********************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-fs.yml:4 Thursday 21 July 2022 17:22:32 +0000 (0:00:00.035) 0:02:46.355 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-fs.yml:10 Thursday 21 July 2022 17:22:32 +0000 (0:00:00.042) 0:02:46.397 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-device.yml:4 Thursday 21 July 2022 17:22:32 +0000 (0:00:00.042) 0:02:46.440 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "stat": { "atime": 1658424142.9850922, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658424142.9850922, "dev": 6, "device_type": 64768, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 94173, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1658424142.9850922, "nlink": 1, "path": "/dev/mapper/foo-test1", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-device.yml:10 Thursday 21 July 2022 17:22:33 +0000 (0:00:00.399) 0:02:46.840 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-device.yml:15 Thursday 21 July 2022 17:22:33 +0000 (0:00:00.039) 0:02:46.879 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-device.yml:21 Thursday 21 July 2022 17:22:33 +0000 (0:00:00.039) 0:02:46.919 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-device.yml:25 Thursday 21 July 2022 17:22:33 +0000 (0:00:00.037) 0:02:46.956 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-device.yml:30 Thursday 21 July 2022 17:22:33 +0000 (0:00:00.025) 0:02:46.982 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 17:22:33 +0000 (0:00:00.037) 0:02:47.019 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 17:22:33 +0000 (0:00:00.023) 0:02:47.043 ********* changed: [/cache/centos-8.qcow2] => { "changed": true, "rc": 0, "results": [ "Installed: cryptsetup-libs-2.3.7-2.el8.x86_64", "Installed: cryptsetup-2.3.7-2.el8.x86_64", "Removed: cryptsetup-libs-2.3.3-4.el8.x86_64" ] } TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 17:22:36 +0000 (0:00:02.996) 0:02:50.039 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 17:22:36 +0000 (0:00:00.025) 0:02:50.064 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the raw device is the same as the device if not encrypted] *** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:27 Thursday 21 July 2022 17:22:36 +0000 (0:00:00.022) 0:02:50.087 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:33 Thursday 21 July 2022 17:22:36 +0000 (0:00:00.053) 0:02:50.141 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:39 Thursday 21 July 2022 17:22:36 +0000 (0:00:00.025) 0:02:50.166 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 17:22:36 +0000 (0:00:00.023) 0:02:50.190 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:50 Thursday 21 July 2022 17:22:36 +0000 (0:00:00.023) 0:02:50.214 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:56 Thursday 21 July 2022 17:22:36 +0000 (0:00:00.022) 0:02:50.236 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:62 Thursday 21 July 2022 17:22:36 +0000 (0:00:00.025) 0:02:50.262 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": [], "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 17:22:36 +0000 (0:00:00.048) 0:02:50.310 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:72 Thursday 21 July 2022 17:22:36 +0000 (0:00:00.045) 0:02:50.355 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:78 Thursday 21 July 2022 17:22:36 +0000 (0:00:00.032) 0:02:50.388 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:84 Thursday 21 July 2022 17:22:36 +0000 (0:00:00.034) 0:02:50.423 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:90 Thursday 21 July 2022 17:22:36 +0000 (0:00:00.037) 0:02:50.460 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_expected_crypttab_entries": null, "_storage_test_expected_crypttab_key_file": null }, "changed": false } TASK [get information about RAID] ********************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-md.yml:7 Thursday 21 July 2022 17:22:36 +0000 (0:00:00.033) 0:02:50.494 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-md.yml:13 Thursday 21 July 2022 17:22:36 +0000 (0:00:00.034) 0:02:50.529 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-md.yml:17 Thursday 21 July 2022 17:22:36 +0000 (0:00:00.038) 0:02:50.567 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-md.yml:21 Thursday 21 July 2022 17:22:37 +0000 (0:00:00.038) 0:02:50.606 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-md.yml:25 Thursday 21 July 2022 17:22:37 +0000 (0:00:00.037) 0:02:50.644 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-md.yml:31 Thursday 21 July 2022 17:22:37 +0000 (0:00:00.037) 0:02:50.681 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-md.yml:37 Thursday 21 July 2022 17:22:37 +0000 (0:00:00.039) 0:02:50.721 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-size.yml:3 Thursday 21 July 2022 17:22:37 +0000 (0:00:00.038) 0:02:50.759 ********* ok: [/cache/centos-8.qcow2] => { "bytes": 3221225472, "changed": false, "lvm": "3g", "parted": "3GiB", "size": "3 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-size.yml:9 Thursday 21 July 2022 17:22:37 +0000 (0:00:00.506) 0:02:51.266 ********* ok: [/cache/centos-8.qcow2] => { "bytes": 3221225472, "changed": false, "lvm": "3g", "parted": "3GiB", "size": "3 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-size.yml:15 Thursday 21 July 2022 17:22:38 +0000 (0:00:00.429) 0:02:51.695 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "storage_test_expected_size": "3221225472" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-size.yml:20 Thursday 21 July 2022 17:22:38 +0000 (0:00:00.048) 0:02:51.744 ********* ok: [/cache/centos-8.qcow2] => { "storage_test_expected_size": "3221225472" } TASK [debug] ******************************************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-size.yml:25 Thursday 21 July 2022 17:22:38 +0000 (0:00:00.036) 0:02:51.780 ********* skipping: [/cache/centos-8.qcow2] => {} TASK [debug] ******************************************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-size.yml:28 Thursday 21 July 2022 17:22:38 +0000 (0:00:00.036) 0:02:51.817 ********* skipping: [/cache/centos-8.qcow2] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-size.yml:31 Thursday 21 July 2022 17:22:38 +0000 (0:00:00.036) 0:02:51.853 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-size.yml:36 Thursday 21 July 2022 17:22:38 +0000 (0:00:00.039) 0:02:51.893 ********* skipping: [/cache/centos-8.qcow2] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-size.yml:39 Thursday 21 July 2022 17:22:38 +0000 (0:00:00.037) 0:02:51.930 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-size.yml:44 Thursday 21 July 2022 17:22:38 +0000 (0:00:00.038) 0:02:51.968 ********* ok: [/cache/centos-8.qcow2] => { "storage_test_actual_size": { "bytes": 3221225472, "changed": false, "failed": false, "lvm": "3g", "parted": "3GiB", "size": "3 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-size.yml:47 Thursday 21 July 2022 17:22:38 +0000 (0:00:00.071) 0:02:52.040 ********* ok: [/cache/centos-8.qcow2] => { "storage_test_expected_size": "3221225472" } TASK [assert] ****************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-size.yml:50 Thursday 21 July 2022 17:22:38 +0000 (0:00:00.037) 0:02:52.077 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-cache.yml:6 Thursday 21 July 2022 17:22:38 +0000 (0:00:00.103) 0:02:52.180 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "cmd": [ "lvs", "--noheadings", "--nameprefixes", "--units=b", "--nosuffix", "--unquoted", "-o", "name,attr,cache_total_blocks,chunk_size,segtype", "foo/test1" ], "delta": "0:00:00.037790", "end": "2022-07-21 17:22:37.629237", "rc": 0, "start": "2022-07-21 17:22:37.591447" } STDOUT: LVM2_LV_NAME=test1 LVM2_LV_ATTR=-wi-ao---- LVM2_CACHE_TOTAL_BLOCKS= LVM2_CHUNK_SIZE=0 LVM2_SEGTYPE=linear TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-cache.yml:14 Thursday 21 July 2022 17:22:39 +0000 (0:00:00.483) 0:02:52.664 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "storage_test_lv_segtype": [ "linear" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-cache.yml:17 Thursday 21 July 2022 17:22:39 +0000 (0:00:00.051) 0:02:52.716 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-cache.yml:22 Thursday 21 July 2022 17:22:39 +0000 (0:00:00.053) 0:02:52.769 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-cache.yml:26 Thursday 21 July 2022 17:22:39 +0000 (0:00:00.039) 0:02:52.809 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-cache.yml:32 Thursday 21 July 2022 17:22:39 +0000 (0:00:00.035) 0:02:52.844 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-cache.yml:36 Thursday 21 July 2022 17:22:39 +0000 (0:00:00.035) 0:02:52.880 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume.yml:16 Thursday 21 July 2022 17:22:39 +0000 (0:00:00.039) 0:02:52.919 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-role-results.yml:43 Thursday 21 July 2022 17:22:39 +0000 (0:00:00.038) 0:02:52.958 ********* TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/verify-role-results.yml:53 Thursday 21 July 2022 17:22:39 +0000 (0:00:00.022) 0:02:52.980 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Change the mount location to "/opt/test2"] ******************************* task path: /tmp/tmp_0pjp8ed/tests/storage/tests_change_mount.yml:41 Thursday 21 July 2022 17:22:39 +0000 (0:00:00.035) 0:02:53.016 ********* TASK [fedora.linux_system_roles.storage : set platform/version specific variables] *** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Thursday 21 July 2022 17:22:39 +0000 (0:00:00.051) 0:02:53.067 ********* included: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for /cache/centos-8.qcow2 TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Thursday 21 July 2022 17:22:39 +0000 (0:00:00.036) 0:02:53.103 ********* ok: [/cache/centos-8.qcow2] TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Thursday 21 July 2022 17:22:40 +0000 (0:00:00.545) 0:02:53.648 ********* skipping: [/cache/centos-8.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [/cache/centos-8.qcow2] => (item=CentOS_8.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs" ] }, "ansible_included_var_files": [ "/tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } ok: [/cache/centos-8.qcow2] => (item=CentOS_8.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs" ] }, "ansible_included_var_files": [ "/tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } TASK [fedora.linux_system_roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Thursday 21 July 2022 17:22:40 +0000 (0:00:00.076) 0:02:53.725 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : define an empty list of volumes to be used in testing] *** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Thursday 21 July 2022 17:22:40 +0000 (0:00:00.036) 0:02:53.761 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : include the appropriate provider tasks] *** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Thursday 21 July 2022 17:22:40 +0000 (0:00:00.035) 0:02:53.796 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for /cache/centos-8.qcow2 TASK [fedora.linux_system_roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 17:22:40 +0000 (0:00:00.056) 0:02:53.852 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure blivet is available] ******* task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 17:22:40 +0000 (0:00:00.019) 0:02:53.872 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : show storage_pools] ****************** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:13 Thursday 21 July 2022 17:22:40 +0000 (0:00:00.026) 0:02:53.899 ********* ok: [/cache/centos-8.qcow2] => { "storage_pools": [ { "disks": [ "sda" ], "name": "foo", "volumes": [ { "mount_point": "/opt/test2", "name": "test1", "size": "3g" } ] } ] } TASK [fedora.linux_system_roles.storage : show storage_volumes] **************** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:18 Thursday 21 July 2022 17:22:40 +0000 (0:00:00.038) 0:02:53.938 ********* ok: [/cache/centos-8.qcow2] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [fedora.linux_system_roles.storage : get required packages] *************** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:23 Thursday 21 July 2022 17:22:40 +0000 (0:00:00.038) 0:02:53.976 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : enable copr repositories if needed] *** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:35 Thursday 21 July 2022 17:22:40 +0000 (0:00:00.027) 0:02:54.004 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure required packages are installed] *** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:41 Thursday 21 July 2022 17:22:40 +0000 (0:00:00.028) 0:02:54.033 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : get service facts] ******************* task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 Thursday 21 July 2022 17:22:40 +0000 (0:00:00.032) 0:02:54.066 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:53 Thursday 21 July 2022 17:22:40 +0000 (0:00:00.029) 0:02:54.095 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 17:22:40 +0000 (0:00:00.059) 0:02:54.155 ********* TASK [fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Thursday 21 July 2022 17:22:40 +0000 (0:00:00.024) 0:02:54.179 ********* ok: [/cache/centos-8.qcow2] => { "actions": [], "changed": false, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/mapper/foo-test1", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb", "/dev/vdc", "/dev/vdd" ], "mounts": [ { "path": "/opt/test1", "state": "absent" }, { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test2", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "xfsprogs", "lvm2" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "test1", "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/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:78 Thursday 21 July 2022 17:22:41 +0000 (0:00:01.244) 0:02:55.424 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Thursday 21 July 2022 17:22:41 +0000 (0:00:00.038) 0:02:55.463 ********* TASK [fedora.linux_system_roles.storage : show blivet_output] ****************** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:96 Thursday 21 July 2022 17:22:41 +0000 (0:00:00.022) 0:02:55.486 ********* ok: [/cache/centos-8.qcow2] => { "blivet_output": { "actions": [], "changed": false, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/mapper/foo-test1", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb", "/dev/vdc", "/dev/vdd" ], "mounts": [ { "path": "/opt/test1", "state": "absent" }, { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test2", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "xfsprogs", "lvm2" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "test1", "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/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:101 Thursday 21 July 2022 17:22:42 +0000 (0:00:00.115) 0:02:55.601 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "test1", "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/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:105 Thursday 21 July 2022 17:22:42 +0000 (0:00:00.043) 0:02:55.645 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : remove obsolete mounts] ************** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:121 Thursday 21 July 2022 17:22:42 +0000 (0:00:00.039) 0:02:55.684 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/centos-8.qcow2] => (item={'path': '/opt/test1', 'state': 'absent'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "mount_info": { "path": "/opt/test1", "state": "absent" }, "name": "/opt/test1", "opts": "defaults", "passno": "0" } TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 Thursday 21 July 2022 17:22:43 +0000 (0:00:01.440) 0:02:57.125 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : set up new/current mounts] *********** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:137 Thursday 21 July 2022 17:22:44 +0000 (0:00:00.630) 0:02:57.755 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/centos-8.qcow2] => (item={'src': '/dev/mapper/foo-test1', 'path': '/opt/test2', 'fstype': 'xfs', 'opts': 'defaults', 'dump': 0, 'passno': 0, 'state': 'mounted'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "xfs", "mount_info": { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test2", "src": "/dev/mapper/foo-test1", "state": "mounted" }, "name": "/opt/test2", "opts": "defaults", "passno": "0", "src": "/dev/mapper/foo-test1" } TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:148 Thursday 21 July 2022 17:22:44 +0000 (0:00:00.441) 0:02:58.196 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:156 Thursday 21 July 2022 17:22:45 +0000 (0:00:00.609) 0:02:58.805 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "stat": { "atime": 1658424019.5990922, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1643141385.117, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 135, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "inode/x-empty", "mode": "0600", "mtime": 1643141019.537, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "3147672035", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:161 Thursday 21 July 2022 17:22:45 +0000 (0:00:00.382) 0:02:59.188 ********* TASK [fedora.linux_system_roles.storage : Update facts] ************************ task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 Thursday 21 July 2022 17:22:45 +0000 (0:00:00.029) 0:02:59.218 ********* ok: [/cache/centos-8.qcow2] META: role_complete for /cache/centos-8.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/tests_change_mount.yml:53 Thursday 21 July 2022 17:22:46 +0000 (0:00:00.941) 0:03:00.160 ********* included: /tmp/tmp_0pjp8ed/tests/storage/verify-role-results.yml for /cache/centos-8.qcow2 TASK [Print out pool information] ********************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-role-results.yml:1 Thursday 21 July 2022 17:22:46 +0000 (0:00:00.044) 0:03:00.204 ********* ok: [/cache/centos-8.qcow2] => { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "test1", "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/tmp_0pjp8ed/tests/storage/verify-role-results.yml:6 Thursday 21 July 2022 17:22:46 +0000 (0:00:00.068) 0:03:00.273 ********* skipping: [/cache/centos-8.qcow2] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-role-results.yml:14 Thursday 21 July 2022 17:22:46 +0000 (0:00:00.035) 0:03:00.308 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "info": { "/dev/mapper/foo-test1": { "fstype": "xfs", "label": "", "name": "/dev/mapper/foo-test1", "size": "3G", "type": "lvm", "uuid": "3f9707eb-e9e3-48e9-8192-684bff860e45" }, "/dev/nvme0n1": { "fstype": "", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme1n1": { "fstype": "", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme2n1": { "fstype": "", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda": { "fstype": "LVM2_member", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "d4pbts-xL1t-Vmh1-xa4l-rUIh-9H1g-wushZY" }, "/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-17-19-27-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "xfs", "label": "", "name": "/dev/vda1", "size": "10G", "type": "partition", "uuid": "395b9844-e404-4857-afbb-c6edccaf72f3" }, "/dev/vdb": { "fstype": "", "label": "", "name": "/dev/vdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vdc": { "fstype": "", "label": "", "name": "/dev/vdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vdd": { "fstype": "", "label": "", "name": "/dev/vdd", "size": "10G", "type": "disk", "uuid": "" } } } TASK [Read the /etc/fstab file for volume existence] *************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-role-results.yml:19 Thursday 21 July 2022 17:22:47 +0000 (0:00:00.395) 0:03:00.704 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.003190", "end": "2022-07-21 17:22:46.094555", "rc": 0, "start": "2022-07-21 17:22:46.091365" } STDOUT: # # /etc/fstab # Created by anaconda on Tue Jan 25 20:03:39 2022 # # Accessible filesystems, by reference, are maintained under '/dev/disk/'. # See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info. # # After editing this file, run 'systemctl daemon-reload' to update systemd # units generated from this file. # UUID=395b9844-e404-4857-afbb-c6edccaf72f3 / xfs defaults 0 0 /dev/mapper/foo-test1 /opt/test2 xfs defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/verify-role-results.yml:24 Thursday 21 July 2022 17:22:47 +0000 (0:00:00.391) 0:03:01.095 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.002888", "end": "2022-07-21 17:22:46.521021", "failed_when_result": false, "rc": 0, "start": "2022-07-21 17:22:46.518133" } TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmp_0pjp8ed/tests/storage/verify-role-results.yml:33 Thursday 21 July 2022 17:22:47 +0000 (0:00:00.426) 0:03:01.521 ********* included: /tmp/tmp_0pjp8ed/tests/storage/test-verify-pool.yml for /cache/centos-8.qcow2 => (item={'disks': ['sda'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'name': 'foo', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'state': 'present', 'type': 'lvm', 'volumes': [{'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test2', 'name': 'test1', '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'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}], 'raid_chunk_size': None}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-pool.yml:5 Thursday 21 July 2022 17:22:47 +0000 (0:00:00.063) 0:03:01.585 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-pool.yml:18 Thursday 21 July 2022 17:22:48 +0000 (0:00:00.110) 0:03:01.696 ********* included: /tmp/tmp_0pjp8ed/tests/storage/test-verify-pool-members.yml for /cache/centos-8.qcow2 => (item=members) included: /tmp/tmp_0pjp8ed/tests/storage/test-verify-pool-volumes.yml for /cache/centos-8.qcow2 => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-pool-members.yml:1 Thursday 21 July 2022 17:22:48 +0000 (0:00:00.047) 0:03:01.744 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_count": "1", "_storage_test_pool_pvs_lvm": [ "/dev/sda" ] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-pool-members.yml:6 Thursday 21 July 2022 17:22:48 +0000 (0:00:00.057) 0:03:01.802 ********* ok: [/cache/centos-8.qcow2] => (item=/dev/sda) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/sda", "pv": "/dev/sda" } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-pool-members.yml:15 Thursday 21 July 2022 17:22:48 +0000 (0:00:00.382) 0:03:02.184 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "__pvs_lvm_len": "1" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-pool-members.yml:19 Thursday 21 July 2022 17:22:48 +0000 (0:00:00.050) 0:03:02.235 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/sda" ] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-pool-members.yml:23 Thursday 21 July 2022 17:22:48 +0000 (0:00:00.051) 0:03:02.286 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-pool-members.yml:29 Thursday 21 July 2022 17:22:48 +0000 (0:00:00.050) 0:03:02.337 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-pool-members.yml:33 Thursday 21 July 2022 17:22:48 +0000 (0:00:00.038) 0:03:02.376 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-pool-members.yml:37 Thursday 21 July 2022 17:22:48 +0000 (0:00:00.049) 0:03:02.426 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-pool-members.yml:41 Thursday 21 July 2022 17:22:48 +0000 (0:00:00.023) 0:03:02.449 ********* ok: [/cache/centos-8.qcow2] => (item=/dev/sda) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/sda" } MSG: All assertions passed TASK [Check MD RAID] *********************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-pool-members.yml:50 Thursday 21 July 2022 17:22:48 +0000 (0:00:00.043) 0:03:02.493 ********* included: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-md.yml for /cache/centos-8.qcow2 TASK [get information about RAID] ********************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-md.yml:6 Thursday 21 July 2022 17:22:48 +0000 (0:00:00.041) 0:03:02.534 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-md.yml:12 Thursday 21 July 2022 17:22:48 +0000 (0:00:00.024) 0:03:02.559 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-md.yml:16 Thursday 21 July 2022 17:22:48 +0000 (0:00:00.025) 0:03:02.584 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-md.yml:20 Thursday 21 July 2022 17:22:49 +0000 (0:00:00.023) 0:03:02.608 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-md.yml:24 Thursday 21 July 2022 17:22:49 +0000 (0:00:00.026) 0:03:02.635 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-md.yml:30 Thursday 21 July 2022 17:22:49 +0000 (0:00:00.023) 0:03:02.658 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-md.yml:36 Thursday 21 July 2022 17:22:49 +0000 (0:00:00.025) 0:03:02.684 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-md.yml:44 Thursday 21 July 2022 17:22:49 +0000 (0:00:00.026) 0:03:02.710 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "storage_test_md_active_devices_re": null, "storage_test_md_metadata_version_re": null, "storage_test_md_spare_devices_re": null }, "changed": false } TASK [Check LVM RAID] ********************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-pool-members.yml:53 Thursday 21 July 2022 17:22:49 +0000 (0:00:00.038) 0:03:02.749 ********* included: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-members-lvmraid.yml for /cache/centos-8.qcow2 TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-members-lvmraid.yml:1 Thursday 21 July 2022 17:22:49 +0000 (0:00:00.043) 0:03:02.792 ********* included: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-lvmraid.yml for /cache/centos-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test2', 'name': 'test1', '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'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-lvmraid.yml:3 Thursday 21 July 2022 17:22:49 +0000 (0:00:00.044) 0:03:02.837 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-lvmraid.yml:8 Thursday 21 July 2022 17:22:49 +0000 (0:00:00.028) 0:03:02.865 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-lvmraid.yml:12 Thursday 21 July 2022 17:22:49 +0000 (0:00:00.027) 0:03:02.892 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-pool-members.yml:56 Thursday 21 July 2022 17:22:49 +0000 (0:00:00.028) 0:03:02.920 ********* included: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-members-thin.yml for /cache/centos-8.qcow2 TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-members-thin.yml:1 Thursday 21 July 2022 17:22:49 +0000 (0:00:00.045) 0:03:02.966 ********* included: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-thin.yml for /cache/centos-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test2', 'name': 'test1', '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'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [Get information about thinpool] ****************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-thin.yml:3 Thursday 21 July 2022 17:22:49 +0000 (0:00:00.043) 0:03:03.009 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in correct thinpool (when thinp name is provided)] *** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-thin.yml:8 Thursday 21 July 2022 17:22:49 +0000 (0:00:00.026) 0:03:03.035 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in thinpool (when thinp name is not provided)] ****** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-thin.yml:13 Thursday 21 July 2022 17:22:49 +0000 (0:00:00.024) 0:03:03.060 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-thin.yml:17 Thursday 21 July 2022 17:22:49 +0000 (0:00:00.025) 0:03:03.085 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-pool-members.yml:59 Thursday 21 July 2022 17:22:49 +0000 (0:00:00.024) 0:03:03.109 ********* included: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-members-encryption.yml for /cache/centos-8.qcow2 TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-members-encryption.yml:4 Thursday 21 July 2022 17:22:49 +0000 (0:00:00.084) 0:03:03.194 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Validate pool member LUKS settings] ************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-members-encryption.yml:8 Thursday 21 July 2022 17:22:49 +0000 (0:00:00.049) 0:03:03.244 ********* skipping: [/cache/centos-8.qcow2] => (item=/dev/sda) => { "_storage_test_pool_member_path": "/dev/sda", "ansible_loop_var": "_storage_test_pool_member_path", "changed": false, "skip_reason": "Conditional result was False" } TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-members-encryption.yml:15 Thursday 21 July 2022 17:22:49 +0000 (0:00:00.027) 0:03:03.271 ********* included: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-crypttab.yml for /cache/centos-8.qcow2 => (item=/dev/sda) TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-crypttab.yml:1 Thursday 21 July 2022 17:22:49 +0000 (0:00:00.042) 0:03:03.314 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": [] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-crypttab.yml:4 Thursday 21 July 2022 17:22:49 +0000 (0:00:00.047) 0:03:03.362 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-crypttab.yml:9 Thursday 21 July 2022 17:22:49 +0000 (0:00:00.052) 0:03:03.415 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-crypttab.yml:15 Thursday 21 July 2022 17:22:49 +0000 (0:00:00.040) 0:03:03.455 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-crypttab.yml:21 Thursday 21 July 2022 17:22:49 +0000 (0:00:00.038) 0:03:03.493 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-crypttab.yml:27 Thursday 21 July 2022 17:22:49 +0000 (0:00:00.037) 0:03:03.531 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-members-encryption.yml:22 Thursday 21 July 2022 17:22:49 +0000 (0:00:00.045) 0:03:03.576 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-pool-members.yml:62 Thursday 21 July 2022 17:22:50 +0000 (0:00:00.043) 0:03:03.620 ********* included: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-members-vdo.yml for /cache/centos-8.qcow2 TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-members-vdo.yml:1 Thursday 21 July 2022 17:22:50 +0000 (0:00:00.050) 0:03:03.670 ********* included: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-vdo.yml for /cache/centos-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test2', 'name': 'test1', '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'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-vdo.yml:3 Thursday 21 July 2022 17:22:50 +0000 (0:00:00.046) 0:03:03.717 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-vdo.yml:8 Thursday 21 July 2022 17:22:50 +0000 (0:00:00.026) 0:03:03.743 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-vdo.yml:11 Thursday 21 July 2022 17:22:50 +0000 (0:00:00.023) 0:03:03.767 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-vdo.yml:16 Thursday 21 July 2022 17:22:50 +0000 (0:00:00.026) 0:03:03.793 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-vdo.yml:21 Thursday 21 July 2022 17:22:50 +0000 (0:00:00.025) 0:03:03.819 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-vdo.yml:24 Thursday 21 July 2022 17:22:50 +0000 (0:00:00.024) 0:03:03.844 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-vdo.yml:29 Thursday 21 July 2022 17:22:50 +0000 (0:00:00.024) 0:03:03.869 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-vdo.yml:39 Thursday 21 July 2022 17:22:50 +0000 (0:00:00.025) 0:03:03.894 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-pool-members.yml:65 Thursday 21 July 2022 17:22:50 +0000 (0:00:00.034) 0:03:03.929 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "__pvs_lvm_len": null, "_storage_test_expected_pv_count": null, "_storage_test_expected_pv_type": null, "_storage_test_pool_pvs": [], "_storage_test_pool_pvs_lvm": [] }, "changed": false } TASK [verify the volumes] ****************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-pool-volumes.yml:3 Thursday 21 July 2022 17:22:50 +0000 (0:00:00.035) 0:03:03.965 ********* included: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume.yml for /cache/centos-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test2', 'name': 'test1', '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'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume.yml:2 Thursday 21 July 2022 17:22:50 +0000 (0:00:00.044) 0:03:04.009 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_test_volume_present": true, "_storage_volume_tests": [ "mount", "fstab", "fs", "device", "encryption", "md", "size", "cache" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume.yml:10 Thursday 21 July 2022 17:22:50 +0000 (0:00:00.050) 0:03:04.060 ********* included: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-mount.yml for /cache/centos-8.qcow2 => (item=mount) included: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-fstab.yml for /cache/centos-8.qcow2 => (item=fstab) included: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-fs.yml for /cache/centos-8.qcow2 => (item=fs) included: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-device.yml for /cache/centos-8.qcow2 => (item=device) included: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml for /cache/centos-8.qcow2 => (item=encryption) included: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-md.yml for /cache/centos-8.qcow2 => (item=md) included: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-size.yml for /cache/centos-8.qcow2 => (item=size) included: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-cache.yml for /cache/centos-8.qcow2 => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-mount.yml:6 Thursday 21 July 2022 17:22:50 +0000 (0:00:00.077) 0:03:04.138 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/foo-test1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-mount.yml:10 Thursday 21 July 2022 17:22:50 +0000 (0:00:00.043) 0:03:04.182 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 770146, "block_size": 4096, "block_total": 783872, "block_used": 13726, "device": "/dev/mapper/foo-test1", "fstype": "xfs", "inode_available": 1572861, "inode_total": 1572864, "inode_used": 3, "mount": "/opt/test2", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota", "size_available": 3154518016, "size_total": 3210739712, "uuid": "3f9707eb-e9e3-48e9-8192-684bff860e45" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 770146, "block_size": 4096, "block_total": 783872, "block_used": 13726, "device": "/dev/mapper/foo-test1", "fstype": "xfs", "inode_available": 1572861, "inode_total": 1572864, "inode_used": 3, "mount": "/opt/test2", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota", "size_available": 3154518016, "size_total": 3210739712, "uuid": "3f9707eb-e9e3-48e9-8192-684bff860e45" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-mount.yml:20 Thursday 21 July 2022 17:22:50 +0000 (0:00:00.058) 0:03:04.240 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-mount.yml:29 Thursday 21 July 2022 17:22:50 +0000 (0:00:00.051) 0:03:04.291 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-mount.yml:37 Thursday 21 July 2022 17:22:50 +0000 (0:00:00.047) 0:03:04.339 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-mount.yml:46 Thursday 21 July 2022 17:22:50 +0000 (0:00:00.053) 0:03:04.393 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-mount.yml:50 Thursday 21 July 2022 17:22:50 +0000 (0:00:00.023) 0:03:04.416 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-mount.yml:55 Thursday 21 July 2022 17:22:50 +0000 (0:00:00.022) 0:03:04.438 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-mount.yml:65 Thursday 21 July 2022 17:22:50 +0000 (0:00:00.023) 0:03:04.462 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "storage_test_mount_device_matches": null, "storage_test_mount_expected_match_count": null, "storage_test_mount_point_matches": null, "storage_test_swap_expected_matches": null, "storage_test_swaps": null, "storage_test_sys_node": null }, "changed": false } TASK [Set some variables for fstab checking] *********************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 17:22:50 +0000 (0:00:00.132) 0:03:04.595 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "1", "storage_test_fstab_expected_mount_options_matches": "1", "storage_test_fstab_expected_mount_point_matches": "1", "storage_test_fstab_id_matches": [ "/dev/mapper/foo-test1 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test2 xfs defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test2 " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-fstab.yml:12 Thursday 21 July 2022 17:22:51 +0000 (0:00:00.079) 0:03:04.674 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-fstab.yml:19 Thursday 21 July 2022 17:22:51 +0000 (0:00:00.049) 0:03:04.723 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 17:22:51 +0000 (0:00:00.063) 0:03:04.787 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-fstab.yml:34 Thursday 21 July 2022 17:22:51 +0000 (0:00:00.037) 0:03:04.824 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": null, "storage_test_fstab_expected_mount_options_matches": null, "storage_test_fstab_expected_mount_point_matches": null, "storage_test_fstab_id_matches": null, "storage_test_fstab_mount_options_matches": null, "storage_test_fstab_mount_point_matches": null }, "changed": false } TASK [Verify fs type] ********************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-fs.yml:4 Thursday 21 July 2022 17:22:51 +0000 (0:00:00.033) 0:03:04.858 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-fs.yml:10 Thursday 21 July 2022 17:22:51 +0000 (0:00:00.041) 0:03:04.899 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-device.yml:4 Thursday 21 July 2022 17:22:51 +0000 (0:00:00.040) 0:03:04.939 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "stat": { "atime": 1658424142.9850922, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658424142.9850922, "dev": 6, "device_type": 64768, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 94173, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1658424142.9850922, "nlink": 1, "path": "/dev/mapper/foo-test1", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-device.yml:10 Thursday 21 July 2022 17:22:51 +0000 (0:00:00.394) 0:03:05.334 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-device.yml:15 Thursday 21 July 2022 17:22:51 +0000 (0:00:00.039) 0:03:05.373 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-device.yml:21 Thursday 21 July 2022 17:22:51 +0000 (0:00:00.041) 0:03:05.415 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-device.yml:25 Thursday 21 July 2022 17:22:51 +0000 (0:00:00.034) 0:03:05.449 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-device.yml:30 Thursday 21 July 2022 17:22:51 +0000 (0:00:00.021) 0:03:05.471 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 17:22:51 +0000 (0:00:00.042) 0:03:05.513 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 17:22:51 +0000 (0:00:00.026) 0:03:05.539 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 17:22:53 +0000 (0:00:01.930) 0:03:07.470 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 17:22:53 +0000 (0:00:00.025) 0:03:07.495 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the raw device is the same as the device if not encrypted] *** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:27 Thursday 21 July 2022 17:22:53 +0000 (0:00:00.024) 0:03:07.520 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:33 Thursday 21 July 2022 17:22:53 +0000 (0:00:00.050) 0:03:07.571 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:39 Thursday 21 July 2022 17:22:53 +0000 (0:00:00.022) 0:03:07.594 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 17:22:54 +0000 (0:00:00.023) 0:03:07.617 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:50 Thursday 21 July 2022 17:22:54 +0000 (0:00:00.033) 0:03:07.650 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:56 Thursday 21 July 2022 17:22:54 +0000 (0:00:00.029) 0:03:07.679 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:62 Thursday 21 July 2022 17:22:54 +0000 (0:00:00.023) 0:03:07.703 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": [], "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 17:22:54 +0000 (0:00:00.052) 0:03:07.755 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:72 Thursday 21 July 2022 17:22:54 +0000 (0:00:00.054) 0:03:07.809 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:78 Thursday 21 July 2022 17:22:54 +0000 (0:00:00.037) 0:03:07.846 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:84 Thursday 21 July 2022 17:22:54 +0000 (0:00:00.035) 0:03:07.882 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:90 Thursday 21 July 2022 17:22:54 +0000 (0:00:00.034) 0:03:07.917 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_expected_crypttab_entries": null, "_storage_test_expected_crypttab_key_file": null }, "changed": false } TASK [get information about RAID] ********************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-md.yml:7 Thursday 21 July 2022 17:22:54 +0000 (0:00:00.034) 0:03:07.952 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-md.yml:13 Thursday 21 July 2022 17:22:54 +0000 (0:00:00.038) 0:03:07.990 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-md.yml:17 Thursday 21 July 2022 17:22:54 +0000 (0:00:00.036) 0:03:08.027 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-md.yml:21 Thursday 21 July 2022 17:22:54 +0000 (0:00:00.038) 0:03:08.065 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-md.yml:25 Thursday 21 July 2022 17:22:54 +0000 (0:00:00.039) 0:03:08.104 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-md.yml:31 Thursday 21 July 2022 17:22:54 +0000 (0:00:00.036) 0:03:08.141 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-md.yml:37 Thursday 21 July 2022 17:22:54 +0000 (0:00:00.039) 0:03:08.180 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-size.yml:3 Thursday 21 July 2022 17:22:54 +0000 (0:00:00.042) 0:03:08.222 ********* ok: [/cache/centos-8.qcow2] => { "bytes": 3221225472, "changed": false, "lvm": "3g", "parted": "3GiB", "size": "3 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-size.yml:9 Thursday 21 July 2022 17:22:55 +0000 (0:00:00.397) 0:03:08.620 ********* ok: [/cache/centos-8.qcow2] => { "bytes": 3221225472, "changed": false, "lvm": "3g", "parted": "3GiB", "size": "3 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-size.yml:15 Thursday 21 July 2022 17:22:55 +0000 (0:00:00.450) 0:03:09.070 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "storage_test_expected_size": "3221225472" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-size.yml:20 Thursday 21 July 2022 17:22:55 +0000 (0:00:00.055) 0:03:09.126 ********* ok: [/cache/centos-8.qcow2] => { "storage_test_expected_size": "3221225472" } TASK [debug] ******************************************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-size.yml:25 Thursday 21 July 2022 17:22:55 +0000 (0:00:00.082) 0:03:09.209 ********* skipping: [/cache/centos-8.qcow2] => {} TASK [debug] ******************************************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-size.yml:28 Thursday 21 July 2022 17:22:55 +0000 (0:00:00.042) 0:03:09.251 ********* skipping: [/cache/centos-8.qcow2] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-size.yml:31 Thursday 21 July 2022 17:22:55 +0000 (0:00:00.140) 0:03:09.391 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-size.yml:36 Thursday 21 July 2022 17:22:55 +0000 (0:00:00.055) 0:03:09.447 ********* skipping: [/cache/centos-8.qcow2] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-size.yml:39 Thursday 21 July 2022 17:22:55 +0000 (0:00:00.041) 0:03:09.489 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-size.yml:44 Thursday 21 July 2022 17:22:55 +0000 (0:00:00.044) 0:03:09.533 ********* ok: [/cache/centos-8.qcow2] => { "storage_test_actual_size": { "bytes": 3221225472, "changed": false, "failed": false, "lvm": "3g", "parted": "3GiB", "size": "3 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-size.yml:47 Thursday 21 July 2022 17:22:55 +0000 (0:00:00.036) 0:03:09.570 ********* ok: [/cache/centos-8.qcow2] => { "storage_test_expected_size": "3221225472" } TASK [assert] ****************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-size.yml:50 Thursday 21 July 2022 17:22:56 +0000 (0:00:00.043) 0:03:09.613 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-cache.yml:6 Thursday 21 July 2022 17:22:56 +0000 (0:00:00.055) 0:03:09.669 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "cmd": [ "lvs", "--noheadings", "--nameprefixes", "--units=b", "--nosuffix", "--unquoted", "-o", "name,attr,cache_total_blocks,chunk_size,segtype", "foo/test1" ], "delta": "0:00:00.037609", "end": "2022-07-21 17:22:55.104409", "rc": 0, "start": "2022-07-21 17:22:55.066800" } STDOUT: LVM2_LV_NAME=test1 LVM2_LV_ATTR=-wi-ao---- LVM2_CACHE_TOTAL_BLOCKS= LVM2_CHUNK_SIZE=0 LVM2_SEGTYPE=linear TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-cache.yml:14 Thursday 21 July 2022 17:22:56 +0000 (0:00:00.440) 0:03:10.109 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "storage_test_lv_segtype": [ "linear" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-cache.yml:17 Thursday 21 July 2022 17:22:56 +0000 (0:00:00.063) 0:03:10.173 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-cache.yml:22 Thursday 21 July 2022 17:22:56 +0000 (0:00:00.056) 0:03:10.230 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-cache.yml:26 Thursday 21 July 2022 17:22:56 +0000 (0:00:00.040) 0:03:10.270 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-cache.yml:32 Thursday 21 July 2022 17:22:56 +0000 (0:00:00.040) 0:03:10.310 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-cache.yml:36 Thursday 21 July 2022 17:22:56 +0000 (0:00:00.042) 0:03:10.352 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume.yml:16 Thursday 21 July 2022 17:22:56 +0000 (0:00:00.042) 0:03:10.395 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-role-results.yml:43 Thursday 21 July 2022 17:22:56 +0000 (0:00:00.034) 0:03:10.430 ********* TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/verify-role-results.yml:53 Thursday 21 July 2022 17:22:56 +0000 (0:00:00.021) 0:03:10.452 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Repeat the previous invocation to verify idempotence] ******************** task path: /tmp/tmp_0pjp8ed/tests/storage/tests_change_mount.yml:55 Thursday 21 July 2022 17:22:56 +0000 (0:00:00.035) 0:03:10.488 ********* TASK [fedora.linux_system_roles.storage : set platform/version specific variables] *** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Thursday 21 July 2022 17:22:56 +0000 (0:00:00.052) 0:03:10.540 ********* included: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for /cache/centos-8.qcow2 TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Thursday 21 July 2022 17:22:56 +0000 (0:00:00.038) 0:03:10.578 ********* ok: [/cache/centos-8.qcow2] TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Thursday 21 July 2022 17:22:57 +0000 (0:00:00.525) 0:03:11.104 ********* skipping: [/cache/centos-8.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [/cache/centos-8.qcow2] => (item=CentOS_8.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs" ] }, "ansible_included_var_files": [ "/tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } ok: [/cache/centos-8.qcow2] => (item=CentOS_8.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs" ] }, "ansible_included_var_files": [ "/tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } TASK [fedora.linux_system_roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Thursday 21 July 2022 17:22:57 +0000 (0:00:00.075) 0:03:11.179 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : define an empty list of volumes to be used in testing] *** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Thursday 21 July 2022 17:22:57 +0000 (0:00:00.036) 0:03:11.216 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : include the appropriate provider tasks] *** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Thursday 21 July 2022 17:22:57 +0000 (0:00:00.042) 0:03:11.258 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for /cache/centos-8.qcow2 TASK [fedora.linux_system_roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 17:22:57 +0000 (0:00:00.058) 0:03:11.317 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure blivet is available] ******* task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 17:22:57 +0000 (0:00:00.021) 0:03:11.338 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : show storage_pools] ****************** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:13 Thursday 21 July 2022 17:22:57 +0000 (0:00:00.028) 0:03:11.367 ********* ok: [/cache/centos-8.qcow2] => { "storage_pools": [ { "disks": [ "sda" ], "name": "foo", "volumes": [ { "mount_point": "/opt/test2", "name": "test1", "size": "3g" } ] } ] } TASK [fedora.linux_system_roles.storage : show storage_volumes] **************** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:18 Thursday 21 July 2022 17:22:57 +0000 (0:00:00.098) 0:03:11.465 ********* ok: [/cache/centos-8.qcow2] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [fedora.linux_system_roles.storage : get required packages] *************** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:23 Thursday 21 July 2022 17:22:57 +0000 (0:00:00.039) 0:03:11.504 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : enable copr repositories if needed] *** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:35 Thursday 21 July 2022 17:22:57 +0000 (0:00:00.029) 0:03:11.534 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure required packages are installed] *** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:41 Thursday 21 July 2022 17:22:57 +0000 (0:00:00.035) 0:03:11.569 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : get service facts] ******************* task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 Thursday 21 July 2022 17:22:58 +0000 (0:00:00.029) 0:03:11.599 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:53 Thursday 21 July 2022 17:22:58 +0000 (0:00:00.026) 0:03:11.625 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 17:22:58 +0000 (0:00:00.055) 0:03:11.681 ********* TASK [fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Thursday 21 July 2022 17:22:58 +0000 (0:00:00.022) 0:03:11.703 ********* ok: [/cache/centos-8.qcow2] => { "actions": [], "changed": false, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/mapper/foo-test1", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb", "/dev/vdc", "/dev/vdd" ], "mounts": [ { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test2", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "lvm2", "xfsprogs" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "test1", "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/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:78 Thursday 21 July 2022 17:22:59 +0000 (0:00:01.220) 0:03:12.923 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Thursday 21 July 2022 17:22:59 +0000 (0:00:00.037) 0:03:12.961 ********* TASK [fedora.linux_system_roles.storage : show blivet_output] ****************** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:96 Thursday 21 July 2022 17:22:59 +0000 (0:00:00.022) 0:03:12.984 ********* ok: [/cache/centos-8.qcow2] => { "blivet_output": { "actions": [], "changed": false, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/mapper/foo-test1", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb", "/dev/vdc", "/dev/vdd" ], "mounts": [ { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test2", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "lvm2", "xfsprogs" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "test1", "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/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:101 Thursday 21 July 2022 17:22:59 +0000 (0:00:00.040) 0:03:13.025 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "test1", "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/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:105 Thursday 21 July 2022 17:22:59 +0000 (0:00:00.040) 0:03:13.066 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : remove obsolete mounts] ************** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:121 Thursday 21 July 2022 17:22:59 +0000 (0:00:00.036) 0:03:13.103 ********* TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 Thursday 21 July 2022 17:22:59 +0000 (0:00:00.035) 0:03:13.138 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : set up new/current mounts] *********** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:137 Thursday 21 July 2022 17:23:00 +0000 (0:00:00.632) 0:03:13.771 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount ok: [/cache/centos-8.qcow2] => (item={'src': '/dev/mapper/foo-test1', '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/foo-test1", "state": "mounted" }, "name": "/opt/test2", "opts": "defaults", "passno": "0", "src": "/dev/mapper/foo-test1" } TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:148 Thursday 21 July 2022 17:23:00 +0000 (0:00:00.417) 0:03:14.189 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:156 Thursday 21 July 2022 17:23:01 +0000 (0:00:00.641) 0:03:14.830 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "stat": { "atime": 1658424019.5990922, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1643141385.117, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 135, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "inode/x-empty", "mode": "0600", "mtime": 1643141019.537, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "3147672035", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:161 Thursday 21 July 2022 17:23:01 +0000 (0:00:00.385) 0:03:15.215 ********* TASK [fedora.linux_system_roles.storage : Update facts] ************************ task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 Thursday 21 July 2022 17:23:01 +0000 (0:00:00.025) 0:03:15.241 ********* ok: [/cache/centos-8.qcow2] META: role_complete for /cache/centos-8.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/tests_change_mount.yml:67 Thursday 21 July 2022 17:23:02 +0000 (0:00:00.981) 0:03:16.223 ********* included: /tmp/tmp_0pjp8ed/tests/storage/verify-role-results.yml for /cache/centos-8.qcow2 TASK [Print out pool information] ********************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-role-results.yml:1 Thursday 21 July 2022 17:23:02 +0000 (0:00:00.042) 0:03:16.265 ********* ok: [/cache/centos-8.qcow2] => { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "test1", "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/tmp_0pjp8ed/tests/storage/verify-role-results.yml:6 Thursday 21 July 2022 17:23:02 +0000 (0:00:00.079) 0:03:16.345 ********* skipping: [/cache/centos-8.qcow2] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-role-results.yml:14 Thursday 21 July 2022 17:23:02 +0000 (0:00:00.068) 0:03:16.414 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "info": { "/dev/mapper/foo-test1": { "fstype": "xfs", "label": "", "name": "/dev/mapper/foo-test1", "size": "3G", "type": "lvm", "uuid": "3f9707eb-e9e3-48e9-8192-684bff860e45" }, "/dev/nvme0n1": { "fstype": "", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme1n1": { "fstype": "", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme2n1": { "fstype": "", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda": { "fstype": "LVM2_member", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "d4pbts-xL1t-Vmh1-xa4l-rUIh-9H1g-wushZY" }, "/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-17-19-27-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "xfs", "label": "", "name": "/dev/vda1", "size": "10G", "type": "partition", "uuid": "395b9844-e404-4857-afbb-c6edccaf72f3" }, "/dev/vdb": { "fstype": "", "label": "", "name": "/dev/vdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vdc": { "fstype": "", "label": "", "name": "/dev/vdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vdd": { "fstype": "", "label": "", "name": "/dev/vdd", "size": "10G", "type": "disk", "uuid": "" } } } TASK [Read the /etc/fstab file for volume existence] *************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-role-results.yml:19 Thursday 21 July 2022 17:23:03 +0000 (0:00:00.374) 0:03:16.788 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.002735", "end": "2022-07-21 17:23:02.170457", "rc": 0, "start": "2022-07-21 17:23:02.167722" } STDOUT: # # /etc/fstab # Created by anaconda on Tue Jan 25 20:03:39 2022 # # Accessible filesystems, by reference, are maintained under '/dev/disk/'. # See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info. # # After editing this file, run 'systemctl daemon-reload' to update systemd # units generated from this file. # UUID=395b9844-e404-4857-afbb-c6edccaf72f3 / xfs defaults 0 0 /dev/mapper/foo-test1 /opt/test2 xfs defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/verify-role-results.yml:24 Thursday 21 July 2022 17:23:03 +0000 (0:00:00.383) 0:03:17.172 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.002957", "end": "2022-07-21 17:23:02.547715", "failed_when_result": false, "rc": 0, "start": "2022-07-21 17:23:02.544758" } TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmp_0pjp8ed/tests/storage/verify-role-results.yml:33 Thursday 21 July 2022 17:23:03 +0000 (0:00:00.375) 0:03:17.547 ********* included: /tmp/tmp_0pjp8ed/tests/storage/test-verify-pool.yml for /cache/centos-8.qcow2 => (item={'disks': ['sda'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'name': 'foo', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'state': 'present', 'type': 'lvm', 'volumes': [{'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test2', 'name': 'test1', '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'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}], 'raid_chunk_size': None}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-pool.yml:5 Thursday 21 July 2022 17:23:04 +0000 (0:00:00.056) 0:03:17.604 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-pool.yml:18 Thursday 21 July 2022 17:23:04 +0000 (0:00:00.034) 0:03:17.638 ********* included: /tmp/tmp_0pjp8ed/tests/storage/test-verify-pool-members.yml for /cache/centos-8.qcow2 => (item=members) included: /tmp/tmp_0pjp8ed/tests/storage/test-verify-pool-volumes.yml for /cache/centos-8.qcow2 => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-pool-members.yml:1 Thursday 21 July 2022 17:23:04 +0000 (0:00:00.045) 0:03:17.684 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_count": "1", "_storage_test_pool_pvs_lvm": [ "/dev/sda" ] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-pool-members.yml:6 Thursday 21 July 2022 17:23:04 +0000 (0:00:00.053) 0:03:17.737 ********* ok: [/cache/centos-8.qcow2] => (item=/dev/sda) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/sda", "pv": "/dev/sda" } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-pool-members.yml:15 Thursday 21 July 2022 17:23:04 +0000 (0:00:00.383) 0:03:18.121 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "__pvs_lvm_len": "1" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-pool-members.yml:19 Thursday 21 July 2022 17:23:04 +0000 (0:00:00.046) 0:03:18.168 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/sda" ] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-pool-members.yml:23 Thursday 21 July 2022 17:23:04 +0000 (0:00:00.046) 0:03:18.215 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-pool-members.yml:29 Thursday 21 July 2022 17:23:04 +0000 (0:00:00.047) 0:03:18.262 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-pool-members.yml:33 Thursday 21 July 2022 17:23:04 +0000 (0:00:00.037) 0:03:18.300 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-pool-members.yml:37 Thursday 21 July 2022 17:23:04 +0000 (0:00:00.051) 0:03:18.351 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-pool-members.yml:41 Thursday 21 July 2022 17:23:04 +0000 (0:00:00.025) 0:03:18.376 ********* ok: [/cache/centos-8.qcow2] => (item=/dev/sda) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/sda" } MSG: All assertions passed TASK [Check MD RAID] *********************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-pool-members.yml:50 Thursday 21 July 2022 17:23:04 +0000 (0:00:00.040) 0:03:18.417 ********* included: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-md.yml for /cache/centos-8.qcow2 TASK [get information about RAID] ********************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-md.yml:6 Thursday 21 July 2022 17:23:04 +0000 (0:00:00.040) 0:03:18.458 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-md.yml:12 Thursday 21 July 2022 17:23:04 +0000 (0:00:00.022) 0:03:18.480 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-md.yml:16 Thursday 21 July 2022 17:23:04 +0000 (0:00:00.025) 0:03:18.506 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-md.yml:20 Thursday 21 July 2022 17:23:04 +0000 (0:00:00.025) 0:03:18.532 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-md.yml:24 Thursday 21 July 2022 17:23:04 +0000 (0:00:00.023) 0:03:18.555 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-md.yml:30 Thursday 21 July 2022 17:23:04 +0000 (0:00:00.022) 0:03:18.578 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-md.yml:36 Thursday 21 July 2022 17:23:05 +0000 (0:00:00.022) 0:03:18.600 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-md.yml:44 Thursday 21 July 2022 17:23:05 +0000 (0:00:00.022) 0:03:18.623 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "storage_test_md_active_devices_re": null, "storage_test_md_metadata_version_re": null, "storage_test_md_spare_devices_re": null }, "changed": false } TASK [Check LVM RAID] ********************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-pool-members.yml:53 Thursday 21 July 2022 17:23:05 +0000 (0:00:00.069) 0:03:18.692 ********* included: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-members-lvmraid.yml for /cache/centos-8.qcow2 TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-members-lvmraid.yml:1 Thursday 21 July 2022 17:23:05 +0000 (0:00:00.048) 0:03:18.741 ********* included: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-lvmraid.yml for /cache/centos-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test2', 'name': 'test1', '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'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-lvmraid.yml:3 Thursday 21 July 2022 17:23:05 +0000 (0:00:00.047) 0:03:18.789 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-lvmraid.yml:8 Thursday 21 July 2022 17:23:05 +0000 (0:00:00.030) 0:03:18.820 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-lvmraid.yml:12 Thursday 21 July 2022 17:23:05 +0000 (0:00:00.029) 0:03:18.849 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-pool-members.yml:56 Thursday 21 July 2022 17:23:05 +0000 (0:00:00.028) 0:03:18.878 ********* included: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-members-thin.yml for /cache/centos-8.qcow2 TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-members-thin.yml:1 Thursday 21 July 2022 17:23:05 +0000 (0:00:00.042) 0:03:18.921 ********* included: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-thin.yml for /cache/centos-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test2', 'name': 'test1', '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'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [Get information about thinpool] ****************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-thin.yml:3 Thursday 21 July 2022 17:23:05 +0000 (0:00:00.040) 0:03:18.961 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in correct thinpool (when thinp name is provided)] *** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-thin.yml:8 Thursday 21 July 2022 17:23:05 +0000 (0:00:00.022) 0:03:18.983 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in thinpool (when thinp name is not provided)] ****** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-thin.yml:13 Thursday 21 July 2022 17:23:05 +0000 (0:00:00.022) 0:03:19.006 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-thin.yml:17 Thursday 21 July 2022 17:23:05 +0000 (0:00:00.021) 0:03:19.027 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-pool-members.yml:59 Thursday 21 July 2022 17:23:05 +0000 (0:00:00.022) 0:03:19.050 ********* included: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-members-encryption.yml for /cache/centos-8.qcow2 TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-members-encryption.yml:4 Thursday 21 July 2022 17:23:05 +0000 (0:00:00.049) 0:03:19.099 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Validate pool member LUKS settings] ************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-members-encryption.yml:8 Thursday 21 July 2022 17:23:05 +0000 (0:00:00.052) 0:03:19.152 ********* skipping: [/cache/centos-8.qcow2] => (item=/dev/sda) => { "_storage_test_pool_member_path": "/dev/sda", "ansible_loop_var": "_storage_test_pool_member_path", "changed": false, "skip_reason": "Conditional result was False" } TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-members-encryption.yml:15 Thursday 21 July 2022 17:23:05 +0000 (0:00:00.026) 0:03:19.178 ********* included: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-crypttab.yml for /cache/centos-8.qcow2 => (item=/dev/sda) TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-crypttab.yml:1 Thursday 21 July 2022 17:23:05 +0000 (0:00:00.048) 0:03:19.227 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": [] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-crypttab.yml:4 Thursday 21 July 2022 17:23:05 +0000 (0:00:00.052) 0:03:19.280 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-crypttab.yml:9 Thursday 21 July 2022 17:23:05 +0000 (0:00:00.046) 0:03:19.326 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-crypttab.yml:15 Thursday 21 July 2022 17:23:05 +0000 (0:00:00.039) 0:03:19.366 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-crypttab.yml:21 Thursday 21 July 2022 17:23:05 +0000 (0:00:00.042) 0:03:19.408 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-crypttab.yml:27 Thursday 21 July 2022 17:23:05 +0000 (0:00:00.041) 0:03:19.450 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-members-encryption.yml:22 Thursday 21 July 2022 17:23:05 +0000 (0:00:00.035) 0:03:19.485 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-pool-members.yml:62 Thursday 21 July 2022 17:23:05 +0000 (0:00:00.034) 0:03:19.519 ********* included: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-members-vdo.yml for /cache/centos-8.qcow2 TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-members-vdo.yml:1 Thursday 21 July 2022 17:23:05 +0000 (0:00:00.046) 0:03:19.566 ********* included: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-vdo.yml for /cache/centos-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test2', 'name': 'test1', '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'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-vdo.yml:3 Thursday 21 July 2022 17:23:06 +0000 (0:00:00.042) 0:03:19.608 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-vdo.yml:8 Thursday 21 July 2022 17:23:06 +0000 (0:00:00.022) 0:03:19.631 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-vdo.yml:11 Thursday 21 July 2022 17:23:06 +0000 (0:00:00.023) 0:03:19.654 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-vdo.yml:16 Thursday 21 July 2022 17:23:06 +0000 (0:00:00.022) 0:03:19.677 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-vdo.yml:21 Thursday 21 July 2022 17:23:06 +0000 (0:00:00.025) 0:03:19.702 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-vdo.yml:24 Thursday 21 July 2022 17:23:06 +0000 (0:00:00.028) 0:03:19.731 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-vdo.yml:29 Thursday 21 July 2022 17:23:06 +0000 (0:00:00.024) 0:03:19.756 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-vdo.yml:39 Thursday 21 July 2022 17:23:06 +0000 (0:00:00.023) 0:03:19.779 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-pool-members.yml:65 Thursday 21 July 2022 17:23:06 +0000 (0:00:00.076) 0:03:19.856 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "__pvs_lvm_len": null, "_storage_test_expected_pv_count": null, "_storage_test_expected_pv_type": null, "_storage_test_pool_pvs": [], "_storage_test_pool_pvs_lvm": [] }, "changed": false } TASK [verify the volumes] ****************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-pool-volumes.yml:3 Thursday 21 July 2022 17:23:06 +0000 (0:00:00.097) 0:03:19.954 ********* included: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume.yml for /cache/centos-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test2', 'name': 'test1', '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'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1', '_kernel_device': '/dev/dm-0', '_raw_kernel_device': '/dev/dm-0'}) TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume.yml:2 Thursday 21 July 2022 17:23:06 +0000 (0:00:00.042) 0:03:19.997 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_test_volume_present": true, "_storage_volume_tests": [ "mount", "fstab", "fs", "device", "encryption", "md", "size", "cache" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume.yml:10 Thursday 21 July 2022 17:23:06 +0000 (0:00:00.047) 0:03:20.044 ********* included: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-mount.yml for /cache/centos-8.qcow2 => (item=mount) included: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-fstab.yml for /cache/centos-8.qcow2 => (item=fstab) included: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-fs.yml for /cache/centos-8.qcow2 => (item=fs) included: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-device.yml for /cache/centos-8.qcow2 => (item=device) included: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml for /cache/centos-8.qcow2 => (item=encryption) included: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-md.yml for /cache/centos-8.qcow2 => (item=md) included: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-size.yml for /cache/centos-8.qcow2 => (item=size) included: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-cache.yml for /cache/centos-8.qcow2 => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-mount.yml:6 Thursday 21 July 2022 17:23:06 +0000 (0:00:00.083) 0:03:20.127 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/foo-test1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-mount.yml:10 Thursday 21 July 2022 17:23:06 +0000 (0:00:00.040) 0:03:20.168 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 770146, "block_size": 4096, "block_total": 783872, "block_used": 13726, "device": "/dev/mapper/foo-test1", "fstype": "xfs", "inode_available": 1572861, "inode_total": 1572864, "inode_used": 3, "mount": "/opt/test2", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota", "size_available": 3154518016, "size_total": 3210739712, "uuid": "3f9707eb-e9e3-48e9-8192-684bff860e45" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 770146, "block_size": 4096, "block_total": 783872, "block_used": 13726, "device": "/dev/mapper/foo-test1", "fstype": "xfs", "inode_available": 1572861, "inode_total": 1572864, "inode_used": 3, "mount": "/opt/test2", "options": "rw,seclabel,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota", "size_available": 3154518016, "size_total": 3210739712, "uuid": "3f9707eb-e9e3-48e9-8192-684bff860e45" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-mount.yml:20 Thursday 21 July 2022 17:23:06 +0000 (0:00:00.053) 0:03:20.221 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-mount.yml:29 Thursday 21 July 2022 17:23:06 +0000 (0:00:00.049) 0:03:20.271 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-mount.yml:37 Thursday 21 July 2022 17:23:06 +0000 (0:00:00.049) 0:03:20.321 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-mount.yml:46 Thursday 21 July 2022 17:23:06 +0000 (0:00:00.051) 0:03:20.372 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-mount.yml:50 Thursday 21 July 2022 17:23:06 +0000 (0:00:00.024) 0:03:20.397 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-mount.yml:55 Thursday 21 July 2022 17:23:06 +0000 (0:00:00.025) 0:03:20.423 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-mount.yml:65 Thursday 21 July 2022 17:23:06 +0000 (0:00:00.024) 0:03:20.447 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "storage_test_mount_device_matches": null, "storage_test_mount_expected_match_count": null, "storage_test_mount_point_matches": null, "storage_test_swap_expected_matches": null, "storage_test_swaps": null, "storage_test_sys_node": null }, "changed": false } TASK [Set some variables for fstab checking] *********************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 17:23:06 +0000 (0:00:00.036) 0:03:20.484 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "1", "storage_test_fstab_expected_mount_options_matches": "1", "storage_test_fstab_expected_mount_point_matches": "1", "storage_test_fstab_id_matches": [ "/dev/mapper/foo-test1 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test2 xfs defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test2 " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-fstab.yml:12 Thursday 21 July 2022 17:23:06 +0000 (0:00:00.063) 0:03:20.548 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-fstab.yml:19 Thursday 21 July 2022 17:23:07 +0000 (0:00:00.057) 0:03:20.605 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 17:23:07 +0000 (0:00:00.050) 0:03:20.655 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-fstab.yml:34 Thursday 21 July 2022 17:23:07 +0000 (0:00:00.039) 0:03:20.695 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": null, "storage_test_fstab_expected_mount_options_matches": null, "storage_test_fstab_expected_mount_point_matches": null, "storage_test_fstab_id_matches": null, "storage_test_fstab_mount_options_matches": null, "storage_test_fstab_mount_point_matches": null }, "changed": false } TASK [Verify fs type] ********************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-fs.yml:4 Thursday 21 July 2022 17:23:07 +0000 (0:00:00.036) 0:03:20.731 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-fs.yml:10 Thursday 21 July 2022 17:23:07 +0000 (0:00:00.035) 0:03:20.767 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-device.yml:4 Thursday 21 July 2022 17:23:07 +0000 (0:00:00.038) 0:03:20.805 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "stat": { "atime": 1658424142.9850922, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658424142.9850922, "dev": 6, "device_type": 64768, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 94173, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1658424142.9850922, "nlink": 1, "path": "/dev/mapper/foo-test1", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-device.yml:10 Thursday 21 July 2022 17:23:07 +0000 (0:00:00.384) 0:03:21.190 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-device.yml:15 Thursday 21 July 2022 17:23:07 +0000 (0:00:00.039) 0:03:21.230 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-device.yml:21 Thursday 21 July 2022 17:23:07 +0000 (0:00:00.040) 0:03:21.270 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-device.yml:25 Thursday 21 July 2022 17:23:07 +0000 (0:00:00.038) 0:03:21.308 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-device.yml:30 Thursday 21 July 2022 17:23:07 +0000 (0:00:00.025) 0:03:21.334 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 17:23:07 +0000 (0:00:00.039) 0:03:21.373 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 17:23:07 +0000 (0:00:00.022) 0:03:21.396 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 17:23:09 +0000 (0:00:01.921) 0:03:23.318 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 17:23:09 +0000 (0:00:00.034) 0:03:23.352 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the raw device is the same as the device if not encrypted] *** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:27 Thursday 21 July 2022 17:23:09 +0000 (0:00:00.022) 0:03:23.374 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:33 Thursday 21 July 2022 17:23:09 +0000 (0:00:00.085) 0:03:23.460 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:39 Thursday 21 July 2022 17:23:09 +0000 (0:00:00.024) 0:03:23.484 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 17:23:09 +0000 (0:00:00.066) 0:03:23.550 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:50 Thursday 21 July 2022 17:23:09 +0000 (0:00:00.025) 0:03:23.576 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:56 Thursday 21 July 2022 17:23:10 +0000 (0:00:00.023) 0:03:23.600 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:62 Thursday 21 July 2022 17:23:10 +0000 (0:00:00.023) 0:03:23.624 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": [], "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 17:23:10 +0000 (0:00:00.048) 0:03:23.672 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:72 Thursday 21 July 2022 17:23:10 +0000 (0:00:00.046) 0:03:23.719 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:78 Thursday 21 July 2022 17:23:10 +0000 (0:00:00.034) 0:03:23.753 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:84 Thursday 21 July 2022 17:23:10 +0000 (0:00:00.036) 0:03:23.790 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:90 Thursday 21 July 2022 17:23:10 +0000 (0:00:00.034) 0:03:23.824 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_expected_crypttab_entries": null, "_storage_test_expected_crypttab_key_file": null }, "changed": false } TASK [get information about RAID] ********************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-md.yml:7 Thursday 21 July 2022 17:23:10 +0000 (0:00:00.035) 0:03:23.860 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-md.yml:13 Thursday 21 July 2022 17:23:10 +0000 (0:00:00.034) 0:03:23.895 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-md.yml:17 Thursday 21 July 2022 17:23:10 +0000 (0:00:00.036) 0:03:23.931 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-md.yml:21 Thursday 21 July 2022 17:23:10 +0000 (0:00:00.033) 0:03:23.965 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-md.yml:25 Thursday 21 July 2022 17:23:10 +0000 (0:00:00.034) 0:03:23.999 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-md.yml:31 Thursday 21 July 2022 17:23:10 +0000 (0:00:00.038) 0:03:24.037 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-md.yml:37 Thursday 21 July 2022 17:23:10 +0000 (0:00:00.041) 0:03:24.079 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-size.yml:3 Thursday 21 July 2022 17:23:10 +0000 (0:00:00.037) 0:03:24.116 ********* ok: [/cache/centos-8.qcow2] => { "bytes": 3221225472, "changed": false, "lvm": "3g", "parted": "3GiB", "size": "3 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-size.yml:9 Thursday 21 July 2022 17:23:10 +0000 (0:00:00.381) 0:03:24.497 ********* ok: [/cache/centos-8.qcow2] => { "bytes": 3221225472, "changed": false, "lvm": "3g", "parted": "3GiB", "size": "3 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-size.yml:15 Thursday 21 July 2022 17:23:11 +0000 (0:00:00.375) 0:03:24.873 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "storage_test_expected_size": "3221225472" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-size.yml:20 Thursday 21 July 2022 17:23:11 +0000 (0:00:00.050) 0:03:24.924 ********* ok: [/cache/centos-8.qcow2] => { "storage_test_expected_size": "3221225472" } TASK [debug] ******************************************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-size.yml:25 Thursday 21 July 2022 17:23:11 +0000 (0:00:00.037) 0:03:24.962 ********* skipping: [/cache/centos-8.qcow2] => {} TASK [debug] ******************************************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-size.yml:28 Thursday 21 July 2022 17:23:11 +0000 (0:00:00.038) 0:03:25.000 ********* skipping: [/cache/centos-8.qcow2] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-size.yml:31 Thursday 21 July 2022 17:23:11 +0000 (0:00:00.041) 0:03:25.041 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-size.yml:36 Thursday 21 July 2022 17:23:11 +0000 (0:00:00.037) 0:03:25.079 ********* skipping: [/cache/centos-8.qcow2] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-size.yml:39 Thursday 21 July 2022 17:23:11 +0000 (0:00:00.035) 0:03:25.115 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-size.yml:44 Thursday 21 July 2022 17:23:11 +0000 (0:00:00.036) 0:03:25.151 ********* ok: [/cache/centos-8.qcow2] => { "storage_test_actual_size": { "bytes": 3221225472, "changed": false, "failed": false, "lvm": "3g", "parted": "3GiB", "size": "3 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-size.yml:47 Thursday 21 July 2022 17:23:11 +0000 (0:00:00.038) 0:03:25.190 ********* ok: [/cache/centos-8.qcow2] => { "storage_test_expected_size": "3221225472" } TASK [assert] ****************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-size.yml:50 Thursday 21 July 2022 17:23:11 +0000 (0:00:00.034) 0:03:25.224 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-cache.yml:6 Thursday 21 July 2022 17:23:11 +0000 (0:00:00.048) 0:03:25.273 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "cmd": [ "lvs", "--noheadings", "--nameprefixes", "--units=b", "--nosuffix", "--unquoted", "-o", "name,attr,cache_total_blocks,chunk_size,segtype", "foo/test1" ], "delta": "0:00:00.034348", "end": "2022-07-21 17:23:10.681394", "rc": 0, "start": "2022-07-21 17:23:10.647046" } STDOUT: LVM2_LV_NAME=test1 LVM2_LV_ATTR=-wi-ao---- LVM2_CACHE_TOTAL_BLOCKS= LVM2_CHUNK_SIZE=0 LVM2_SEGTYPE=linear TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-cache.yml:14 Thursday 21 July 2022 17:23:12 +0000 (0:00:00.415) 0:03:25.688 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "storage_test_lv_segtype": [ "linear" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-cache.yml:17 Thursday 21 July 2022 17:23:12 +0000 (0:00:00.082) 0:03:25.771 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-cache.yml:22 Thursday 21 July 2022 17:23:12 +0000 (0:00:00.054) 0:03:25.826 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-cache.yml:26 Thursday 21 July 2022 17:23:12 +0000 (0:00:00.039) 0:03:25.865 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-cache.yml:32 Thursday 21 July 2022 17:23:12 +0000 (0:00:00.039) 0:03:25.904 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-cache.yml:36 Thursday 21 July 2022 17:23:12 +0000 (0:00:00.039) 0:03:25.943 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume.yml:16 Thursday 21 July 2022 17:23:12 +0000 (0:00:00.041) 0:03:25.985 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-role-results.yml:43 Thursday 21 July 2022 17:23:12 +0000 (0:00:00.035) 0:03:26.021 ********* TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/verify-role-results.yml:53 Thursday 21 July 2022 17:23:12 +0000 (0:00:00.021) 0:03:26.042 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Clean up] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/tests_change_mount.yml:69 Thursday 21 July 2022 17:23:12 +0000 (0:00:00.074) 0:03:26.117 ********* TASK [fedora.linux_system_roles.storage : set platform/version specific variables] *** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Thursday 21 July 2022 17:23:12 +0000 (0:00:00.088) 0:03:26.205 ********* included: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for /cache/centos-8.qcow2 TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Thursday 21 July 2022 17:23:12 +0000 (0:00:00.038) 0:03:26.244 ********* ok: [/cache/centos-8.qcow2] TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Thursday 21 July 2022 17:23:13 +0000 (0:00:00.538) 0:03:26.782 ********* skipping: [/cache/centos-8.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [/cache/centos-8.qcow2] => (item=CentOS_8.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs" ] }, "ansible_included_var_files": [ "/tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } ok: [/cache/centos-8.qcow2] => (item=CentOS_8.yml) => { "ansible_facts": { "blivet_package_list": [ "python3-blivet", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap", "vdo", "kmod-kvdo", "xfsprogs" ] }, "ansible_included_var_files": [ "/tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } TASK [fedora.linux_system_roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Thursday 21 July 2022 17:23:13 +0000 (0:00:00.072) 0:03:26.855 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : define an empty list of volumes to be used in testing] *** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Thursday 21 July 2022 17:23:13 +0000 (0:00:00.037) 0:03:26.893 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : include the appropriate provider tasks] *** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Thursday 21 July 2022 17:23:13 +0000 (0:00:00.035) 0:03:26.928 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for /cache/centos-8.qcow2 TASK [fedora.linux_system_roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 17:23:13 +0000 (0:00:00.055) 0:03:26.984 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure blivet is available] ******* task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 17:23:13 +0000 (0:00:00.020) 0:03:27.004 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : show storage_pools] ****************** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:13 Thursday 21 July 2022 17:23:13 +0000 (0:00:00.029) 0:03:27.034 ********* ok: [/cache/centos-8.qcow2] => { "storage_pools": [ { "disks": [ "sda" ], "name": "foo", "state": "absent", "volumes": [ { "mount_point": "/opt/test2", "name": "test1", "size": "3g" } ] } ] } TASK [fedora.linux_system_roles.storage : show storage_volumes] **************** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:18 Thursday 21 July 2022 17:23:13 +0000 (0:00:00.039) 0:03:27.073 ********* ok: [/cache/centos-8.qcow2] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [fedora.linux_system_roles.storage : get required packages] *************** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:23 Thursday 21 July 2022 17:23:13 +0000 (0:00:00.035) 0:03:27.109 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : enable copr repositories if needed] *** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:35 Thursday 21 July 2022 17:23:13 +0000 (0:00:00.027) 0:03:27.137 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure required packages are installed] *** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:41 Thursday 21 July 2022 17:23:13 +0000 (0:00:00.030) 0:03:27.167 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : get service facts] ******************* task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 Thursday 21 July 2022 17:23:13 +0000 (0:00:00.026) 0:03:27.194 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:53 Thursday 21 July 2022 17:23:13 +0000 (0:00:00.026) 0:03:27.221 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 17:23:13 +0000 (0:00:00.055) 0:03:27.277 ********* TASK [fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Thursday 21 July 2022 17:23:13 +0000 (0:00:00.020) 0:03:27.297 ********* changed: [/cache/centos-8.qcow2] => { "actions": [ { "action": "destroy format", "device": "/dev/mapper/foo-test1", "fs_type": "xfs" }, { "action": "destroy device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "destroy device", "device": "/dev/foo", "fs_type": null }, { "action": "destroy format", "device": "/dev/sda", "fs_type": "lvmpv" } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb", "/dev/vdc", "/dev/vdd" ], "mounts": [ { "fstype": "xfs", "path": "/opt/test2", "src": "/dev/mapper/foo-test1", "state": "absent" } ], "packages": [ "xfsprogs" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "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/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:78 Thursday 21 July 2022 17:23:15 +0000 (0:00:01.656) 0:03:28.954 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Thursday 21 July 2022 17:23:15 +0000 (0:00:00.074) 0:03:29.029 ********* TASK [fedora.linux_system_roles.storage : show blivet_output] ****************** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:96 Thursday 21 July 2022 17:23:15 +0000 (0:00:00.024) 0:03:29.053 ********* ok: [/cache/centos-8.qcow2] => { "blivet_output": { "actions": [ { "action": "destroy format", "device": "/dev/mapper/foo-test1", "fs_type": "xfs" }, { "action": "destroy device", "device": "/dev/mapper/foo-test1", "fs_type": null }, { "action": "destroy device", "device": "/dev/foo", "fs_type": null }, { "action": "destroy format", "device": "/dev/sda", "fs_type": "lvmpv" } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb", "/dev/vdc", "/dev/vdd" ], "mounts": [ { "fstype": "xfs", "path": "/opt/test2", "src": "/dev/mapper/foo-test1", "state": "absent" } ], "packages": [ "xfsprogs" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "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/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:101 Thursday 21 July 2022 17:23:15 +0000 (0:00:00.045) 0:03:29.098 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "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/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:105 Thursday 21 July 2022 17:23:15 +0000 (0:00:00.038) 0:03:29.137 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : remove obsolete mounts] ************** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:121 Thursday 21 July 2022 17:23:15 +0000 (0:00:00.036) 0:03:29.174 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/centos-8.qcow2] => (item={'src': '/dev/mapper/foo-test1', 'path': '/opt/test2', 'state': 'absent', 'fstype': 'xfs'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "xfs", "mount_info": { "fstype": "xfs", "path": "/opt/test2", "src": "/dev/mapper/foo-test1", "state": "absent" }, "name": "/opt/test2", "opts": "defaults", "passno": "0", "src": "/dev/mapper/foo-test1" } TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 Thursday 21 July 2022 17:23:15 +0000 (0:00:00.412) 0:03:29.587 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : set up new/current mounts] *********** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:137 Thursday 21 July 2022 17:23:16 +0000 (0:00:00.627) 0:03:30.214 ********* TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:148 Thursday 21 July 2022 17:23:16 +0000 (0:00:00.037) 0:03:30.252 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:156 Thursday 21 July 2022 17:23:17 +0000 (0:00:00.606) 0:03:30.859 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "stat": { "atime": 1658424019.5990922, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1643141385.117, "dev": 64513, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 135, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "inode/x-empty", "mode": "0600", "mtime": 1643141019.537, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "3147672035", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [fedora.linux_system_roles.storage : manage /etc/crypttab to account for changes we just made] *** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:161 Thursday 21 July 2022 17:23:17 +0000 (0:00:00.402) 0:03:31.261 ********* TASK [fedora.linux_system_roles.storage : Update facts] ************************ task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 Thursday 21 July 2022 17:23:17 +0000 (0:00:00.022) 0:03:31.283 ********* ok: [/cache/centos-8.qcow2] META: role_complete for /cache/centos-8.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/tests_change_mount.yml:82 Thursday 21 July 2022 17:23:18 +0000 (0:00:00.959) 0:03:32.243 ********* included: /tmp/tmp_0pjp8ed/tests/storage/verify-role-results.yml for /cache/centos-8.qcow2 TASK [Print out pool information] ********************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-role-results.yml:1 Thursday 21 July 2022 17:23:18 +0000 (0:00:00.046) 0:03:32.289 ********* ok: [/cache/centos-8.qcow2] => { "_storage_pools_list": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/foo-test1", "_mount_id": "/dev/mapper/foo-test1", "_raw_device": "/dev/mapper/foo-test1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "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/tmp_0pjp8ed/tests/storage/verify-role-results.yml:6 Thursday 21 July 2022 17:23:18 +0000 (0:00:00.051) 0:03:32.341 ********* skipping: [/cache/centos-8.qcow2] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-role-results.yml:14 Thursday 21 July 2022 17:23:18 +0000 (0:00:00.037) 0:03:32.378 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "info": { "/dev/nvme0n1": { "fstype": "", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme1n1": { "fstype": "", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme2n1": { "fstype": "", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda": { "fstype": "", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdb": { "fstype": "", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdc": { "fstype": "", "label": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sr0": { "fstype": "iso9660", "label": "cidata", "name": "/dev/sr0", "size": "364K", "type": "rom", "uuid": "2022-07-21-17-19-27-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "xfs", "label": "", "name": "/dev/vda1", "size": "10G", "type": "partition", "uuid": "395b9844-e404-4857-afbb-c6edccaf72f3" }, "/dev/vdb": { "fstype": "", "label": "", "name": "/dev/vdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vdc": { "fstype": "", "label": "", "name": "/dev/vdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vdd": { "fstype": "", "label": "", "name": "/dev/vdd", "size": "10G", "type": "disk", "uuid": "" } } } TASK [Read the /etc/fstab file for volume existence] *************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-role-results.yml:19 Thursday 21 July 2022 17:23:19 +0000 (0:00:00.376) 0:03:32.755 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.004265", "end": "2022-07-21 17:23:18.136522", "rc": 0, "start": "2022-07-21 17:23:18.132257" } STDOUT: # # /etc/fstab # Created by anaconda on Tue Jan 25 20:03:39 2022 # # Accessible filesystems, by reference, are maintained under '/dev/disk/'. # See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info. # # After editing this file, run 'systemctl daemon-reload' to update systemd # units generated from this file. # UUID=395b9844-e404-4857-afbb-c6edccaf72f3 / xfs defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/verify-role-results.yml:24 Thursday 21 July 2022 17:23:19 +0000 (0:00:00.384) 0:03:33.139 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.002537", "end": "2022-07-21 17:23:18.545676", "failed_when_result": false, "rc": 0, "start": "2022-07-21 17:23:18.543139" } TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmp_0pjp8ed/tests/storage/verify-role-results.yml:33 Thursday 21 July 2022 17:23:19 +0000 (0:00:00.406) 0:03:33.546 ********* included: /tmp/tmp_0pjp8ed/tests/storage/test-verify-pool.yml for /cache/centos-8.qcow2 => (item={'disks': ['sda'], 'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'name': 'foo', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'state': 'absent', 'type': 'lvm', 'volumes': [{'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test2', 'name': 'test1', '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'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1'}], 'raid_chunk_size': None}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-pool.yml:5 Thursday 21 July 2022 17:23:20 +0000 (0:00:00.086) 0:03:33.632 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-pool.yml:18 Thursday 21 July 2022 17:23:20 +0000 (0:00:00.039) 0:03:33.672 ********* included: /tmp/tmp_0pjp8ed/tests/storage/test-verify-pool-members.yml for /cache/centos-8.qcow2 => (item=members) included: /tmp/tmp_0pjp8ed/tests/storage/test-verify-pool-volumes.yml for /cache/centos-8.qcow2 => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-pool-members.yml:1 Thursday 21 July 2022 17:23:20 +0000 (0:00:00.048) 0:03:33.721 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_count": "0", "_storage_test_pool_pvs_lvm": [] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-pool-members.yml:6 Thursday 21 July 2022 17:23:20 +0000 (0:00:00.053) 0:03:33.774 ********* TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-pool-members.yml:15 Thursday 21 July 2022 17:23:20 +0000 (0:00:00.022) 0:03:33.796 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "__pvs_lvm_len": "0" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-pool-members.yml:19 Thursday 21 July 2022 17:23:20 +0000 (0:00:00.050) 0:03:33.847 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_test_pool_pvs": [] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-pool-members.yml:23 Thursday 21 July 2022 17:23:20 +0000 (0:00:00.049) 0:03:33.896 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-pool-members.yml:29 Thursday 21 July 2022 17:23:20 +0000 (0:00:00.048) 0:03:33.945 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-pool-members.yml:33 Thursday 21 July 2022 17:23:20 +0000 (0:00:00.036) 0:03:33.982 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-pool-members.yml:37 Thursday 21 July 2022 17:23:20 +0000 (0:00:00.049) 0:03:34.031 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-pool-members.yml:41 Thursday 21 July 2022 17:23:20 +0000 (0:00:00.024) 0:03:34.056 ********* TASK [Check MD RAID] *********************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-pool-members.yml:50 Thursday 21 July 2022 17:23:20 +0000 (0:00:00.023) 0:03:34.079 ********* included: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-md.yml for /cache/centos-8.qcow2 TASK [get information about RAID] ********************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-md.yml:6 Thursday 21 July 2022 17:23:20 +0000 (0:00:00.042) 0:03:34.122 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-md.yml:12 Thursday 21 July 2022 17:23:20 +0000 (0:00:00.025) 0:03:34.147 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-md.yml:16 Thursday 21 July 2022 17:23:20 +0000 (0:00:00.025) 0:03:34.173 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-md.yml:20 Thursday 21 July 2022 17:23:20 +0000 (0:00:00.022) 0:03:34.196 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-md.yml:24 Thursday 21 July 2022 17:23:20 +0000 (0:00:00.024) 0:03:34.220 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-md.yml:30 Thursday 21 July 2022 17:23:20 +0000 (0:00:00.024) 0:03:34.245 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-md.yml:36 Thursday 21 July 2022 17:23:20 +0000 (0:00:00.025) 0:03:34.271 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-md.yml:44 Thursday 21 July 2022 17:23:20 +0000 (0:00:00.022) 0:03:34.293 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "storage_test_md_active_devices_re": null, "storage_test_md_metadata_version_re": null, "storage_test_md_spare_devices_re": null }, "changed": false } TASK [Check LVM RAID] ********************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-pool-members.yml:53 Thursday 21 July 2022 17:23:20 +0000 (0:00:00.034) 0:03:34.327 ********* included: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-members-lvmraid.yml for /cache/centos-8.qcow2 TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-members-lvmraid.yml:1 Thursday 21 July 2022 17:23:20 +0000 (0:00:00.044) 0:03:34.372 ********* included: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-lvmraid.yml for /cache/centos-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test2', 'name': 'test1', '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'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1'}) TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-lvmraid.yml:3 Thursday 21 July 2022 17:23:20 +0000 (0:00:00.044) 0:03:34.416 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-lvmraid.yml:8 Thursday 21 July 2022 17:23:20 +0000 (0:00:00.029) 0:03:34.445 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-lvmraid.yml:12 Thursday 21 July 2022 17:23:20 +0000 (0:00:00.028) 0:03:34.474 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-pool-members.yml:56 Thursday 21 July 2022 17:23:20 +0000 (0:00:00.026) 0:03:34.501 ********* included: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-members-thin.yml for /cache/centos-8.qcow2 TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-members-thin.yml:1 Thursday 21 July 2022 17:23:20 +0000 (0:00:00.044) 0:03:34.545 ********* included: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-thin.yml for /cache/centos-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test2', 'name': 'test1', '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'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1'}) TASK [Get information about thinpool] ****************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-thin.yml:3 Thursday 21 July 2022 17:23:20 +0000 (0:00:00.044) 0:03:34.589 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in correct thinpool (when thinp name is provided)] *** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-thin.yml:8 Thursday 21 July 2022 17:23:21 +0000 (0:00:00.024) 0:03:34.614 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is in thinpool (when thinp name is not provided)] ****** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-thin.yml:13 Thursday 21 July 2022 17:23:21 +0000 (0:00:00.023) 0:03:34.638 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-thin.yml:17 Thursday 21 July 2022 17:23:21 +0000 (0:00:00.025) 0:03:34.663 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-pool-members.yml:59 Thursday 21 July 2022 17:23:21 +0000 (0:00:00.024) 0:03:34.687 ********* included: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-members-encryption.yml for /cache/centos-8.qcow2 TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-members-encryption.yml:4 Thursday 21 July 2022 17:23:21 +0000 (0:00:00.046) 0:03:34.734 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Validate pool member LUKS settings] ************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-members-encryption.yml:8 Thursday 21 July 2022 17:23:21 +0000 (0:00:00.127) 0:03:34.862 ********* TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-members-encryption.yml:15 Thursday 21 July 2022 17:23:21 +0000 (0:00:00.028) 0:03:34.890 ********* TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-members-encryption.yml:22 Thursday 21 July 2022 17:23:21 +0000 (0:00:00.023) 0:03:34.913 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-pool-members.yml:62 Thursday 21 July 2022 17:23:21 +0000 (0:00:00.034) 0:03:34.947 ********* included: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-members-vdo.yml for /cache/centos-8.qcow2 TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-members-vdo.yml:1 Thursday 21 July 2022 17:23:21 +0000 (0:00:00.050) 0:03:34.998 ********* included: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-vdo.yml for /cache/centos-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test2', 'name': 'test1', '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'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1'}) TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-vdo.yml:3 Thursday 21 July 2022 17:23:21 +0000 (0:00:00.046) 0:03:35.044 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-vdo.yml:8 Thursday 21 July 2022 17:23:21 +0000 (0:00:00.026) 0:03:35.070 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-vdo.yml:11 Thursday 21 July 2022 17:23:21 +0000 (0:00:00.024) 0:03:35.095 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-vdo.yml:16 Thursday 21 July 2022 17:23:21 +0000 (0:00:00.023) 0:03:35.118 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-vdo.yml:21 Thursday 21 July 2022 17:23:21 +0000 (0:00:00.023) 0:03:35.142 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-vdo.yml:24 Thursday 21 July 2022 17:23:21 +0000 (0:00:00.022) 0:03:35.164 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-vdo.yml:29 Thursday 21 July 2022 17:23:21 +0000 (0:00:00.022) 0:03:35.187 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-vdo.yml:39 Thursday 21 July 2022 17:23:21 +0000 (0:00:00.023) 0:03:35.210 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-pool-members.yml:65 Thursday 21 July 2022 17:23:21 +0000 (0:00:00.038) 0:03:35.249 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "__pvs_lvm_len": null, "_storage_test_expected_pv_count": null, "_storage_test_expected_pv_type": null, "_storage_test_pool_pvs": [], "_storage_test_pool_pvs_lvm": [] }, "changed": false } TASK [verify the volumes] ****************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-pool-volumes.yml:3 Thursday 21 July 2022 17:23:21 +0000 (0:00:00.033) 0:03:35.283 ********* included: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume.yml for /cache/centos-8.qcow2 => (item={'encryption': False, 'encryption_cipher': None, 'encryption_key': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'encryption_password': None, 'fs_create_options': '', 'fs_label': '', 'fs_type': 'xfs', 'mount_options': 'defaults', 'mount_point': '/opt/test2', 'name': 'test1', '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'], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1'}) TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume.yml:2 Thursday 21 July 2022 17:23:21 +0000 (0:00:00.042) 0:03:35.325 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_test_volume_present": false, "_storage_volume_tests": [ "mount", "fstab", "fs", "device", "encryption", "md", "size", "cache" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume.yml:10 Thursday 21 July 2022 17:23:21 +0000 (0:00:00.054) 0:03:35.379 ********* included: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-mount.yml for /cache/centos-8.qcow2 => (item=mount) included: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-fstab.yml for /cache/centos-8.qcow2 => (item=fstab) included: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-fs.yml for /cache/centos-8.qcow2 => (item=fs) included: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-device.yml for /cache/centos-8.qcow2 => (item=device) included: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml for /cache/centos-8.qcow2 => (item=encryption) included: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-md.yml for /cache/centos-8.qcow2 => (item=md) included: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-size.yml for /cache/centos-8.qcow2 => (item=size) included: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-cache.yml for /cache/centos-8.qcow2 => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-mount.yml:6 Thursday 21 July 2022 17:23:21 +0000 (0:00:00.079) 0:03:35.459 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/foo-test1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-mount.yml:10 Thursday 21 July 2022 17:23:21 +0000 (0:00:00.039) 0:03:35.499 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "storage_test_mount_device_matches": [], "storage_test_mount_expected_match_count": "0", "storage_test_mount_point_matches": [], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-mount.yml:20 Thursday 21 July 2022 17:23:21 +0000 (0:00:00.057) 0:03:35.557 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-mount.yml:29 Thursday 21 July 2022 17:23:21 +0000 (0:00:00.024) 0:03:35.581 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-mount.yml:37 Thursday 21 July 2022 17:23:22 +0000 (0:00:00.049) 0:03:35.631 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [command] ***************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-mount.yml:46 Thursday 21 July 2022 17:23:22 +0000 (0:00:00.037) 0:03:35.669 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-mount.yml:50 Thursday 21 July 2022 17:23:22 +0000 (0:00:00.024) 0:03:35.694 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-mount.yml:55 Thursday 21 July 2022 17:23:22 +0000 (0:00:00.023) 0:03:35.717 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-mount.yml:65 Thursday 21 July 2022 17:23:22 +0000 (0:00:00.023) 0:03:35.741 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "storage_test_mount_device_matches": null, "storage_test_mount_expected_match_count": null, "storage_test_mount_point_matches": null, "storage_test_swap_expected_matches": null, "storage_test_swaps": null, "storage_test_sys_node": null }, "changed": false } TASK [Set some variables for fstab checking] *********************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 17:23:22 +0000 (0:00:00.035) 0:03:35.777 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "0", "storage_test_fstab_expected_mount_options_matches": "0", "storage_test_fstab_expected_mount_point_matches": "0", "storage_test_fstab_id_matches": [], "storage_test_fstab_mount_options_matches": [], "storage_test_fstab_mount_point_matches": [] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-fstab.yml:12 Thursday 21 July 2022 17:23:22 +0000 (0:00:00.062) 0:03:35.840 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-fstab.yml:19 Thursday 21 July 2022 17:23:22 +0000 (0:00:00.025) 0:03:35.865 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 17:23:22 +0000 (0:00:00.050) 0:03:35.916 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-fstab.yml:34 Thursday 21 July 2022 17:23:22 +0000 (0:00:00.037) 0:03:35.953 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": null, "storage_test_fstab_expected_mount_options_matches": null, "storage_test_fstab_expected_mount_point_matches": null, "storage_test_fstab_id_matches": null, "storage_test_fstab_mount_options_matches": null, "storage_test_fstab_mount_point_matches": null }, "changed": false } TASK [Verify fs type] ********************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-fs.yml:4 Thursday 21 July 2022 17:23:22 +0000 (0:00:00.037) 0:03:35.990 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify fs label] ********************************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-fs.yml:10 Thursday 21 July 2022 17:23:22 +0000 (0:00:00.026) 0:03:36.017 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [See whether the device node is present] ********************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-device.yml:4 Thursday 21 July 2022 17:23:22 +0000 (0:00:00.025) 0:03:36.042 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "stat": { "exists": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-device.yml:10 Thursday 21 July 2022 17:23:22 +0000 (0:00:00.417) 0:03:36.459 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-device.yml:15 Thursday 21 July 2022 17:23:22 +0000 (0:00:00.040) 0:03:36.500 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-device.yml:21 Thursday 21 July 2022 17:23:22 +0000 (0:00:00.024) 0:03:36.525 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-device.yml:25 Thursday 21 July 2022 17:23:22 +0000 (0:00:00.035) 0:03:36.561 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-device.yml:30 Thursday 21 July 2022 17:23:22 +0000 (0:00:00.024) 0:03:36.585 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 17:23:23 +0000 (0:00:00.024) 0:03:36.610 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 17:23:23 +0000 (0:00:00.026) 0:03:36.636 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 17:23:24 +0000 (0:00:01.874) 0:03:38.511 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 17:23:24 +0000 (0:00:00.025) 0:03:38.536 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the raw device is the same as the device if not encrypted] *** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:27 Thursday 21 July 2022 17:23:24 +0000 (0:00:00.025) 0:03:38.561 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:33 Thursday 21 July 2022 17:23:24 +0000 (0:00:00.025) 0:03:38.587 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:39 Thursday 21 July 2022 17:23:25 +0000 (0:00:00.024) 0:03:38.611 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 17:23:25 +0000 (0:00:00.024) 0:03:38.636 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:50 Thursday 21 July 2022 17:23:25 +0000 (0:00:00.024) 0:03:38.660 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:56 Thursday 21 July 2022 17:23:25 +0000 (0:00:00.027) 0:03:38.687 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:62 Thursday 21 July 2022 17:23:25 +0000 (0:00:00.032) 0:03:38.719 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": [], "_storage_test_expected_crypttab_entries": "0", "_storage_test_expected_crypttab_key_file": "-" }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 17:23:25 +0000 (0:00:00.052) 0:03:38.772 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:72 Thursday 21 July 2022 17:23:25 +0000 (0:00:00.050) 0:03:38.822 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:78 Thursday 21 July 2022 17:23:25 +0000 (0:00:00.039) 0:03:38.862 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:84 Thursday 21 July 2022 17:23:25 +0000 (0:00:00.036) 0:03:38.898 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:90 Thursday 21 July 2022 17:23:25 +0000 (0:00:00.036) 0:03:38.935 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_expected_crypttab_entries": null, "_storage_test_expected_crypttab_key_file": null }, "changed": false } TASK [get information about RAID] ********************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-md.yml:7 Thursday 21 July 2022 17:23:25 +0000 (0:00:00.037) 0:03:38.972 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-md.yml:13 Thursday 21 July 2022 17:23:25 +0000 (0:00:00.040) 0:03:39.013 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-md.yml:17 Thursday 21 July 2022 17:23:25 +0000 (0:00:00.038) 0:03:39.051 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-md.yml:21 Thursday 21 July 2022 17:23:25 +0000 (0:00:00.035) 0:03:39.087 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-md.yml:25 Thursday 21 July 2022 17:23:25 +0000 (0:00:00.035) 0:03:39.122 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-md.yml:31 Thursday 21 July 2022 17:23:25 +0000 (0:00:00.039) 0:03:39.162 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-md.yml:37 Thursday 21 July 2022 17:23:25 +0000 (0:00:00.045) 0:03:39.207 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-size.yml:3 Thursday 21 July 2022 17:23:25 +0000 (0:00:00.045) 0:03:39.253 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-size.yml:9 Thursday 21 July 2022 17:23:25 +0000 (0:00:00.025) 0:03:39.278 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-size.yml:15 Thursday 21 July 2022 17:23:25 +0000 (0:00:00.040) 0:03:39.319 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-size.yml:20 Thursday 21 July 2022 17:23:25 +0000 (0:00:00.037) 0:03:39.356 ********* ok: [/cache/centos-8.qcow2] => { "storage_test_expected_size": "3221225472" } TASK [debug] ******************************************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-size.yml:25 Thursday 21 July 2022 17:23:25 +0000 (0:00:00.066) 0:03:39.422 ********* skipping: [/cache/centos-8.qcow2] => {} TASK [debug] ******************************************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-size.yml:28 Thursday 21 July 2022 17:23:25 +0000 (0:00:00.036) 0:03:39.459 ********* skipping: [/cache/centos-8.qcow2] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-size.yml:31 Thursday 21 July 2022 17:23:25 +0000 (0:00:00.040) 0:03:39.500 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-size.yml:36 Thursday 21 July 2022 17:23:25 +0000 (0:00:00.037) 0:03:39.537 ********* skipping: [/cache/centos-8.qcow2] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-size.yml:39 Thursday 21 July 2022 17:23:25 +0000 (0:00:00.039) 0:03:39.577 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-size.yml:44 Thursday 21 July 2022 17:23:26 +0000 (0:00:00.046) 0:03:39.624 ********* ok: [/cache/centos-8.qcow2] => { "storage_test_actual_size": { "changed": false, "skip_reason": "Conditional result was False", "skipped": true } } TASK [debug] ******************************************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-size.yml:47 Thursday 21 July 2022 17:23:26 +0000 (0:00:00.038) 0:03:39.663 ********* ok: [/cache/centos-8.qcow2] => { "storage_test_expected_size": "3221225472" } TASK [assert] ****************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-size.yml:50 Thursday 21 July 2022 17:23:26 +0000 (0:00:00.075) 0:03:39.738 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about the LV] ******************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-cache.yml:6 Thursday 21 July 2022 17:23:26 +0000 (0:00:00.026) 0:03:39.764 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-cache.yml:14 Thursday 21 July 2022 17:23:26 +0000 (0:00:00.027) 0:03:39.792 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check segment type] ****************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-cache.yml:17 Thursday 21 July 2022 17:23:26 +0000 (0:00:00.058) 0:03:39.851 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-cache.yml:22 Thursday 21 July 2022 17:23:26 +0000 (0:00:00.026) 0:03:39.877 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-cache.yml:26 Thursday 21 July 2022 17:23:26 +0000 (0:00:00.025) 0:03:39.903 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-cache.yml:32 Thursday 21 July 2022 17:23:26 +0000 (0:00:00.023) 0:03:39.926 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-cache.yml:36 Thursday 21 July 2022 17:23:26 +0000 (0:00:00.026) 0:03:39.953 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume.yml:16 Thursday 21 July 2022 17:23:26 +0000 (0:00:00.025) 0:03:39.979 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-role-results.yml:43 Thursday 21 July 2022 17:23:26 +0000 (0:00:00.035) 0:03:40.015 ********* TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/verify-role-results.yml:53 Thursday 21 July 2022 17:23:26 +0000 (0:00:00.023) 0:03:40.038 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-8.qcow2 : ok=391 changed=9 unreachable=0 failed=0 skipped=311 rescued=0 ignored=0 Thursday 21 July 2022 17:23:26 +0000 (0:00:00.044) 0:03:40.083 ********* =============================================================================== fedora.linux_system_roles.storage : make sure blivet is available ----- 144.55s /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 Ensure cryptsetup is present -------------------------------------------- 3.00s /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:10 ----------- fedora.linux_system_roles.storage : make sure required packages are installed --- 1.95s /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:41 Ensure cryptsetup is present -------------------------------------------- 1.93s /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:10 ----------- Ensure cryptsetup is present -------------------------------------------- 1.92s /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:10 ----------- Ensure cryptsetup is present -------------------------------------------- 1.87s /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:10 ----------- fedora.linux_system_roles.storage : get service facts ------------------- 1.74s /tmp/tmpu1heti3n/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.66s /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state --- 1.55s /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 fedora.linux_system_roles.storage : remove obsolete mounts -------------- 1.44s /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:121 fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state --- 1.24s /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state --- 1.22s /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Gathering Facts --------------------------------------------------------- 1.11s /tmp/tmp_0pjp8ed/tests/storage/tests_change_mount.yml:2 ----------------------- Enable HA repos --------------------------------------------------------- 1.03s /cache/centos-8_setup.yml:5 --------------------------------------------------- fedora.linux_system_roles.storage : Update facts ------------------------ 0.98s /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 fedora.linux_system_roles.storage : Update facts ------------------------ 0.98s /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 fedora.linux_system_roles.storage : Update facts ------------------------ 0.96s /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 fedora.linux_system_roles.storage : Update facts ------------------------ 0.96s /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 fedora.linux_system_roles.storage : Update facts ------------------------ 0.94s /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab --- 0.86s /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132