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 14:14:43 +0000 (0:00:00.019) 0:00:00.019 ********* 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.373879", "end": "2022-07-21 14:14:44.335537", "rc": 0, "start": "2022-07-21 14:14:43.961658" } 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 14:14:44 +0000 (0:00:00.980) 0:00:01.000 ********* =============================================================================== Enable HA repos --------------------------------------------------------- 0.98s /cache/centos-8_setup.yml:5 --------------------------------------------------- PLAYBOOK: tests_misc.yml ******************************************************* 1 plays in /tmp/tmpa3egnbq5/tests/tests_misc.yml PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpa3egnbq5/tests/tests_misc.yml:2 Thursday 21 July 2022 14:14:44 +0000 (0:00:00.021) 0:00:01.022 ********* ok: [/cache/centos-8.qcow2] META: ran handlers TASK [include_role : linux-system-roles.storage] ******************************* task path: /tmp/tmpa3egnbq5/tests/tests_misc.yml:16 Thursday 21 July 2022 14:14:45 +0000 (0:00:01.103) 0:00:02.125 ********* 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 14:14:45 +0000 (0:00:00.032) 0:00:02.158 ********* 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 14:14:45 +0000 (0:00:00.028) 0:00:02.187 ********* 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 14:14:46 +0000 (0:00:00.517) 0:00:02.705 ********* 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 14:14:46 +0000 (0:00:00.063) 0:00:02.768 ********* 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 14:14:46 +0000 (0:00:00.027) 0:00:02.795 ********* 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 14:14:46 +0000 (0:00:00.028) 0:00:02.824 ********* 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 14:14:46 +0000 (0:00:00.043) 0:00:02.868 ********* 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 14:14:46 +0000 (0:00:00.016) 0:00:02.885 ********* 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 14:17:17 +0000 (0:02:31.159) 0:02:34.045 ********* 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 14:17:17 +0000 (0:00:00.035) 0:02:34.080 ********* 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 14:17:17 +0000 (0:00:00.033) 0:02:34.114 ********* 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 14:17:18 +0000 (0:00:00.750) 0:02:34.865 ********* 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 14:17:18 +0000 (0:00:00.042) 0:02:34.908 ********* 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 14:17:18 +0000 (0:00:00.031) 0:02:34.939 ********* 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 14:17:18 +0000 (0:00:00.033) 0:02:34.973 ********* 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 14:17:18 +0000 (0:00:00.028) 0:02:35.001 ********* 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 14:17:20 +0000 (0:00:01.905) 0:02:36.907 ********* 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-r5da881a95b414a449b042b5e9fcca8b1.service": { "name": "run-r5da881a95b414a449b042b5e9fcca8b1.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 14:17:22 +0000 (0:00:01.665) 0:02:38.572 ********* 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 14:17:22 +0000 (0:00:00.056) 0:02:38.629 ********* 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 14:17:22 +0000 (0:00:00.022) 0:02:38.651 ********* 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 14:17:22 +0000 (0:00:00.551) 0:02:39.203 ********* 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 14:17:22 +0000 (0:00:00.037) 0:02:39.240 ********* 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 14:17:22 +0000 (0:00:00.021) 0:02:39.262 ********* 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 14:17:22 +0000 (0:00:00.036) 0:02:39.298 ********* 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 14:17:22 +0000 (0:00:00.036) 0:02:39.335 ********* 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 14:17:22 +0000 (0:00:00.035) 0:02:39.370 ********* 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 14:17:22 +0000 (0:00:00.033) 0:02:39.404 ********* 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 14:17:22 +0000 (0:00:00.022) 0:02:39.426 ********* 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 14:17:22 +0000 (0:00:00.031) 0:02:39.458 ********* 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 14:17:22 +0000 (0:00:00.025) 0:02:39.483 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "stat": { "atime": 1658412925.9046133, "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 14:17:23 +0000 (0:00:00.503) 0:02:39.987 ********* 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 14:17:23 +0000 (0:00:00.022) 0:02:40.010 ********* 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_misc.yml:19 Thursday 21 July 2022 14:17:24 +0000 (0:00:00.934) 0:02:40.944 ********* 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_misc.yml:26 Thursday 21 July 2022 14:17:24 +0000 (0:00:00.064) 0:02:41.009 ********* 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 14:17:24 +0000 (0:00:00.036) 0:02:41.046 ********* 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 14:17:25 +0000 (0:00:00.513) 0:02:41.559 ********* 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 14:17:25 +0000 (0:00:00.035) 0:02:41.595 ********* 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 14:17:25 +0000 (0:00:00.038) 0:02:41.633 ********* ok: [/cache/centos-8.qcow2] => { "unused_disks": [ "sda" ] } TASK [Test creating ext4 filesystem with valid parameter "-Fb 4096"] *********** task path: /tmp/tmpa3egnbq5/tests/tests_misc.yml:31 Thursday 21 July 2022 14:17:25 +0000 (0:00:00.035) 0:02:41.669 ********* 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 14:17:25 +0000 (0:00:00.042) 0:02:41.712 ********* 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 14:17:25 +0000 (0:00:00.031) 0:02:41.744 ********* 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 14:17:25 +0000 (0:00:00.532) 0:02:42.276 ********* 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 14:17:25 +0000 (0:00:00.075) 0:02:42.352 ********* 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 14:17:25 +0000 (0:00:00.035) 0:02:42.387 ********* 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 14:17:25 +0000 (0:00:00.033) 0:02:42.420 ********* 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 14:17:25 +0000 (0:00:00.047) 0:02:42.467 ********* 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 14:17:25 +0000 (0:00:00.019) 0:02:42.487 ********* 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 14:17:26 +0000 (0:00:00.030) 0:02:42.518 ********* ok: [/cache/centos-8.qcow2] => { "storage_pools": [ { "disks": [ "sda" ], "name": "foo", "type": "lvm", "volumes": [ { "fs_create_options": "-Fb 4096", "fs_type": "ext4", "mount_point": "/opt/test1", "name": "test1", "size": "4g" } ] } ] } TASK [linux-system-roles.storage : show storage_volumes] *********************** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:19 Thursday 21 July 2022 14:17:26 +0000 (0:00:00.037) 0:02:42.555 ********* 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 14:17:26 +0000 (0:00:00.035) 0:02:42.591 ********* 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 14:17:26 +0000 (0:00:00.026) 0:02:42.618 ********* 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 14:17:26 +0000 (0:00:00.029) 0:02:42.648 ********* 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 14:17:26 +0000 (0:00:00.032) 0:02:42.680 ********* 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 14:17:26 +0000 (0:00:00.028) 0:02:42.708 ********* 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 14:17:26 +0000 (0:00:00.055) 0:02:42.764 ********* 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 14:17:26 +0000 (0:00:00.022) 0:02:42.787 ********* 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": "ext4" } ], "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": "ext4", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "xfsprogs", "lvm2", "e2fsprogs" ], "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": "-Fb 4096", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "4g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } TASK [linux-system-roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:91 Thursday 21 July 2022 14:17:27 +0000 (0:00:01.524) 0:02:44.311 ********* 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 14:17:27 +0000 (0:00:00.037) 0:02:44.349 ********* 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 14:17:27 +0000 (0:00:00.023) 0:02:44.372 ********* 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": "ext4" } ], "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": "ext4", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "xfsprogs", "lvm2", "e2fsprogs" ], "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": "-Fb 4096", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "4g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } } TASK [linux-system-roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:114 Thursday 21 July 2022 14:17:27 +0000 (0:00:00.118) 0:02:44.490 ********* 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": "-Fb 4096", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "4g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] }, "changed": false } TASK [linux-system-roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:118 Thursday 21 July 2022 14:17:28 +0000 (0:00:00.037) 0:02:44.528 ********* 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 14:17:28 +0000 (0:00:00.034) 0:02:44.562 ********* 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 14:17:28 +0000 (0:00:00.036) 0:02:44.599 ********* 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 14:17:28 +0000 (0:00:00.863) 0:02:45.463 ********* 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': 'ext4', '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": "ext4", "mount_info": { "dump": 0, "fstype": "ext4", "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 14:17:29 +0000 (0:00:00.629) 0:02:46.092 ********* 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 14:17:30 +0000 (0:00:00.607) 0:02:46.700 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "stat": { "atime": 1658412925.9046133, "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 14:17:30 +0000 (0:00:00.374) 0:02:47.074 ********* 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 14:17:30 +0000 (0:00:00.020) 0:02:47.094 ********* ok: [/cache/centos-8.qcow2] META: role_complete for /cache/centos-8.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmpa3egnbq5/tests/tests_misc.yml:46 Thursday 21 July 2022 14:17:31 +0000 (0:00:00.954) 0:02:48.049 ********* 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 14:17:31 +0000 (0:00:00.039) 0:02:48.089 ********* 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": "-Fb 4096", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "4g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] } TASK [Print out volume information] ******************************************** task path: /tmp/tmpa3egnbq5/tests/verify-role-results.yml:6 Thursday 21 July 2022 14:17:31 +0000 (0:00:00.050) 0:02:48.139 ********* 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 14:17:31 +0000 (0:00:00.036) 0:02:48.176 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "info": { "/dev/mapper/foo-test1": { "fstype": "ext4", "label": "", "name": "/dev/mapper/foo-test1", "size": "4G", "type": "lvm", "uuid": "5d17283d-df86-4aa4-9f50-934f0f3d2bc7" }, "/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": "FzvSu8-ivD5-iQVj-Z0NS-7SKi-fSmk-gEZ4SG" }, "/dev/sdb": { "fstype": "", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdc": { "fstype": "", "label": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sr0": { "fstype": "iso9660", "label": "cidata", "name": "/dev/sr0", "size": "364K", "type": "rom", "uuid": "2022-07-21-14-14-23-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 14:17:32 +0000 (0:00:00.505) 0:02:48.681 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.002671", "end": "2022-07-21 14:17:32.383446", "rc": 0, "start": "2022-07-21 14:17:32.380775" } 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 ext4 defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpa3egnbq5/tests/verify-role-results.yml:24 Thursday 21 July 2022 14:17:32 +0000 (0:00:00.365) 0:02:49.047 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.002543", "end": "2022-07-21 14:17:32.787899", "failed_when_result": false, "rc": 0, "start": "2022-07-21 14:17:32.785356" } 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 14:17:32 +0000 (0:00:00.404) 0:02:49.451 ********* 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': '-Fb 4096', 'fs_label': '', 'fs_type': 'ext4', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '4g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-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 14:17:33 +0000 (0:00:00.102) 0:02:49.554 ********* 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 14:17:33 +0000 (0:00:00.065) 0:02:49.619 ********* 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 14:17:33 +0000 (0:00:00.070) 0:02:49.690 ********* 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 14:17:33 +0000 (0:00:00.054) 0:02:49.745 ********* 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 14:17:33 +0000 (0:00:00.474) 0:02:50.219 ********* 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 14:17:33 +0000 (0:00:00.049) 0:02:50.268 ********* 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 14:17:33 +0000 (0:00:00.046) 0:02:50.314 ********* 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 14:17:33 +0000 (0:00:00.050) 0:02:50.365 ********* 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 14:17:33 +0000 (0:00:00.036) 0:02:50.401 ********* 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 14:17:33 +0000 (0:00:00.047) 0:02:50.449 ********* 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 14:17:33 +0000 (0:00:00.022) 0:02:50.471 ********* 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 14:17:34 +0000 (0:00:00.042) 0:02:50.514 ********* 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 14:17:34 +0000 (0:00:00.041) 0:02:50.556 ********* 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 14:17:34 +0000 (0:00:00.022) 0:02:50.578 ********* 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 14:17:34 +0000 (0:00:00.024) 0:02:50.602 ********* 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 14:17:34 +0000 (0:00:00.024) 0:02:50.627 ********* 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 14:17:34 +0000 (0:00:00.024) 0:02:50.652 ********* 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 14:17:34 +0000 (0:00:00.024) 0:02:50.676 ********* 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 14:17:34 +0000 (0:00:00.023) 0:02:50.700 ********* 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 14:17:34 +0000 (0:00:00.025) 0:02:50.725 ********* 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 14:17:34 +0000 (0:00:00.033) 0:02:50.759 ********* 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 14:17:34 +0000 (0:00:00.043) 0:02:50.803 ********* 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': '-Fb 4096', 'fs_label': '', 'fs_type': 'ext4', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '4g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-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 14:17:34 +0000 (0:00:00.044) 0:02:50.847 ********* 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 14:17:34 +0000 (0:00:00.026) 0:02:50.874 ********* 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 14:17:34 +0000 (0:00:00.026) 0:02:50.901 ********* 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 14:17:34 +0000 (0:00:00.026) 0:02:50.927 ********* 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 14:17:34 +0000 (0:00:00.048) 0:02:50.976 ********* 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': '-Fb 4096', 'fs_label': '', 'fs_type': 'ext4', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '4g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-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 14:17:34 +0000 (0:00:00.046) 0:02:51.023 ********* 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 14:17:34 +0000 (0:00:00.023) 0:02:51.046 ********* 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 14:17:34 +0000 (0:00:00.022) 0:02:51.068 ********* 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 14:17:34 +0000 (0:00:00.022) 0:02:51.090 ********* 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 14:17:34 +0000 (0:00:00.025) 0:02:51.116 ********* 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 14:17:34 +0000 (0:00:00.083) 0:02:51.200 ********* 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 14:17:34 +0000 (0:00:00.049) 0:02:51.250 ********* 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 14:17:34 +0000 (0:00:00.027) 0:02:51.277 ********* 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 14:17:34 +0000 (0:00:00.040) 0:02:51.318 ********* 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 14:17:34 +0000 (0:00:00.045) 0:02:51.363 ********* 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 14:17:34 +0000 (0:00:00.045) 0:02:51.409 ********* 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 14:17:34 +0000 (0:00:00.032) 0:02:51.442 ********* 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 14:17:34 +0000 (0:00:00.036) 0:02:51.479 ********* 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 14:17:35 +0000 (0:00:00.038) 0:02:51.517 ********* 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 14:17:35 +0000 (0:00:00.035) 0:02:51.552 ********* 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 14:17:35 +0000 (0:00:00.039) 0:02:51.591 ********* 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 14:17:35 +0000 (0:00:00.050) 0:02:51.642 ********* 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': '-Fb 4096', 'fs_label': '', 'fs_type': 'ext4', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '4g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-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 14:17:35 +0000 (0:00:00.045) 0:02:51.688 ********* 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 14:17:35 +0000 (0:00:00.022) 0:02:51.710 ********* 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 14:17:35 +0000 (0:00:00.023) 0:02:51.734 ********* 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 14:17:35 +0000 (0:00:00.025) 0:02:51.759 ********* 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 14:17:35 +0000 (0:00:00.025) 0:02:51.784 ********* 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 14:17:35 +0000 (0:00:00.024) 0:02:51.808 ********* 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 14:17:35 +0000 (0:00:00.023) 0:02:51.832 ********* 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 14:17:35 +0000 (0:00:00.022) 0:02:51.855 ********* 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 14:17:35 +0000 (0:00:00.031) 0:02:51.886 ********* 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 14:17:35 +0000 (0:00:00.031) 0:02:51.917 ********* 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': '-Fb 4096', 'fs_label': '', 'fs_type': 'ext4', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '4g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-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 14:17:35 +0000 (0:00:00.041) 0:02:51.959 ********* 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 14:17:35 +0000 (0:00:00.049) 0:02:52.009 ********* 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 14:17:35 +0000 (0:00:00.079) 0:02:52.088 ********* 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 14:17:35 +0000 (0:00:00.041) 0:02:52.129 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 955110, "block_size": 4096, "block_total": 1015728, "block_used": 60618, "device": "/dev/mapper/foo-test1", "fstype": "ext4", "inode_available": 262133, "inode_total": 262144, "inode_used": 11, "mount": "/opt/test1", "options": "rw,seclabel,relatime", "size_available": 3912130560, "size_total": 4160421888, "uuid": "5d17283d-df86-4aa4-9f50-934f0f3d2bc7" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 955110, "block_size": 4096, "block_total": 1015728, "block_used": 60618, "device": "/dev/mapper/foo-test1", "fstype": "ext4", "inode_available": 262133, "inode_total": 262144, "inode_used": 11, "mount": "/opt/test1", "options": "rw,seclabel,relatime", "size_available": 3912130560, "size_total": 4160421888, "uuid": "5d17283d-df86-4aa4-9f50-934f0f3d2bc7" } ], "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 14:17:35 +0000 (0:00:00.075) 0:02:52.205 ********* 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 14:17:35 +0000 (0:00:00.051) 0:02:52.256 ********* 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 14:17:35 +0000 (0:00:00.047) 0:02:52.304 ********* 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 14:17:35 +0000 (0:00:00.082) 0:02:52.386 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-mount.yml:58 Thursday 21 July 2022 14:17:35 +0000 (0:00:00.023) 0:02:52.410 ********* 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 14:17:35 +0000 (0:00:00.053) 0:02:52.463 ********* 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 14:17:35 +0000 (0:00:00.025) 0:02:52.488 ********* 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 14:17:36 +0000 (0:00:00.035) 0:02:52.524 ********* 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 ext4 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 14:17:36 +0000 (0:00:00.063) 0:02:52.588 ********* 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 14:17:36 +0000 (0:00:00.051) 0:02:52.639 ********* 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 14:17:36 +0000 (0:00:00.050) 0:02:52.689 ********* 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 14:17:36 +0000 (0:00:00.036) 0:02:52.725 ********* 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 14:17:36 +0000 (0:00:00.039) 0:02:52.765 ********* 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 14:17:36 +0000 (0:00:00.045) 0:02:52.811 ********* 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 14:17:36 +0000 (0:00:00.048) 0:02:52.859 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "stat": { "atime": 1658413047.5966134, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658413047.5966134, "dev": 6, "device_type": 64768, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 96660, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1658413047.5966134, "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 14:17:36 +0000 (0:00:00.369) 0:02:53.229 ********* 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 14:17:36 +0000 (0:00:00.037) 0:02:53.267 ********* 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 14:17:36 +0000 (0:00:00.037) 0:02:53.304 ********* 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 14:17:36 +0000 (0:00:00.035) 0:02:53.339 ********* 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 14:17:36 +0000 (0:00:00.023) 0:02:53.362 ********* 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 14:17:36 +0000 (0:00:00.038) 0:02:53.400 ********* 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 14:17:36 +0000 (0:00:00.022) 0:02:53.423 ********* 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 14:17:40 +0000 (0:00:03.089) 0:02:56.512 ********* 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 14:17:40 +0000 (0:00:00.024) 0:02:56.537 ********* 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 14:17:40 +0000 (0:00:00.025) 0:02:56.562 ********* 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 14:17:40 +0000 (0:00:00.054) 0:02:56.616 ********* 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 14:17:40 +0000 (0:00:00.025) 0:02:56.642 ********* 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 14:17:40 +0000 (0:00:00.024) 0:02:56.666 ********* 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 14:17:40 +0000 (0:00:00.025) 0:02:56.692 ********* 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 14:17:40 +0000 (0:00:00.023) 0:02:56.716 ********* 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 14:17:40 +0000 (0:00:00.022) 0:02:56.739 ********* 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 14:17:40 +0000 (0:00:00.048) 0:02:56.788 ********* 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 14:17:40 +0000 (0:00:00.047) 0:02:56.835 ********* 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 14:17:40 +0000 (0:00:00.037) 0:02:56.872 ********* 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 14:17:40 +0000 (0:00:00.038) 0:02:56.911 ********* 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 14:17:40 +0000 (0:00:00.037) 0:02:56.948 ********* 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 14:17:40 +0000 (0:00:00.037) 0:02:56.985 ********* 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 14:17:40 +0000 (0:00:00.036) 0:02:57.022 ********* 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 14:17:40 +0000 (0:00:00.035) 0:02:57.057 ********* 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 14:17:40 +0000 (0:00:00.037) 0:02:57.095 ********* 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 14:17:40 +0000 (0:00:00.039) 0:02:57.134 ********* 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 14:17:40 +0000 (0:00:00.038) 0:02:57.172 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-md.yml:37 Thursday 21 July 2022 14:17:40 +0000 (0:00:00.036) 0:02:57.209 ********* 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 14:17:40 +0000 (0:00:00.034) 0:02:57.244 ********* ok: [/cache/centos-8.qcow2] => { "bytes": 4294967296, "changed": false, "lvm": "4g", "parted": "4GiB", "size": "4 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-size.yml:9 Thursday 21 July 2022 14:17:41 +0000 (0:00:00.507) 0:02:57.751 ********* ok: [/cache/centos-8.qcow2] => { "bytes": 4294967296, "changed": false, "lvm": "4g", "parted": "4GiB", "size": "4 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-size.yml:15 Thursday 21 July 2022 14:17:41 +0000 (0:00:00.441) 0:02:58.193 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "storage_test_expected_size": "4294967296" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-size.yml:20 Thursday 21 July 2022 14:17:41 +0000 (0:00:00.085) 0:02:58.278 ********* ok: [/cache/centos-8.qcow2] => { "storage_test_expected_size": "4294967296" } TASK [debug] ******************************************************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-size.yml:25 Thursday 21 July 2022 14:17:41 +0000 (0:00:00.071) 0:02:58.350 ********* skipping: [/cache/centos-8.qcow2] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-size.yml:28 Thursday 21 July 2022 14:17:41 +0000 (0:00:00.077) 0:02:58.428 ********* 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 14:17:41 +0000 (0:00:00.039) 0:02:58.467 ********* 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 14:17:41 +0000 (0:00:00.035) 0:02:58.503 ********* 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 14:17:42 +0000 (0:00:00.039) 0:02:58.542 ********* 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 14:17:42 +0000 (0:00:00.037) 0:02:58.580 ********* ok: [/cache/centos-8.qcow2] => { "storage_test_actual_size": { "bytes": 4294967296, "changed": false, "failed": false, "lvm": "4g", "parted": "4GiB", "size": "4 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-size.yml:47 Thursday 21 July 2022 14:17:42 +0000 (0:00:00.036) 0:02:58.616 ********* ok: [/cache/centos-8.qcow2] => { "storage_test_expected_size": "4294967296" } TASK [assert] ****************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-size.yml:50 Thursday 21 July 2022 14:17:42 +0000 (0:00:00.037) 0:02:58.654 ********* 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 14:17:42 +0000 (0:00:00.054) 0:02:58.708 ********* 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.034073", "end": "2022-07-21 14:17:42.459034", "rc": 0, "start": "2022-07-21 14:17:42.424961" } 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 14:17:42 +0000 (0:00:00.416) 0:02:59.125 ********* 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 14:17:42 +0000 (0:00:00.053) 0:02:59.178 ********* 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 14:17:42 +0000 (0:00:00.054) 0:02:59.233 ********* 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 14:17:42 +0000 (0:00:00.038) 0:02:59.272 ********* 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 14:17:42 +0000 (0:00:00.044) 0:02:59.317 ********* 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 14:17:42 +0000 (0:00:00.043) 0:02:59.360 ********* 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 14:17:42 +0000 (0:00:00.040) 0:02:59.401 ********* 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 14:17:42 +0000 (0:00:00.034) 0:02:59.435 ********* TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpa3egnbq5/tests/verify-role-results.yml:53 Thursday 21 July 2022 14:17:42 +0000 (0:00:00.022) 0:02:59.457 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Remove the volume group created above] *********************************** task path: /tmp/tmpa3egnbq5/tests/tests_misc.yml:48 Thursday 21 July 2022 14:17:42 +0000 (0:00:00.036) 0:02:59.494 ********* 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 14:17:43 +0000 (0:00:00.047) 0:02:59.541 ********* 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 14:17:43 +0000 (0:00:00.036) 0:02:59.578 ********* 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 14:17:43 +0000 (0:00:00.546) 0:03:00.125 ********* 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 14:17:43 +0000 (0:00:00.069) 0:03:00.195 ********* 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 14:17:43 +0000 (0:00:00.033) 0:03:00.228 ********* 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 14:17:43 +0000 (0:00:00.034) 0:03:00.262 ********* 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 14:17:43 +0000 (0:00:00.046) 0:03:00.308 ********* 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 14:17:43 +0000 (0:00:00.019) 0:03:00.327 ********* 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 14:17:43 +0000 (0:00:00.029) 0:03:00.357 ********* ok: [/cache/centos-8.qcow2] => { "storage_pools": [ { "disks": [ "sda" ], "name": "foo", "state": "absent", "type": "lvm" } ] } 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 14:17:43 +0000 (0:00:00.038) 0:03:00.396 ********* 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 14:17:43 +0000 (0:00:00.081) 0:03:00.478 ********* 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 14:17:43 +0000 (0:00:00.028) 0:03:00.506 ********* 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 14:17:44 +0000 (0:00:00.081) 0:03:00.588 ********* 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 14:17:44 +0000 (0:00:00.027) 0:03:00.615 ********* 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 14:17:44 +0000 (0:00:00.026) 0:03:00.642 ********* 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 14:17:44 +0000 (0:00:00.056) 0:03:00.699 ********* 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 14:17:44 +0000 (0:00:00.023) 0:03:00.722 ********* changed: [/cache/centos-8.qcow2] => { "actions": [ { "action": "destroy format", "device": "/dev/mapper/foo-test1", "fs_type": "ext4" }, { "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": "ext4", "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "absent" } ], "packages": [ "xfsprogs" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "lvm", "volumes": [] } ], "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 14:17:45 +0000 (0:00:01.635) 0:03:02.357 ********* 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 14:17:45 +0000 (0:00:00.039) 0:03:02.396 ********* 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 14:17:45 +0000 (0:00:00.023) 0:03:02.420 ********* ok: [/cache/centos-8.qcow2] => { "blivet_output": { "actions": [ { "action": "destroy format", "device": "/dev/mapper/foo-test1", "fs_type": "ext4" }, { "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": "ext4", "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "absent" } ], "packages": [ "xfsprogs" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "lvm", "volumes": [] } ], "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 14:17:45 +0000 (0:00:00.039) 0:03:02.459 ********* 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": [] } ] }, "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 14:17:45 +0000 (0:00:00.038) 0:03:02.498 ********* 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 14:17:46 +0000 (0:00:00.041) 0:03:02.540 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/centos-8.qcow2] => (item={'src': '/dev/mapper/foo-test1', 'path': '/opt/test1', 'state': 'absent', 'fstype': 'ext4'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "ext4", "mount_info": { "fstype": "ext4", "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "absent" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "/dev/mapper/foo-test1" } TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:146 Thursday 21 July 2022 14:17:46 +0000 (0:00:00.416) 0:03:02.956 ********* 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 14:17:47 +0000 (0:00:00.622) 0:03:03.579 ********* 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 14:17:47 +0000 (0:00:00.038) 0:03:03.618 ********* 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 14:17:47 +0000 (0:00:00.601) 0:03:04.219 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "stat": { "atime": 1658412925.9046133, "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 14:17:48 +0000 (0:00:00.381) 0:03:04.601 ********* 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 14:17:48 +0000 (0:00:00.024) 0:03:04.625 ********* ok: [/cache/centos-8.qcow2] META: role_complete for /cache/centos-8.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmpa3egnbq5/tests/tests_misc.yml:58 Thursday 21 July 2022 14:17:49 +0000 (0:00:00.984) 0:03:05.610 ********* 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 14:17:49 +0000 (0:00:00.042) 0:03:05.652 ********* 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": [] } ] } TASK [Print out volume information] ******************************************** task path: /tmp/tmpa3egnbq5/tests/verify-role-results.yml:6 Thursday 21 July 2022 14:17:49 +0000 (0:00:00.082) 0:03:05.734 ********* 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 14:17:49 +0000 (0:00:00.036) 0:03:05.771 ********* 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-14-14-23-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 14:17:49 +0000 (0:00:00.420) 0:03:06.191 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.003326", "end": "2022-07-21 14:17:49.913843", "rc": 0, "start": "2022-07-21 14:17:49.910517" } 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 14:17:50 +0000 (0:00:00.390) 0:03:06.581 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:01.004204", "end": "2022-07-21 14:17:51.301084", "failed_when_result": false, "rc": 0, "start": "2022-07-21 14:17:50.296880" } 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 14:17:51 +0000 (0:00:01.389) 0:03:07.970 ********* 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': [], 'raid_chunk_size': None}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-pool.yml:5 Thursday 21 July 2022 14:17:51 +0000 (0:00:00.057) 0:03:08.028 ********* 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 14:17:51 +0000 (0:00:00.035) 0:03:08.063 ********* 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 14:17:51 +0000 (0:00:00.048) 0:03:08.111 ********* 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 14:17:51 +0000 (0:00:00.053) 0:03:08.165 ********* TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-pool-members.yml:19 Thursday 21 July 2022 14:17:51 +0000 (0:00:00.024) 0:03:08.189 ********* 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 14:17:51 +0000 (0:00:00.048) 0:03:08.238 ********* 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 14:17:51 +0000 (0:00:00.049) 0:03:08.287 ********* 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 14:17:51 +0000 (0:00:00.050) 0:03:08.338 ********* 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 14:17:51 +0000 (0:00:00.037) 0:03:08.376 ********* 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 14:17:51 +0000 (0:00:00.074) 0:03:08.451 ********* 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 14:17:51 +0000 (0:00:00.024) 0:03:08.475 ********* TASK [Check MD RAID] *********************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-pool-members.yml:56 Thursday 21 July 2022 14:17:51 +0000 (0:00:00.023) 0:03:08.498 ********* 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 14:17:52 +0000 (0:00:00.040) 0:03:08.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:12 Thursday 21 July 2022 14:17:52 +0000 (0:00:00.025) 0:03:08.564 ********* 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 14:17:52 +0000 (0:00:00.024) 0:03:08.589 ********* 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 14:17:52 +0000 (0:00:00.022) 0:03:08.612 ********* 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 14:17:52 +0000 (0:00:00.022) 0:03:08.635 ********* 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 14:17:52 +0000 (0:00:00.025) 0:03:08.660 ********* 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 14:17:52 +0000 (0:00:00.056) 0:03:08.717 ********* 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 14:17:52 +0000 (0:00:00.024) 0:03:08.741 ********* 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 14:17:52 +0000 (0:00:00.035) 0:03:08.777 ********* 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 14:17:52 +0000 (0:00:00.043) 0:03:08.821 ********* TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-pool-members.yml:62 Thursday 21 July 2022 14:17:52 +0000 (0:00:00.022) 0:03:08.843 ********* 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 14:17:52 +0000 (0:00:00.042) 0:03:08.886 ********* TASK [Check member encryption] ************************************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-pool-members.yml:65 Thursday 21 July 2022 14:17:52 +0000 (0:00:00.021) 0:03:08.908 ********* 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 14:17:52 +0000 (0:00:00.043) 0:03:08.951 ********* 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 14:17:52 +0000 (0:00:00.052) 0:03:09.003 ********* TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-members-encryption.yml:15 Thursday 21 July 2022 14:17:52 +0000 (0:00:00.022) 0:03:09.026 ********* TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-members-encryption.yml:22 Thursday 21 July 2022 14:17:52 +0000 (0:00:00.021) 0:03:09.048 ********* 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 14:17:52 +0000 (0:00:00.035) 0:03:09.084 ********* 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 14:17:52 +0000 (0:00:00.047) 0:03:09.131 ********* TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-pool-members.yml:71 Thursday 21 July 2022 14:17:52 +0000 (0:00:00.022) 0:03:09.153 ********* 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 14:17:52 +0000 (0:00:00.036) 0:03:09.190 ********* TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpa3egnbq5/tests/verify-role-results.yml:43 Thursday 21 July 2022 14:17:52 +0000 (0:00:00.021) 0:03:09.212 ********* TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpa3egnbq5/tests/verify-role-results.yml:53 Thursday 21 July 2022 14:17:52 +0000 (0:00:00.022) 0:03:09.234 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Try to create ext4 filesystem with invalid parameter "-Fb 512"] ********** task path: /tmp/tmpa3egnbq5/tests/tests_misc.yml:62 Thursday 21 July 2022 14:17:52 +0000 (0:00:00.034) 0:03:09.268 ********* 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 14:17:52 +0000 (0:00:00.040) 0:03:09.308 ********* 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 14:17:52 +0000 (0:00:00.034) 0:03:09.343 ********* 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 14:17:53 +0000 (0:00:00.541) 0:03:09.884 ********* 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 14:17:53 +0000 (0:00:00.075) 0:03:09.960 ********* 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 14:17:53 +0000 (0:00:00.034) 0:03:09.994 ********* 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 14:17:53 +0000 (0:00:00.034) 0:03:10.029 ********* 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 14:17:53 +0000 (0:00:00.049) 0:03:10.079 ********* 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 14:17:53 +0000 (0:00:00.023) 0:03:10.102 ********* 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 14:17:53 +0000 (0:00:00.028) 0:03:10.130 ********* ok: [/cache/centos-8.qcow2] => { "storage_pools": [ { "disks": [ "sda" ], "name": "foo", "type": "lvm", "volumes": [ { "fs_create_options": "-Fb 512", "fs_type": "ext4", "mount_point": "/opt/test1", "name": "test1", "size": "4g" } ] } ] } TASK [linux-system-roles.storage : show storage_volumes] *********************** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:19 Thursday 21 July 2022 14:17:53 +0000 (0:00:00.122) 0:03:10.252 ********* 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 14:17:53 +0000 (0:00:00.035) 0:03:10.288 ********* 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 14:17:53 +0000 (0:00:00.029) 0:03:10.317 ********* 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 14:17:53 +0000 (0:00:00.027) 0:03:10.345 ********* 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 14:17:53 +0000 (0:00:00.033) 0:03:10.378 ********* 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 14:17:53 +0000 (0:00:00.029) 0:03:10.407 ********* 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 14:17:53 +0000 (0:00:00.057) 0:03:10.465 ********* 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 14:17:53 +0000 (0:00:00.022) 0:03:10.488 ********* fatal: [/cache/centos-8.qcow2]: FAILED! => { "actions": [], "changed": false, "crypts": [], "leaves": [], "mounts": [], "packages": [ "xfsprogs", "lvm2", "e2fsprogs" ], "pools": [], "volumes": [] } MSG: Failed to commit changes to disk: (FSError('format failed: 1',), '/dev/mapper/foo-test1') TASK [linux-system-roles.storage : failed message] ***************************** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:99 Thursday 21 July 2022 14:17:55 +0000 (0:00:01.462) 0:03:11.950 ********* fatal: [/cache/centos-8.qcow2]: FAILED! => { "changed": false } MSG: {'changed': False, 'actions': [], 'leaves': [], 'mounts': [], 'crypts': [], 'pools': [], 'volumes': [], 'packages': ['xfsprogs', 'lvm2', 'e2fsprogs'], 'failed': True, 'msg': "Failed to commit changes to disk: (FSError('format failed: 1',), '/dev/mapper/foo-test1')", 'invocation': {'module_args': {'pools': [{'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': '-Fb 512', 'fs_label': '', 'fs_type': 'ext4', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '4g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1'}], 'raid_chunk_size': None}], 'volumes': [], 'use_partitions': None, 'disklabel_type': None, 'pool_defaults': {'state': 'present', 'type': 'lvm', 'disks': [], 'volumes': [], 'encryption': False, 'encryption_password': None, 'encryption_key': None, 'encryption_cipher': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None}, 'volume_defaults': {'state': 'present', 'type': 'lvm', 'size': 0, 'disks': [], 'fs_type': 'xfs', 'fs_label': '', 'fs_create_options': '', 'fs_overwrite_existing': True, 'mount_point': '', 'mount_options': 'defaults', 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, 'encryption': False, 'encryption_password': None, 'encryption_key': None, 'encryption_cipher': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'compression': None, 'deduplication': None, 'vdo_pool_size': None, 'thin': None, 'thin_pool_name': None, 'thin_pool_size': None, 'cached': False, 'cache_size': 0, 'cache_mode': None, 'cache_devices': []}, 'safe_mode': False, 'packages_only': False, 'diskvolume_mkfs_option_map': {}}}, '_ansible_no_log': 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 14:17:55 +0000 (0:00:00.039) 0:03:11.990 ********* TASK [Check that we failed in the role] **************************************** task path: /tmp/tmpa3egnbq5/tests/tests_misc.yml:82 Thursday 21 July 2022 14:17:55 +0000 (0:00:00.021) 0:03:12.011 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the output when creating ext4 filesystem with invalid parameter "-Fb 512"] *** task path: /tmp/tmpa3egnbq5/tests/tests_misc.yml:88 Thursday 21 July 2022 14:17:55 +0000 (0:00:00.037) 0:03:12.049 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Remove the volume group created above] *********************************** task path: /tmp/tmpa3egnbq5/tests/tests_misc.yml:95 Thursday 21 July 2022 14:17:55 +0000 (0:00:00.053) 0:03:12.103 ********* 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 14:17:55 +0000 (0:00:00.033) 0:03:12.136 ********* 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 14:17:55 +0000 (0:00:00.032) 0:03:12.169 ********* 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 14:17:56 +0000 (0:00:00.532) 0:03:12.701 ********* 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 14:17:56 +0000 (0:00:00.072) 0:03:12.774 ********* 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 14:17:56 +0000 (0:00:00.035) 0:03:12.809 ********* 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 14:17:56 +0000 (0:00:00.035) 0:03:12.844 ********* 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 14:17:56 +0000 (0:00:00.047) 0:03:12.891 ********* 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 14:17:56 +0000 (0:00:00.019) 0:03:12.911 ********* 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 14:17:56 +0000 (0:00:00.029) 0:03:12.941 ********* ok: [/cache/centos-8.qcow2] => { "storage_pools": [ { "disks": [ "sda" ], "name": "foo", "state": "absent", "type": "lvm" } ] } 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 14:17:56 +0000 (0:00:00.038) 0:03:12.979 ********* 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 14:17:56 +0000 (0:00:00.034) 0:03:13.014 ********* 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 14:17:56 +0000 (0:00:00.029) 0:03:13.044 ********* 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 14:17:56 +0000 (0:00:00.027) 0:03:13.072 ********* 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 14:17:56 +0000 (0:00:00.032) 0:03:13.104 ********* 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 14:17:56 +0000 (0:00:00.028) 0:03:13.133 ********* 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 14:17:56 +0000 (0:00:00.088) 0:03:13.221 ********* 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 14:17:56 +0000 (0:00:00.022) 0:03:13.243 ********* changed: [/cache/centos-8.qcow2] => { "actions": [ { "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": [], "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": [] } ], "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 14:17:58 +0000 (0:00:01.536) 0:03:14.780 ********* 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 14:17:58 +0000 (0:00:00.036) 0:03:14.816 ********* 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 14:17:58 +0000 (0:00:00.024) 0:03:14.841 ********* ok: [/cache/centos-8.qcow2] => { "blivet_output": { "actions": [ { "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": [], "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": [] } ], "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 14:17:58 +0000 (0:00:00.039) 0:03:14.881 ********* 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": [] } ] }, "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 14:17:58 +0000 (0:00:00.039) 0:03:14.921 ********* 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 14:17:58 +0000 (0:00:00.036) 0:03:14.957 ********* 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 14:17:58 +0000 (0:00:00.042) 0:03:15.000 ********* 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 14:17:58 +0000 (0:00:00.027) 0:03:15.027 ********* 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 14:17:58 +0000 (0:00:00.040) 0:03:15.067 ********* 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 14:17:58 +0000 (0:00:00.022) 0:03:15.090 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "stat": { "atime": 1658412925.9046133, "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 14:17:58 +0000 (0:00:00.396) 0:03:15.486 ********* 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 14:17:58 +0000 (0:00:00.024) 0:03:15.511 ********* ok: [/cache/centos-8.qcow2] META: role_complete for /cache/centos-8.qcow2 TASK [Create one LVM logical volume with "4g" under one volume group] ********** task path: /tmp/tmpa3egnbq5/tests/tests_misc.yml:105 Thursday 21 July 2022 14:17:59 +0000 (0:00:00.961) 0:03:16.472 ********* 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 14:18:00 +0000 (0:00:00.041) 0:03:16.514 ********* 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 14:18:00 +0000 (0:00:00.033) 0:03:16.547 ********* 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 14:18:00 +0000 (0:00:00.566) 0:03:17.114 ********* 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 14:18:00 +0000 (0:00:00.110) 0:03:17.225 ********* 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 14:18:00 +0000 (0:00:00.034) 0:03:17.259 ********* 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 14:18:00 +0000 (0:00:00.069) 0:03:17.328 ********* 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 14:18:00 +0000 (0:00:00.076) 0:03:17.405 ********* 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 14:18:00 +0000 (0:00:00.020) 0:03:17.425 ********* 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 14:18:00 +0000 (0:00:00.025) 0:03:17.451 ********* ok: [/cache/centos-8.qcow2] => { "storage_pools": [ { "disks": [ "sda" ], "name": "foo", "type": "lvm", "volumes": [ { "fs_type": "ext4", "mount_point": "/opt/test1", "name": "test1", "size": "4g" } ] } ] } TASK [linux-system-roles.storage : show storage_volumes] *********************** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:19 Thursday 21 July 2022 14:18:00 +0000 (0:00:00.037) 0:03:17.488 ********* 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 14:18:01 +0000 (0:00:00.036) 0:03:17.525 ********* 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 14:18:01 +0000 (0:00:00.029) 0:03:17.555 ********* 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 14:18:01 +0000 (0:00:00.027) 0:03:17.582 ********* 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 14:18:01 +0000 (0:00:00.027) 0:03:17.609 ********* 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 14:18:01 +0000 (0:00:00.025) 0:03:17.634 ********* 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 14:18:01 +0000 (0:00:00.054) 0:03:17.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 14:18:01 +0000 (0:00:00.022) 0:03:17.711 ********* 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": "ext4" } ], "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": "ext4", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "e2fsprogs", "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": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "4g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } TASK [linux-system-roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:91 Thursday 21 July 2022 14:18:02 +0000 (0:00:01.536) 0:03:19.248 ********* 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 14:18:02 +0000 (0:00:00.035) 0:03:19.283 ********* 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 14:18:02 +0000 (0:00:00.022) 0:03:19.306 ********* 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": "ext4" } ], "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": "ext4", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "e2fsprogs", "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": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "4g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } } TASK [linux-system-roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:114 Thursday 21 July 2022 14:18:02 +0000 (0:00:00.040) 0:03:19.346 ********* 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": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "4g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] }, "changed": false } TASK [linux-system-roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:118 Thursday 21 July 2022 14:18:02 +0000 (0:00:00.041) 0:03:19.388 ********* 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 14:18:02 +0000 (0:00:00.035) 0:03:19.424 ********* 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 14:18:02 +0000 (0:00:00.036) 0:03:19.461 ********* 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 14:18:03 +0000 (0:00:00.613) 0:03:20.074 ********* 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': 'ext4', '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": "ext4", "mount_info": { "dump": 0, "fstype": "ext4", "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 14:18:03 +0000 (0:00:00.428) 0:03:20.502 ********* 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 14:18:04 +0000 (0:00:00.604) 0:03:21.106 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "stat": { "atime": 1658412925.9046133, "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 14:18:04 +0000 (0:00:00.392) 0:03:21.499 ********* 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 14:18:05 +0000 (0:00:00.024) 0:03:21.523 ********* ok: [/cache/centos-8.qcow2] META: role_complete for /cache/centos-8.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmpa3egnbq5/tests/tests_misc.yml:119 Thursday 21 July 2022 14:18:05 +0000 (0:00:00.969) 0:03:22.493 ********* 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 14:18:06 +0000 (0:00:00.088) 0:03:22.581 ********* 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": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "4g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] } TASK [Print out volume information] ******************************************** task path: /tmp/tmpa3egnbq5/tests/verify-role-results.yml:6 Thursday 21 July 2022 14:18:06 +0000 (0:00:00.053) 0:03:22.635 ********* 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 14:18:06 +0000 (0:00:00.034) 0:03:22.670 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "info": { "/dev/mapper/foo-test1": { "fstype": "ext4", "label": "", "name": "/dev/mapper/foo-test1", "size": "4G", "type": "lvm", "uuid": "95806a92-80e0-47dd-844a-f3aef7d7f2fd" }, "/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": "9SGj4s-Tlh8-B1M1-qHzF-bhE6-uP5M-iavjwb" }, "/dev/sdb": { "fstype": "", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdc": { "fstype": "", "label": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sr0": { "fstype": "iso9660", "label": "cidata", "name": "/dev/sr0", "size": "364K", "type": "rom", "uuid": "2022-07-21-14-14-23-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 14:18:06 +0000 (0:00:00.381) 0:03:23.051 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.002923", "end": "2022-07-21 14:18:06.764017", "rc": 0, "start": "2022-07-21 14:18:06.761094" } 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 ext4 defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpa3egnbq5/tests/verify-role-results.yml:24 Thursday 21 July 2022 14:18:06 +0000 (0:00:00.381) 0:03:23.433 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.003209", "end": "2022-07-21 14:18:07.148570", "failed_when_result": false, "rc": 0, "start": "2022-07-21 14:18:07.145361" } 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 14:18:07 +0000 (0:00:00.385) 0:03:23.819 ********* 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': 'ext4', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '4g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-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 14:18:07 +0000 (0:00:00.059) 0:03:23.878 ********* 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 14:18:07 +0000 (0:00:00.036) 0:03:23.915 ********* 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 14:18:07 +0000 (0:00:00.048) 0:03:23.963 ********* 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 14:18:07 +0000 (0:00:00.056) 0:03:24.020 ********* 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 14:18:07 +0000 (0:00:00.386) 0:03:24.406 ********* 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 14:18:07 +0000 (0:00:00.050) 0:03:24.457 ********* 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 14:18:07 +0000 (0:00:00.053) 0:03:24.510 ********* 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 14:18:08 +0000 (0:00:00.052) 0:03:24.562 ********* 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 14:18:08 +0000 (0:00:00.039) 0:03:24.602 ********* 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 14:18:08 +0000 (0:00:00.052) 0:03:24.654 ********* 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 14:18:08 +0000 (0:00:00.026) 0:03:24.681 ********* 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 14:18:08 +0000 (0:00:00.042) 0:03:24.723 ********* 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 14:18:08 +0000 (0:00:00.043) 0:03:24.766 ********* 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 14:18:08 +0000 (0:00:00.024) 0:03:24.791 ********* 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 14:18:08 +0000 (0:00:00.025) 0:03:24.817 ********* 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 14:18:08 +0000 (0:00:00.025) 0:03:24.842 ********* 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 14:18:08 +0000 (0:00:00.024) 0:03:24.867 ********* 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 14:18:08 +0000 (0:00:00.029) 0:03:24.897 ********* 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 14:18:08 +0000 (0:00:00.058) 0:03:24.955 ********* 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 14:18:08 +0000 (0:00:00.024) 0:03:24.980 ********* 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 14:18:08 +0000 (0:00:00.033) 0:03:25.013 ********* 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 14:18:08 +0000 (0:00:00.042) 0:03:25.056 ********* 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': 'ext4', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '4g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-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 14:18:08 +0000 (0:00:00.042) 0:03:25.099 ********* 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 14:18:08 +0000 (0:00:00.028) 0:03:25.127 ********* 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 14:18:08 +0000 (0:00:00.029) 0:03:25.157 ********* 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 14:18:08 +0000 (0:00:00.029) 0:03:25.186 ********* 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 14:18:08 +0000 (0:00:00.043) 0:03:25.230 ********* 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': 'ext4', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '4g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-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 14:18:08 +0000 (0:00:00.042) 0:03:25.272 ********* 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 14:18:08 +0000 (0:00:00.022) 0:03:25.295 ********* 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 14:18:08 +0000 (0:00:00.025) 0:03:25.320 ********* 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 14:18:08 +0000 (0:00:00.023) 0:03:25.344 ********* 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 14:18:08 +0000 (0:00:00.024) 0:03:25.368 ********* 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 14:18:08 +0000 (0:00:00.051) 0:03:25.419 ********* 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 14:18:08 +0000 (0:00:00.047) 0:03:25.467 ********* 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 14:18:08 +0000 (0:00:00.026) 0:03:25.493 ********* 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 14:18:09 +0000 (0:00:00.043) 0:03:25.536 ********* 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 14:18:09 +0000 (0:00:00.054) 0:03:25.590 ********* 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 14:18:09 +0000 (0:00:00.061) 0:03:25.652 ********* 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 14:18:09 +0000 (0:00:00.039) 0:03:25.692 ********* 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 14:18:09 +0000 (0:00:00.035) 0:03:25.727 ********* 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 14:18:09 +0000 (0:00:00.035) 0:03:25.762 ********* 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 14:18:09 +0000 (0:00:00.036) 0:03:25.799 ********* 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 14:18:09 +0000 (0:00:00.036) 0:03:25.835 ********* 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 14:18:09 +0000 (0:00:00.048) 0:03:25.884 ********* 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': 'ext4', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '4g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-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 14:18:09 +0000 (0:00:00.044) 0:03:25.929 ********* 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 14:18:09 +0000 (0:00:00.025) 0:03:25.955 ********* 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 14:18:09 +0000 (0:00:00.024) 0:03:25.979 ********* 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 14:18:09 +0000 (0:00:00.023) 0:03:26.003 ********* 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 14:18:09 +0000 (0:00:00.023) 0:03:26.027 ********* 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 14:18:09 +0000 (0:00:00.022) 0:03:26.050 ********* 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 14:18:09 +0000 (0:00:00.024) 0:03:26.075 ********* 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 14:18:09 +0000 (0:00:00.024) 0:03:26.099 ********* 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 14:18:09 +0000 (0:00:00.115) 0:03:26.215 ********* 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 14:18:09 +0000 (0:00:00.033) 0:03:26.248 ********* 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': 'ext4', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '4g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-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 14:18:09 +0000 (0:00:00.040) 0:03:26.289 ********* 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 14:18:09 +0000 (0:00:00.049) 0:03:26.339 ********* 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 14:18:09 +0000 (0:00:00.080) 0:03:26.419 ********* 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 14:18:09 +0000 (0:00:00.041) 0:03:26.460 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 955110, "block_size": 4096, "block_total": 1015728, "block_used": 60618, "device": "/dev/mapper/foo-test1", "fstype": "ext4", "inode_available": 262133, "inode_total": 262144, "inode_used": 11, "mount": "/opt/test1", "options": "rw,seclabel,relatime", "size_available": 3912130560, "size_total": 4160421888, "uuid": "95806a92-80e0-47dd-844a-f3aef7d7f2fd" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 955110, "block_size": 4096, "block_total": 1015728, "block_used": 60618, "device": "/dev/mapper/foo-test1", "fstype": "ext4", "inode_available": 262133, "inode_total": 262144, "inode_used": 11, "mount": "/opt/test1", "options": "rw,seclabel,relatime", "size_available": 3912130560, "size_total": 4160421888, "uuid": "95806a92-80e0-47dd-844a-f3aef7d7f2fd" } ], "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 14:18:10 +0000 (0:00:00.055) 0:03:26.516 ********* 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 14:18:10 +0000 (0:00:00.054) 0:03:26.571 ********* 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 14:18:10 +0000 (0:00:00.048) 0:03:26.620 ********* 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 14:18:10 +0000 (0:00:00.050) 0:03:26.670 ********* 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 14:18:10 +0000 (0:00:00.025) 0:03:26.696 ********* 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 14:18:10 +0000 (0:00:00.025) 0:03:26.721 ********* 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 14:18:10 +0000 (0:00:00.023) 0:03:26.744 ********* 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 14:18:10 +0000 (0:00:00.033) 0:03:26.778 ********* 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 ext4 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 14:18:10 +0000 (0:00:00.063) 0:03:26.842 ********* 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 14:18:10 +0000 (0:00:00.047) 0:03:26.889 ********* 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 14:18:10 +0000 (0:00:00.052) 0:03:26.942 ********* 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 14:18:10 +0000 (0:00:00.038) 0:03:26.980 ********* 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 14:18:10 +0000 (0:00:00.033) 0:03:27.014 ********* 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 14:18:10 +0000 (0:00:00.037) 0:03:27.052 ********* 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 14:18:10 +0000 (0:00:00.037) 0:03:27.089 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "stat": { "atime": 1658413082.5346134, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658413082.5346134, "dev": 6, "device_type": 64768, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 119293, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1658413082.5346134, "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 14:18:10 +0000 (0:00:00.372) 0:03:27.462 ********* 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 14:18:10 +0000 (0:00:00.039) 0:03:27.502 ********* 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 14:18:11 +0000 (0:00:00.039) 0:03:27.541 ********* 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 14:18:11 +0000 (0:00:00.039) 0:03:27.580 ********* 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 14:18:11 +0000 (0:00:00.026) 0:03:27.607 ********* 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 14:18:11 +0000 (0:00:00.040) 0:03:27.648 ********* 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 14:18:11 +0000 (0:00:00.026) 0:03:27.674 ********* 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 14:18:13 +0000 (0:00:01.917) 0:03:29.592 ********* 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 14:18:13 +0000 (0:00:00.025) 0:03:29.618 ********* 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 14:18:13 +0000 (0:00:00.029) 0:03:29.648 ********* 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 14:18:13 +0000 (0:00:00.111) 0:03:29.760 ********* 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 14:18:13 +0000 (0:00:00.070) 0:03:29.830 ********* 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 14:18:13 +0000 (0:00:00.028) 0:03:29.859 ********* 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 14:18:13 +0000 (0:00:00.026) 0:03:29.885 ********* 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 14:18:13 +0000 (0:00:00.025) 0:03:29.910 ********* 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 14:18:13 +0000 (0:00:00.024) 0:03:29.935 ********* 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 14:18:13 +0000 (0:00:00.048) 0:03:29.983 ********* 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 14:18:13 +0000 (0:00:00.051) 0:03:30.035 ********* 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 14:18:13 +0000 (0:00:00.037) 0:03:30.072 ********* 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 14:18:13 +0000 (0:00:00.039) 0:03:30.112 ********* 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 14:18:13 +0000 (0:00:00.036) 0:03:30.148 ********* 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 14:18:13 +0000 (0:00:00.032) 0:03:30.181 ********* 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 14:18:13 +0000 (0:00:00.033) 0:03:30.214 ********* 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 14:18:13 +0000 (0:00:00.037) 0:03:30.251 ********* 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 14:18:13 +0000 (0:00:00.038) 0:03:30.290 ********* 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 14:18:13 +0000 (0:00:00.038) 0:03:30.328 ********* 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 14:18:13 +0000 (0:00:00.037) 0:03:30.366 ********* 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 14:18:13 +0000 (0:00:00.039) 0:03:30.405 ********* 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 14:18:13 +0000 (0:00:00.038) 0:03:30.443 ********* ok: [/cache/centos-8.qcow2] => { "bytes": 4294967296, "changed": false, "lvm": "4g", "parted": "4GiB", "size": "4 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-size.yml:9 Thursday 21 July 2022 14:18:14 +0000 (0:00:00.388) 0:03:30.831 ********* ok: [/cache/centos-8.qcow2] => { "bytes": 4294967296, "changed": false, "lvm": "4g", "parted": "4GiB", "size": "4 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-size.yml:15 Thursday 21 July 2022 14:18:14 +0000 (0:00:00.396) 0:03:31.228 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "storage_test_expected_size": "4294967296" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-size.yml:20 Thursday 21 July 2022 14:18:14 +0000 (0:00:00.050) 0:03:31.279 ********* ok: [/cache/centos-8.qcow2] => { "storage_test_expected_size": "4294967296" } TASK [debug] ******************************************************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-size.yml:25 Thursday 21 July 2022 14:18:14 +0000 (0:00:00.037) 0:03:31.316 ********* skipping: [/cache/centos-8.qcow2] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-size.yml:28 Thursday 21 July 2022 14:18:14 +0000 (0:00:00.040) 0:03:31.357 ********* 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 14:18:14 +0000 (0:00:00.037) 0:03:31.394 ********* 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 14:18:14 +0000 (0:00:00.034) 0:03:31.429 ********* 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 14:18:14 +0000 (0:00:00.035) 0:03:31.465 ********* 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 14:18:14 +0000 (0:00:00.041) 0:03:31.506 ********* ok: [/cache/centos-8.qcow2] => { "storage_test_actual_size": { "bytes": 4294967296, "changed": false, "failed": false, "lvm": "4g", "parted": "4GiB", "size": "4 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-size.yml:47 Thursday 21 July 2022 14:18:15 +0000 (0:00:00.036) 0:03:31.542 ********* ok: [/cache/centos-8.qcow2] => { "storage_test_expected_size": "4294967296" } TASK [assert] ****************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-size.yml:50 Thursday 21 July 2022 14:18:15 +0000 (0:00:00.035) 0:03:31.577 ********* 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 14:18:15 +0000 (0:00:00.050) 0:03:31.628 ********* 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.034791", "end": "2022-07-21 14:18:15.371516", "rc": 0, "start": "2022-07-21 14:18:15.336725" } 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 14:18:15 +0000 (0:00:00.410) 0:03:32.038 ********* 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 14:18:15 +0000 (0:00:00.049) 0:03:32.088 ********* 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 14:18:15 +0000 (0:00:00.051) 0:03:32.139 ********* 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 14:18:15 +0000 (0:00:00.036) 0:03:32.175 ********* 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 14:18:15 +0000 (0:00:00.036) 0:03:32.212 ********* 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 14:18:15 +0000 (0:00:00.037) 0:03:32.249 ********* 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 14:18:15 +0000 (0:00:00.038) 0:03:32.288 ********* 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 14:18:15 +0000 (0:00:00.036) 0:03:32.324 ********* TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpa3egnbq5/tests/verify-role-results.yml:53 Thursday 21 July 2022 14:18:15 +0000 (0:00:00.021) 0:03:32.346 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Resizing with one large value which large than disk's size] ************** task path: /tmp/tmpa3egnbq5/tests/tests_misc.yml:123 Thursday 21 July 2022 14:18:15 +0000 (0:00:00.081) 0:03:32.428 ********* 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 14:18:15 +0000 (0:00:00.040) 0:03:32.468 ********* 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 14:18:15 +0000 (0:00:00.035) 0:03:32.504 ********* 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 14:18:16 +0000 (0:00:00.562) 0:03:33.067 ********* 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 14:18:16 +0000 (0:00:00.071) 0:03:33.139 ********* 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 14:18:16 +0000 (0:00:00.035) 0:03:33.174 ********* 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 14:18:16 +0000 (0:00:00.033) 0:03:33.207 ********* 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 14:18:16 +0000 (0:00:00.049) 0:03:33.257 ********* 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 14:18:16 +0000 (0:00:00.020) 0:03:33.277 ********* 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 14:18:16 +0000 (0:00:00.031) 0:03:33.309 ********* ok: [/cache/centos-8.qcow2] => { "storage_pools": [ { "disks": [ "sda" ], "name": "foo", "type": "lvm", "volumes": [ { "fs_type": "ext4", "mount_point": "/opt/test1", "name": "test1", "size": "12884901888.0" } ] } ] } 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 14:18:16 +0000 (0:00:00.052) 0:03:33.361 ********* 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 14:18:16 +0000 (0:00:00.038) 0:03:33.399 ********* 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 14:18:16 +0000 (0:00:00.029) 0:03:33.429 ********* 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 14:18:16 +0000 (0:00:00.030) 0:03:33.460 ********* 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 14:18:16 +0000 (0:00:00.030) 0:03:33.491 ********* 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 14:18:17 +0000 (0:00:00.029) 0:03:33.520 ********* 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 14:18:17 +0000 (0:00:00.057) 0:03:33.578 ********* 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 14:18:17 +0000 (0:00:00.022) 0:03:33.601 ********* fatal: [/cache/centos-8.qcow2]: FAILED! => { "actions": [], "changed": false, "crypts": [], "leaves": [], "mounts": [], "packages": [], "pools": [], "volumes": [] } MSG: volume 'test1' cannot be resized to '12 GiB' TASK [linux-system-roles.storage : failed message] ***************************** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:99 Thursday 21 July 2022 14:18:18 +0000 (0:00:01.231) 0:03:34.832 ********* fatal: [/cache/centos-8.qcow2]: FAILED! => { "changed": false } MSG: {'changed': False, 'actions': [], 'leaves': [], 'mounts': [], 'crypts': [], 'pools': [], 'volumes': [], 'packages': [], 'failed': True, 'msg': "volume 'test1' cannot be resized to '12 GiB'", 'invocation': {'module_args': {'pools': [{'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': 'ext4', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '12884901888.0', '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}], 'raid_chunk_size': None}], 'volumes': [], 'use_partitions': None, 'disklabel_type': None, 'pool_defaults': {'state': 'present', 'type': 'lvm', 'disks': [], 'volumes': [], 'encryption': False, 'encryption_password': None, 'encryption_key': None, 'encryption_cipher': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None}, 'volume_defaults': {'state': 'present', 'type': 'lvm', 'size': 0, 'disks': [], 'fs_type': 'xfs', 'fs_label': '', 'fs_create_options': '', 'fs_overwrite_existing': True, 'mount_point': '', 'mount_options': 'defaults', 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, 'encryption': False, 'encryption_password': None, 'encryption_key': None, 'encryption_cipher': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'compression': None, 'deduplication': None, 'vdo_pool_size': None, 'thin': None, 'thin_pool_name': None, 'thin_pool_size': None, 'cached': False, 'cache_size': 0, 'cache_mode': None, 'cache_devices': []}, 'safe_mode': False, 'packages_only': False, 'diskvolume_mkfs_option_map': {}}}, '_ansible_no_log': 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 14:18:18 +0000 (0:00:00.042) 0:03:34.875 ********* TASK [Check that we failed in the role] **************************************** task path: /tmp/tmpa3egnbq5/tests/tests_misc.yml:142 Thursday 21 July 2022 14:18:18 +0000 (0:00:00.022) 0:03:34.898 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the output when resizing with large size] ************************* task path: /tmp/tmpa3egnbq5/tests/tests_misc.yml:148 Thursday 21 July 2022 14:18:18 +0000 (0:00:00.038) 0:03:34.937 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Remove the volume group created above] *********************************** task path: /tmp/tmpa3egnbq5/tests/tests_misc.yml:155 Thursday 21 July 2022 14:18:18 +0000 (0:00:00.048) 0:03:34.985 ********* 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 14:18:18 +0000 (0:00:00.033) 0:03:35.019 ********* 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 14:18:18 +0000 (0:00:00.035) 0:03:35.054 ********* 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 14:18:19 +0000 (0:00:00.565) 0:03:35.619 ********* 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 14:18:19 +0000 (0:00:00.109) 0:03:35.729 ********* 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 14:18:19 +0000 (0:00:00.079) 0:03:35.808 ********* 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 14:18:19 +0000 (0:00:00.035) 0:03:35.844 ********* 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 14:18:19 +0000 (0:00:00.088) 0:03:35.932 ********* 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 14:18:19 +0000 (0:00:00.022) 0:03:35.955 ********* 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 14:18:19 +0000 (0:00:00.029) 0:03:35.985 ********* ok: [/cache/centos-8.qcow2] => { "storage_pools": [ { "disks": [ "sda" ], "name": "foo", "state": "absent", "type": "lvm" } ] } 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 14:18:19 +0000 (0:00:00.039) 0:03:36.024 ********* 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 14:18:19 +0000 (0:00:00.041) 0:03:36.065 ********* 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 14:18:19 +0000 (0:00:00.029) 0:03:36.095 ********* 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 14:18:19 +0000 (0:00:00.028) 0:03:36.124 ********* 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 14:18:19 +0000 (0:00:00.027) 0:03:36.152 ********* 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 14:18:19 +0000 (0:00:00.030) 0:03:36.182 ********* 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 14:18:19 +0000 (0:00:00.057) 0:03:36.239 ********* 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 14:18:19 +0000 (0:00:00.021) 0:03:36.261 ********* changed: [/cache/centos-8.qcow2] => { "actions": [ { "action": "destroy format", "device": "/dev/mapper/foo-test1", "fs_type": "ext4" }, { "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": "ext4", "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "absent" } ], "packages": [ "xfsprogs" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "lvm", "volumes": [] } ], "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 14:18:21 +0000 (0:00:01.685) 0:03:37.947 ********* 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 14:18:21 +0000 (0:00:00.037) 0:03:37.984 ********* 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 14:18:21 +0000 (0:00:00.022) 0:03:38.006 ********* ok: [/cache/centos-8.qcow2] => { "blivet_output": { "actions": [ { "action": "destroy format", "device": "/dev/mapper/foo-test1", "fs_type": "ext4" }, { "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": "ext4", "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "absent" } ], "packages": [ "xfsprogs" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "lvm", "volumes": [] } ], "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 14:18:21 +0000 (0:00:00.041) 0:03:38.048 ********* 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": [] } ] }, "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 14:18:21 +0000 (0:00:00.037) 0:03:38.085 ********* 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 14:18:21 +0000 (0:00:00.038) 0:03:38.124 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/centos-8.qcow2] => (item={'src': '/dev/mapper/foo-test1', 'path': '/opt/test1', 'state': 'absent', 'fstype': 'ext4'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "ext4", "mount_info": { "fstype": "ext4", "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "absent" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "/dev/mapper/foo-test1" } TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:146 Thursday 21 July 2022 14:18:22 +0000 (0:00:00.415) 0:03:38.540 ********* 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 14:18:22 +0000 (0:00:00.639) 0:03:39.179 ********* 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 14:18:22 +0000 (0:00:00.040) 0:03:39.220 ********* 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 14:18:23 +0000 (0:00:00.614) 0:03:39.834 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "stat": { "atime": 1658412925.9046133, "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 14:18:23 +0000 (0:00:00.432) 0:03:40.267 ********* 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 14:18:23 +0000 (0:00:00.022) 0:03:40.290 ********* ok: [/cache/centos-8.qcow2] META: role_complete for /cache/centos-8.qcow2 TASK [Create one partition on one disk] **************************************** task path: /tmp/tmpa3egnbq5/tests/tests_misc.yml:165 Thursday 21 July 2022 14:18:24 +0000 (0:00:00.984) 0:03:41.274 ********* TASK [linux-system-roles.storage : set platform/version specific variables] **** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Thursday 21 July 2022 14:18:24 +0000 (0:00:00.042) 0:03:41.316 ********* 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 14:18:24 +0000 (0:00:00.037) 0:03:41.353 ********* 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 14:18:25 +0000 (0:00:00.565) 0:03:41.919 ********* 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 14:18:25 +0000 (0:00:00.075) 0:03:41.995 ********* 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 14:18:25 +0000 (0:00:00.038) 0:03:42.034 ********* 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 14:18:25 +0000 (0:00:00.035) 0:03:42.070 ********* 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 14:18:25 +0000 (0:00:00.051) 0:03:42.121 ********* 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 14:18:25 +0000 (0:00:00.021) 0:03:42.143 ********* 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 14:18:25 +0000 (0:00:00.028) 0:03:42.171 ********* ok: [/cache/centos-8.qcow2] => { "storage_pools": [ { "disks": [ "sda" ], "name": "foo", "type": "partition", "volumes": [ { "fs_type": "ext4", "mount_point": "/opt/test1", "name": "test1", "type": "partition" } ] } ] } 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 14:18:25 +0000 (0:00:00.039) 0:03:42.210 ********* 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 14:18:25 +0000 (0:00:00.035) 0:03:42.246 ********* 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 14:18:25 +0000 (0:00:00.028) 0:03:42.275 ********* 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 14:18:25 +0000 (0:00:00.030) 0:03:42.305 ********* 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 14:18:25 +0000 (0:00:00.031) 0:03:42.337 ********* 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 14:18:25 +0000 (0:00:00.028) 0:03:42.365 ********* 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 14:18:25 +0000 (0:00:00.055) 0:03:42.421 ********* 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 14:18:25 +0000 (0:00:00.024) 0:03:42.445 ********* changed: [/cache/centos-8.qcow2] => { "actions": [ { "action": "create format", "device": "/dev/sda", "fs_type": "disklabel" }, { "action": "create device", "device": "/dev/sda1", "fs_type": null }, { "action": "create format", "device": "/dev/sda1", "fs_type": "ext4" } ], "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/sda1" ], "mounts": [ { "dump": 0, "fstype": "ext4", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "UUID=4e12221c-01b5-48bd-a0ec-8e9ea9b7e96c", "state": "mounted" } ], "packages": [ "xfsprogs", "e2fsprogs" ], "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": "partition", "volumes": [ { "_device": "/dev/sda1", "_kernel_device": "/dev/sda1", "_mount_id": "UUID=4e12221c-01b5-48bd-a0ec-8e9ea9b7e96c", "_raw_device": "/dev/sda1", "_raw_kernel_device": "/dev/sda1", "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": "ext4", "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": 0, "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "partition", "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 14:18:27 +0000 (0:00:01.491) 0:03:43.937 ********* 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 14:18:27 +0000 (0:00:00.034) 0:03:43.972 ********* 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 14:18:27 +0000 (0:00:00.019) 0:03:43.992 ********* ok: [/cache/centos-8.qcow2] => { "blivet_output": { "actions": [ { "action": "create format", "device": "/dev/sda", "fs_type": "disklabel" }, { "action": "create device", "device": "/dev/sda1", "fs_type": null }, { "action": "create format", "device": "/dev/sda1", "fs_type": "ext4" } ], "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/sda1" ], "mounts": [ { "dump": 0, "fstype": "ext4", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "UUID=4e12221c-01b5-48bd-a0ec-8e9ea9b7e96c", "state": "mounted" } ], "packages": [ "xfsprogs", "e2fsprogs" ], "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": "partition", "volumes": [ { "_device": "/dev/sda1", "_kernel_device": "/dev/sda1", "_mount_id": "UUID=4e12221c-01b5-48bd-a0ec-8e9ea9b7e96c", "_raw_device": "/dev/sda1", "_raw_kernel_device": "/dev/sda1", "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": "ext4", "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": 0, "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "partition", "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 14:18:27 +0000 (0:00:00.041) 0:03:44.034 ********* 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": "partition", "volumes": [ { "_device": "/dev/sda1", "_kernel_device": "/dev/sda1", "_mount_id": "UUID=4e12221c-01b5-48bd-a0ec-8e9ea9b7e96c", "_raw_device": "/dev/sda1", "_raw_kernel_device": "/dev/sda1", "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": "ext4", "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": 0, "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "partition", "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 14:18:27 +0000 (0:00:00.039) 0:03:44.073 ********* 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 14:18:27 +0000 (0:00:00.034) 0:03:44.108 ********* 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 14:18:27 +0000 (0:00:00.036) 0:03:44.145 ********* 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 14:18:28 +0000 (0:00:00.616) 0:03:44.762 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/centos-8.qcow2] => (item={'src': 'UUID=4e12221c-01b5-48bd-a0ec-8e9ea9b7e96c', 'path': '/opt/test1', 'fstype': 'ext4', '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": "ext4", "mount_info": { "dump": 0, "fstype": "ext4", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "UUID=4e12221c-01b5-48bd-a0ec-8e9ea9b7e96c", "state": "mounted" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "UUID=4e12221c-01b5-48bd-a0ec-8e9ea9b7e96c" } 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 14:18:28 +0000 (0:00:00.433) 0:03:45.196 ********* 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 14:18:29 +0000 (0:00:00.650) 0:03:45.846 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "stat": { "atime": 1658412925.9046133, "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 14:18:29 +0000 (0:00:00.448) 0:03:46.295 ********* 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 14:18:29 +0000 (0:00:00.051) 0:03:46.347 ********* ok: [/cache/centos-8.qcow2] META: role_complete for /cache/centos-8.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmpa3egnbq5/tests/tests_misc.yml:179 Thursday 21 July 2022 14:18:30 +0000 (0:00:00.961) 0:03:47.309 ********* 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 14:18:30 +0000 (0:00:00.038) 0:03:47.348 ********* 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": "partition", "volumes": [ { "_device": "/dev/sda1", "_kernel_device": "/dev/sda1", "_mount_id": "UUID=4e12221c-01b5-48bd-a0ec-8e9ea9b7e96c", "_raw_device": "/dev/sda1", "_raw_kernel_device": "/dev/sda1", "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": "ext4", "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": 0, "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "partition", "vdo_pool_size": null } ] } ] } TASK [Print out volume information] ******************************************** task path: /tmp/tmpa3egnbq5/tests/verify-role-results.yml:6 Thursday 21 July 2022 14:18:30 +0000 (0:00:00.049) 0:03:47.397 ********* 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 14:18:30 +0000 (0:00:00.044) 0:03:47.441 ********* 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/sda1": { "fstype": "ext4", "label": "", "name": "/dev/sda1", "size": "10G", "type": "partition", "uuid": "4e12221c-01b5-48bd-a0ec-8e9ea9b7e96c" }, "/dev/sdb": { "fstype": "", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdc": { "fstype": "", "label": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sr0": { "fstype": "iso9660", "label": "cidata", "name": "/dev/sr0", "size": "364K", "type": "rom", "uuid": "2022-07-21-14-14-23-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 14:18:31 +0000 (0:00:00.397) 0:03:47.838 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.002855", "end": "2022-07-21 14:18:31.558283", "rc": 0, "start": "2022-07-21 14:18:31.555428" } 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 UUID=4e12221c-01b5-48bd-a0ec-8e9ea9b7e96c /opt/test1 ext4 defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpa3egnbq5/tests/verify-role-results.yml:24 Thursday 21 July 2022 14:18:31 +0000 (0:00:00.388) 0:03:48.226 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.002780", "end": "2022-07-21 14:18:31.925219", "failed_when_result": false, "rc": 0, "start": "2022-07-21 14:18:31.922439" } 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 14:18:32 +0000 (0:00:00.366) 0:03:48.593 ********* 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': 'partition', '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': 'ext4', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': 0, 'state': 'present', 'type': 'partition', '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/sda1', '_raw_device': '/dev/sda1', '_mount_id': 'UUID=4e12221c-01b5-48bd-a0ec-8e9ea9b7e96c', '_kernel_device': '/dev/sda1', '_raw_kernel_device': '/dev/sda1'}], 'raid_chunk_size': None}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-pool.yml:5 Thursday 21 July 2022 14:18:32 +0000 (0:00:00.063) 0:03:48.656 ********* 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 14:18:32 +0000 (0:00:00.037) 0:03:48.693 ********* 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 14:18:32 +0000 (0:00:00.047) 0:03:48.741 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was 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 14:18:32 +0000 (0:00:00.025) 0:03:48.766 ********* TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-pool-members.yml:19 Thursday 21 July 2022 14:18:32 +0000 (0:00:00.021) 0:03:48.787 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-pool-members.yml:23 Thursday 21 July 2022 14:18:32 +0000 (0:00:00.022) 0:03:48.810 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify PV count] ********************************************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-pool-members.yml:27 Thursday 21 July 2022 14:18:32 +0000 (0:00:00.022) 0:03:48.832 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-pool-members.yml:34 Thursday 21 July 2022 14:18:32 +0000 (0:00:00.022) 0:03:48.855 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-pool-members.yml:38 Thursday 21 July 2022 14:18:32 +0000 (0:00:00.025) 0:03:48.880 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-pool-members.yml:42 Thursday 21 July 2022 14:18:32 +0000 (0:00:00.022) 0:03:48.902 ********* 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 14:18:32 +0000 (0:00:00.022) 0:03:48.924 ********* TASK [Check MD RAID] *********************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-pool-members.yml:56 Thursday 21 July 2022 14:18:32 +0000 (0:00:00.019) 0:03:48.944 ********* 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 14:18:32 +0000 (0:00:00.079) 0:03:49.024 ********* 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 14:18:32 +0000 (0:00:00.023) 0:03:49.047 ********* 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 14:18:32 +0000 (0:00:00.022) 0:03:49.070 ********* 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 14:18:32 +0000 (0:00:00.023) 0:03:49.093 ********* 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 14:18:32 +0000 (0:00:00.022) 0:03:49.115 ********* 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 14:18:32 +0000 (0:00:00.022) 0:03:49.138 ********* 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 14:18:32 +0000 (0:00:00.021) 0:03:49.159 ********* 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 14:18:32 +0000 (0:00:00.022) 0:03:49.182 ********* 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 14:18:32 +0000 (0:00:00.030) 0:03:49.213 ********* 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 14:18:32 +0000 (0:00:00.040) 0:03:49.254 ********* skipping: [/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': 'ext4', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': 0, 'state': 'present', 'type': 'partition', '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/sda1', '_raw_device': '/dev/sda1', '_mount_id': 'UUID=4e12221c-01b5-48bd-a0ec-8e9ea9b7e96c', '_kernel_device': '/dev/sda1', '_raw_kernel_device': '/dev/sda1'}) => { "ansible_loop_var": "storage_test_lvmraid_volume", "changed": false, "skip_reason": "Conditional result was False", "storage_test_lvmraid_volume": { "_device": "/dev/sda1", "_kernel_device": "/dev/sda1", "_mount_id": "UUID=4e12221c-01b5-48bd-a0ec-8e9ea9b7e96c", "_raw_device": "/dev/sda1", "_raw_kernel_device": "/dev/sda1", "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": "ext4", "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": 0, "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "partition", "vdo_pool_size": null } } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-pool-members.yml:62 Thursday 21 July 2022 14:18:32 +0000 (0:00:00.027) 0:03:49.281 ********* 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 14:18:32 +0000 (0:00:00.041) 0:03:49.322 ********* skipping: [/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': 'ext4', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': 0, 'state': 'present', 'type': 'partition', '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/sda1', '_raw_device': '/dev/sda1', '_mount_id': 'UUID=4e12221c-01b5-48bd-a0ec-8e9ea9b7e96c', '_kernel_device': '/dev/sda1', '_raw_kernel_device': '/dev/sda1'}) => { "ansible_loop_var": "storage_test_thin_volume", "changed": false, "skip_reason": "Conditional result was False", "storage_test_thin_volume": { "_device": "/dev/sda1", "_kernel_device": "/dev/sda1", "_mount_id": "UUID=4e12221c-01b5-48bd-a0ec-8e9ea9b7e96c", "_raw_device": "/dev/sda1", "_raw_kernel_device": "/dev/sda1", "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": "ext4", "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": 0, "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "partition", "vdo_pool_size": null } } TASK [Check member encryption] ************************************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-pool-members.yml:65 Thursday 21 July 2022 14:18:32 +0000 (0:00:00.025) 0:03:49.348 ********* 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 14:18:32 +0000 (0:00:00.043) 0:03:49.392 ********* 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 14:18:32 +0000 (0:00:00.045) 0:03:49.437 ********* TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-members-encryption.yml:15 Thursday 21 July 2022 14:18:32 +0000 (0:00:00.021) 0:03:49.459 ********* TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/verify-pool-members-encryption.yml:22 Thursday 21 July 2022 14:18:32 +0000 (0:00:00.020) 0:03:49.480 ********* 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 14:18:32 +0000 (0:00:00.030) 0:03:49.511 ********* 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 14:18:33 +0000 (0:00:00.045) 0:03:49.556 ********* skipping: [/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': 'ext4', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': 0, 'state': 'present', 'type': 'partition', '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/sda1', '_raw_device': '/dev/sda1', '_mount_id': 'UUID=4e12221c-01b5-48bd-a0ec-8e9ea9b7e96c', '_kernel_device': '/dev/sda1', '_raw_kernel_device': '/dev/sda1'}) => { "ansible_loop_var": "storage_test_vdo_volume", "changed": false, "skip_reason": "Conditional result was False", "storage_test_vdo_volume": { "_device": "/dev/sda1", "_kernel_device": "/dev/sda1", "_mount_id": "UUID=4e12221c-01b5-48bd-a0ec-8e9ea9b7e96c", "_raw_device": "/dev/sda1", "_raw_kernel_device": "/dev/sda1", "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": "ext4", "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": 0, "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "partition", "vdo_pool_size": null } } TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-pool-members.yml:71 Thursday 21 July 2022 14:18:33 +0000 (0:00:00.032) 0:03:49.588 ********* 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 14:18:33 +0000 (0:00:00.037) 0:03:49.626 ********* 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': 'ext4', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': 0, 'state': 'present', 'type': 'partition', '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/sda1', '_raw_device': '/dev/sda1', '_mount_id': 'UUID=4e12221c-01b5-48bd-a0ec-8e9ea9b7e96c', '_kernel_device': '/dev/sda1', '_raw_kernel_device': '/dev/sda1'}) TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume.yml:2 Thursday 21 July 2022 14:18:33 +0000 (0:00:00.042) 0:03:49.669 ********* 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 14:18:33 +0000 (0:00:00.044) 0:03:49.714 ********* 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 14:18:33 +0000 (0:00:00.071) 0:03:49.785 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "storage_test_device_path": "/dev/sda1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-mount.yml:14 Thursday 21 July 2022 14:18:33 +0000 (0:00:00.037) 0:03:49.822 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 2419276, "block_size": 4096, "block_total": 2563653, "block_used": 144377, "device": "/dev/sda1", "fstype": "ext4", "inode_available": 655349, "inode_total": 655360, "inode_used": 11, "mount": "/opt/test1", "options": "rw,seclabel,relatime", "size_available": 9909354496, "size_total": 10500722688, "uuid": "4e12221c-01b5-48bd-a0ec-8e9ea9b7e96c" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 2419276, "block_size": 4096, "block_total": 2563653, "block_used": 144377, "device": "/dev/sda1", "fstype": "ext4", "inode_available": 655349, "inode_total": 655360, "inode_used": 11, "mount": "/opt/test1", "options": "rw,seclabel,relatime", "size_available": 9909354496, "size_total": 10500722688, "uuid": "4e12221c-01b5-48bd-a0ec-8e9ea9b7e96c" } ], "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 14:18:33 +0000 (0:00:00.053) 0:03:49.876 ********* 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 14:18:33 +0000 (0:00:00.046) 0:03:49.922 ********* 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 14:18:33 +0000 (0:00:00.045) 0:03:49.967 ********* 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 14:18:33 +0000 (0:00:00.048) 0:03:50.015 ********* 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 14:18:33 +0000 (0:00:00.035) 0:03:50.051 ********* 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 14:18:33 +0000 (0:00:00.028) 0:03:50.080 ********* 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 14:18:33 +0000 (0:00:00.025) 0:03:50.105 ********* 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 14:18:33 +0000 (0:00:00.136) 0:03:50.242 ********* 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": [ "UUID=4e12221c-01b5-48bd-a0ec-8e9ea9b7e96c " ], "storage_test_fstab_mount_options_matches": [ " /opt/test1 ext4 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 14:18:33 +0000 (0:00:00.064) 0:03:50.306 ********* 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 14:18:33 +0000 (0:00:00.052) 0:03:50.359 ********* 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 14:18:33 +0000 (0:00:00.054) 0:03:50.413 ********* 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 14:18:33 +0000 (0:00:00.037) 0:03:50.450 ********* 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 14:18:33 +0000 (0:00:00.036) 0:03:50.487 ********* 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 14:18:34 +0000 (0:00:00.040) 0:03:50.527 ********* 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 14:18:34 +0000 (0:00:00.043) 0:03:50.570 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "stat": { "atime": 1658413107.2216134, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658413107.2216134, "dev": 6, "device_type": 2049, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 135198, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/blockdevice", "mode": "0660", "mtime": 1658413107.2216134, "nlink": 1, "path": "/dev/sda1", "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 14:18:34 +0000 (0:00:00.392) 0:03:50.963 ********* 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 14:18:34 +0000 (0:00:00.038) 0:03:51.001 ********* 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 14:18:34 +0000 (0:00:00.038) 0:03:51.040 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "st_volume_type": "partition" }, "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 14:18:34 +0000 (0:00:00.036) 0:03:51.077 ********* 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 14:18:34 +0000 (0:00:00.023) 0:03:51.100 ********* 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 14:18:34 +0000 (0:00:00.044) 0:03:51.145 ********* 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 14:18:34 +0000 (0:00:00.025) 0:03:51.170 ********* 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 14:18:36 +0000 (0:00:01.897) 0:03:53.068 ********* 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 14:18:36 +0000 (0:00:00.025) 0:03:53.094 ********* 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 14:18:36 +0000 (0:00:00.025) 0:03:53.119 ********* 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 14:18:36 +0000 (0:00:00.053) 0:03:53.173 ********* 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 14:18:36 +0000 (0:00:00.023) 0:03:53.196 ********* 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 14:18:36 +0000 (0:00:00.023) 0:03:53.219 ********* 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 14:18:36 +0000 (0:00:00.025) 0:03:53.244 ********* 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 14:18:36 +0000 (0:00:00.027) 0:03:53.272 ********* 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 14:18:36 +0000 (0:00:00.023) 0:03:53.295 ********* 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 14:18:36 +0000 (0:00:00.052) 0:03:53.348 ********* 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 14:18:36 +0000 (0:00:00.052) 0:03:53.400 ********* 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 14:18:36 +0000 (0:00:00.039) 0:03:53.440 ********* 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 14:18:36 +0000 (0:00:00.034) 0:03:53.475 ********* 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 14:18:36 +0000 (0:00:00.035) 0:03:53.511 ********* 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 14:18:37 +0000 (0:00:00.037) 0:03:53.548 ********* 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 14:18:37 +0000 (0:00:00.041) 0:03:53.589 ********* 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 14:18:37 +0000 (0:00:00.035) 0:03:53.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:21 Thursday 21 July 2022 14:18:37 +0000 (0:00:00.036) 0:03:53.661 ********* 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 14:18:37 +0000 (0:00:00.036) 0:03:53.698 ********* 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 14:18:37 +0000 (0:00:00.041) 0:03:53.739 ********* 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 14:18:37 +0000 (0:00:00.038) 0:03:53.778 ********* 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 14:18:37 +0000 (0:00:00.035) 0:03:53.813 ********* 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 14:18:37 +0000 (0:00:00.023) 0:03:53.836 ********* 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 14:18:37 +0000 (0:00:00.040) 0:03:53.877 ********* 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 14:18:37 +0000 (0:00:00.038) 0:03:53.915 ********* ok: [/cache/centos-8.qcow2] => { "storage_test_expected_size": "4294967296" } TASK [debug] ******************************************************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-size.yml:25 Thursday 21 July 2022 14:18:37 +0000 (0:00:00.072) 0:03:53.988 ********* skipping: [/cache/centos-8.qcow2] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-size.yml:28 Thursday 21 July 2022 14:18:37 +0000 (0:00:00.042) 0:03:54.031 ********* 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 14:18:37 +0000 (0:00:00.038) 0:03:54.070 ********* 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 14:18:37 +0000 (0:00:00.038) 0:03:54.108 ********* 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 14:18:37 +0000 (0:00:00.035) 0:03:54.144 ********* 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 14:18:37 +0000 (0:00:00.037) 0:03:54.181 ********* 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 14:18:37 +0000 (0:00:00.036) 0:03:54.217 ********* ok: [/cache/centos-8.qcow2] => { "storage_test_expected_size": "4294967296" } TASK [assert] ****************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-size.yml:50 Thursday 21 July 2022 14:18:37 +0000 (0:00:00.085) 0:03:54.303 ********* 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 14:18:37 +0000 (0:00:00.026) 0:03:54.329 ********* 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 14:18:37 +0000 (0:00:00.063) 0:03:54.393 ********* 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 14:18:37 +0000 (0:00:00.032) 0:03:54.426 ********* 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 14:18:37 +0000 (0:00:00.032) 0:03:54.458 ********* 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 14:18:37 +0000 (0:00:00.026) 0:03:54.485 ********* 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 14:18:38 +0000 (0:00:00.028) 0:03:54.513 ********* 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 14:18:38 +0000 (0:00:00.026) 0:03:54.539 ********* 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 14:18:38 +0000 (0:00:00.025) 0:03:54.565 ********* 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 14:18:38 +0000 (0:00:00.037) 0:03:54.603 ********* TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpa3egnbq5/tests/verify-role-results.yml:53 Thursday 21 July 2022 14:18:38 +0000 (0:00:00.024) 0:03:54.627 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Test setting up disk volume will remove the partition create above] ****** task path: /tmp/tmpa3egnbq5/tests/tests_misc.yml:181 Thursday 21 July 2022 14:18:38 +0000 (0:00:00.033) 0:03:54.660 ********* 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 14:18:38 +0000 (0:00:00.045) 0:03:54.705 ********* 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 14:18:38 +0000 (0:00:00.032) 0:03:54.738 ********* 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 14:18:38 +0000 (0:00:00.534) 0:03:55.272 ********* 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 14:18:38 +0000 (0:00:00.071) 0:03:55.344 ********* 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 14:18:38 +0000 (0:00:00.033) 0:03:55.377 ********* 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 14:18:38 +0000 (0:00:00.032) 0:03:55.409 ********* 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 14:18:38 +0000 (0:00:00.045) 0:03:55.455 ********* 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 14:18:38 +0000 (0:00:00.021) 0:03:55.476 ********* 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 14:18:38 +0000 (0:00:00.027) 0:03:55.503 ********* 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 14:18:39 +0000 (0:00:00.038) 0:03:55.542 ********* ok: [/cache/centos-8.qcow2] => { "storage_volumes": [ { "disks": [ "sda" ], "fs_create_options": "-F", "fs_type": "ext4", "mount_options": "rw,noatime,defaults", "mount_point": "/opt/test1", "name": "foo", "type": "disk" } ] } 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 14:18:39 +0000 (0:00:00.048) 0:03:55.590 ********* 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 14:18:39 +0000 (0:00:00.027) 0:03:55.617 ********* 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 14:18:39 +0000 (0:00:00.026) 0:03:55.644 ********* 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 14:18:39 +0000 (0:00:00.030) 0:03:55.675 ********* 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 14:18:39 +0000 (0:00:00.030) 0:03:55.705 ********* 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 14:18:39 +0000 (0:00:00.059) 0:03:55.765 ********* 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 14:18:39 +0000 (0:00:00.023) 0:03:55.788 ********* changed: [/cache/centos-8.qcow2] => { "actions": [ { "action": "destroy format", "device": "/dev/sda1", "fs_type": "ext4" }, { "action": "destroy device", "device": "/dev/sda1", "fs_type": null }, { "action": "destroy format", "device": "/dev/sda", "fs_type": "disklabel" }, { "action": "create format", "device": "/dev/sda", "fs_type": "ext4" } ], "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": "ext4", "path": "/opt/test1", "src": "UUID=4e12221c-01b5-48bd-a0ec-8e9ea9b7e96c", "state": "absent" }, { "dump": 0, "fstype": "ext4", "opts": "rw,noatime,defaults", "passno": 0, "path": "/opt/test1", "src": "UUID=a478a0ff-75dd-45c8-8566-483e0132bd46", "state": "mounted" } ], "packages": [ "xfsprogs", "e2fsprogs" ], "pools": [], "volumes": [ { "_device": "/dev/sda", "_kernel_device": "/dev/sda", "_mount_id": "UUID=a478a0ff-75dd-45c8-8566-483e0132bd46", "_raw_device": "/dev/sda", "_raw_kernel_device": "/dev/sda", "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": "-F", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "rw,noatime,defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } TASK [linux-system-roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:91 Thursday 21 July 2022 14:18:40 +0000 (0:00:01.514) 0:03:57.303 ********* 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 14:18:40 +0000 (0:00:00.039) 0:03:57.342 ********* 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 14:18:40 +0000 (0:00:00.021) 0:03:57.363 ********* ok: [/cache/centos-8.qcow2] => { "blivet_output": { "actions": [ { "action": "destroy format", "device": "/dev/sda1", "fs_type": "ext4" }, { "action": "destroy device", "device": "/dev/sda1", "fs_type": null }, { "action": "destroy format", "device": "/dev/sda", "fs_type": "disklabel" }, { "action": "create format", "device": "/dev/sda", "fs_type": "ext4" } ], "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": "ext4", "path": "/opt/test1", "src": "UUID=4e12221c-01b5-48bd-a0ec-8e9ea9b7e96c", "state": "absent" }, { "dump": 0, "fstype": "ext4", "opts": "rw,noatime,defaults", "passno": 0, "path": "/opt/test1", "src": "UUID=a478a0ff-75dd-45c8-8566-483e0132bd46", "state": "mounted" } ], "packages": [ "xfsprogs", "e2fsprogs" ], "pools": [], "volumes": [ { "_device": "/dev/sda", "_kernel_device": "/dev/sda", "_mount_id": "UUID=a478a0ff-75dd-45c8-8566-483e0132bd46", "_raw_device": "/dev/sda", "_raw_kernel_device": "/dev/sda", "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": "-F", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "rw,noatime,defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } } TASK [linux-system-roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:114 Thursday 21 July 2022 14:18:40 +0000 (0:00:00.089) 0:03:57.453 ********* 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 14:18:41 +0000 (0:00:00.082) 0:03:57.536 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_volumes_list": [ { "_device": "/dev/sda", "_kernel_device": "/dev/sda", "_mount_id": "UUID=a478a0ff-75dd-45c8-8566-483e0132bd46", "_raw_device": "/dev/sda", "_raw_kernel_device": "/dev/sda", "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": "-F", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "rw,noatime,defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] }, "changed": false } TASK [linux-system-roles.storage : remove obsolete mounts] ********************* task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:134 Thursday 21 July 2022 14:18:41 +0000 (0:00:00.037) 0:03:57.573 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/centos-8.qcow2] => (item={'src': 'UUID=4e12221c-01b5-48bd-a0ec-8e9ea9b7e96c', 'path': '/opt/test1', 'state': 'absent', 'fstype': 'ext4'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "ext4", "mount_info": { "fstype": "ext4", "path": "/opt/test1", "src": "UUID=4e12221c-01b5-48bd-a0ec-8e9ea9b7e96c", "state": "absent" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "UUID=4e12221c-01b5-48bd-a0ec-8e9ea9b7e96c" } 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 14:18:41 +0000 (0:00:00.447) 0:03:58.020 ********* 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 14:18:42 +0000 (0:00:00.655) 0:03:58.675 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/centos-8.qcow2] => (item={'src': 'UUID=a478a0ff-75dd-45c8-8566-483e0132bd46', 'path': '/opt/test1', 'fstype': 'ext4', 'opts': 'rw,noatime,defaults', 'dump': 0, 'passno': 0, 'state': 'mounted'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "ext4", "mount_info": { "dump": 0, "fstype": "ext4", "opts": "rw,noatime,defaults", "passno": 0, "path": "/opt/test1", "src": "UUID=a478a0ff-75dd-45c8-8566-483e0132bd46", "state": "mounted" }, "name": "/opt/test1", "opts": "rw,noatime,defaults", "passno": "0", "src": "UUID=a478a0ff-75dd-45c8-8566-483e0132bd46" } 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 14:18:42 +0000 (0:00:00.425) 0:03:59.101 ********* 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 14:18:43 +0000 (0:00:00.609) 0:03:59.710 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "stat": { "atime": 1658412925.9046133, "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 14:18:43 +0000 (0:00:00.391) 0:04:00.102 ********* 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 14:18:43 +0000 (0:00:00.022) 0:04:00.124 ********* ok: [/cache/centos-8.qcow2] META: role_complete for /cache/centos-8.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmpa3egnbq5/tests/tests_misc.yml:194 Thursday 21 July 2022 14:18:44 +0000 (0:00:00.959) 0:04:01.083 ********* 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 14:18:44 +0000 (0:00:00.040) 0:04:01.124 ********* skipping: [/cache/centos-8.qcow2] => {} TASK [Print out volume information] ******************************************** task path: /tmp/tmpa3egnbq5/tests/verify-role-results.yml:6 Thursday 21 July 2022 14:18:44 +0000 (0:00:00.036) 0:04:01.160 ********* ok: [/cache/centos-8.qcow2] => { "_storage_volumes_list": [ { "_device": "/dev/sda", "_kernel_device": "/dev/sda", "_mount_id": "UUID=a478a0ff-75dd-45c8-8566-483e0132bd46", "_raw_device": "/dev/sda", "_raw_kernel_device": "/dev/sda", "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": "-F", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "rw,noatime,defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpa3egnbq5/tests/verify-role-results.yml:14 Thursday 21 July 2022 14:18:44 +0000 (0:00:00.059) 0:04:01.219 ********* 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": "ext4", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "a478a0ff-75dd-45c8-8566-483e0132bd46" }, "/dev/sdb": { "fstype": "", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdc": { "fstype": "", "label": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sr0": { "fstype": "iso9660", "label": "cidata", "name": "/dev/sr0", "size": "364K", "type": "rom", "uuid": "2022-07-21-14-14-23-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 14:18:45 +0000 (0:00:00.382) 0:04:01.601 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.002482", "end": "2022-07-21 14:18:45.358603", "rc": 0, "start": "2022-07-21 14:18:45.356121" } 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 UUID=a478a0ff-75dd-45c8-8566-483e0132bd46 /opt/test1 ext4 rw,noatime,defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpa3egnbq5/tests/verify-role-results.yml:24 Thursday 21 July 2022 14:18:45 +0000 (0:00:00.422) 0:04:02.024 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.002373", "end": "2022-07-21 14:18:45.734385", "failed_when_result": false, "rc": 0, "start": "2022-07-21 14:18:45.732012" } 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 14:18:45 +0000 (0:00:00.376) 0:04:02.401 ********* TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpa3egnbq5/tests/verify-role-results.yml:43 Thursday 21 July 2022 14:18:45 +0000 (0:00:00.023) 0:04:02.425 ********* 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': '-F', 'fs_label': '', 'fs_type': 'ext4', 'mount_options': 'rw,noatime,defaults', 'mount_point': '/opt/test1', 'name': 'foo', 'raid_level': None, 'size': 10737418240, 'state': 'present', 'type': 'disk', 'disks': ['sda'], 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_chunk_size': None, 'compression': None, 'deduplication': None, 'vdo_pool_size': None, 'thin': None, 'thin_pool_name': None, 'thin_pool_size': None, 'cached': False, 'cache_size': 0, 'cache_mode': None, 'cache_devices': [], '_device': '/dev/sda', '_raw_device': '/dev/sda', '_mount_id': 'UUID=a478a0ff-75dd-45c8-8566-483e0132bd46', '_kernel_device': '/dev/sda', '_raw_kernel_device': '/dev/sda'}) TASK [set_fact] **************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume.yml:2 Thursday 21 July 2022 14:18:45 +0000 (0:00:00.061) 0:04:02.486 ********* 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 14:18:46 +0000 (0:00:00.048) 0:04:02.535 ********* 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 14:18:46 +0000 (0:00:00.114) 0:04:02.650 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "storage_test_device_path": "/dev/sda" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-mount.yml:14 Thursday 21 July 2022 14:18:46 +0000 (0:00:00.043) 0:04:02.693 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 2419519, "block_size": 4096, "block_total": 2563909, "block_used": 144390, "device": "/dev/sda", "fstype": "ext4", "inode_available": 655349, "inode_total": 655360, "inode_used": 11, "mount": "/opt/test1", "options": "rw,seclabel,noatime", "size_available": 9910349824, "size_total": 10501771264, "uuid": "a478a0ff-75dd-45c8-8566-483e0132bd46" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 2419519, "block_size": 4096, "block_total": 2563909, "block_used": 144390, "device": "/dev/sda", "fstype": "ext4", "inode_available": 655349, "inode_total": 655360, "inode_used": 11, "mount": "/opt/test1", "options": "rw,seclabel,noatime", "size_available": 9910349824, "size_total": 10501771264, "uuid": "a478a0ff-75dd-45c8-8566-483e0132bd46" } ], "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 14:18:46 +0000 (0:00:00.056) 0:04:02.749 ********* 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 14:18:46 +0000 (0:00:00.052) 0:04:02.802 ********* 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 14:18:46 +0000 (0:00:00.054) 0:04:02.857 ********* 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 14:18:46 +0000 (0:00:00.057) 0:04:02.915 ********* 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 14:18:46 +0000 (0:00:00.025) 0:04:02.941 ********* 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 14:18:46 +0000 (0:00:00.023) 0:04:02.965 ********* 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 14:18:46 +0000 (0:00:00.024) 0:04:02.989 ********* 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 14:18:46 +0000 (0:00:00.037) 0:04:03.027 ********* 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": [ "UUID=a478a0ff-75dd-45c8-8566-483e0132bd46 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test1 ext4 rw,noatime,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 14:18:46 +0000 (0:00:00.061) 0:04:03.089 ********* 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 14:18:46 +0000 (0:00:00.052) 0:04:03.141 ********* 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 14:18:46 +0000 (0:00:00.052) 0:04:03.193 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Clean up variables] ****************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-fstab.yml:49 Thursday 21 July 2022 14:18:46 +0000 (0:00:00.055) 0:04:03.249 ********* 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 14:18:46 +0000 (0:00:00.033) 0:04:03.282 ********* 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 14:18:46 +0000 (0:00:00.036) 0:04:03.319 ********* 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 14:18:46 +0000 (0:00:00.039) 0:04:03.359 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "stat": { "atime": 1658413120.5896134, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658413120.5896134, "dev": 6, "device_type": 2048, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 16643, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/blockdevice", "mode": "0660", "mtime": 1658413120.5896134, "nlink": 1, "path": "/dev/sda", "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 14:18:47 +0000 (0:00:00.395) 0:04:03.755 ********* 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 14:18:47 +0000 (0:00:00.040) 0:04:03.795 ********* 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 14:18:47 +0000 (0:00:00.038) 0:04:03.833 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "st_volume_type": "disk" }, "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 14:18:47 +0000 (0:00:00.035) 0:04:03.869 ********* 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 14:18:47 +0000 (0:00:00.022) 0:04:03.891 ********* 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 14:18:47 +0000 (0:00:00.036) 0:04:03.928 ********* 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 14:18:47 +0000 (0:00:00.021) 0:04:03.950 ********* 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 14:18:49 +0000 (0:00:01.845) 0:04:05.795 ********* 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 14:18:49 +0000 (0:00:00.025) 0:04:05.821 ********* 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 14:18:49 +0000 (0:00:00.024) 0:04:05.846 ********* 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 14:18:49 +0000 (0:00:00.054) 0:04:05.900 ********* 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 14:18:49 +0000 (0:00:00.026) 0:04:05.926 ********* 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 14:18:49 +0000 (0:00:00.022) 0:04:05.949 ********* 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 14:18:49 +0000 (0:00:00.027) 0:04:05.977 ********* 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 14:18:49 +0000 (0:00:00.025) 0:04:06.002 ********* 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 14:18:49 +0000 (0:00:00.027) 0:04:06.029 ********* 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 14:18:49 +0000 (0:00:00.052) 0:04:06.081 ********* 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 14:18:49 +0000 (0:00:00.086) 0:04:06.167 ********* 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 14:18:49 +0000 (0:00:00.038) 0:04:06.206 ********* 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 14:18:49 +0000 (0:00:00.035) 0:04:06.241 ********* 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 14:18:49 +0000 (0:00:00.035) 0:04:06.276 ********* 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 14:18:49 +0000 (0:00:00.075) 0:04:06.351 ********* 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 14:18:49 +0000 (0:00:00.039) 0:04:06.391 ********* 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 14:18:49 +0000 (0:00:00.034) 0:04:06.425 ********* 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 14:18:49 +0000 (0:00:00.033) 0:04:06.458 ********* 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 14:18:49 +0000 (0:00:00.032) 0:04:06.491 ********* 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 14:18:50 +0000 (0:00:00.102) 0:04:06.594 ********* 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 14:18:50 +0000 (0:00:00.036) 0:04:06.631 ********* 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 14:18:50 +0000 (0:00:00.038) 0:04:06.669 ********* 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 14:18:50 +0000 (0:00:00.027) 0:04:06.696 ********* 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 14:18:50 +0000 (0:00:00.040) 0:04:06.736 ********* 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 14:18:50 +0000 (0:00:00.044) 0:04:06.781 ********* ok: [/cache/centos-8.qcow2] => { "storage_test_expected_size": "4294967296" } TASK [debug] ******************************************************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-size.yml:25 Thursday 21 July 2022 14:18:50 +0000 (0:00:00.043) 0:04:06.825 ********* skipping: [/cache/centos-8.qcow2] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-size.yml:28 Thursday 21 July 2022 14:18:50 +0000 (0:00:00.042) 0:04:06.867 ********* 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 14:18:50 +0000 (0:00:00.039) 0:04:06.907 ********* 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 14:18:50 +0000 (0:00:00.036) 0:04:06.943 ********* 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 14:18:50 +0000 (0:00:00.037) 0:04:06.981 ********* 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 14:18:50 +0000 (0:00:00.039) 0:04:07.021 ********* 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 14:18:50 +0000 (0:00:00.035) 0:04:07.056 ********* ok: [/cache/centos-8.qcow2] => { "storage_test_expected_size": "4294967296" } TASK [assert] ****************************************************************** task path: /tmp/tmpa3egnbq5/tests/test-verify-volume-size.yml:50 Thursday 21 July 2022 14:18:50 +0000 (0:00:00.039) 0:04:07.095 ********* 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 14:18:50 +0000 (0:00:00.024) 0:04:07.119 ********* 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 14:18:50 +0000 (0:00:00.024) 0:04:07.144 ********* 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 14:18:50 +0000 (0:00:00.025) 0:04:07.169 ********* 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 14:18:50 +0000 (0:00:00.023) 0:04:07.193 ********* 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 14:18:50 +0000 (0:00:00.022) 0:04:07.216 ********* 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 14:18:50 +0000 (0:00:00.024) 0:04:07.240 ********* 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 14:18:50 +0000 (0:00:00.022) 0:04:07.263 ********* 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 14:18:50 +0000 (0:00:00.024) 0:04:07.288 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpa3egnbq5/tests/verify-role-results.yml:53 Thursday 21 July 2022 14:18:50 +0000 (0:00:00.036) 0:04:07.325 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Remove the disk volume created above] ************************************ task path: /tmp/tmpa3egnbq5/tests/tests_misc.yml:198 Thursday 21 July 2022 14:18:50 +0000 (0:00:00.036) 0:04:07.361 ********* 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 14:18:50 +0000 (0:00:00.051) 0:04:07.413 ********* 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 14:18:50 +0000 (0:00:00.034) 0:04:07.448 ********* 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 14:18:51 +0000 (0:00:00.527) 0:04:07.976 ********* 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 14:18:51 +0000 (0:00:00.098) 0:04:08.074 ********* 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 14:18:51 +0000 (0:00:00.035) 0:04:08.110 ********* 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 14:18:51 +0000 (0:00:00.035) 0:04:08.146 ********* 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 14:18:51 +0000 (0:00:00.046) 0:04:08.192 ********* 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 14:18:51 +0000 (0:00:00.022) 0:04:08.215 ********* 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 14:18:51 +0000 (0:00:00.086) 0:04:08.301 ********* 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 14:18:51 +0000 (0:00:00.038) 0:04:08.339 ********* ok: [/cache/centos-8.qcow2] => { "storage_volumes": [ { "disks": [ "sda" ], "name": "foo", "state": "absent", "type": "disk" } ] } 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 14:18:51 +0000 (0:00:00.038) 0:04:08.378 ********* 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 14:18:51 +0000 (0:00:00.030) 0:04:08.409 ********* 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 14:18:51 +0000 (0:00:00.027) 0:04:08.437 ********* 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 14:18:51 +0000 (0:00:00.027) 0:04:08.464 ********* 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 14:18:51 +0000 (0:00:00.028) 0:04:08.493 ********* 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 14:18:52 +0000 (0:00:00.058) 0:04:08.551 ********* 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 14:18:52 +0000 (0:00:00.023) 0:04:08.574 ********* changed: [/cache/centos-8.qcow2] => { "actions": [ { "action": "destroy format", "device": "/dev/sda", "fs_type": "ext4" } ], "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": "ext4", "path": "/opt/test1", "src": "UUID=a478a0ff-75dd-45c8-8566-483e0132bd46", "state": "absent" } ], "packages": [ "xfsprogs" ], "pools": [], "volumes": [ { "_device": "/dev/sda", "_mount_id": "UUID=a478a0ff-75dd-45c8-8566-483e0132bd46", "_raw_device": "/dev/sda", "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": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "absent", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } TASK [linux-system-roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:91 Thursday 21 July 2022 14:18:53 +0000 (0:00:01.124) 0:04:09.699 ********* 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 14:18:53 +0000 (0:00:00.036) 0:04:09.735 ********* 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 14:18:53 +0000 (0:00:00.020) 0:04:09.756 ********* ok: [/cache/centos-8.qcow2] => { "blivet_output": { "actions": [ { "action": "destroy format", "device": "/dev/sda", "fs_type": "ext4" } ], "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": "ext4", "path": "/opt/test1", "src": "UUID=a478a0ff-75dd-45c8-8566-483e0132bd46", "state": "absent" } ], "packages": [ "xfsprogs" ], "pools": [], "volumes": [ { "_device": "/dev/sda", "_mount_id": "UUID=a478a0ff-75dd-45c8-8566-483e0132bd46", "_raw_device": "/dev/sda", "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": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "absent", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } } TASK [linux-system-roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:114 Thursday 21 July 2022 14:18:53 +0000 (0:00:00.038) 0:04:09.794 ********* 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 14:18:53 +0000 (0:00:00.038) 0:04:09.832 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_volumes_list": [ { "_device": "/dev/sda", "_mount_id": "UUID=a478a0ff-75dd-45c8-8566-483e0132bd46", "_raw_device": "/dev/sda", "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": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "absent", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] }, "changed": false } TASK [linux-system-roles.storage : remove obsolete mounts] ********************* task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:134 Thursday 21 July 2022 14:18:53 +0000 (0:00:00.036) 0:04:09.869 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/centos-8.qcow2] => (item={'src': 'UUID=a478a0ff-75dd-45c8-8566-483e0132bd46', 'path': '/opt/test1', 'state': 'absent', 'fstype': 'ext4'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "ext4", "mount_info": { "fstype": "ext4", "path": "/opt/test1", "src": "UUID=a478a0ff-75dd-45c8-8566-483e0132bd46", "state": "absent" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "UUID=a478a0ff-75dd-45c8-8566-483e0132bd46" } 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 14:18:53 +0000 (0:00:00.414) 0:04:10.283 ********* 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 14:18:54 +0000 (0:00:00.612) 0:04:10.896 ********* 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 14:18:54 +0000 (0:00:00.039) 0:04:10.936 ********* 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 14:18:55 +0000 (0:00:00.614) 0:04:11.550 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "stat": { "atime": 1658412925.9046133, "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 14:18:55 +0000 (0:00:00.389) 0:04:11.940 ********* 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 14:18:55 +0000 (0:00:00.026) 0:04:11.966 ********* ok: [/cache/centos-8.qcow2] META: role_complete for /cache/centos-8.qcow2 TASK [Try to mount swap filesystem to "/opt/test1"] **************************** task path: /tmp/tmpa3egnbq5/tests/tests_misc.yml:210 Thursday 21 July 2022 14:18:56 +0000 (0:00:00.948) 0:04:12.914 ********* 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 14:18:56 +0000 (0:00:00.040) 0:04:12.955 ********* 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 14:18:56 +0000 (0:00:00.076) 0:04:13.032 ********* 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 14:18:57 +0000 (0:00:00.530) 0:04:13.562 ********* 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 14:18:57 +0000 (0:00:00.072) 0:04:13.635 ********* 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 14:18:57 +0000 (0:00:00.033) 0:04:13.668 ********* 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 14:18:57 +0000 (0:00:00.031) 0:04:13.700 ********* 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 14:18:57 +0000 (0:00:00.048) 0:04:13.748 ********* 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 14:18:57 +0000 (0:00:00.020) 0:04:13.769 ********* 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 14:18:57 +0000 (0:00:00.028) 0:04:13.797 ********* 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 14:18:57 +0000 (0:00:00.038) 0:04:13.836 ********* ok: [/cache/centos-8.qcow2] => { "storage_volumes": [ { "disks": [ "sda" ], "fs_type": "swap", "mount_point": "/opt/test1", "name": "test1", "type": "disk" } ] } 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 14:18:57 +0000 (0:00:00.039) 0:04:13.875 ********* 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 14:18:57 +0000 (0:00:00.031) 0:04:13.907 ********* 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 14:18:57 +0000 (0:00:00.026) 0:04:13.934 ********* 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 14:18:57 +0000 (0:00:00.029) 0:04:13.964 ********* 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 14:18:57 +0000 (0:00:00.029) 0:04:13.993 ********* 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 14:18:57 +0000 (0:00:00.065) 0:04:14.059 ********* 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 14:18:57 +0000 (0:00:00.021) 0:04:14.080 ********* fatal: [/cache/centos-8.qcow2]: FAILED! => { "actions": [], "changed": false, "crypts": [], "leaves": [], "mounts": [], "packages": [], "pools": [], "volumes": [] } MSG: volume 'test1' has a mount point but no mountable file system TASK [linux-system-roles.storage : failed message] ***************************** task path: /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:99 Thursday 21 July 2022 14:18:58 +0000 (0:00:00.992) 0:04:15.073 ********* fatal: [/cache/centos-8.qcow2]: FAILED! => { "changed": false } MSG: {'changed': False, 'actions': [], 'leaves': [], 'mounts': [], 'crypts': [], 'pools': [], 'volumes': [], 'packages': [], 'failed': True, 'msg': "volume 'test1' has a mount point but no mountable file system", 'invocation': {'module_args': {'pools': [], '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': 'swap', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': 10737418240, 'state': 'present', 'type': 'disk', 'disks': ['sda'], 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_chunk_size': None, 'compression': None, 'deduplication': None, 'vdo_pool_size': None, 'thin': None, 'thin_pool_name': None, 'thin_pool_size': None, 'cached': False, 'cache_size': 0, 'cache_mode': None, 'cache_devices': []}], 'use_partitions': None, 'disklabel_type': None, 'pool_defaults': {'state': 'present', 'type': 'lvm', 'disks': [], 'volumes': [], 'encryption': False, 'encryption_password': None, 'encryption_key': None, 'encryption_cipher': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None}, 'volume_defaults': {'state': 'present', 'type': 'lvm', 'size': 0, 'disks': [], 'fs_type': 'xfs', 'fs_label': '', 'fs_create_options': '', 'fs_overwrite_existing': True, 'mount_point': '', 'mount_options': 'defaults', 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, 'encryption': False, 'encryption_password': None, 'encryption_key': None, 'encryption_cipher': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'compression': None, 'deduplication': None, 'vdo_pool_size': None, 'thin': None, 'thin_pool_name': None, 'thin_pool_size': None, 'cached': False, 'cache_size': 0, 'cache_mode': None, 'cache_devices': []}, 'safe_mode': False, 'packages_only': False, 'diskvolume_mkfs_option_map': {}}}, '_ansible_no_log': 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 14:18:58 +0000 (0:00:00.040) 0:04:15.113 ********* TASK [Check that we failed in the role] **************************************** task path: /tmp/tmpa3egnbq5/tests/tests_misc.yml:226 Thursday 21 July 2022 14:18:58 +0000 (0:00:00.022) 0:04:15.136 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the output when mount swap filesystem to "/opt/test1"] ************ task path: /tmp/tmpa3egnbq5/tests/tests_misc.yml:232 Thursday 21 July 2022 14:18:58 +0000 (0:00:00.039) 0:04:15.176 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-8.qcow2 : ok=481 changed=19 unreachable=0 failed=3 skipped=367 rescued=3 ignored=0 Thursday 21 July 2022 14:18:58 +0000 (0:00:00.061) 0:04:15.238 ********* =============================================================================== linux-system-roles.storage : make sure blivet is available ------------ 151.16s /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 Ensure cryptsetup is present -------------------------------------------- 3.09s /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:10 ------------------- Ensure cryptsetup is present -------------------------------------------- 1.92s /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:10 ------------------- linux-system-roles.storage : make sure required packages are installed --- 1.91s /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:44 Ensure cryptsetup is present -------------------------------------------- 1.90s /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:10 ------------------- Ensure cryptsetup is present -------------------------------------------- 1.85s /tmp/tmpa3egnbq5/tests/test-verify-volume-encryption.yml:10 ------------------- linux-system-roles.storage : manage the pools and volumes to match the specified state --- 1.69s /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 linux-system-roles.storage : get service facts -------------------------- 1.67s /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.64s /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.54s /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.54s /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.52s /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.51s /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.49s /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.46s /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Read the /etc/crypttab file --------------------------------------------- 1.39s /tmp/tmpa3egnbq5/tests/verify-role-results.yml:24 ----------------------------- linux-system-roles.storage : manage the pools and volumes to match the specified state --- 1.23s /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.12s /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Gathering Facts --------------------------------------------------------- 1.10s /tmp/tmpa3egnbq5/tests/tests_misc.yml:2 --------------------------------------- linux-system-roles.storage : manage the pools and volumes to match the specified state --- 0.99s /tmp/tmpa3egnbq5/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 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 23:41:03 +0000 (0:00:00.019) 0:00:00.019 ********* 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.364974", "end": "2022-07-21 23:41:04.174402", "rc": 0, "start": "2022-07-21 23:41:03.809428" } 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 23:41:04 +0000 (0:00:00.966) 0:00:00.985 ********* =============================================================================== Enable HA repos --------------------------------------------------------- 0.97s /cache/centos-8_setup.yml:5 --------------------------------------------------- PLAYBOOK: tests_misc.yml ******************************************************* 1 plays in /tmp/tmp_0pjp8ed/tests/storage/tests_misc.yml PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/tests_misc.yml:2 Thursday 21 July 2022 23:41:04 +0000 (0:00:00.021) 0:00:01.007 ********* ok: [/cache/centos-8.qcow2] META: ran handlers TASK [include_role : fedora.linux_system_roles.storage] ************************ task path: /tmp/tmp_0pjp8ed/tests/storage/tests_misc.yml:15 Thursday 21 July 2022 23:41:05 +0000 (0:00:01.081) 0:00:02.088 ********* 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 23:41:05 +0000 (0:00:00.034) 0:00:02.122 ********* 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 23:41:05 +0000 (0:00:00.029) 0:00:02.152 ********* 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 23:41:05 +0000 (0:00:00.518) 0:00:02.671 ********* 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 23:41:05 +0000 (0:00:00.065) 0:00:02.736 ********* 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 23:41:05 +0000 (0:00:00.030) 0:00:02.767 ********* 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 23:41:06 +0000 (0:00:00.029) 0:00:02.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 23:41:06 +0000 (0:00:00.051) 0:00:02.847 ********* 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 23:41:06 +0000 (0:00:00.015) 0:00:02.863 ********* 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 23:43:33 +0000 (0:02:27.788) 0:02:30.652 ********* 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 23:43:33 +0000 (0:00:00.061) 0:02:30.713 ********* 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 23:43:33 +0000 (0:00:00.036) 0:02:30.749 ********* 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 23:43:34 +0000 (0:00:00.726) 0:02:31.476 ********* 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 23:43:34 +0000 (0:00:00.040) 0:02:31.517 ********* 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 23:43:34 +0000 (0:00:00.028) 0:02:31.545 ********* 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 23:43:34 +0000 (0:00:00.033) 0:02:31.579 ********* 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 23:43:34 +0000 (0:00:00.032) 0:02:31.611 ********* 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 23:43:36 +0000 (0:00:01.989) 0:02:33.601 ********* 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-r0c67d9c1e910478e886ea58575dfa0ab.service": { "name": "run-r0c67d9c1e910478e886ea58575dfa0ab.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 23:43:38 +0000 (0:00:01.694) 0:02:35.295 ********* 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 23:43:38 +0000 (0:00:00.055) 0:02:35.350 ********* 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 23:43:38 +0000 (0:00:00.022) 0:02:35.373 ********* 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 23:43:39 +0000 (0:00:00.549) 0:02:35.922 ********* 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 23:43:39 +0000 (0:00:00.035) 0:02:35.957 ********* 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 23:43:39 +0000 (0:00:00.020) 0:02:35.978 ********* 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 23:43:39 +0000 (0:00:00.036) 0:02:36.014 ********* 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 23:43:39 +0000 (0:00:00.037) 0:02:36.052 ********* 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 23:43:39 +0000 (0:00:00.034) 0:02:36.087 ********* 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 23:43:39 +0000 (0:00:00.034) 0:02:36.121 ********* 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 23:43:39 +0000 (0:00:00.022) 0:02:36.143 ********* 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 23:43:39 +0000 (0:00:00.033) 0:02:36.177 ********* 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 23:43:39 +0000 (0:00:00.021) 0:02:36.198 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "stat": { "atime": 1658446902.4070747, "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 23:43:39 +0000 (0:00:00.497) 0:02:36.695 ********* 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 23:43:39 +0000 (0:00:00.021) 0:02:36.717 ********* 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_misc.yml:18 Thursday 21 July 2022 23:43:40 +0000 (0:00:00.982) 0:02:37.700 ********* 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_misc.yml:25 Thursday 21 July 2022 23:43:41 +0000 (0:00:00.083) 0:02:37.783 ********* 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 23:43:41 +0000 (0:00:00.036) 0:02:37.820 ********* 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 23:43:41 +0000 (0:00:00.476) 0:02:38.296 ********* 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 23:43:41 +0000 (0:00:00.036) 0:02:38.333 ********* 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 23:43:41 +0000 (0:00:00.036) 0:02:38.370 ********* ok: [/cache/centos-8.qcow2] => { "unused_disks": [ "sda" ] } TASK [Test creating ext4 filesystem with valid parameter "-Fb 4096"] *********** task path: /tmp/tmp_0pjp8ed/tests/storage/tests_misc.yml:30 Thursday 21 July 2022 23:43:41 +0000 (0:00:00.035) 0:02:38.405 ********* 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 23:43:41 +0000 (0:00:00.040) 0:02:38.445 ********* 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 23:43:41 +0000 (0:00:00.034) 0:02:38.480 ********* 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 23:43:42 +0000 (0:00:00.505) 0:02:38.985 ********* 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 23:43:42 +0000 (0:00:00.070) 0:02:39.055 ********* 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 23:43:42 +0000 (0:00:00.034) 0:02:39.090 ********* 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 23:43:42 +0000 (0:00:00.033) 0:02:39.123 ********* 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 23:43:42 +0000 (0:00:00.054) 0:02:39.177 ********* 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 23:43:42 +0000 (0:00:00.019) 0:02:39.196 ********* 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 23:43:42 +0000 (0:00:00.026) 0:02:39.223 ********* ok: [/cache/centos-8.qcow2] => { "storage_pools": [ { "disks": [ "sda" ], "name": "foo", "type": "lvm", "volumes": [ { "fs_create_options": "-Fb 4096", "fs_type": "ext4", "mount_point": "/opt/test1", "name": "test1", "size": "4g" } ] } ] } TASK [fedora.linux_system_roles.storage : show storage_volumes] **************** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:18 Thursday 21 July 2022 23:43:42 +0000 (0:00:00.035) 0:02:39.259 ********* 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 23:43:42 +0000 (0:00:00.035) 0:02:39.294 ********* 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 23:43:42 +0000 (0:00:00.026) 0:02:39.320 ********* 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 23:43:42 +0000 (0:00:00.026) 0:02:39.347 ********* 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 23:43:42 +0000 (0:00:00.026) 0:02:39.373 ********* 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 23:43:42 +0000 (0:00:00.026) 0:02:39.399 ********* 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 23:43:42 +0000 (0:00:00.053) 0:02:39.453 ********* 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 23:43:42 +0000 (0:00:00.020) 0:02:39.474 ********* 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": "ext4" } ], "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": "ext4", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "lvm2", "xfsprogs", "e2fsprogs" ], "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": "-Fb 4096", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "4g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } TASK [fedora.linux_system_roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:78 Thursday 21 July 2022 23:43:44 +0000 (0:00:01.516) 0:02:40.990 ********* 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 23:43:44 +0000 (0:00:00.036) 0:02:41.027 ********* 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 23:43:44 +0000 (0:00:00.021) 0:02:41.048 ********* 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": "ext4" } ], "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": "ext4", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "lvm2", "xfsprogs", "e2fsprogs" ], "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": "-Fb 4096", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "4g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } } TASK [fedora.linux_system_roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:101 Thursday 21 July 2022 23:43:44 +0000 (0:00:00.038) 0:02:41.087 ********* 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": "-Fb 4096", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "4g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] }, "changed": false } TASK [fedora.linux_system_roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:105 Thursday 21 July 2022 23:43:44 +0000 (0:00:00.037) 0:02:41.124 ********* 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 23:43:44 +0000 (0:00:00.036) 0:02:41.160 ********* 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 23:43:44 +0000 (0:00:00.036) 0:02:41.197 ********* 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 23:43:45 +0000 (0:00:00.825) 0:02:42.023 ********* 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': 'ext4', '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": "ext4", "mount_info": { "dump": 0, "fstype": "ext4", "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 23:43:45 +0000 (0:00:00.588) 0:02:42.611 ********* 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 23:43:46 +0000 (0:00:00.598) 0:02:43.210 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "stat": { "atime": 1658446902.4070747, "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 23:43:46 +0000 (0:00:00.375) 0:02:43.585 ********* 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 23:43:46 +0000 (0:00:00.022) 0:02:43.608 ********* ok: [/cache/centos-8.qcow2] META: role_complete for /cache/centos-8.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/tests_misc.yml:45 Thursday 21 July 2022 23:43:47 +0000 (0:00:00.917) 0:02:44.526 ********* 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 23:43:47 +0000 (0:00:00.039) 0:02:44.566 ********* 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": "-Fb 4096", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "4g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] } TASK [Print out volume information] ******************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-role-results.yml:6 Thursday 21 July 2022 23:43:47 +0000 (0:00:00.047) 0:02:44.614 ********* 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 23:43:47 +0000 (0:00:00.034) 0:02:44.648 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "info": { "/dev/mapper/foo-test1": { "fstype": "ext4", "label": "", "name": "/dev/mapper/foo-test1", "size": "4G", "type": "lvm", "uuid": "1c5edbea-d7c9-42a8-96d2-4a9bb72606c8" }, "/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": "f8nuzf-Wkv4-XbLP-rMwx-jq24-c7Zn-pxYTuG" }, "/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-23-40-43-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 23:43:48 +0000 (0:00:00.489) 0:02:45.137 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.002574", "end": "2022-07-21 23:43:48.729558", "rc": 0, "start": "2022-07-21 23:43:48.726984" } 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 ext4 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 23:43:48 +0000 (0:00:00.399) 0:02:45.536 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.002472", "end": "2022-07-21 23:43:49.093565", "failed_when_result": false, "rc": 0, "start": "2022-07-21 23:43:49.091093" } 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 23:43:49 +0000 (0:00:00.363) 0:02:45.900 ********* 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': '-Fb 4096', 'fs_label': '', 'fs_type': 'ext4', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '4g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-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 23:43:49 +0000 (0:00:00.057) 0:02:45.957 ********* 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 23:43:49 +0000 (0:00:00.040) 0:02:45.998 ********* 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 23:43:49 +0000 (0:00:00.053) 0:02:46.051 ********* 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 23:43:49 +0000 (0:00:00.057) 0:02:46.109 ********* 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 23:43:49 +0000 (0:00:00.519) 0:02:46.628 ********* 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 23:43:49 +0000 (0:00:00.049) 0:02:46.678 ********* 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 23:43:49 +0000 (0:00:00.050) 0:02:46.728 ********* 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 23:43:50 +0000 (0:00:00.047) 0:02:46.776 ********* 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 23:43:50 +0000 (0:00:00.038) 0:02:46.814 ********* 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 23:43:50 +0000 (0:00:00.047) 0:02:46.862 ********* 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 23:43:50 +0000 (0:00:00.022) 0:02:46.885 ********* 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 23:43:50 +0000 (0:00:00.039) 0:02:46.925 ********* 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 23:43:50 +0000 (0:00:00.041) 0:02:46.966 ********* 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 23:43:50 +0000 (0:00:00.022) 0:02:46.989 ********* 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 23:43:50 +0000 (0:00:00.022) 0:02:47.011 ********* 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 23:43:50 +0000 (0:00:00.022) 0:02:47.034 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-md.yml:24 Thursday 21 July 2022 23:43:50 +0000 (0:00:00.022) 0:02:47.057 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-md.yml:30 Thursday 21 July 2022 23:43:50 +0000 (0:00:00.023) 0:02:47.080 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-md.yml:36 Thursday 21 July 2022 23:43:50 +0000 (0:00:00.023) 0:02:47.104 ********* 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 23:43:50 +0000 (0:00:00.023) 0:02:47.128 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "storage_test_md_active_devices_re": null, "storage_test_md_metadata_version_re": null, "storage_test_md_spare_devices_re": null }, "changed": false } TASK [Check LVM RAID] ********************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-pool-members.yml:53 Thursday 21 July 2022 23:43:50 +0000 (0:00:00.032) 0:02:47.160 ********* 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 23:43:50 +0000 (0:00:00.042) 0:02:47.202 ********* 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': '-Fb 4096', 'fs_label': '', 'fs_type': 'ext4', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '4g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-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 23:43:50 +0000 (0:00:00.065) 0:02:47.269 ********* 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 23:43:50 +0000 (0:00:00.026) 0:02:47.295 ********* 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 23:43:50 +0000 (0:00:00.025) 0:02:47.321 ********* 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 23:43:50 +0000 (0:00:00.026) 0:02:47.348 ********* 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 23:43:50 +0000 (0:00:00.042) 0:02:47.391 ********* 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': '-Fb 4096', 'fs_label': '', 'fs_type': 'ext4', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '4g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-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 23:43:50 +0000 (0:00:00.041) 0:02:47.432 ********* 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 23:43:50 +0000 (0:00:00.022) 0:02:47.455 ********* 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 23:43:50 +0000 (0:00:00.022) 0:02:47.478 ********* 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 23:43:50 +0000 (0:00:00.022) 0:02:47.501 ********* 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 23:43:50 +0000 (0:00:00.023) 0:02:47.524 ********* 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 23:43:50 +0000 (0:00:00.043) 0:02:47.568 ********* 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 23:43:50 +0000 (0:00:00.046) 0:02:47.615 ********* 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 23:43:50 +0000 (0:00:00.027) 0:02:47.642 ********* 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 23:43:50 +0000 (0:00:00.040) 0:02:47.682 ********* 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 23:43:50 +0000 (0:00:00.046) 0:02:47.729 ********* 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 23:43:50 +0000 (0:00:00.044) 0:02:47.773 ********* 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 23:43:51 +0000 (0:00:00.033) 0:02:47.807 ********* 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 23:43:51 +0000 (0:00:00.033) 0:02:47.840 ********* 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 23:43:51 +0000 (0:00:00.038) 0:02:47.878 ********* 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 23:43:51 +0000 (0:00:00.031) 0:02:47.910 ********* 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 23:43:51 +0000 (0:00:00.032) 0:02:47.942 ********* 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 23:43:51 +0000 (0:00:00.045) 0:02:47.988 ********* 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': '-Fb 4096', 'fs_label': '', 'fs_type': 'ext4', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '4g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-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 23:43:51 +0000 (0:00:00.042) 0:02:48.030 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-member-vdo.yml:8 Thursday 21 July 2022 23:43:51 +0000 (0:00:00.022) 0:02:48.053 ********* 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 23:43:51 +0000 (0:00:00.022) 0:02:48.076 ********* 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 23:43:51 +0000 (0:00:00.022) 0:02:48.098 ********* 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 23:43:51 +0000 (0:00:00.022) 0:02:48.121 ********* 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 23:43:51 +0000 (0:00:00.023) 0:02:48.145 ********* 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 23:43:51 +0000 (0:00:00.023) 0:02:48.168 ********* 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 23:43:51 +0000 (0:00:00.023) 0:02:48.192 ********* 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 23:43:51 +0000 (0:00:00.033) 0:02:48.225 ********* 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 23:43:51 +0000 (0:00:00.036) 0:02:48.261 ********* 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': '-Fb 4096', 'fs_label': '', 'fs_type': 'ext4', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '4g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-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 23:43:51 +0000 (0:00:00.041) 0:02:48.303 ********* 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 23:43:51 +0000 (0:00:00.079) 0:02:48.382 ********* 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 23:43:51 +0000 (0:00:00.111) 0:02:48.494 ********* 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 23:43:51 +0000 (0:00:00.039) 0:02:48.534 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 955110, "block_size": 4096, "block_total": 1015728, "block_used": 60618, "device": "/dev/mapper/foo-test1", "fstype": "ext4", "inode_available": 262133, "inode_total": 262144, "inode_used": 11, "mount": "/opt/test1", "options": "rw,seclabel,relatime", "size_available": 3912130560, "size_total": 4160421888, "uuid": "1c5edbea-d7c9-42a8-96d2-4a9bb72606c8" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 955110, "block_size": 4096, "block_total": 1015728, "block_used": 60618, "device": "/dev/mapper/foo-test1", "fstype": "ext4", "inode_available": 262133, "inode_total": 262144, "inode_used": 11, "mount": "/opt/test1", "options": "rw,seclabel,relatime", "size_available": 3912130560, "size_total": 4160421888, "uuid": "1c5edbea-d7c9-42a8-96d2-4a9bb72606c8" } ], "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 23:43:51 +0000 (0:00:00.053) 0:02:48.587 ********* 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 23:43:51 +0000 (0:00:00.049) 0:02:48.637 ********* 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 23:43:51 +0000 (0:00:00.046) 0:02:48.683 ********* 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 23:43:51 +0000 (0:00:00.048) 0:02:48.732 ********* 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 23:43:51 +0000 (0:00:00.023) 0:02:48.756 ********* 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 23:43:52 +0000 (0:00:00.022) 0:02:48.779 ********* 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 23:43:52 +0000 (0:00:00.022) 0:02:48.801 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "storage_test_mount_device_matches": null, "storage_test_mount_expected_match_count": null, "storage_test_mount_point_matches": null, "storage_test_swap_expected_matches": null, "storage_test_swaps": null, "storage_test_sys_node": null }, "changed": false } TASK [Set some variables for fstab checking] *********************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 23:43:52 +0000 (0:00:00.038) 0:02:48.839 ********* 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 ext4 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 23:43:52 +0000 (0:00:00.064) 0:02:48.904 ********* 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 23:43:52 +0000 (0:00:00.048) 0:02:48.953 ********* 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 23:43:52 +0000 (0:00:00.047) 0:02:49.000 ********* 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 23:43:52 +0000 (0:00:00.035) 0:02:49.035 ********* 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 23:43:52 +0000 (0:00:00.035) 0:02:49.071 ********* 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 23:43:52 +0000 (0:00:00.036) 0:02:49.107 ********* 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 23:43:52 +0000 (0:00:00.037) 0:02:49.145 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "stat": { "atime": 1658447024.1290746, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658447024.1290746, "dev": 6, "device_type": 64768, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 94678, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1658447024.1290746, "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 23:43:52 +0000 (0:00:00.370) 0:02:49.515 ********* 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 23:43:52 +0000 (0:00:00.037) 0:02:49.553 ********* 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 23:43:52 +0000 (0:00:00.038) 0:02:49.591 ********* 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 23:43:52 +0000 (0:00:00.035) 0:02:49.627 ********* 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 23:43:52 +0000 (0:00:00.023) 0:02:49.651 ********* 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 23:43:52 +0000 (0:00:00.035) 0:02:49.686 ********* 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 23:43:52 +0000 (0:00:00.022) 0:02:49.709 ********* 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 23:43:56 +0000 (0:00:03.242) 0:02:52.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/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 23:43:56 +0000 (0:00:00.024) 0:02:52.976 ********* 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 23:43:56 +0000 (0:00:00.022) 0:02:52.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/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:33 Thursday 21 July 2022 23:43:56 +0000 (0:00:00.051) 0:02:53.050 ********* 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 23:43:56 +0000 (0:00:00.023) 0:02:53.074 ********* 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 23:43:56 +0000 (0:00:00.022) 0:02:53.097 ********* 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 23:43:56 +0000 (0:00:00.022) 0:02:53.119 ********* 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 23:43:56 +0000 (0:00:00.022) 0:02:53.142 ********* 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 23:43:56 +0000 (0:00:00.023) 0:02:53.166 ********* 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 23:43:56 +0000 (0:00:00.047) 0:02:53.213 ********* 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 23:43:56 +0000 (0:00:00.045) 0:02:53.259 ********* 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 23:43:56 +0000 (0:00:00.042) 0:02:53.301 ********* 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 23:43:56 +0000 (0:00:00.041) 0:02:53.343 ********* 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 23:43:56 +0000 (0:00:00.036) 0:02:53.380 ********* 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 23:43:56 +0000 (0:00:00.034) 0:02:53.414 ********* 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 23:43:56 +0000 (0:00:00.035) 0:02:53.450 ********* 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 23:43:56 +0000 (0:00:00.038) 0:02:53.488 ********* 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 23:43:56 +0000 (0:00:00.035) 0:02:53.524 ********* 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 23:43:56 +0000 (0:00:00.035) 0:02:53.559 ********* 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 23:43:56 +0000 (0:00:00.034) 0:02:53.594 ********* 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 23:43:56 +0000 (0:00:00.037) 0:02:53.632 ********* 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 23:43:56 +0000 (0:00:00.035) 0:02:53.667 ********* ok: [/cache/centos-8.qcow2] => { "bytes": 4294967296, "changed": false, "lvm": "4g", "parted": "4GiB", "size": "4 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-size.yml:9 Thursday 21 July 2022 23:43:57 +0000 (0:00:00.505) 0:02:54.173 ********* ok: [/cache/centos-8.qcow2] => { "bytes": 4294967296, "changed": false, "lvm": "4g", "parted": "4GiB", "size": "4 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-size.yml:15 Thursday 21 July 2022 23:43:57 +0000 (0:00:00.396) 0:02:54.569 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "storage_test_expected_size": "4294967296" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-size.yml:20 Thursday 21 July 2022 23:43:57 +0000 (0:00:00.054) 0:02:54.624 ********* ok: [/cache/centos-8.qcow2] => { "storage_test_expected_size": "4294967296" } TASK [debug] ******************************************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-size.yml:25 Thursday 21 July 2022 23:43:57 +0000 (0:00:00.036) 0:02:54.660 ********* skipping: [/cache/centos-8.qcow2] => {} TASK [debug] ******************************************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-size.yml:28 Thursday 21 July 2022 23:43:57 +0000 (0:00:00.036) 0:02:54.696 ********* 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 23:43:57 +0000 (0:00:00.037) 0:02:54.734 ********* 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 23:43:57 +0000 (0:00:00.035) 0:02:54.769 ********* 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 23:43:58 +0000 (0:00:00.037) 0:02:54.807 ********* 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 23:43:58 +0000 (0:00:00.034) 0:02:54.842 ********* ok: [/cache/centos-8.qcow2] => { "storage_test_actual_size": { "bytes": 4294967296, "changed": false, "failed": false, "lvm": "4g", "parted": "4GiB", "size": "4 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-size.yml:47 Thursday 21 July 2022 23:43:58 +0000 (0:00:00.036) 0:02:54.878 ********* ok: [/cache/centos-8.qcow2] => { "storage_test_expected_size": "4294967296" } TASK [assert] ****************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-size.yml:50 Thursday 21 July 2022 23:43:58 +0000 (0:00:00.034) 0:02:54.913 ********* 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 23:43:58 +0000 (0:00:00.048) 0:02:54.962 ********* 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.034246", "end": "2022-07-21 23:43:58.561193", "rc": 0, "start": "2022-07-21 23:43:58.526947" } 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 23:43:58 +0000 (0:00:00.408) 0:02:55.370 ********* 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 23:43:58 +0000 (0:00:00.050) 0:02:55.420 ********* 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 23:43:58 +0000 (0:00:00.083) 0:02:55.504 ********* 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 23:43:58 +0000 (0:00:00.035) 0:02:55.540 ********* 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 23:43:58 +0000 (0:00:00.038) 0:02:55.578 ********* 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 23:43:58 +0000 (0:00:00.083) 0:02:55.662 ********* 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 23:43:58 +0000 (0:00:00.036) 0:02:55.698 ********* 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 23:43:58 +0000 (0:00:00.034) 0:02:55.733 ********* TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/verify-role-results.yml:53 Thursday 21 July 2022 23:43:58 +0000 (0:00:00.022) 0:02:55.755 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Remove the volume group created above] *********************************** task path: /tmp/tmp_0pjp8ed/tests/storage/tests_misc.yml:47 Thursday 21 July 2022 23:43:59 +0000 (0:00:00.031) 0:02:55.786 ********* 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 23:43:59 +0000 (0:00:00.047) 0:02:55.834 ********* 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 23:43:59 +0000 (0:00:00.034) 0:02:55.868 ********* 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 23:43:59 +0000 (0:00:00.521) 0:02:56.389 ********* 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 23:43:59 +0000 (0:00:00.072) 0:02:56.462 ********* 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 23:43:59 +0000 (0:00:00.036) 0:02:56.498 ********* 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 23:43:59 +0000 (0:00:00.032) 0:02:56.531 ********* 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 23:43:59 +0000 (0:00:00.054) 0:02:56.586 ********* 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 23:43:59 +0000 (0:00:00.020) 0:02:56.606 ********* 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 23:43:59 +0000 (0:00:00.026) 0:02:56.633 ********* ok: [/cache/centos-8.qcow2] => { "storage_pools": [ { "disks": [ "sda" ], "name": "foo", "state": "absent", "type": "lvm" } ] } 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 23:43:59 +0000 (0:00:00.037) 0:02:56.670 ********* 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 23:43:59 +0000 (0:00:00.038) 0:02:56.709 ********* 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 23:43:59 +0000 (0:00:00.026) 0:02:56.735 ********* 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 23:43:59 +0000 (0:00:00.026) 0:02:56.762 ********* 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 23:44:00 +0000 (0:00:00.026) 0:02:56.788 ********* 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 23:44:00 +0000 (0:00:00.027) 0:02:56.816 ********* 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 23:44:00 +0000 (0:00:00.054) 0:02:56.870 ********* 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 23:44:00 +0000 (0:00:00.021) 0:02:56.892 ********* changed: [/cache/centos-8.qcow2] => { "actions": [ { "action": "destroy format", "device": "/dev/mapper/foo-test1", "fs_type": "ext4" }, { "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": "ext4", "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "absent" } ], "packages": [ "xfsprogs" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "lvm", "volumes": [] } ], "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 23:44:01 +0000 (0:00:01.622) 0:02:58.515 ********* 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 23:44:01 +0000 (0:00:00.037) 0:02:58.552 ********* 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 23:44:01 +0000 (0:00:00.022) 0:02:58.574 ********* ok: [/cache/centos-8.qcow2] => { "blivet_output": { "actions": [ { "action": "destroy format", "device": "/dev/mapper/foo-test1", "fs_type": "ext4" }, { "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": "ext4", "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "absent" } ], "packages": [ "xfsprogs" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "lvm", "volumes": [] } ], "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 23:44:01 +0000 (0:00:00.038) 0:02:58.612 ********* 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": [] } ] }, "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 23:44:01 +0000 (0:00:00.036) 0:02:58.649 ********* 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 23:44:01 +0000 (0:00:00.036) 0:02:58.686 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/centos-8.qcow2] => (item={'src': '/dev/mapper/foo-test1', 'path': '/opt/test1', 'state': 'absent', 'fstype': 'ext4'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "ext4", "mount_info": { "fstype": "ext4", "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "absent" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "/dev/mapper/foo-test1" } TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 Thursday 21 July 2022 23:44:02 +0000 (0:00:00.407) 0:02:59.093 ********* 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 23:44:02 +0000 (0:00:00.609) 0:02:59.702 ********* 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 23:44:02 +0000 (0:00:00.039) 0:02:59.741 ********* 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 23:44:03 +0000 (0:00:00.601) 0:03:00.343 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "stat": { "atime": 1658446902.4070747, "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 23:44:03 +0000 (0:00:00.372) 0:03:00.715 ********* 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 23:44:03 +0000 (0:00:00.023) 0:03:00.738 ********* ok: [/cache/centos-8.qcow2] META: role_complete for /cache/centos-8.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/tests_misc.yml:57 Thursday 21 July 2022 23:44:04 +0000 (0:00:00.915) 0:03:01.653 ********* 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 23:44:04 +0000 (0:00:00.041) 0:03:01.694 ********* 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": [] } ] } TASK [Print out volume information] ******************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-role-results.yml:6 Thursday 21 July 2022 23:44:04 +0000 (0:00:00.076) 0:03:01.771 ********* 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 23:44:05 +0000 (0:00:00.035) 0:03:01.806 ********* 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-23-40-43-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 23:44:05 +0000 (0:00:00.403) 0:03:02.210 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.002407", "end": "2022-07-21 23:44:05.805685", "rc": 0, "start": "2022-07-21 23:44:05.803278" } 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 23:44:05 +0000 (0:00:00.399) 0:03:02.610 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.002303", "end": "2022-07-21 23:44:06.173330", "failed_when_result": false, "rc": 0, "start": "2022-07-21 23:44:06.171027" } 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 23:44:06 +0000 (0:00:00.368) 0:03:02.978 ********* 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': [], '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 23:44:06 +0000 (0:00:00.054) 0:03:03.033 ********* 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 23:44:06 +0000 (0:00:00.034) 0:03:03.068 ********* 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 23:44:06 +0000 (0:00:00.042) 0:03:03.111 ********* 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 23:44:06 +0000 (0:00:00.053) 0:03:03.164 ********* TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-pool-members.yml:15 Thursday 21 July 2022 23:44:06 +0000 (0:00:00.020) 0:03:03.184 ********* 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 23:44:06 +0000 (0:00:00.047) 0:03:03.232 ********* 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 23:44:06 +0000 (0:00:00.048) 0:03:03.281 ********* 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 23:44:06 +0000 (0:00:00.047) 0:03:03.328 ********* 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 23:44:06 +0000 (0:00:00.035) 0:03:03.364 ********* 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 23:44:06 +0000 (0:00:00.047) 0:03:03.412 ********* 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 23:44:06 +0000 (0:00:00.023) 0:03:03.436 ********* TASK [Check MD RAID] *********************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-pool-members.yml:50 Thursday 21 July 2022 23:44:06 +0000 (0:00:00.020) 0:03:03.456 ********* 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 23:44:06 +0000 (0:00:00.039) 0:03:03.495 ********* 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 23:44:06 +0000 (0:00:00.023) 0:03:03.519 ********* 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 23:44:06 +0000 (0:00:00.022) 0:03:03.541 ********* 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 23:44:06 +0000 (0:00:00.022) 0:03:03.564 ********* 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 23:44:06 +0000 (0:00:00.022) 0:03:03.586 ********* 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 23:44:06 +0000 (0:00:00.023) 0:03:03.609 ********* 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 23:44:06 +0000 (0:00:00.021) 0:03:03.631 ********* 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 23:44:06 +0000 (0:00:00.021) 0:03:03.653 ********* 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 23:44:06 +0000 (0:00:00.033) 0:03:03.687 ********* 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 23:44:06 +0000 (0:00:00.041) 0:03:03.728 ********* TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-pool-members.yml:56 Thursday 21 July 2022 23:44:06 +0000 (0:00:00.019) 0:03:03.748 ********* 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 23:44:07 +0000 (0:00:00.048) 0:03:03.796 ********* TASK [Check member encryption] ************************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-pool-members.yml:59 Thursday 21 July 2022 23:44:07 +0000 (0:00:00.023) 0:03:03.820 ********* 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 23:44:07 +0000 (0:00:00.045) 0:03:03.866 ********* 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 23:44:07 +0000 (0:00:00.118) 0:03:03.985 ********* TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-members-encryption.yml:15 Thursday 21 July 2022 23:44:07 +0000 (0:00:00.022) 0:03:04.008 ********* TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-members-encryption.yml:22 Thursday 21 July 2022 23:44:07 +0000 (0:00:00.021) 0:03:04.030 ********* 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 23:44:07 +0000 (0:00:00.034) 0:03:04.065 ********* 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 23:44:07 +0000 (0:00:00.046) 0:03:04.111 ********* TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-pool-members.yml:65 Thursday 21 July 2022 23:44:07 +0000 (0:00:00.019) 0:03:04.131 ********* 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 23:44:07 +0000 (0:00:00.032) 0:03:04.163 ********* 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 23:44:07 +0000 (0:00:00.021) 0:03:04.184 ********* TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/verify-role-results.yml:53 Thursday 21 July 2022 23:44:07 +0000 (0:00:00.020) 0:03:04.205 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Try to create ext4 filesystem with invalid parameter "-Fb 512"] ********** task path: /tmp/tmp_0pjp8ed/tests/storage/tests_misc.yml:61 Thursday 21 July 2022 23:44:07 +0000 (0:00:00.034) 0:03:04.240 ********* 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 23:44:07 +0000 (0:00:00.037) 0:03:04.278 ********* 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 23:44:07 +0000 (0:00:00.034) 0:03:04.312 ********* 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 23:44:08 +0000 (0:00:00.508) 0:03:04.820 ********* 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 23:44:08 +0000 (0:00:00.073) 0:03:04.894 ********* 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 23:44:08 +0000 (0:00:00.034) 0:03:04.928 ********* 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 23:44:08 +0000 (0:00:00.034) 0:03:04.962 ********* 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 23:44:08 +0000 (0:00:00.055) 0:03:05.018 ********* 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 23:44:08 +0000 (0:00:00.020) 0:03:05.039 ********* 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 23:44:08 +0000 (0:00:00.027) 0:03:05.066 ********* ok: [/cache/centos-8.qcow2] => { "storage_pools": [ { "disks": [ "sda" ], "name": "foo", "type": "lvm", "volumes": [ { "fs_create_options": "-Fb 512", "fs_type": "ext4", "mount_point": "/opt/test1", "name": "test1", "size": "4g" } ] } ] } TASK [fedora.linux_system_roles.storage : show storage_volumes] **************** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:18 Thursday 21 July 2022 23:44:08 +0000 (0:00:00.039) 0:03:05.105 ********* 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 23:44:08 +0000 (0:00:00.037) 0:03:05.143 ********* 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 23:44:08 +0000 (0:00:00.028) 0:03:05.171 ********* 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 23:44:08 +0000 (0:00:00.027) 0:03:05.198 ********* 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 23:44:08 +0000 (0:00:00.025) 0:03:05.224 ********* 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 23:44:08 +0000 (0:00:00.031) 0:03:05.255 ********* 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 23:44:08 +0000 (0:00:00.056) 0:03:05.312 ********* 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 23:44:08 +0000 (0:00:00.022) 0:03:05.334 ********* fatal: [/cache/centos-8.qcow2]: FAILED! => { "actions": [], "changed": false, "crypts": [], "leaves": [], "mounts": [], "packages": [ "e2fsprogs", "xfsprogs", "lvm2" ], "pools": [], "volumes": [] } MSG: Failed to commit changes to disk: (FSError('format failed: 1',), '/dev/mapper/foo-test1') TASK [fedora.linux_system_roles.storage : failed message] ********************** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:86 Thursday 21 July 2022 23:44:10 +0000 (0:00:01.481) 0:03:06.816 ********* fatal: [/cache/centos-8.qcow2]: FAILED! => { "changed": false } MSG: {'changed': False, 'actions': [], 'leaves': [], 'mounts': [], 'crypts': [], 'pools': [], 'volumes': [], 'packages': ['e2fsprogs', 'xfsprogs', 'lvm2'], 'failed': True, 'msg': "Failed to commit changes to disk: (FSError('format failed: 1',), '/dev/mapper/foo-test1')", 'invocation': {'module_args': {'pools': [{'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': '-Fb 512', 'fs_label': '', 'fs_type': 'ext4', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '4g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-test1', '_raw_device': '/dev/mapper/foo-test1', '_mount_id': '/dev/mapper/foo-test1'}], 'raid_chunk_size': None}], 'volumes': [], 'use_partitions': None, 'disklabel_type': None, 'pool_defaults': {'state': 'present', 'type': 'lvm', 'disks': [], 'volumes': [], 'encryption': False, 'encryption_password': None, 'encryption_key': None, 'encryption_cipher': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None}, 'volume_defaults': {'state': 'present', 'type': 'lvm', 'size': 0, 'disks': [], 'fs_type': 'xfs', 'fs_label': '', 'fs_create_options': '', 'fs_overwrite_existing': True, 'mount_point': '', 'mount_options': 'defaults', 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, 'encryption': False, 'encryption_password': None, 'encryption_key': None, 'encryption_cipher': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'compression': None, 'deduplication': None, 'vdo_pool_size': None, 'thin': None, 'thin_pool_name': None, 'thin_pool_size': None, 'cached': False, 'cache_size': 0, 'cache_mode': None, 'cache_devices': []}, 'safe_mode': False, 'packages_only': False, 'diskvolume_mkfs_option_map': {}}}, '_ansible_no_log': 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 23:44:10 +0000 (0:00:00.075) 0:03:06.892 ********* TASK [Check that we failed in the role] **************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/tests_misc.yml:81 Thursday 21 July 2022 23:44:10 +0000 (0:00:00.021) 0:03:06.914 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the output when creating ext4 filesystem with invalid parameter "-Fb 512"] *** task path: /tmp/tmp_0pjp8ed/tests/storage/tests_misc.yml:87 Thursday 21 July 2022 23:44:10 +0000 (0:00:00.070) 0:03:06.985 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Remove the volume group created above] *********************************** task path: /tmp/tmp_0pjp8ed/tests/storage/tests_misc.yml:92 Thursday 21 July 2022 23:44:10 +0000 (0:00:00.113) 0:03:07.098 ********* 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 23:44:10 +0000 (0:00:00.034) 0:03:07.133 ********* 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 23:44:10 +0000 (0:00:00.071) 0:03:07.204 ********* 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 23:44:10 +0000 (0:00:00.519) 0:03:07.723 ********* 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 23:44:11 +0000 (0:00:00.072) 0:03:07.795 ********* 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 23:44:11 +0000 (0:00:00.035) 0:03:07.830 ********* 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 23:44:11 +0000 (0:00:00.035) 0:03:07.866 ********* 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 23:44:11 +0000 (0:00:00.053) 0:03:07.920 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure blivet is available] ******* task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 23:44:11 +0000 (0:00:00.019) 0:03:07.939 ********* 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 23:44:11 +0000 (0:00:00.026) 0:03:07.966 ********* ok: [/cache/centos-8.qcow2] => { "storage_pools": [ { "disks": [ "sda" ], "name": "foo", "state": "absent", "type": "lvm" } ] } 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 23:44:11 +0000 (0:00:00.038) 0:03:08.005 ********* 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 23:44:11 +0000 (0:00:00.035) 0:03:08.040 ********* 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 23:44:11 +0000 (0:00:00.026) 0:03:08.067 ********* 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 23:44:11 +0000 (0:00:00.026) 0:03:08.094 ********* 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 23:44:11 +0000 (0:00:00.030) 0:03:08.124 ********* 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 23:44:11 +0000 (0:00:00.026) 0:03:08.151 ********* 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 23:44:11 +0000 (0:00:00.055) 0:03:08.206 ********* 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 23:44:11 +0000 (0:00:00.022) 0:03:08.228 ********* changed: [/cache/centos-8.qcow2] => { "actions": [ { "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": [], "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": [] } ], "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 23:44:12 +0000 (0:00:01.454) 0:03:09.682 ********* 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 23:44:12 +0000 (0:00:00.038) 0:03:09.721 ********* 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 23:44:12 +0000 (0:00:00.022) 0:03:09.743 ********* ok: [/cache/centos-8.qcow2] => { "blivet_output": { "actions": [ { "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": [], "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": [] } ], "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 23:44:13 +0000 (0:00:00.037) 0:03:09.780 ********* 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": [] } ] }, "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 23:44:13 +0000 (0:00:00.067) 0:03:09.848 ********* 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 23:44:13 +0000 (0:00:00.039) 0:03:09.888 ********* 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 23:44:13 +0000 (0:00:00.034) 0:03:09.922 ********* 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 23:44:13 +0000 (0:00:00.022) 0:03:09.945 ********* 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 23:44:13 +0000 (0:00:00.032) 0:03:09.978 ********* 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 23:44:13 +0000 (0:00:00.023) 0:03:10.001 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "stat": { "atime": 1658446902.4070747, "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 23:44:13 +0000 (0:00:00.371) 0:03:10.373 ********* 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 23:44:13 +0000 (0:00:00.022) 0:03:10.395 ********* ok: [/cache/centos-8.qcow2] META: role_complete for /cache/centos-8.qcow2 TASK [Create one LVM logical volume with "4g" under one volume group] ********** task path: /tmp/tmp_0pjp8ed/tests/storage/tests_misc.yml:102 Thursday 21 July 2022 23:44:14 +0000 (0:00:00.970) 0:03:11.366 ********* 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 23:44:14 +0000 (0:00:00.040) 0:03:11.407 ********* 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 23:44:14 +0000 (0:00:00.034) 0:03:11.441 ********* 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 23:44:15 +0000 (0:00:00.507) 0:03:11.949 ********* 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 23:44:15 +0000 (0:00:00.071) 0:03:12.021 ********* 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 23:44:15 +0000 (0:00:00.035) 0:03:12.056 ********* 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 23:44:15 +0000 (0:00:00.034) 0:03:12.091 ********* 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 23:44:15 +0000 (0:00:00.054) 0:03:12.146 ********* 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 23:44:15 +0000 (0:00:00.019) 0:03:12.165 ********* 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 23:44:15 +0000 (0:00:00.027) 0:03:12.192 ********* ok: [/cache/centos-8.qcow2] => { "storage_pools": [ { "disks": [ "sda" ], "name": "foo", "type": "lvm", "volumes": [ { "fs_type": "ext4", "mount_point": "/opt/test1", "name": "test1", "size": "4g" } ] } ] } TASK [fedora.linux_system_roles.storage : show storage_volumes] **************** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:18 Thursday 21 July 2022 23:44:15 +0000 (0:00:00.036) 0:03:12.229 ********* 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 23:44:15 +0000 (0:00:00.036) 0:03:12.266 ********* 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 23:44:15 +0000 (0:00:00.027) 0:03:12.293 ********* 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 23:44:15 +0000 (0:00:00.028) 0:03:12.321 ********* 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 23:44:15 +0000 (0:00:00.026) 0:03:12.348 ********* 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 23:44:15 +0000 (0:00:00.026) 0:03:12.374 ********* 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 23:44:15 +0000 (0:00:00.055) 0:03:12.430 ********* 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 23:44:15 +0000 (0:00:00.021) 0:03:12.452 ********* 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": "ext4" } ], "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": "ext4", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "lvm2", "xfsprogs", "e2fsprogs" ], "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": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "4g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } TASK [fedora.linux_system_roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:78 Thursday 21 July 2022 23:44:17 +0000 (0:00:01.469) 0:03:13.921 ********* 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 23:44:17 +0000 (0:00:00.095) 0:03:14.017 ********* 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 23:44:17 +0000 (0:00:00.021) 0:03:14.039 ********* 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": "ext4" } ], "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": "ext4", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "mounted" } ], "packages": [ "lvm2", "xfsprogs", "e2fsprogs" ], "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": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "4g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } } TASK [fedora.linux_system_roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:101 Thursday 21 July 2022 23:44:17 +0000 (0:00:00.040) 0:03:14.079 ********* 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": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "4g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] }, "changed": false } TASK [fedora.linux_system_roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:105 Thursday 21 July 2022 23:44:17 +0000 (0:00:00.039) 0:03:14.118 ********* 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 23:44:17 +0000 (0:00:00.034) 0:03:14.153 ********* 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 23:44:17 +0000 (0:00:00.035) 0:03:14.189 ********* 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 23:44:18 +0000 (0:00:00.624) 0:03:14.814 ********* 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': 'ext4', '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": "ext4", "mount_info": { "dump": 0, "fstype": "ext4", "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 23:44:18 +0000 (0:00:00.412) 0:03:15.227 ********* 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 23:44:19 +0000 (0:00:00.608) 0:03:15.836 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "stat": { "atime": 1658446902.4070747, "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 23:44:19 +0000 (0:00:00.367) 0:03:16.203 ********* 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 23:44:19 +0000 (0:00:00.022) 0:03:16.226 ********* ok: [/cache/centos-8.qcow2] META: role_complete for /cache/centos-8.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/tests_misc.yml:116 Thursday 21 July 2022 23:44:20 +0000 (0:00:00.939) 0:03:17.165 ********* 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 23:44:20 +0000 (0:00:00.038) 0:03:17.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": [], "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": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "test1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "4g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] } TASK [Print out volume information] ******************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-role-results.yml:6 Thursday 21 July 2022 23:44:20 +0000 (0:00:00.050) 0:03:17.254 ********* 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 23:44:20 +0000 (0:00:00.035) 0:03:17.289 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "info": { "/dev/mapper/foo-test1": { "fstype": "ext4", "label": "", "name": "/dev/mapper/foo-test1", "size": "4G", "type": "lvm", "uuid": "9fa3ca27-b6b7-4164-9c7b-621f3fafe435" }, "/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": "u2FLQt-0cQG-wtfJ-DFgb-Xn0N-D37r-h3SpTO" }, "/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-23-40-43-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 23:44:20 +0000 (0:00:00.371) 0:03:17.660 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.002457", "end": "2022-07-21 23:44:21.220994", "rc": 0, "start": "2022-07-21 23:44:21.218537" } 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 ext4 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 23:44:21 +0000 (0:00:00.366) 0:03:18.027 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.002363", "end": "2022-07-21 23:44:21.590202", "failed_when_result": false, "rc": 0, "start": "2022-07-21 23:44:21.587839" } 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 23:44:21 +0000 (0:00:00.376) 0:03:18.403 ********* 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': 'ext4', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '4g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-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 23:44:21 +0000 (0:00:00.065) 0:03:18.468 ********* 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 23:44:21 +0000 (0:00:00.033) 0:03:18.502 ********* 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 23:44:21 +0000 (0:00:00.045) 0:03:18.548 ********* 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 23:44:21 +0000 (0:00:00.101) 0:03:18.650 ********* 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 23:44:22 +0000 (0:00:00.373) 0:03:19.023 ********* 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 23:44:22 +0000 (0:00:00.049) 0:03:19.072 ********* 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 23:44:22 +0000 (0:00:00.047) 0:03:19.120 ********* 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 23:44:22 +0000 (0:00:00.048) 0:03:19.169 ********* 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 23:44:22 +0000 (0:00:00.036) 0:03:19.205 ********* 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 23:44:22 +0000 (0:00:00.047) 0:03:19.253 ********* 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 23:44:22 +0000 (0:00:00.023) 0:03:19.277 ********* 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 23:44:22 +0000 (0:00:00.040) 0:03:19.317 ********* 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 23:44:22 +0000 (0:00:00.041) 0:03:19.358 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-md.yml:12 Thursday 21 July 2022 23:44:22 +0000 (0:00:00.023) 0:03:19.382 ********* 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 23:44:22 +0000 (0:00:00.023) 0:03:19.405 ********* 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 23:44:22 +0000 (0:00:00.023) 0:03:19.429 ********* 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 23:44:22 +0000 (0:00:00.023) 0:03:19.452 ********* 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 23:44:22 +0000 (0:00:00.023) 0:03:19.475 ********* 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 23:44:22 +0000 (0:00:00.022) 0:03:19.498 ********* 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 23:44:22 +0000 (0:00:00.024) 0:03:19.523 ********* 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 23:44:22 +0000 (0:00:00.033) 0:03:19.556 ********* 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 23:44:22 +0000 (0:00:00.041) 0:03:19.597 ********* 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': 'ext4', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '4g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-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 23:44:22 +0000 (0:00:00.041) 0:03:19.639 ********* 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 23:44:22 +0000 (0:00:00.026) 0:03:19.665 ********* 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 23:44:22 +0000 (0:00:00.026) 0:03:19.692 ********* 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 23:44:22 +0000 (0:00:00.027) 0:03:19.720 ********* 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 23:44:22 +0000 (0:00:00.042) 0:03:19.762 ********* 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': 'ext4', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '4g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-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 23:44:23 +0000 (0:00:00.040) 0:03:19.803 ********* 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 23:44:23 +0000 (0:00:00.022) 0:03:19.826 ********* 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 23:44:23 +0000 (0:00:00.022) 0:03:19.849 ********* 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 23:44:23 +0000 (0:00:00.023) 0:03:19.872 ********* 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 23:44:23 +0000 (0:00:00.024) 0:03:19.897 ********* 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 23:44:23 +0000 (0:00:00.043) 0:03:19.941 ********* 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 23:44:23 +0000 (0:00:00.080) 0:03:20.022 ********* 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 23:44:23 +0000 (0:00:00.056) 0:03:20.079 ********* 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 23:44:23 +0000 (0:00:00.042) 0:03:20.122 ********* 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 23:44:23 +0000 (0:00:00.050) 0:03:20.172 ********* 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 23:44:23 +0000 (0:00:00.047) 0:03:20.220 ********* 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 23:44:23 +0000 (0:00:00.035) 0:03:20.255 ********* 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 23:44:23 +0000 (0:00:00.034) 0:03:20.290 ********* 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 23:44:23 +0000 (0:00:00.038) 0:03:20.329 ********* 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 23:44:23 +0000 (0:00:00.033) 0:03:20.362 ********* 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 23:44:23 +0000 (0:00:00.034) 0:03:20.396 ********* 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 23:44:23 +0000 (0:00:00.047) 0:03:20.444 ********* 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': 'ext4', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '4g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-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 23:44:23 +0000 (0:00:00.043) 0:03:20.487 ********* 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 23:44:23 +0000 (0:00:00.023) 0:03:20.511 ********* 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 23:44:23 +0000 (0:00:00.024) 0:03:20.536 ********* 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 23:44:23 +0000 (0:00:00.024) 0:03:20.560 ********* 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 23:44:23 +0000 (0:00:00.023) 0:03:20.584 ********* 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 23:44:23 +0000 (0:00:00.022) 0:03:20.607 ********* 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 23:44:23 +0000 (0:00:00.023) 0:03:20.631 ********* 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 23:44:23 +0000 (0:00:00.022) 0:03:20.653 ********* 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 23:44:23 +0000 (0:00:00.033) 0:03:20.687 ********* 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 23:44:23 +0000 (0:00:00.034) 0:03:20.722 ********* 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': 'ext4', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '4g', 'state': 'present', 'type': 'lvm', 'cached': False, 'cache_devices': [], 'cache_mode': None, 'cache_size': 0, 'compression': None, 'deduplication': None, 'raid_disks': [], 'thin_pool_name': None, 'thin_pool_size': None, 'thin': False, 'vdo_pool_size': None, 'disks': [], 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, '_device': '/dev/mapper/foo-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 23:44:23 +0000 (0:00:00.040) 0:03:20.763 ********* 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 23:44:24 +0000 (0:00:00.048) 0:03:20.811 ********* 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 23:44:24 +0000 (0:00:00.078) 0:03:20.889 ********* 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 23:44:24 +0000 (0:00:00.043) 0:03:20.933 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 955110, "block_size": 4096, "block_total": 1015728, "block_used": 60618, "device": "/dev/mapper/foo-test1", "fstype": "ext4", "inode_available": 262133, "inode_total": 262144, "inode_used": 11, "mount": "/opt/test1", "options": "rw,seclabel,relatime", "size_available": 3912130560, "size_total": 4160421888, "uuid": "9fa3ca27-b6b7-4164-9c7b-621f3fafe435" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 955110, "block_size": 4096, "block_total": 1015728, "block_used": 60618, "device": "/dev/mapper/foo-test1", "fstype": "ext4", "inode_available": 262133, "inode_total": 262144, "inode_used": 11, "mount": "/opt/test1", "options": "rw,seclabel,relatime", "size_available": 3912130560, "size_total": 4160421888, "uuid": "9fa3ca27-b6b7-4164-9c7b-621f3fafe435" } ], "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 23:44:24 +0000 (0:00:00.053) 0:03:20.987 ********* 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 23:44:24 +0000 (0:00:00.048) 0:03:21.035 ********* 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 23:44:24 +0000 (0:00:00.047) 0:03:21.083 ********* 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 23:44:24 +0000 (0:00:00.047) 0:03:21.130 ********* 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 23:44:24 +0000 (0:00:00.022) 0:03:21.153 ********* 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 23:44:24 +0000 (0:00:00.022) 0:03:21.176 ********* 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 23:44:24 +0000 (0:00:00.023) 0:03:21.199 ********* 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 23:44:24 +0000 (0:00:00.032) 0:03:21.232 ********* 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 ext4 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 23:44:24 +0000 (0:00:00.091) 0:03:21.323 ********* 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 23:44:24 +0000 (0:00:00.081) 0:03:21.405 ********* 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 23:44:24 +0000 (0:00:00.077) 0:03:21.483 ********* 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 23:44:24 +0000 (0:00:00.035) 0:03:21.519 ********* 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 23:44:24 +0000 (0:00:00.035) 0:03:21.554 ********* 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 23:44:24 +0000 (0:00:00.040) 0:03:21.595 ********* 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 23:44:24 +0000 (0:00:00.038) 0:03:21.633 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "stat": { "atime": 1658447057.0580747, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658447057.0580747, "dev": 6, "device_type": 64768, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 119086, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1658447057.0580747, "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 23:44:25 +0000 (0:00:00.377) 0:03:22.011 ********* 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 23:44:25 +0000 (0:00:00.039) 0:03:22.051 ********* 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 23:44:25 +0000 (0:00:00.039) 0:03:22.091 ********* 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 23:44:25 +0000 (0:00:00.034) 0:03:22.125 ********* 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 23:44:25 +0000 (0:00:00.023) 0:03:22.148 ********* 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 23:44:25 +0000 (0:00:00.038) 0:03:22.187 ********* 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 23:44:25 +0000 (0:00:00.025) 0:03:22.212 ********* 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 23:44:27 +0000 (0:00:01.885) 0:03:24.098 ********* 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 23:44:27 +0000 (0:00:00.025) 0:03:24.123 ********* 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 23:44:27 +0000 (0:00:00.023) 0:03:24.147 ********* 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 23:44:27 +0000 (0:00:00.052) 0:03:24.200 ********* 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 23:44:27 +0000 (0:00:00.022) 0:03:24.223 ********* 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 23:44:27 +0000 (0:00:00.022) 0:03:24.245 ********* 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 23:44:27 +0000 (0:00:00.022) 0:03:24.268 ********* 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 23:44:27 +0000 (0:00:00.024) 0:03:24.292 ********* 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 23:44:27 +0000 (0:00:00.022) 0:03:24.315 ********* 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 23:44:27 +0000 (0:00:00.078) 0:03:24.394 ********* 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 23:44:27 +0000 (0:00:00.049) 0:03:24.444 ********* 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 23:44:27 +0000 (0:00:00.034) 0:03:24.478 ********* 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 23:44:27 +0000 (0:00:00.033) 0:03:24.512 ********* 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 23:44:27 +0000 (0:00:00.033) 0:03:24.546 ********* 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 23:44:27 +0000 (0:00:00.066) 0:03:24.613 ********* 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 23:44:27 +0000 (0:00:00.035) 0:03:24.649 ********* 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 23:44:27 +0000 (0:00:00.036) 0:03:24.685 ********* 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 23:44:27 +0000 (0:00:00.034) 0:03:24.720 ********* 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 23:44:28 +0000 (0:00:00.067) 0:03:24.787 ********* 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 23:44:28 +0000 (0:00:00.034) 0:03:24.822 ********* 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 23:44:28 +0000 (0:00:00.036) 0:03:24.858 ********* 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 23:44:28 +0000 (0:00:00.036) 0:03:24.894 ********* ok: [/cache/centos-8.qcow2] => { "bytes": 4294967296, "changed": false, "lvm": "4g", "parted": "4GiB", "size": "4 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-size.yml:9 Thursday 21 July 2022 23:44:28 +0000 (0:00:00.376) 0:03:25.271 ********* ok: [/cache/centos-8.qcow2] => { "bytes": 4294967296, "changed": false, "lvm": "4g", "parted": "4GiB", "size": "4 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-size.yml:15 Thursday 21 July 2022 23:44:28 +0000 (0:00:00.374) 0:03:25.645 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "storage_test_expected_size": "4294967296" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-size.yml:20 Thursday 21 July 2022 23:44:28 +0000 (0:00:00.050) 0:03:25.695 ********* ok: [/cache/centos-8.qcow2] => { "storage_test_expected_size": "4294967296" } TASK [debug] ******************************************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-size.yml:25 Thursday 21 July 2022 23:44:28 +0000 (0:00:00.037) 0:03:25.733 ********* skipping: [/cache/centos-8.qcow2] => {} TASK [debug] ******************************************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-size.yml:28 Thursday 21 July 2022 23:44:28 +0000 (0:00:00.036) 0:03:25.769 ********* 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 23:44:29 +0000 (0:00:00.036) 0:03:25.805 ********* 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 23:44:29 +0000 (0:00:00.038) 0:03:25.844 ********* 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 23:44:29 +0000 (0:00:00.042) 0:03:25.886 ********* 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 23:44:29 +0000 (0:00:00.037) 0:03:25.923 ********* ok: [/cache/centos-8.qcow2] => { "storage_test_actual_size": { "bytes": 4294967296, "changed": false, "failed": false, "lvm": "4g", "parted": "4GiB", "size": "4 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-size.yml:47 Thursday 21 July 2022 23:44:29 +0000 (0:00:00.037) 0:03:25.961 ********* ok: [/cache/centos-8.qcow2] => { "storage_test_expected_size": "4294967296" } TASK [assert] ****************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-size.yml:50 Thursday 21 July 2022 23:44:29 +0000 (0:00:00.037) 0:03:25.999 ********* 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 23:44:29 +0000 (0:00:00.054) 0:03:26.053 ********* 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.033262", "end": "2022-07-21 23:44:29.646076", "rc": 0, "start": "2022-07-21 23:44:29.612814" } 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 23:44:29 +0000 (0:00:00.402) 0:03:26.456 ********* 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 23:44:29 +0000 (0:00:00.052) 0:03:26.509 ********* 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 23:44:29 +0000 (0:00:00.055) 0:03:26.565 ********* 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 23:44:29 +0000 (0:00:00.038) 0:03:26.603 ********* 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 23:44:29 +0000 (0:00:00.036) 0:03:26.639 ********* 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 23:44:29 +0000 (0:00:00.036) 0:03:26.676 ********* 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 23:44:29 +0000 (0:00:00.037) 0:03:26.713 ********* 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 23:44:29 +0000 (0:00:00.033) 0:03:26.746 ********* TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/verify-role-results.yml:53 Thursday 21 July 2022 23:44:29 +0000 (0:00:00.020) 0:03:26.767 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Resizing with one large value which large than disk's size] ************** task path: /tmp/tmp_0pjp8ed/tests/storage/tests_misc.yml:120 Thursday 21 July 2022 23:44:30 +0000 (0:00:00.034) 0:03:26.801 ********* 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 23:44:30 +0000 (0:00:00.038) 0:03:26.840 ********* 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 23:44:30 +0000 (0:00:00.034) 0:03:26.875 ********* 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 23:44:30 +0000 (0:00:00.563) 0:03:27.438 ********* 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 23:44:30 +0000 (0:00:00.122) 0:03:27.561 ********* 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 23:44:30 +0000 (0:00:00.035) 0:03:27.596 ********* 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 23:44:30 +0000 (0:00:00.034) 0:03:27.630 ********* 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 23:44:30 +0000 (0:00:00.056) 0:03:27.687 ********* 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 23:44:30 +0000 (0:00:00.020) 0:03:27.708 ********* 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 23:44:30 +0000 (0:00:00.027) 0:03:27.735 ********* ok: [/cache/centos-8.qcow2] => { "storage_pools": [ { "disks": [ "sda" ], "name": "foo", "type": "lvm", "volumes": [ { "fs_type": "ext4", "mount_point": "/opt/test1", "name": "test1", "size": "12884901888.0" } ] } ] } 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 23:44:31 +0000 (0:00:00.050) 0:03:27.785 ********* 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 23:44:31 +0000 (0:00:00.035) 0:03:27.820 ********* 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 23:44:31 +0000 (0:00:00.027) 0:03:27.848 ********* 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 23:44:31 +0000 (0:00:00.028) 0:03:27.877 ********* 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 23:44:31 +0000 (0:00:00.027) 0:03:27.904 ********* 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 23:44:31 +0000 (0:00:00.026) 0:03:27.931 ********* 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 23:44:31 +0000 (0:00:00.057) 0:03:27.988 ********* 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 23:44:31 +0000 (0:00:00.022) 0:03:28.011 ********* fatal: [/cache/centos-8.qcow2]: FAILED! => { "actions": [], "changed": false, "crypts": [], "leaves": [], "mounts": [], "packages": [], "pools": [], "volumes": [] } MSG: volume 'test1' cannot be resized to '12 GiB' TASK [fedora.linux_system_roles.storage : failed message] ********************** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:86 Thursday 21 July 2022 23:44:32 +0000 (0:00:01.208) 0:03:29.219 ********* fatal: [/cache/centos-8.qcow2]: FAILED! => { "changed": false } MSG: {'changed': False, 'actions': [], 'leaves': [], 'mounts': [], 'crypts': [], 'pools': [], 'volumes': [], 'packages': [], 'failed': True, 'msg': "volume 'test1' cannot be resized to '12 GiB'", 'invocation': {'module_args': {'pools': [{'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': 'ext4', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': '12884901888.0', '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}], 'raid_chunk_size': None}], 'volumes': [], 'use_partitions': None, 'disklabel_type': None, 'pool_defaults': {'state': 'present', 'type': 'lvm', 'disks': [], 'volumes': [], 'encryption': False, 'encryption_password': None, 'encryption_key': None, 'encryption_cipher': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None}, 'volume_defaults': {'state': 'present', 'type': 'lvm', 'size': 0, 'disks': [], 'fs_type': 'xfs', 'fs_label': '', 'fs_create_options': '', 'fs_overwrite_existing': True, 'mount_point': '', 'mount_options': 'defaults', 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, 'encryption': False, 'encryption_password': None, 'encryption_key': None, 'encryption_cipher': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'compression': None, 'deduplication': None, 'vdo_pool_size': None, 'thin': None, 'thin_pool_name': None, 'thin_pool_size': None, 'cached': False, 'cache_size': 0, 'cache_mode': None, 'cache_devices': []}, 'safe_mode': False, 'packages_only': False, 'diskvolume_mkfs_option_map': {}}}, '_ansible_no_log': 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 23:44:32 +0000 (0:00:00.039) 0:03:29.258 ********* TASK [Check that we failed in the role] **************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/tests_misc.yml:139 Thursday 21 July 2022 23:44:32 +0000 (0:00:00.021) 0:03:29.280 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the output when resizing with large size] ************************* task path: /tmp/tmp_0pjp8ed/tests/storage/tests_misc.yml:145 Thursday 21 July 2022 23:44:32 +0000 (0:00:00.037) 0:03:29.318 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Remove the volume group created above] *********************************** task path: /tmp/tmp_0pjp8ed/tests/storage/tests_misc.yml:150 Thursday 21 July 2022 23:44:32 +0000 (0:00:00.050) 0:03:29.368 ********* 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 23:44:32 +0000 (0:00:00.034) 0:03:29.402 ********* 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 23:44:32 +0000 (0:00:00.034) 0:03:29.437 ********* 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 23:44:33 +0000 (0:00:00.530) 0:03:29.967 ********* 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 23:44:33 +0000 (0:00:00.106) 0:03:30.073 ********* 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 23:44:33 +0000 (0:00:00.069) 0:03:30.143 ********* 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 23:44:33 +0000 (0:00:00.037) 0:03:30.181 ********* 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 23:44:33 +0000 (0:00:00.054) 0:03:30.235 ********* 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 23:44:33 +0000 (0:00:00.020) 0:03:30.256 ********* 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 23:44:33 +0000 (0:00:00.069) 0:03:30.326 ********* ok: [/cache/centos-8.qcow2] => { "storage_pools": [ { "disks": [ "sda" ], "name": "foo", "state": "absent", "type": "lvm" } ] } 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 23:44:33 +0000 (0:00:00.038) 0:03:30.364 ********* 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 23:44:33 +0000 (0:00:00.037) 0:03:30.402 ********* 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 23:44:33 +0000 (0:00:00.028) 0:03:30.431 ********* 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 23:44:33 +0000 (0:00:00.027) 0:03:30.458 ********* 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 23:44:33 +0000 (0:00:00.026) 0:03:30.485 ********* 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 23:44:33 +0000 (0:00:00.026) 0:03:30.512 ********* 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 23:44:33 +0000 (0:00:00.057) 0:03:30.569 ********* 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 23:44:33 +0000 (0:00:00.020) 0:03:30.590 ********* changed: [/cache/centos-8.qcow2] => { "actions": [ { "action": "destroy format", "device": "/dev/mapper/foo-test1", "fs_type": "ext4" }, { "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": "ext4", "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "absent" } ], "packages": [ "xfsprogs" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "lvm", "volumes": [] } ], "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 23:44:35 +0000 (0:00:01.576) 0:03:32.167 ********* 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 23:44:35 +0000 (0:00:00.037) 0:03:32.204 ********* 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 23:44:35 +0000 (0:00:00.022) 0:03:32.227 ********* ok: [/cache/centos-8.qcow2] => { "blivet_output": { "actions": [ { "action": "destroy format", "device": "/dev/mapper/foo-test1", "fs_type": "ext4" }, { "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": "ext4", "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "absent" } ], "packages": [ "xfsprogs" ], "pools": [ { "disks": [ "sda" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "lvm", "volumes": [] } ], "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 23:44:35 +0000 (0:00:00.038) 0:03:32.265 ********* 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": [] } ] }, "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 23:44:35 +0000 (0:00:00.038) 0:03:32.303 ********* 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 23:44:35 +0000 (0:00:00.038) 0:03:32.342 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/centos-8.qcow2] => (item={'src': '/dev/mapper/foo-test1', 'path': '/opt/test1', 'state': 'absent', 'fstype': 'ext4'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "ext4", "mount_info": { "fstype": "ext4", "path": "/opt/test1", "src": "/dev/mapper/foo-test1", "state": "absent" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "/dev/mapper/foo-test1" } TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 Thursday 21 July 2022 23:44:35 +0000 (0:00:00.402) 0:03:32.744 ********* 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 23:44:36 +0000 (0:00:00.608) 0:03:33.353 ********* 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 23:44:36 +0000 (0:00:00.038) 0:03:33.391 ********* 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 23:44:37 +0000 (0:00:00.597) 0:03:33.989 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "stat": { "atime": 1658446902.4070747, "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 23:44:37 +0000 (0:00:00.379) 0:03:34.368 ********* 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 23:44:37 +0000 (0:00:00.022) 0:03:34.391 ********* ok: [/cache/centos-8.qcow2] META: role_complete for /cache/centos-8.qcow2 TASK [Create one partition on one disk] **************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/tests_misc.yml:160 Thursday 21 July 2022 23:44:38 +0000 (0:00:00.941) 0:03:35.332 ********* 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 23:44:38 +0000 (0:00:00.041) 0:03:35.374 ********* 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 23:44:38 +0000 (0:00:00.034) 0:03:35.408 ********* 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 23:44:39 +0000 (0:00:00.542) 0:03:35.951 ********* 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 23:44:39 +0000 (0:00:00.074) 0:03:36.025 ********* 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 23:44:39 +0000 (0:00:00.037) 0:03:36.063 ********* 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 23:44:39 +0000 (0:00:00.035) 0:03:36.098 ********* 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 23:44:39 +0000 (0:00:00.054) 0:03:36.152 ********* 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 23:44:39 +0000 (0:00:00.020) 0:03:36.173 ********* 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 23:44:39 +0000 (0:00:00.027) 0:03:36.201 ********* ok: [/cache/centos-8.qcow2] => { "storage_pools": [ { "disks": [ "sda" ], "name": "foo", "type": "partition", "volumes": [ { "fs_type": "ext4", "mount_point": "/opt/test1", "name": "test1", "type": "partition" } ] } ] } 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 23:44:39 +0000 (0:00:00.038) 0:03:36.239 ********* 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 23:44:39 +0000 (0:00:00.037) 0:03:36.277 ********* 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 23:44:39 +0000 (0:00:00.027) 0:03:36.304 ********* 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 23:44:39 +0000 (0:00:00.026) 0:03:36.331 ********* 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 23:44:39 +0000 (0:00:00.026) 0:03:36.358 ********* 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 23:44:39 +0000 (0:00:00.028) 0:03:36.386 ********* 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 23:44:39 +0000 (0:00:00.055) 0:03:36.441 ********* 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 23:44:39 +0000 (0:00:00.020) 0:03:36.462 ********* changed: [/cache/centos-8.qcow2] => { "actions": [ { "action": "create format", "device": "/dev/sda", "fs_type": "disklabel" }, { "action": "create device", "device": "/dev/sda1", "fs_type": null }, { "action": "create format", "device": "/dev/sda1", "fs_type": "ext4" } ], "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/sda1" ], "mounts": [ { "dump": 0, "fstype": "ext4", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "UUID=afa4a699-0a7d-451c-af6d-9261d6deb5cd", "state": "mounted" } ], "packages": [ "xfsprogs", "e2fsprogs" ], "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": "partition", "volumes": [ { "_device": "/dev/sda1", "_kernel_device": "/dev/sda1", "_mount_id": "UUID=afa4a699-0a7d-451c-af6d-9261d6deb5cd", "_raw_device": "/dev/sda1", "_raw_kernel_device": "/dev/sda1", "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": "ext4", "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": 0, "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "partition", "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 23:44:41 +0000 (0:00:01.539) 0:03:38.001 ********* 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 23:44:41 +0000 (0:00:00.037) 0:03:38.039 ********* 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 23:44:41 +0000 (0:00:00.021) 0:03:38.060 ********* ok: [/cache/centos-8.qcow2] => { "blivet_output": { "actions": [ { "action": "create format", "device": "/dev/sda", "fs_type": "disklabel" }, { "action": "create device", "device": "/dev/sda1", "fs_type": null }, { "action": "create format", "device": "/dev/sda1", "fs_type": "ext4" } ], "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/sda1" ], "mounts": [ { "dump": 0, "fstype": "ext4", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "UUID=afa4a699-0a7d-451c-af6d-9261d6deb5cd", "state": "mounted" } ], "packages": [ "xfsprogs", "e2fsprogs" ], "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": "partition", "volumes": [ { "_device": "/dev/sda1", "_kernel_device": "/dev/sda1", "_mount_id": "UUID=afa4a699-0a7d-451c-af6d-9261d6deb5cd", "_raw_device": "/dev/sda1", "_raw_kernel_device": "/dev/sda1", "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": "ext4", "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": 0, "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "partition", "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 23:44:41 +0000 (0:00:00.039) 0:03:38.100 ********* 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": "partition", "volumes": [ { "_device": "/dev/sda1", "_kernel_device": "/dev/sda1", "_mount_id": "UUID=afa4a699-0a7d-451c-af6d-9261d6deb5cd", "_raw_device": "/dev/sda1", "_raw_kernel_device": "/dev/sda1", "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": "ext4", "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": 0, "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "partition", "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 23:44:41 +0000 (0:00:00.038) 0:03:38.139 ********* 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 23:44:41 +0000 (0:00:00.039) 0:03:38.178 ********* 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 23:44:41 +0000 (0:00:00.036) 0:03:38.214 ********* 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 23:44:42 +0000 (0:00:00.617) 0:03:38.832 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/centos-8.qcow2] => (item={'src': 'UUID=afa4a699-0a7d-451c-af6d-9261d6deb5cd', 'path': '/opt/test1', 'fstype': 'ext4', '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": "ext4", "mount_info": { "dump": 0, "fstype": "ext4", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "UUID=afa4a699-0a7d-451c-af6d-9261d6deb5cd", "state": "mounted" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "UUID=afa4a699-0a7d-451c-af6d-9261d6deb5cd" } 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 23:44:42 +0000 (0:00:00.453) 0:03:39.286 ********* 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 23:44:43 +0000 (0:00:00.601) 0:03:39.887 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "stat": { "atime": 1658446902.4070747, "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 23:44:43 +0000 (0:00:00.385) 0:03:40.273 ********* 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 23:44:43 +0000 (0:00:00.024) 0:03:40.298 ********* ok: [/cache/centos-8.qcow2] META: role_complete for /cache/centos-8.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/tests_misc.yml:174 Thursday 21 July 2022 23:44:44 +0000 (0:00:00.926) 0:03:41.224 ********* 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 23:44:44 +0000 (0:00:00.038) 0:03:41.262 ********* 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": "partition", "volumes": [ { "_device": "/dev/sda1", "_kernel_device": "/dev/sda1", "_mount_id": "UUID=afa4a699-0a7d-451c-af6d-9261d6deb5cd", "_raw_device": "/dev/sda1", "_raw_kernel_device": "/dev/sda1", "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": "ext4", "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": 0, "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "partition", "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 23:44:44 +0000 (0:00:00.050) 0:03:41.313 ********* 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 23:44:44 +0000 (0:00:00.038) 0:03:41.351 ********* 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/sda1": { "fstype": "ext4", "label": "", "name": "/dev/sda1", "size": "10G", "type": "partition", "uuid": "afa4a699-0a7d-451c-af6d-9261d6deb5cd" }, "/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-23-40-43-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 23:44:44 +0000 (0:00:00.373) 0:03:41.725 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.002432", "end": "2022-07-21 23:44:45.284851", "rc": 0, "start": "2022-07-21 23:44:45.282419" } 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 UUID=afa4a699-0a7d-451c-af6d-9261d6deb5cd /opt/test1 ext4 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 23:44:45 +0000 (0:00:00.367) 0:03:42.093 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.002410", "end": "2022-07-21 23:44:45.652112", "failed_when_result": false, "rc": 0, "start": "2022-07-21 23:44:45.649702" } 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 23:44:45 +0000 (0:00:00.367) 0:03:42.460 ********* 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': 'partition', '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': 'ext4', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': 0, 'state': 'present', 'type': 'partition', '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/sda1', '_raw_device': '/dev/sda1', '_mount_id': 'UUID=afa4a699-0a7d-451c-af6d-9261d6deb5cd', '_kernel_device': '/dev/sda1', '_raw_kernel_device': '/dev/sda1'}], '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 23:44:45 +0000 (0:00:00.058) 0:03:42.519 ********* 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 23:44:45 +0000 (0:00:00.034) 0:03:42.553 ********* 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 23:44:45 +0000 (0:00:00.045) 0:03:42.599 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was 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 23:44:45 +0000 (0:00:00.024) 0:03:42.624 ********* TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-pool-members.yml:15 Thursday 21 July 2022 23:44:45 +0000 (0:00:00.021) 0:03:42.645 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-pool-members.yml:19 Thursday 21 July 2022 23:44:45 +0000 (0:00:00.023) 0:03:42.669 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify PV count] ********************************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-pool-members.yml:23 Thursday 21 July 2022 23:44:45 +0000 (0:00:00.022) 0:03:42.691 ********* 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-pool-members.yml:29 Thursday 21 July 2022 23:44:45 +0000 (0:00:00.023) 0:03:42.715 ********* 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-pool-members.yml:33 Thursday 21 July 2022 23:44:45 +0000 (0:00:00.022) 0:03:42.738 ********* 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-pool-members.yml:37 Thursday 21 July 2022 23:44:45 +0000 (0:00:00.022) 0:03:42.761 ********* 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 23:44:46 +0000 (0:00:00.022) 0:03:42.784 ********* TASK [Check MD RAID] *********************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-pool-members.yml:50 Thursday 21 July 2022 23:44:46 +0000 (0:00:00.022) 0:03:42.806 ********* 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 23:44:46 +0000 (0:00:00.069) 0:03:42.875 ********* 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 23:44:46 +0000 (0:00:00.023) 0:03:42.899 ********* 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 23:44:46 +0000 (0:00:00.023) 0:03:42.922 ********* 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 23:44:46 +0000 (0:00:00.024) 0:03:42.946 ********* 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 23:44:46 +0000 (0:00:00.023) 0:03:42.970 ********* 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 23:44:46 +0000 (0:00:00.023) 0:03:42.993 ********* 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 23:44:46 +0000 (0:00:00.024) 0:03:43.017 ********* 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 23:44:46 +0000 (0:00:00.023) 0:03:43.041 ********* 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 23:44:46 +0000 (0:00:00.035) 0:03:43.076 ********* 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 23:44:46 +0000 (0:00:00.043) 0:03:43.119 ********* skipping: [/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': 'ext4', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': 0, 'state': 'present', 'type': 'partition', '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/sda1', '_raw_device': '/dev/sda1', '_mount_id': 'UUID=afa4a699-0a7d-451c-af6d-9261d6deb5cd', '_kernel_device': '/dev/sda1', '_raw_kernel_device': '/dev/sda1'}) => { "ansible_loop_var": "storage_test_lvmraid_volume", "changed": false, "skip_reason": "Conditional result was False", "storage_test_lvmraid_volume": { "_device": "/dev/sda1", "_kernel_device": "/dev/sda1", "_mount_id": "UUID=afa4a699-0a7d-451c-af6d-9261d6deb5cd", "_raw_device": "/dev/sda1", "_raw_kernel_device": "/dev/sda1", "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": "ext4", "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": 0, "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "partition", "vdo_pool_size": null } } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-pool-members.yml:56 Thursday 21 July 2022 23:44:46 +0000 (0:00:00.026) 0:03:43.146 ********* 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 23:44:46 +0000 (0:00:00.041) 0:03:43.187 ********* skipping: [/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': 'ext4', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': 0, 'state': 'present', 'type': 'partition', '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/sda1', '_raw_device': '/dev/sda1', '_mount_id': 'UUID=afa4a699-0a7d-451c-af6d-9261d6deb5cd', '_kernel_device': '/dev/sda1', '_raw_kernel_device': '/dev/sda1'}) => { "ansible_loop_var": "storage_test_thin_volume", "changed": false, "skip_reason": "Conditional result was False", "storage_test_thin_volume": { "_device": "/dev/sda1", "_kernel_device": "/dev/sda1", "_mount_id": "UUID=afa4a699-0a7d-451c-af6d-9261d6deb5cd", "_raw_device": "/dev/sda1", "_raw_kernel_device": "/dev/sda1", "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": "ext4", "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": 0, "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "partition", "vdo_pool_size": null } } TASK [Check member encryption] ************************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-pool-members.yml:59 Thursday 21 July 2022 23:44:46 +0000 (0:00:00.028) 0:03:43.216 ********* 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 23:44:46 +0000 (0:00:00.050) 0:03:43.266 ********* 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 23:44:46 +0000 (0:00:00.053) 0:03:43.320 ********* TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-members-encryption.yml:15 Thursday 21 July 2022 23:44:46 +0000 (0:00:00.022) 0:03:43.343 ********* TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-pool-members-encryption.yml:22 Thursday 21 July 2022 23:44:46 +0000 (0:00:00.020) 0:03:43.364 ********* 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 23:44:46 +0000 (0:00:00.035) 0:03:43.399 ********* 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 23:44:46 +0000 (0:00:00.047) 0:03:43.446 ********* skipping: [/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': 'ext4', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': 0, 'state': 'present', 'type': 'partition', '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/sda1', '_raw_device': '/dev/sda1', '_mount_id': 'UUID=afa4a699-0a7d-451c-af6d-9261d6deb5cd', '_kernel_device': '/dev/sda1', '_raw_kernel_device': '/dev/sda1'}) => { "ansible_loop_var": "storage_test_vdo_volume", "changed": false, "skip_reason": "Conditional result was False", "storage_test_vdo_volume": { "_device": "/dev/sda1", "_kernel_device": "/dev/sda1", "_mount_id": "UUID=afa4a699-0a7d-451c-af6d-9261d6deb5cd", "_raw_device": "/dev/sda1", "_raw_kernel_device": "/dev/sda1", "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": "ext4", "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": 0, "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "partition", "vdo_pool_size": null } } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-pool-members.yml:65 Thursday 21 July 2022 23:44:46 +0000 (0:00:00.028) 0:03:43.475 ********* 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 23:44:46 +0000 (0:00:00.035) 0:03:43.511 ********* 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': 'ext4', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': 0, 'state': 'present', 'type': 'partition', '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/sda1', '_raw_device': '/dev/sda1', '_mount_id': 'UUID=afa4a699-0a7d-451c-af6d-9261d6deb5cd', '_kernel_device': '/dev/sda1', '_raw_kernel_device': '/dev/sda1'}) TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume.yml:2 Thursday 21 July 2022 23:44:46 +0000 (0:00:00.040) 0:03:43.552 ********* 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 23:44:46 +0000 (0:00:00.048) 0:03:43.601 ********* 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 23:44:46 +0000 (0:00:00.076) 0:03:43.677 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "storage_test_device_path": "/dev/sda1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-mount.yml:10 Thursday 21 July 2022 23:44:46 +0000 (0:00:00.041) 0:03:43.719 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 2419276, "block_size": 4096, "block_total": 2563653, "block_used": 144377, "device": "/dev/sda1", "fstype": "ext4", "inode_available": 655349, "inode_total": 655360, "inode_used": 11, "mount": "/opt/test1", "options": "rw,seclabel,relatime", "size_available": 9909354496, "size_total": 10500722688, "uuid": "afa4a699-0a7d-451c-af6d-9261d6deb5cd" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 2419276, "block_size": 4096, "block_total": 2563653, "block_used": 144377, "device": "/dev/sda1", "fstype": "ext4", "inode_available": 655349, "inode_total": 655360, "inode_used": 11, "mount": "/opt/test1", "options": "rw,seclabel,relatime", "size_available": 9909354496, "size_total": 10500722688, "uuid": "afa4a699-0a7d-451c-af6d-9261d6deb5cd" } ], "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 23:44:46 +0000 (0:00:00.054) 0:03:43.774 ********* 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 23:44:47 +0000 (0:00:00.049) 0:03:43.823 ********* 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 23:44:47 +0000 (0:00:00.048) 0:03:43.871 ********* 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 23:44:47 +0000 (0:00:00.048) 0:03:43.920 ********* 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 23:44:47 +0000 (0:00:00.022) 0:03:43.943 ********* 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 23:44:47 +0000 (0:00:00.022) 0:03:43.966 ********* 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 23:44:47 +0000 (0:00:00.023) 0:03:43.989 ********* 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 23:44:47 +0000 (0:00:00.076) 0:03:44.066 ********* 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": [ "UUID=afa4a699-0a7d-451c-af6d-9261d6deb5cd " ], "storage_test_fstab_mount_options_matches": [ " /opt/test1 ext4 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 23:44:47 +0000 (0:00:00.061) 0:03:44.127 ********* 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 23:44:47 +0000 (0:00:00.047) 0:03:44.175 ********* 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 23:44:47 +0000 (0:00:00.046) 0:03:44.221 ********* 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 23:44:47 +0000 (0:00:00.034) 0:03:44.256 ********* 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 23:44:47 +0000 (0:00:00.033) 0:03:44.289 ********* 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 23:44:47 +0000 (0:00:00.039) 0:03:44.329 ********* 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 23:44:47 +0000 (0:00:00.040) 0:03:44.369 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "stat": { "atime": 1658447081.1360745, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658447081.1360745, "dev": 6, "device_type": 2049, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 133024, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/blockdevice", "mode": "0660", "mtime": 1658447081.1360745, "nlink": 1, "path": "/dev/sda1", "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 23:44:47 +0000 (0:00:00.369) 0:03:44.739 ********* 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 23:44:48 +0000 (0:00:00.039) 0:03:44.779 ********* 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 23:44:48 +0000 (0:00:00.039) 0:03:44.818 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "st_volume_type": "partition" }, "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 23:44:48 +0000 (0:00:00.034) 0:03:44.853 ********* 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 23:44:48 +0000 (0:00:00.023) 0:03:44.876 ********* 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 23:44:48 +0000 (0:00:00.038) 0:03:44.915 ********* 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 23:44:48 +0000 (0:00:00.024) 0:03:44.939 ********* 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 23:44:50 +0000 (0:00:02.060) 0:03:47.000 ********* 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 23:44:50 +0000 (0:00:00.025) 0:03:47.025 ********* 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 23:44:50 +0000 (0:00:00.024) 0:03:47.050 ********* 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 23:44:50 +0000 (0:00:00.051) 0:03:47.101 ********* 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 23:44:50 +0000 (0:00:00.024) 0:03:47.126 ********* 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 23:44:50 +0000 (0:00:00.024) 0:03:47.151 ********* 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 23:44:50 +0000 (0:00:00.023) 0:03:47.174 ********* 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 23:44:50 +0000 (0:00:00.023) 0:03:47.197 ********* 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 23:44:50 +0000 (0:00:00.023) 0:03:47.220 ********* 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 23:44:50 +0000 (0:00:00.051) 0:03:47.272 ********* 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 23:44:50 +0000 (0:00:00.046) 0:03:47.319 ********* 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 23:44:50 +0000 (0:00:00.034) 0:03:47.354 ********* 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 23:44:50 +0000 (0:00:00.034) 0:03:47.388 ********* 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 23:44:50 +0000 (0:00:00.040) 0:03:47.429 ********* 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 23:44:50 +0000 (0:00:00.033) 0:03:47.462 ********* 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 23:44:50 +0000 (0:00:00.036) 0:03:47.498 ********* 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 23:44:50 +0000 (0:00:00.035) 0:03:47.534 ********* 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 23:44:50 +0000 (0:00:00.039) 0:03:47.573 ********* 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 23:44:50 +0000 (0:00:00.034) 0:03:47.608 ********* 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 23:44:50 +0000 (0:00:00.034) 0:03:47.642 ********* 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 23:44:50 +0000 (0:00:00.034) 0:03:47.676 ********* 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 23:44:50 +0000 (0:00:00.068) 0:03:47.745 ********* 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 23:44:50 +0000 (0:00:00.024) 0:03:47.769 ********* 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 23:44:51 +0000 (0:00:00.033) 0:03:47.803 ********* 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 23:44:51 +0000 (0:00:00.034) 0:03:47.838 ********* ok: [/cache/centos-8.qcow2] => { "storage_test_expected_size": "4294967296" } TASK [debug] ******************************************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-size.yml:25 Thursday 21 July 2022 23:44:51 +0000 (0:00:00.038) 0:03:47.876 ********* skipping: [/cache/centos-8.qcow2] => {} TASK [debug] ******************************************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-size.yml:28 Thursday 21 July 2022 23:44:51 +0000 (0:00:00.036) 0:03:47.913 ********* 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 23:44:51 +0000 (0:00:00.036) 0:03:47.949 ********* 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 23:44:51 +0000 (0:00:00.035) 0:03:47.985 ********* 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 23:44:51 +0000 (0:00:00.036) 0:03:48.022 ********* 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 23:44:51 +0000 (0:00:00.035) 0:03:48.058 ********* 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 23:44:51 +0000 (0:00:00.036) 0:03:48.094 ********* ok: [/cache/centos-8.qcow2] => { "storage_test_expected_size": "4294967296" } TASK [assert] ****************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-size.yml:50 Thursday 21 July 2022 23:44:51 +0000 (0:00:00.036) 0:03:48.131 ********* 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 23:44:51 +0000 (0:00:00.025) 0:03:48.157 ********* 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 23:44:51 +0000 (0:00:00.024) 0:03:48.181 ********* 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 23:44:51 +0000 (0:00:00.023) 0:03:48.204 ********* 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 23:44:51 +0000 (0:00:00.024) 0:03:48.229 ********* 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 23:44:51 +0000 (0:00:00.025) 0:03:48.254 ********* 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 23:44:51 +0000 (0:00:00.023) 0:03:48.278 ********* 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 23:44:51 +0000 (0:00:00.023) 0:03:48.301 ********* 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 23:44:51 +0000 (0:00:00.022) 0:03:48.324 ********* 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 23:44:51 +0000 (0:00:00.037) 0:03:48.361 ********* TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/verify-role-results.yml:53 Thursday 21 July 2022 23:44:51 +0000 (0:00:00.021) 0:03:48.383 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Test setting up disk volume will remove the partition create above] ****** task path: /tmp/tmp_0pjp8ed/tests/storage/tests_misc.yml:176 Thursday 21 July 2022 23:44:51 +0000 (0:00:00.035) 0:03:48.418 ********* 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 23:44:51 +0000 (0:00:00.048) 0:03:48.467 ********* 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 23:44:51 +0000 (0:00:00.035) 0:03:48.502 ********* 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 23:44:52 +0000 (0:00:00.520) 0:03:49.023 ********* 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 23:44:52 +0000 (0:00:00.074) 0:03:49.098 ********* 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 23:44:52 +0000 (0:00:00.034) 0:03:49.133 ********* 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 23:44:52 +0000 (0:00:00.035) 0:03:49.168 ********* 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 23:44:52 +0000 (0:00:00.056) 0:03:49.225 ********* 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 23:44:52 +0000 (0:00:00.021) 0:03:49.247 ********* 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 23:44:52 +0000 (0:00:00.027) 0:03:49.274 ********* 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 23:44:52 +0000 (0:00:00.072) 0:03:49.347 ********* ok: [/cache/centos-8.qcow2] => { "storage_volumes": [ { "disks": [ "sda" ], "fs_create_options": "-F", "fs_type": "ext4", "mount_options": "rw,noatime,defaults", "mount_point": "/opt/test1", "name": "foo", "type": "disk" } ] } 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 23:44:52 +0000 (0:00:00.071) 0:03:49.418 ********* 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 23:44:52 +0000 (0:00:00.028) 0:03:49.447 ********* 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 23:44:52 +0000 (0:00:00.027) 0:03:49.474 ********* 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 23:44:52 +0000 (0:00:00.028) 0:03:49.503 ********* 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 23:44:52 +0000 (0:00:00.026) 0:03:49.530 ********* 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 23:44:52 +0000 (0:00:00.056) 0:03:49.586 ********* 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 23:44:52 +0000 (0:00:00.021) 0:03:49.608 ********* changed: [/cache/centos-8.qcow2] => { "actions": [ { "action": "destroy format", "device": "/dev/sda1", "fs_type": "ext4" }, { "action": "destroy device", "device": "/dev/sda1", "fs_type": null }, { "action": "destroy format", "device": "/dev/sda", "fs_type": "disklabel" }, { "action": "create format", "device": "/dev/sda", "fs_type": "ext4" } ], "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": "ext4", "path": "/opt/test1", "src": "UUID=afa4a699-0a7d-451c-af6d-9261d6deb5cd", "state": "absent" }, { "dump": 0, "fstype": "ext4", "opts": "rw,noatime,defaults", "passno": 0, "path": "/opt/test1", "src": "UUID=b5991c50-c431-48d9-b075-d58f51a5b6b0", "state": "mounted" } ], "packages": [ "xfsprogs", "e2fsprogs" ], "pools": [], "volumes": [ { "_device": "/dev/sda", "_kernel_device": "/dev/sda", "_mount_id": "UUID=b5991c50-c431-48d9-b075-d58f51a5b6b0", "_raw_device": "/dev/sda", "_raw_kernel_device": "/dev/sda", "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": "-F", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "rw,noatime,defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } TASK [fedora.linux_system_roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:78 Thursday 21 July 2022 23:44:54 +0000 (0:00:01.479) 0:03:51.088 ********* 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 23:44:54 +0000 (0:00:00.038) 0:03:51.127 ********* 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 23:44:54 +0000 (0:00:00.021) 0:03:51.149 ********* ok: [/cache/centos-8.qcow2] => { "blivet_output": { "actions": [ { "action": "destroy format", "device": "/dev/sda1", "fs_type": "ext4" }, { "action": "destroy device", "device": "/dev/sda1", "fs_type": null }, { "action": "destroy format", "device": "/dev/sda", "fs_type": "disklabel" }, { "action": "create format", "device": "/dev/sda", "fs_type": "ext4" } ], "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": "ext4", "path": "/opt/test1", "src": "UUID=afa4a699-0a7d-451c-af6d-9261d6deb5cd", "state": "absent" }, { "dump": 0, "fstype": "ext4", "opts": "rw,noatime,defaults", "passno": 0, "path": "/opt/test1", "src": "UUID=b5991c50-c431-48d9-b075-d58f51a5b6b0", "state": "mounted" } ], "packages": [ "xfsprogs", "e2fsprogs" ], "pools": [], "volumes": [ { "_device": "/dev/sda", "_kernel_device": "/dev/sda", "_mount_id": "UUID=b5991c50-c431-48d9-b075-d58f51a5b6b0", "_raw_device": "/dev/sda", "_raw_kernel_device": "/dev/sda", "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": "-F", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "rw,noatime,defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } } TASK [fedora.linux_system_roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:101 Thursday 21 July 2022 23:44:54 +0000 (0:00:00.039) 0:03:51.188 ********* 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 23:44:54 +0000 (0:00:00.037) 0:03:51.226 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_volumes_list": [ { "_device": "/dev/sda", "_kernel_device": "/dev/sda", "_mount_id": "UUID=b5991c50-c431-48d9-b075-d58f51a5b6b0", "_raw_device": "/dev/sda", "_raw_kernel_device": "/dev/sda", "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": "-F", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "rw,noatime,defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] }, "changed": false } TASK [fedora.linux_system_roles.storage : remove obsolete mounts] ************** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:121 Thursday 21 July 2022 23:44:54 +0000 (0:00:00.039) 0:03:51.266 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/centos-8.qcow2] => (item={'src': 'UUID=afa4a699-0a7d-451c-af6d-9261d6deb5cd', 'path': '/opt/test1', 'state': 'absent', 'fstype': 'ext4'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "ext4", "mount_info": { "fstype": "ext4", "path": "/opt/test1", "src": "UUID=afa4a699-0a7d-451c-af6d-9261d6deb5cd", "state": "absent" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "UUID=afa4a699-0a7d-451c-af6d-9261d6deb5cd" } 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 23:44:54 +0000 (0:00:00.397) 0:03:51.663 ********* 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 23:44:55 +0000 (0:00:00.611) 0:03:52.275 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/centos-8.qcow2] => (item={'src': 'UUID=b5991c50-c431-48d9-b075-d58f51a5b6b0', 'path': '/opt/test1', 'fstype': 'ext4', 'opts': 'rw,noatime,defaults', 'dump': 0, 'passno': 0, 'state': 'mounted'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "ext4", "mount_info": { "dump": 0, "fstype": "ext4", "opts": "rw,noatime,defaults", "passno": 0, "path": "/opt/test1", "src": "UUID=b5991c50-c431-48d9-b075-d58f51a5b6b0", "state": "mounted" }, "name": "/opt/test1", "opts": "rw,noatime,defaults", "passno": "0", "src": "UUID=b5991c50-c431-48d9-b075-d58f51a5b6b0" } 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 23:44:55 +0000 (0:00:00.411) 0:03:52.686 ********* 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 23:44:56 +0000 (0:00:00.613) 0:03:53.300 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "stat": { "atime": 1658446902.4070747, "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 23:44:56 +0000 (0:00:00.376) 0:03:53.676 ********* 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 23:44:56 +0000 (0:00:00.023) 0:03:53.700 ********* ok: [/cache/centos-8.qcow2] META: role_complete for /cache/centos-8.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/tests_misc.yml:189 Thursday 21 July 2022 23:44:57 +0000 (0:00:00.921) 0:03:54.622 ********* 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 23:44:57 +0000 (0:00:00.041) 0:03:54.663 ********* skipping: [/cache/centos-8.qcow2] => {} TASK [Print out volume information] ******************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-role-results.yml:6 Thursday 21 July 2022 23:44:57 +0000 (0:00:00.036) 0:03:54.699 ********* ok: [/cache/centos-8.qcow2] => { "_storage_volumes_list": [ { "_device": "/dev/sda", "_kernel_device": "/dev/sda", "_mount_id": "UUID=b5991c50-c431-48d9-b075-d58f51a5b6b0", "_raw_device": "/dev/sda", "_raw_kernel_device": "/dev/sda", "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": "-F", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "rw,noatime,defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "present", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/verify-role-results.yml:14 Thursday 21 July 2022 23:44:58 +0000 (0:00:00.080) 0:03:54.780 ********* 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": "ext4", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "b5991c50-c431-48d9-b075-d58f51a5b6b0" }, "/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-23-40-43-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 23:44:58 +0000 (0:00:00.412) 0:03:55.192 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.002367", "end": "2022-07-21 23:44:58.750030", "rc": 0, "start": "2022-07-21 23:44:58.747663" } 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 UUID=b5991c50-c431-48d9-b075-d58f51a5b6b0 /opt/test1 ext4 rw,noatime,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 23:44:58 +0000 (0:00:00.367) 0:03:55.559 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.002441", "end": "2022-07-21 23:44:59.112172", "failed_when_result": false, "rc": 0, "start": "2022-07-21 23:44:59.109731" } 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 23:44:59 +0000 (0:00:00.369) 0:03:55.928 ********* 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 23:44:59 +0000 (0:00:00.022) 0:03:55.951 ********* 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': '-F', 'fs_label': '', 'fs_type': 'ext4', 'mount_options': 'rw,noatime,defaults', 'mount_point': '/opt/test1', 'name': 'foo', 'raid_level': None, 'size': 10737418240, 'state': 'present', 'type': 'disk', 'disks': ['sda'], 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_chunk_size': None, 'compression': None, 'deduplication': None, 'vdo_pool_size': None, 'thin': None, 'thin_pool_name': None, 'thin_pool_size': None, 'cached': False, 'cache_size': 0, 'cache_mode': None, 'cache_devices': [], '_device': '/dev/sda', '_raw_device': '/dev/sda', '_mount_id': 'UUID=b5991c50-c431-48d9-b075-d58f51a5b6b0', '_kernel_device': '/dev/sda', '_raw_kernel_device': '/dev/sda'}) TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume.yml:2 Thursday 21 July 2022 23:44:59 +0000 (0:00:00.056) 0:03:56.007 ********* 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 23:44:59 +0000 (0:00:00.047) 0:03:56.055 ********* 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 23:44:59 +0000 (0:00:00.073) 0:03:56.128 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "storage_test_device_path": "/dev/sda" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-mount.yml:10 Thursday 21 July 2022 23:44:59 +0000 (0:00:00.038) 0:03:56.167 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 2419519, "block_size": 4096, "block_total": 2563909, "block_used": 144390, "device": "/dev/sda", "fstype": "ext4", "inode_available": 655349, "inode_total": 655360, "inode_used": 11, "mount": "/opt/test1", "options": "rw,seclabel,noatime", "size_available": 9910349824, "size_total": 10501771264, "uuid": "b5991c50-c431-48d9-b075-d58f51a5b6b0" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 2419519, "block_size": 4096, "block_total": 2563909, "block_used": 144390, "device": "/dev/sda", "fstype": "ext4", "inode_available": 655349, "inode_total": 655360, "inode_used": 11, "mount": "/opt/test1", "options": "rw,seclabel,noatime", "size_available": 9910349824, "size_total": 10501771264, "uuid": "b5991c50-c431-48d9-b075-d58f51a5b6b0" } ], "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 23:44:59 +0000 (0:00:00.053) 0:03:56.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 23:44:59 +0000 (0:00:00.047) 0:03:56.269 ********* 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 23:44:59 +0000 (0:00:00.048) 0:03:56.317 ********* 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 23:44:59 +0000 (0:00:00.052) 0:03:56.370 ********* 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 23:44:59 +0000 (0:00:00.023) 0:03:56.393 ********* 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 23:44:59 +0000 (0:00:00.023) 0:03:56.417 ********* 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 23:44:59 +0000 (0:00:00.023) 0:03:56.440 ********* 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 23:44:59 +0000 (0:00:00.036) 0:03:56.476 ********* 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": [ "UUID=b5991c50-c431-48d9-b075-d58f51a5b6b0 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test1 ext4 rw,noatime,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 23:44:59 +0000 (0:00:00.057) 0:03:56.534 ********* 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 23:44:59 +0000 (0:00:00.048) 0:03:56.582 ********* 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 23:44:59 +0000 (0:00:00.048) 0:03:56.631 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Clean up variables] ****************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-fstab.yml:34 Thursday 21 July 2022 23:44:59 +0000 (0:00:00.050) 0:03:56.682 ********* 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 23:44:59 +0000 (0:00:00.034) 0:03:56.717 ********* 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 23:44:59 +0000 (0:00:00.039) 0:03:56.757 ********* 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 23:45:00 +0000 (0:00:00.037) 0:03:56.794 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "stat": { "atime": 1658447094.2290747, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658447094.2290747, "dev": 6, "device_type": 2048, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 16439, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/blockdevice", "mode": "0660", "mtime": 1658447094.2290747, "nlink": 1, "path": "/dev/sda", "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 23:45:00 +0000 (0:00:00.403) 0:03:57.197 ********* 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 23:45:00 +0000 (0:00:00.072) 0:03:57.270 ********* 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 23:45:00 +0000 (0:00:00.037) 0:03:57.307 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "st_volume_type": "disk" }, "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 23:45:00 +0000 (0:00:00.067) 0:03:57.374 ********* 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 23:45:00 +0000 (0:00:00.023) 0:03:57.398 ********* 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 23:45:00 +0000 (0:00:00.101) 0:03:57.500 ********* 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 23:45:00 +0000 (0:00:00.024) 0:03:57.524 ********* 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 23:45:02 +0000 (0:00:01.834) 0:03:59.359 ********* 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 23:45:02 +0000 (0:00:00.024) 0:03:59.384 ********* 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 23:45:02 +0000 (0:00:00.024) 0:03:59.408 ********* 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 23:45:02 +0000 (0:00:00.050) 0:03:59.459 ********* 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 23:45:02 +0000 (0:00:00.023) 0:03:59.482 ********* 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 23:45:02 +0000 (0:00:00.022) 0:03:59.505 ********* 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 23:45:02 +0000 (0:00:00.023) 0:03:59.529 ********* 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 23:45:02 +0000 (0:00:00.023) 0:03:59.552 ********* 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 23:45:02 +0000 (0:00:00.023) 0:03:59.576 ********* 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 23:45:02 +0000 (0:00:00.051) 0:03:59.627 ********* 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 23:45:02 +0000 (0:00:00.049) 0:03:59.677 ********* 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 23:45:02 +0000 (0:00:00.034) 0:03:59.711 ********* 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 23:45:02 +0000 (0:00:00.034) 0:03:59.746 ********* 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 23:45:03 +0000 (0:00:00.034) 0:03:59.780 ********* 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 23:45:03 +0000 (0:00:00.036) 0:03:59.817 ********* 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 23:45:03 +0000 (0:00:00.035) 0:03:59.852 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-md.yml:17 Thursday 21 July 2022 23:45:03 +0000 (0:00:00.035) 0:03:59.888 ********* 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 23:45:03 +0000 (0:00:00.034) 0:03:59.923 ********* 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 23:45:03 +0000 (0:00:00.038) 0:03:59.961 ********* 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 23:45:03 +0000 (0:00:00.034) 0:03:59.996 ********* 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 23:45:03 +0000 (0:00:00.034) 0:04:00.031 ********* 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 23:45:03 +0000 (0:00:00.035) 0:04:00.067 ********* 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 23:45:03 +0000 (0:00:00.025) 0:04:00.092 ********* 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 23:45:03 +0000 (0:00:00.036) 0:04:00.128 ********* 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 23:45:03 +0000 (0:00:00.036) 0:04:00.164 ********* ok: [/cache/centos-8.qcow2] => { "storage_test_expected_size": "4294967296" } TASK [debug] ******************************************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-size.yml:25 Thursday 21 July 2022 23:45:03 +0000 (0:00:00.035) 0:04:00.200 ********* skipping: [/cache/centos-8.qcow2] => {} TASK [debug] ******************************************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-size.yml:28 Thursday 21 July 2022 23:45:03 +0000 (0:00:00.038) 0:04:00.239 ********* 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 23:45:03 +0000 (0:00:00.035) 0:04:00.274 ********* 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 23:45:03 +0000 (0:00:00.034) 0:04:00.308 ********* 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 23:45:03 +0000 (0:00:00.034) 0:04:00.342 ********* 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 23:45:03 +0000 (0:00:00.038) 0:04:00.381 ********* 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 23:45:03 +0000 (0:00:00.035) 0:04:00.416 ********* ok: [/cache/centos-8.qcow2] => { "storage_test_expected_size": "4294967296" } TASK [assert] ****************************************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-size.yml:50 Thursday 21 July 2022 23:45:03 +0000 (0:00:00.035) 0:04:00.451 ********* 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 23:45:03 +0000 (0:00:00.022) 0:04:00.474 ********* 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 23:45:03 +0000 (0:00:00.023) 0:04:00.498 ********* 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 23:45:03 +0000 (0:00:00.023) 0:04:00.521 ********* 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 23:45:03 +0000 (0:00:00.022) 0:04:00.543 ********* 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 23:45:03 +0000 (0:00:00.022) 0:04:00.566 ********* 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 23:45:03 +0000 (0:00:00.023) 0:04:00.590 ********* 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 23:45:03 +0000 (0:00:00.022) 0:04:00.613 ********* 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 23:45:03 +0000 (0:00:00.022) 0:04:00.635 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmp_0pjp8ed/tests/storage/verify-role-results.yml:53 Thursday 21 July 2022 23:45:03 +0000 (0:00:00.035) 0:04:00.671 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Remove the disk volume created above] ************************************ task path: /tmp/tmp_0pjp8ed/tests/storage/tests_misc.yml:193 Thursday 21 July 2022 23:45:03 +0000 (0:00:00.035) 0:04:00.707 ********* 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 23:45:03 +0000 (0:00:00.051) 0:04:00.758 ********* 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 23:45:04 +0000 (0:00:00.064) 0:04:00.822 ********* 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 23:45:04 +0000 (0:00:00.524) 0:04:01.347 ********* 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 23:45:04 +0000 (0:00:00.073) 0:04:01.421 ********* 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 23:45:04 +0000 (0:00:00.036) 0:04:01.458 ********* 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 23:45:04 +0000 (0:00:00.034) 0:04:01.492 ********* 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 23:45:04 +0000 (0:00:00.054) 0:04:01.546 ********* 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 23:45:04 +0000 (0:00:00.021) 0:04:01.568 ********* 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 23:45:04 +0000 (0:00:00.027) 0:04:01.595 ********* 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 23:45:04 +0000 (0:00:00.037) 0:04:01.632 ********* ok: [/cache/centos-8.qcow2] => { "storage_volumes": [ { "disks": [ "sda" ], "name": "foo", "state": "absent", "type": "disk" } ] } 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 23:45:04 +0000 (0:00:00.038) 0:04:01.671 ********* 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 23:45:04 +0000 (0:00:00.031) 0:04:01.702 ********* 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 23:45:04 +0000 (0:00:00.027) 0:04:01.729 ********* 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 23:45:04 +0000 (0:00:00.027) 0:04:01.757 ********* 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 23:45:05 +0000 (0:00:00.027) 0:04:01.785 ********* 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 23:45:05 +0000 (0:00:00.056) 0:04:01.841 ********* 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 23:45:05 +0000 (0:00:00.021) 0:04:01.862 ********* changed: [/cache/centos-8.qcow2] => { "actions": [ { "action": "destroy format", "device": "/dev/sda", "fs_type": "ext4" } ], "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": "ext4", "path": "/opt/test1", "src": "UUID=b5991c50-c431-48d9-b075-d58f51a5b6b0", "state": "absent" } ], "packages": [ "xfsprogs" ], "pools": [], "volumes": [ { "_device": "/dev/sda", "_mount_id": "UUID=b5991c50-c431-48d9-b075-d58f51a5b6b0", "_raw_device": "/dev/sda", "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": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "absent", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } TASK [fedora.linux_system_roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:78 Thursday 21 July 2022 23:45:06 +0000 (0:00:01.117) 0:04:02.980 ********* 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 23:45:06 +0000 (0:00:00.036) 0:04:03.016 ********* 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 23:45:06 +0000 (0:00:00.021) 0:04:03.038 ********* ok: [/cache/centos-8.qcow2] => { "blivet_output": { "actions": [ { "action": "destroy format", "device": "/dev/sda", "fs_type": "ext4" } ], "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": "ext4", "path": "/opt/test1", "src": "UUID=b5991c50-c431-48d9-b075-d58f51a5b6b0", "state": "absent" } ], "packages": [ "xfsprogs" ], "pools": [], "volumes": [ { "_device": "/dev/sda", "_mount_id": "UUID=b5991c50-c431-48d9-b075-d58f51a5b6b0", "_raw_device": "/dev/sda", "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": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "absent", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] } } TASK [fedora.linux_system_roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:101 Thursday 21 July 2022 23:45:06 +0000 (0:00:00.040) 0:04:03.079 ********* 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 23:45:06 +0000 (0:00:00.036) 0:04:03.115 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "_storage_volumes_list": [ { "_device": "/dev/sda", "_mount_id": "UUID=b5991c50-c431-48d9-b075-d58f51a5b6b0", "_raw_device": "/dev/sda", "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": "ext4", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": null, "name": "foo", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": 10737418240, "state": "absent", "thin": null, "thin_pool_name": null, "thin_pool_size": null, "type": "disk", "vdo_pool_size": null } ] }, "changed": false } TASK [fedora.linux_system_roles.storage : remove obsolete mounts] ************** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:121 Thursday 21 July 2022 23:45:06 +0000 (0:00:00.037) 0:04:03.153 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/centos-8.qcow2] => (item={'src': 'UUID=b5991c50-c431-48d9-b075-d58f51a5b6b0', 'path': '/opt/test1', 'state': 'absent', 'fstype': 'ext4'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "ext4", "mount_info": { "fstype": "ext4", "path": "/opt/test1", "src": "UUID=b5991c50-c431-48d9-b075-d58f51a5b6b0", "state": "absent" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "UUID=b5991c50-c431-48d9-b075-d58f51a5b6b0" } 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 23:45:06 +0000 (0:00:00.400) 0:04:03.554 ********* 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 23:45:07 +0000 (0:00:00.605) 0:04:04.159 ********* 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 23:45:07 +0000 (0:00:00.039) 0:04:04.198 ********* 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 23:45:08 +0000 (0:00:00.606) 0:04:04.804 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "stat": { "atime": 1658446902.4070747, "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 23:45:08 +0000 (0:00:00.415) 0:04:05.220 ********* 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 23:45:08 +0000 (0:00:00.023) 0:04:05.243 ********* ok: [/cache/centos-8.qcow2] META: role_complete for /cache/centos-8.qcow2 TASK [Try to mount swap filesystem to "/opt/test1"] **************************** task path: /tmp/tmp_0pjp8ed/tests/storage/tests_misc.yml:205 Thursday 21 July 2022 23:45:09 +0000 (0:00:00.959) 0:04:06.202 ********* 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 23:45:09 +0000 (0:00:00.070) 0:04:06.273 ********* 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 23:45:09 +0000 (0:00:00.034) 0:04:06.307 ********* 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 23:45:10 +0000 (0:00:00.515) 0:04:06.822 ********* 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 23:45:10 +0000 (0:00:00.072) 0:04:06.895 ********* 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 23:45:10 +0000 (0:00:00.036) 0:04:06.931 ********* 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 23:45:10 +0000 (0:00:00.034) 0:04:06.966 ********* 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 23:45:10 +0000 (0:00:00.054) 0:04:07.020 ********* 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 23:45:10 +0000 (0:00:00.019) 0:04:07.040 ********* 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 23:45:10 +0000 (0:00:00.026) 0:04:07.067 ********* 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 23:45:10 +0000 (0:00:00.039) 0:04:07.107 ********* ok: [/cache/centos-8.qcow2] => { "storage_volumes": [ { "disks": [ "sda" ], "fs_type": "swap", "mount_point": "/opt/test1", "name": "test1", "type": "disk" } ] } 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 23:45:10 +0000 (0:00:00.050) 0:04:07.158 ********* 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 23:45:10 +0000 (0:00:00.029) 0:04:07.187 ********* 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 23:45:10 +0000 (0:00:00.028) 0:04:07.216 ********* 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 23:45:10 +0000 (0:00:00.028) 0:04:07.244 ********* 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 23:45:10 +0000 (0:00:00.032) 0:04:07.276 ********* 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 23:45:10 +0000 (0:00:00.057) 0:04:07.334 ********* 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 23:45:10 +0000 (0:00:00.021) 0:04:07.355 ********* fatal: [/cache/centos-8.qcow2]: FAILED! => { "actions": [], "changed": false, "crypts": [], "leaves": [], "mounts": [], "packages": [], "pools": [], "volumes": [] } MSG: volume 'test1' has a mount point but no mountable file system TASK [fedora.linux_system_roles.storage : failed message] ********************** task path: /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:86 Thursday 21 July 2022 23:45:11 +0000 (0:00:00.964) 0:04:08.320 ********* fatal: [/cache/centos-8.qcow2]: FAILED! => { "changed": false } MSG: {'changed': False, 'actions': [], 'leaves': [], 'mounts': [], 'crypts': [], 'pools': [], 'volumes': [], 'packages': [], 'failed': True, 'msg': "volume 'test1' has a mount point but no mountable file system", 'invocation': {'module_args': {'pools': [], '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': 'swap', 'mount_options': 'defaults', 'mount_point': '/opt/test1', 'name': 'test1', 'raid_level': None, 'size': 10737418240, 'state': 'present', 'type': 'disk', 'disks': ['sda'], 'raid_device_count': None, 'raid_spare_count': None, 'raid_metadata_version': None, 'fs_overwrite_existing': True, 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_chunk_size': None, 'compression': None, 'deduplication': None, 'vdo_pool_size': None, 'thin': None, 'thin_pool_name': None, 'thin_pool_size': None, 'cached': False, 'cache_size': 0, 'cache_mode': None, 'cache_devices': []}], 'use_partitions': None, 'disklabel_type': None, 'pool_defaults': {'state': 'present', 'type': 'lvm', 'disks': [], 'volumes': [], 'encryption': False, 'encryption_password': None, 'encryption_key': None, 'encryption_cipher': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None}, 'volume_defaults': {'state': 'present', 'type': 'lvm', 'size': 0, 'disks': [], 'fs_type': 'xfs', 'fs_label': '', 'fs_create_options': '', 'fs_overwrite_existing': True, 'mount_point': '', 'mount_options': 'defaults', 'mount_check': 0, 'mount_passno': 0, 'mount_device_identifier': 'uuid', 'raid_level': None, 'raid_device_count': None, 'raid_spare_count': None, 'raid_chunk_size': None, 'raid_metadata_version': None, 'encryption': False, 'encryption_password': None, 'encryption_key': None, 'encryption_cipher': None, 'encryption_key_size': None, 'encryption_luks_version': None, 'compression': None, 'deduplication': None, 'vdo_pool_size': None, 'thin': None, 'thin_pool_name': None, 'thin_pool_size': None, 'cached': False, 'cache_size': 0, 'cache_mode': None, 'cache_devices': []}, 'safe_mode': False, 'packages_only': False, 'diskvolume_mkfs_option_map': {}}}, '_ansible_no_log': 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 23:45:11 +0000 (0:00:00.041) 0:04:08.362 ********* TASK [Check that we failed in the role] **************************************** task path: /tmp/tmp_0pjp8ed/tests/storage/tests_misc.yml:221 Thursday 21 July 2022 23:45:11 +0000 (0:00:00.022) 0:04:08.384 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the output when mount swap filesystem to "/opt/test1"] ************ task path: /tmp/tmp_0pjp8ed/tests/storage/tests_misc.yml:227 Thursday 21 July 2022 23:45:11 +0000 (0:00:00.038) 0:04:08.423 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-8.qcow2 : ok=481 changed=19 unreachable=0 failed=3 skipped=367 rescued=3 ignored=0 Thursday 21 July 2022 23:45:11 +0000 (0:00:00.063) 0:04:08.486 ********* =============================================================================== fedora.linux_system_roles.storage : make sure blivet is available ----- 147.79s /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 Ensure cryptsetup is present -------------------------------------------- 3.24s /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:10 ----------- Ensure cryptsetup is present -------------------------------------------- 2.06s /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:10 ----------- fedora.linux_system_roles.storage : make sure required packages are installed --- 1.99s /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:41 Ensure cryptsetup is present -------------------------------------------- 1.89s /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:10 ----------- Ensure cryptsetup is present -------------------------------------------- 1.83s /tmp/tmp_0pjp8ed/tests/storage/test-verify-volume-encryption.yml:10 ----------- fedora.linux_system_roles.storage : get service facts ------------------- 1.69s /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.62s /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.58s /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.54s /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.52s /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.48s /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.48s /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.47s /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.45s /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.21s /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.12s /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Gathering Facts --------------------------------------------------------- 1.08s /tmp/tmp_0pjp8ed/tests/storage/tests_misc.yml:2 ------------------------------- 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.97s /tmp/tmpu1heti3n/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183