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/tmp5bkr4li_ executable location = /usr/bin/ansible-playbook python version = 3.9.13 (main, May 18 2022, 00:00:00) [GCC 11.3.1 20220421 (Red Hat 11.3.1-2)] jinja version = 2.11.3 libyaml = True Using /etc/ansible/ansible.cfg as config file Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: rhel-7_setup.yml ***************************************************** 1 plays in /cache/rhel-7_setup.yml PLAY [Setup repos] ************************************************************* META: ran handlers TASK [set up internal repositories] ******************************************** task path: /cache/rhel-7_setup.yml:5 Thursday 21 July 2022 14:09:07 +0000 (0:00:00.017) 0:00:00.017 ********* changed: [/cache/rhel-7.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } changed: [/cache/rhel-7.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } changed: [/cache/rhel-7.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } changed: [/cache/rhel-7.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } changed: [/cache/rhel-7.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-7.qcow2 : ok=1 changed=1 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Thursday 21 July 2022 14:09:09 +0000 (0:00:01.413) 0:00:01.430 ********* =============================================================================== set up internal repositories -------------------------------------------- 1.41s /cache/rhel-7_setup.yml:5 ----------------------------------------------------- PLAYBOOK: tests_create_raid_pool_then_remove_scsi_generated.yml **************** 2 plays in /tmp/tmpaxjje44y/tests/tests_create_raid_pool_then_remove_scsi_generated.yml PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpaxjje44y/tests/tests_create_raid_pool_then_remove_scsi_generated.yml:3 Thursday 21 July 2022 14:09:09 +0000 (0:00:00.019) 0:00:01.450 ********* ok: [/cache/rhel-7.qcow2] META: ran handlers TASK [set disk interface for test] ********************************************* task path: /tmp/tmpaxjje44y/tests/tests_create_raid_pool_then_remove_scsi_generated.yml:7 Thursday 21 July 2022 14:09:10 +0000 (0:00:01.016) 0:00:02.466 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_use_interface": "scsi" }, "changed": false } META: ran handlers META: ran handlers PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpaxjje44y/tests/tests_create_raid_pool_then_remove.yml:2 Thursday 21 July 2022 14:09:10 +0000 (0:00:00.047) 0:00:02.514 ********* ok: [/cache/rhel-7.qcow2] META: ran handlers TASK [include_role : linux-system-roles.storage] ******************************* task path: /tmp/tmpaxjje44y/tests/tests_create_raid_pool_then_remove.yml:17 Thursday 21 July 2022 14:09:11 +0000 (0:00:00.743) 0:00:03.258 ********* TASK [linux-system-roles.storage : set platform/version specific variables] **** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Thursday 21 July 2022 14:09:11 +0000 (0:00:00.036) 0:00:03.294 ********* included: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/set_vars.yml for /cache/rhel-7.qcow2 TASK [linux-system-roles.storage : Ensure ansible_facts used by role] ********** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Thursday 21 July 2022 14:09:11 +0000 (0:00:00.029) 0:00:03.324 ********* ok: [/cache/rhel-7.qcow2] TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Thursday 21 July 2022 14:09:11 +0000 (0:00:00.418) 0:00:03.742 ********* skipping: [/cache/rhel-7.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-7.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/rhel-7.qcow2] => (item=RedHat_7.yml) => { "ansible_facts": { "__storage_blivet_diskvolume_mkfs_option_map": { "ext2": "-F", "ext3": "-F", "ext4": "-F" }, "blivet_package_list": [ "python-enum34", "python-blivet3", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap" ] }, "ansible_included_var_files": [ "/tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/vars/RedHat_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_7.yml" } skipping: [/cache/rhel-7.qcow2] => (item=RedHat_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_7.9.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Thursday 21 July 2022 14:09:11 +0000 (0:00:00.054) 0:00:03.796 ********* ok: [/cache/rhel-7.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/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Thursday 21 July 2022 14:09:11 +0000 (0:00:00.030) 0:00:03.827 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : include the appropriate provider tasks] ***** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Thursday 21 July 2022 14:09:11 +0000 (0:00:00.029) 0:00:03.857 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml for /cache/rhel-7.qcow2 TASK [linux-system-roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 14:09:11 +0000 (0:00:00.045) 0:00:03.902 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure blivet is available] ************** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 14:09:11 +0000 (0:00:00.018) 0:00:03.921 ********* changed: [/cache/rhel-7.qcow2] => { "changed": true, "changes": { "installed": [ "python-enum34", "python-blivet3", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap" ] }, "rc": 0, "results": [ "Loaded plugins: search-disabled-repos\nResolving Dependencies\n--> Running transaction check\n---> Package libblockdev-crypto.x86_64 0:2.18-5.el7 will be installed\n--> Processing Dependency: libblockdev-utils(x86-64) = 2.18-5.el7 for package: libblockdev-crypto-2.18-5.el7.x86_64\n--> Processing Dependency: libvolume_key.so.1()(64bit) for package: libblockdev-crypto-2.18-5.el7.x86_64\n--> Processing Dependency: libbd_utils.so.2()(64bit) for package: libblockdev-crypto-2.18-5.el7.x86_64\n---> Package libblockdev-dm.x86_64 0:2.18-5.el7 will be installed\n--> Processing Dependency: libdmraid.so.1(Base)(64bit) for package: libblockdev-dm-2.18-5.el7.x86_64\n--> Processing Dependency: dmraid for package: libblockdev-dm-2.18-5.el7.x86_64\n--> Processing Dependency: libdmraid.so.1()(64bit) for package: libblockdev-dm-2.18-5.el7.x86_64\n---> Package libblockdev-lvm.x86_64 0:2.18-5.el7 will be installed\n--> Processing Dependency: lvm2 for package: libblockdev-lvm-2.18-5.el7.x86_64\n--> Processing Dependency: device-mapper-persistent-data for package: libblockdev-lvm-2.18-5.el7.x86_64\n---> Package libblockdev-mdraid.x86_64 0:2.18-5.el7 will be installed\n--> Processing Dependency: mdadm for package: libblockdev-mdraid-2.18-5.el7.x86_64\n--> Processing Dependency: libbytesize.so.1()(64bit) for package: libblockdev-mdraid-2.18-5.el7.x86_64\n---> Package libblockdev-swap.x86_64 0:2.18-5.el7 will be installed\n---> Package python-enum34.noarch 0:1.0.4-1.el7 will be installed\n---> Package python2-blivet3.noarch 1:3.1.3-3.el7 will be installed\n--> Processing Dependency: blivet3-data = 1:3.1.3-3.el7 for package: 1:python2-blivet3-3.1.3-3.el7.noarch\n--> Processing Dependency: python2-bytesize >= 0.3 for package: 1:python2-blivet3-3.1.3-3.el7.noarch\n--> Processing Dependency: python2-blockdev >= 2.17 for package: 1:python2-blivet3-3.1.3-3.el7.noarch\n--> Processing Dependency: pyparted >= 3.9 for package: 1:python2-blivet3-3.1.3-3.el7.noarch\n--> Processing Dependency: python2-hawkey for package: 1:python2-blivet3-3.1.3-3.el7.noarch\n--> Processing Dependency: lsof for package: 1:python2-blivet3-3.1.3-3.el7.noarch\n--> Running transaction check\n---> Package blivet3-data.noarch 1:3.1.3-3.el7 will be installed\n---> Package device-mapper-persistent-data.x86_64 0:0.8.5-3.el7_9.2 will be installed\n--> Processing Dependency: libaio.so.1(LIBAIO_0.4)(64bit) for package: device-mapper-persistent-data-0.8.5-3.el7_9.2.x86_64\n--> Processing Dependency: libaio.so.1(LIBAIO_0.1)(64bit) for package: device-mapper-persistent-data-0.8.5-3.el7_9.2.x86_64\n--> Processing Dependency: libaio.so.1()(64bit) for package: device-mapper-persistent-data-0.8.5-3.el7_9.2.x86_64\n---> Package dmraid.x86_64 0:1.0.0.rc16-28.el7 will be installed\n--> Processing Dependency: libdevmapper-event.so.1.02(Base)(64bit) for package: dmraid-1.0.0.rc16-28.el7.x86_64\n--> Processing Dependency: dmraid-events for package: dmraid-1.0.0.rc16-28.el7.x86_64\n--> Processing Dependency: libdevmapper-event.so.1.02()(64bit) for package: dmraid-1.0.0.rc16-28.el7.x86_64\n---> Package libblockdev-utils.x86_64 0:2.18-5.el7 will be installed\n---> Package libbytesize.x86_64 0:1.2-1.el7 will be installed\n--> Processing Dependency: libmpfr.so.4()(64bit) for package: libbytesize-1.2-1.el7.x86_64\n---> Package lsof.x86_64 0:4.87-6.el7 will be installed\n---> Package lvm2.x86_64 7:2.02.187-6.el7_9.5 will be installed\n--> Processing Dependency: lvm2-libs = 7:2.02.187-6.el7_9.5 for package: 7:lvm2-2.02.187-6.el7_9.5.x86_64\n--> Processing Dependency: liblvm2app.so.2.2(Base)(64bit) for package: 7:lvm2-2.02.187-6.el7_9.5.x86_64\n--> Processing Dependency: liblvm2app.so.2.2()(64bit) for package: 7:lvm2-2.02.187-6.el7_9.5.x86_64\n---> Package mdadm.x86_64 0:4.1-9.el7_9 will be installed\n--> Processing Dependency: libreport-filesystem for package: mdadm-4.1-9.el7_9.x86_64\n---> Package pyparted.x86_64 1:3.9-15.el7 will be installed\n---> Package python2-blockdev.x86_64 0:2.18-5.el7 will be installed\n--> Processing Dependency: libblockdev(x86-64) = 2.18-5.el7 for package: python2-blockdev-2.18-5.el7.x86_64\n---> Package python2-bytesize.x86_64 0:1.2-1.el7 will be installed\n---> Package python2-hawkey.x86_64 0:0.22.5-2.el7_9 will be installed\n--> Processing Dependency: libdnf(x86-64) = 0.22.5-2.el7_9 for package: python2-hawkey-0.22.5-2.el7_9.x86_64\n--> Processing Dependency: python2-libdnf = 0.22.5-2.el7_9 for package: python2-hawkey-0.22.5-2.el7_9.x86_64\n--> Processing Dependency: libsolv.so.0(SOLV_1.0)(64bit) for package: python2-hawkey-0.22.5-2.el7_9.x86_64\n--> Processing Dependency: libsolvext.so.0(SOLV_1.0)(64bit) for package: python2-hawkey-0.22.5-2.el7_9.x86_64\n--> Processing Dependency: libdnf.so.2()(64bit) for package: python2-hawkey-0.22.5-2.el7_9.x86_64\n--> Processing Dependency: libjson-glib-1.0.so.0()(64bit) for package: python2-hawkey-0.22.5-2.el7_9.x86_64\n--> Processing Dependency: libmodulemd.so.1()(64bit) for package: python2-hawkey-0.22.5-2.el7_9.x86_64\n--> Processing Dependency: librepo.so.0()(64bit) for package: python2-hawkey-0.22.5-2.el7_9.x86_64\n--> Processing Dependency: librhsm.so.0()(64bit) for package: python2-hawkey-0.22.5-2.el7_9.x86_64\n--> Processing Dependency: libsolv.so.0()(64bit) for package: python2-hawkey-0.22.5-2.el7_9.x86_64\n--> Processing Dependency: libsolvext.so.0()(64bit) for package: python2-hawkey-0.22.5-2.el7_9.x86_64\n---> Package volume_key-libs.x86_64 0:0.3.9-9.el7 will be installed\n--> Running transaction check\n---> Package device-mapper-event-libs.x86_64 7:1.02.170-6.el7_9.5 will be installed\n---> Package dmraid-events.x86_64 0:1.0.0.rc16-28.el7 will be installed\n--> Processing Dependency: sgpio for package: dmraid-events-1.0.0.rc16-28.el7.x86_64\n--> Processing Dependency: device-mapper-event for package: dmraid-events-1.0.0.rc16-28.el7.x86_64\n---> Package json-glib.x86_64 0:1.4.2-2.el7 will be installed\n---> Package libaio.x86_64 0:0.3.109-13.el7 will be installed\n---> Package libblockdev.x86_64 0:2.18-5.el7 will be installed\n---> Package libdnf.x86_64 0:0.22.5-2.el7_9 will be installed\n---> Package libmodulemd.x86_64 0:1.6.3-1.el7 will be installed\n---> Package librepo.x86_64 0:1.8.1-8.el7_9 will be installed\n---> Package libreport-filesystem.x86_64 0:2.1.11-53.el7 will be installed\n---> Package librhsm.x86_64 0:0.0.3-3.el7_9 will be installed\n---> Package libsolv.x86_64 0:0.6.34-4.el7 will be installed\n---> Package lvm2-libs.x86_64 7:2.02.187-6.el7_9.5 will be installed\n---> Package mpfr.x86_64 0:3.1.1-4.el7 will be installed\n---> Package python2-libdnf.x86_64 0:0.22.5-2.el7_9 will be installed\n--> Running transaction check\n---> Package device-mapper-event.x86_64 7:1.02.170-6.el7_9.5 will be installed\n---> Package sgpio.x86_64 0:1.2.0.10-13.el7 will be installed\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nInstalling:\n libblockdev-crypto x86_64 2.18-5.el7 rhel 60 k\n libblockdev-dm x86_64 2.18-5.el7 rhel-optional 54 k\n libblockdev-lvm x86_64 2.18-5.el7 rhel 62 k\n libblockdev-mdraid x86_64 2.18-5.el7 rhel 57 k\n libblockdev-swap x86_64 2.18-5.el7 rhel 52 k\n python-enum34 noarch 1.0.4-1.el7 rhel 52 k\n python2-blivet3 noarch 1:3.1.3-3.el7 rhel 851 k\nInstalling for dependencies:\n blivet3-data noarch 1:3.1.3-3.el7 rhel 77 k\n device-mapper-event\n x86_64 7:1.02.170-6.el7_9.5 rhel 192 k\n device-mapper-event-libs\n x86_64 7:1.02.170-6.el7_9.5 rhel 192 k\n device-mapper-persistent-data\n x86_64 0.8.5-3.el7_9.2 rhel 423 k\n dmraid x86_64 1.0.0.rc16-28.el7 rhel 151 k\n dmraid-events x86_64 1.0.0.rc16-28.el7 rhel 21 k\n json-glib x86_64 1.4.2-2.el7 rhel 134 k\n libaio x86_64 0.3.109-13.el7 rhel 24 k\n libblockdev x86_64 2.18-5.el7 rhel 119 k\n libblockdev-utils x86_64 2.18-5.el7 rhel 59 k\n libbytesize x86_64 1.2-1.el7 rhel 52 k\n libdnf x86_64 0.22.5-2.el7_9 rhel-7-server-extras-rpms 536 k\n libmodulemd x86_64 1.6.3-1.el7 rhel-7-server-extras-rpms 153 k\n librepo x86_64 1.8.1-8.el7_9 rhel 82 k\n libreport-filesystem\n x86_64 2.1.11-53.el7 rhel 41 k\n librhsm x86_64 0.0.3-3.el7_9 rhel-7-server-extras-rpms 28 k\n libsolv x86_64 0.6.34-4.el7 rhel 329 k\n lsof x86_64 4.87-6.el7 rhel 331 k\n lvm2 x86_64 7:2.02.187-6.el7_9.5 rhel 1.3 M\n lvm2-libs x86_64 7:2.02.187-6.el7_9.5 rhel 1.1 M\n mdadm x86_64 4.1-9.el7_9 rhel 440 k\n mpfr x86_64 3.1.1-4.el7 rhel 203 k\n pyparted x86_64 1:3.9-15.el7 rhel 195 k\n python2-blockdev x86_64 2.18-5.el7 rhel 61 k\n python2-bytesize x86_64 1.2-1.el7 rhel 22 k\n python2-hawkey x86_64 0.22.5-2.el7_9 rhel-7-server-extras-rpms 71 k\n python2-libdnf x86_64 0.22.5-2.el7_9 rhel-7-server-extras-rpms 611 k\n sgpio x86_64 1.2.0.10-13.el7 rhel 14 k\n volume_key-libs x86_64 0.3.9-9.el7 rhel 141 k\n\nTransaction Summary\n================================================================================\nInstall 7 Packages (+29 Dependent packages)\n\nTotal download size: 8.2 M\nInstalled size: 24 M\nDownloading packages:\n--------------------------------------------------------------------------------\nTotal 18 MB/s | 8.2 MB 00:00 \nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Installing : libblockdev-utils-2.18-5.el7.x86_64 1/36 \n Installing : 7:device-mapper-event-libs-1.02.170-6.el7_9.5.x86_64 2/36 \n Installing : json-glib-1.4.2-2.el7.x86_64 3/36 \n Installing : librhsm-0.0.3-3.el7_9.x86_64 4/36 \n Installing : libsolv-0.6.34-4.el7.x86_64 5/36 \n Installing : libaio-0.3.109-13.el7.x86_64 6/36 \n Installing : librepo-1.8.1-8.el7_9.x86_64 7/36 \n Installing : libmodulemd-1.6.3-1.el7.x86_64 8/36 \n Installing : libdnf-0.22.5-2.el7_9.x86_64 9/36 \n Installing : device-mapper-persistent-data-0.8.5-3.el7_9.2.x86_64 10/36 \n Installing : 7:device-mapper-event-1.02.170-6.el7_9.5.x86_64 11/36 \n Installing : 7:lvm2-libs-2.02.187-6.el7_9.5.x86_64 12/36 \n Installing : 7:lvm2-2.02.187-6.el7_9.5.x86_64 13/36 \n Installing : python2-libdnf-0.22.5-2.el7_9.x86_64 14/36 \n Installing : python2-hawkey-0.22.5-2.el7_9.x86_64 15/36 \n Installing : libblockdev-2.18-5.el7.x86_64 16/36 \n Installing : python2-blockdev-2.18-5.el7.x86_64 17/36 \n Installing : 1:pyparted-3.9-15.el7.x86_64 18/36 \n Installing : sgpio-1.2.0.10-13.el7.x86_64 19/36 \n Installing : dmraid-1.0.0.rc16-28.el7.x86_64 20/36 \n Installing : dmraid-events-1.0.0.rc16-28.el7.x86_64 21/36 \n Installing : volume_key-libs-0.3.9-9.el7.x86_64 22/36 \n Installing : mpfr-3.1.1-4.el7.x86_64 23/36 \n Installing : libbytesize-1.2-1.el7.x86_64 24/36 \n Installing : python2-bytesize-1.2-1.el7.x86_64 25/36 \n Installing : libreport-filesystem-2.1.11-53.el7.x86_64 26/36 \n Installing : mdadm-4.1-9.el7_9.x86_64 27/36 \n Installing : 1:blivet3-data-3.1.3-3.el7.noarch 28/36 \n Installing : lsof-4.87-6.el7.x86_64 29/36 \n Installing : 1:python2-blivet3-3.1.3-3.el7.noarch 30/36 \n Installing : libblockdev-mdraid-2.18-5.el7.x86_64 31/36 \n Installing : libblockdev-crypto-2.18-5.el7.x86_64 32/36 \n Installing : libblockdev-dm-2.18-5.el7.x86_64 33/36 \n Installing : libblockdev-lvm-2.18-5.el7.x86_64 34/36 \n Installing : libblockdev-swap-2.18-5.el7.x86_64 35/36 \n Installing : python-enum34-1.0.4-1.el7.noarch 36/36 \n Verifying : 7:device-mapper-event-1.02.170-6.el7_9.5.x86_64 1/36 \n Verifying : libblockdev-swap-2.18-5.el7.x86_64 2/36 \n Verifying : librhsm-0.0.3-3.el7_9.x86_64 3/36 \n Verifying : libblockdev-lvm-2.18-5.el7.x86_64 4/36 \n Verifying : lsof-4.87-6.el7.x86_64 5/36 \n Verifying : libblockdev-mdraid-2.18-5.el7.x86_64 6/36 \n Verifying : libdnf-0.22.5-2.el7_9.x86_64 7/36 \n Verifying : python-enum34-1.0.4-1.el7.noarch 8/36 \n Verifying : 1:blivet3-data-3.1.3-3.el7.noarch 9/36 \n Verifying : dmraid-events-1.0.0.rc16-28.el7.x86_64 10/36 \n Verifying : python2-blockdev-2.18-5.el7.x86_64 11/36 \n Verifying : libmodulemd-1.6.3-1.el7.x86_64 12/36 \n Verifying : librepo-1.8.1-8.el7_9.x86_64 13/36 \n Verifying : libblockdev-dm-2.18-5.el7.x86_64 14/36 \n Verifying : json-glib-1.4.2-2.el7.x86_64 15/36 \n Verifying : libaio-0.3.109-13.el7.x86_64 16/36 \n Verifying : 7:lvm2-libs-2.02.187-6.el7_9.5.x86_64 17/36 \n Verifying : python2-hawkey-0.22.5-2.el7_9.x86_64 18/36 \n Verifying : python2-bytesize-1.2-1.el7.x86_64 19/36 \n Verifying : libblockdev-2.18-5.el7.x86_64 20/36 \n Verifying : libreport-filesystem-2.1.11-53.el7.x86_64 21/36 \n Verifying : libbytesize-1.2-1.el7.x86_64 22/36 \n Verifying : 7:device-mapper-event-libs-1.02.170-6.el7_9.5.x86_64 23/36 \n Verifying : python2-libdnf-0.22.5-2.el7_9.x86_64 24/36 \n Verifying : 7:lvm2-2.02.187-6.el7_9.5.x86_64 25/36 \n Verifying : libblockdev-utils-2.18-5.el7.x86_64 26/36 \n Verifying : mpfr-3.1.1-4.el7.x86_64 27/36 \n Verifying : volume_key-libs-0.3.9-9.el7.x86_64 28/36 \n Verifying : libsolv-0.6.34-4.el7.x86_64 29/36 \n Verifying : device-mapper-persistent-data-0.8.5-3.el7_9.2.x86_64 30/36 \n Verifying : 1:python2-blivet3-3.1.3-3.el7.noarch 31/36 \n Verifying : dmraid-1.0.0.rc16-28.el7.x86_64 32/36 \n Verifying : mdadm-4.1-9.el7_9.x86_64 33/36 \n Verifying : sgpio-1.2.0.10-13.el7.x86_64 34/36 \n Verifying : libblockdev-crypto-2.18-5.el7.x86_64 35/36 \n Verifying : 1:pyparted-3.9-15.el7.x86_64 36/36 \n\nInstalled:\n libblockdev-crypto.x86_64 0:2.18-5.el7 libblockdev-dm.x86_64 0:2.18-5.el7 \n libblockdev-lvm.x86_64 0:2.18-5.el7 libblockdev-mdraid.x86_64 0:2.18-5.el7\n libblockdev-swap.x86_64 0:2.18-5.el7 python-enum34.noarch 0:1.0.4-1.el7 \n python2-blivet3.noarch 1:3.1.3-3.el7 \n\nDependency Installed:\n blivet3-data.noarch 1:3.1.3-3.el7 \n device-mapper-event.x86_64 7:1.02.170-6.el7_9.5 \n device-mapper-event-libs.x86_64 7:1.02.170-6.el7_9.5 \n device-mapper-persistent-data.x86_64 0:0.8.5-3.el7_9.2 \n dmraid.x86_64 0:1.0.0.rc16-28.el7 \n dmraid-events.x86_64 0:1.0.0.rc16-28.el7 \n json-glib.x86_64 0:1.4.2-2.el7 \n libaio.x86_64 0:0.3.109-13.el7 \n libblockdev.x86_64 0:2.18-5.el7 \n libblockdev-utils.x86_64 0:2.18-5.el7 \n libbytesize.x86_64 0:1.2-1.el7 \n libdnf.x86_64 0:0.22.5-2.el7_9 \n libmodulemd.x86_64 0:1.6.3-1.el7 \n librepo.x86_64 0:1.8.1-8.el7_9 \n libreport-filesystem.x86_64 0:2.1.11-53.el7 \n librhsm.x86_64 0:0.0.3-3.el7_9 \n libsolv.x86_64 0:0.6.34-4.el7 \n lsof.x86_64 0:4.87-6.el7 \n lvm2.x86_64 7:2.02.187-6.el7_9.5 \n lvm2-libs.x86_64 7:2.02.187-6.el7_9.5 \n mdadm.x86_64 0:4.1-9.el7_9 \n mpfr.x86_64 0:3.1.1-4.el7 \n pyparted.x86_64 1:3.9-15.el7 \n python2-blockdev.x86_64 0:2.18-5.el7 \n python2-bytesize.x86_64 0:1.2-1.el7 \n python2-hawkey.x86_64 0:0.22.5-2.el7_9 \n python2-libdnf.x86_64 0:0.22.5-2.el7_9 \n sgpio.x86_64 0:1.2.0.10-13.el7 \n volume_key-libs.x86_64 0:0.3.9-9.el7 \n\nComplete!\n" ] } TASK [linux-system-roles.storage : show storage_pools] ************************* task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:14 Thursday 21 July 2022 14:09:20 +0000 (0:00:08.749) 0:00:12.670 ********* ok: [/cache/rhel-7.qcow2] => { "storage_pools": "VARIABLE IS NOT DEFINED!: 'storage_pools' is undefined" } TASK [linux-system-roles.storage : show storage_volumes] *********************** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:19 Thursday 21 July 2022 14:09:20 +0000 (0:00:00.075) 0:00:12.746 ********* ok: [/cache/rhel-7.qcow2] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [linux-system-roles.storage : get required packages] ********************** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:24 Thursday 21 July 2022 14:09:20 +0000 (0:00:00.054) 0:00:12.800 ********* ok: [/cache/rhel-7.qcow2] => { "actions": [], "changed": false, "crypts": [], "leaves": [], "mounts": [], "packages": [], "pools": [], "volumes": [] } TASK [linux-system-roles.storage : enable copr repositories if needed] ********* task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:37 Thursday 21 July 2022 14:09:21 +0000 (0:00:00.621) 0:00:13.421 ********* included: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/enable_coprs.yml for /cache/rhel-7.qcow2 TASK [linux-system-roles.storage : check if the COPR support packages should be installed] *** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/enable_coprs.yml:2 Thursday 21 July 2022 14:09:21 +0000 (0:00:00.042) 0:00:13.464 ********* TASK [linux-system-roles.storage : make sure COPR support packages are present] *** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/enable_coprs.yml:13 Thursday 21 July 2022 14:09:21 +0000 (0:00:00.030) 0:00:13.494 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : enable COPRs] ******************************* task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/enable_coprs.yml:18 Thursday 21 July 2022 14:09:21 +0000 (0:00:00.033) 0:00:13.528 ********* TASK [linux-system-roles.storage : make sure required packages are installed] *** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:44 Thursday 21 July 2022 14:09:21 +0000 (0:00:00.028) 0:00:13.557 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "rc": 0, "results": [] } TASK [linux-system-roles.storage : get service facts] ************************** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 Thursday 21 July 2022 14:09:22 +0000 (0:00:00.531) 0:00:14.088 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "services": { "NetworkManager-dispatcher.service": { "name": "NetworkManager-dispatcher.service", "source": "systemd", "state": "inactive", "status": "enabled" }, "NetworkManager-wait-online.service": { "name": "NetworkManager-wait-online.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "NetworkManager.service": { "name": "NetworkManager.service", "source": "systemd", "state": "running", "status": "enabled" }, "arp-ethers.service": { "name": "arp-ethers.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "auditd.service": { "name": "auditd.service", "source": "systemd", "state": "running", "status": "enabled" }, "auth-rpcgss-module.service": { "name": "auth-rpcgss-module.service", "source": "systemd", "state": "stopped", "status": "static" }, "autovt@.service": { "name": "autovt@.service", "source": "systemd", "state": "unknown", "status": "enabled" }, "blivet.service": { "name": "blivet.service", "source": "systemd", "state": "inactive", "status": "static" }, "blk-availability.service": { "name": "blk-availability.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "brandbot.service": { "name": "brandbot.service", "source": "systemd", "state": "stopped", "status": "static" }, "chrony-dnssrv@.service": { "name": "chrony-dnssrv@.service", "source": "systemd", "state": "unknown", "status": "static" }, "chrony-wait.service": { "name": "chrony-wait.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "chronyd.service": { "name": "chronyd.service", "source": "systemd", "state": "running", "status": "enabled" }, "cloud-config.service": { "name": "cloud-config.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "cloud-final.service": { "name": "cloud-final.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "cloud-init-local.service": { "name": "cloud-init-local.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "cloud-init.service": { "name": "cloud-init.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "console-getty.service": { "name": "console-getty.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "console-shell.service": { "name": "console-shell.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "container-getty@.service": { "name": "container-getty@.service", "source": "systemd", "state": "unknown", "status": "static" }, "cpupower.service": { "name": "cpupower.service", "source": "systemd", "state": "stopped", "status": "disabled" }, "crond.service": { "name": "crond.service", "source": "systemd", "state": "running", "status": "enabled" }, "dbus-org.freedesktop.hostname1.service": { "name": "dbus-org.freedesktop.hostname1.service", "source": "systemd", "state": "active", "status": "static" }, "dbus-org.freedesktop.import1.service": { "name": "dbus-org.freedesktop.import1.service", "source": "systemd", "state": "inactive", "status": "static" }, "dbus-org.freedesktop.locale1.service": { "name": "dbus-org.freedesktop.locale1.service", "source": "systemd", "state": "inactive", "status": "static" }, "dbus-org.freedesktop.login1.service": { "name": "dbus-org.freedesktop.login1.service", "source": "systemd", "state": "active", "status": "static" }, "dbus-org.freedesktop.machine1.service": { "name": "dbus-org.freedesktop.machine1.service", "source": "systemd", "state": "inactive", "status": "static" }, "dbus-org.freedesktop.nm-dispatcher.service": { "name": "dbus-org.freedesktop.nm-dispatcher.service", "source": "systemd", "state": "inactive", "status": "enabled" }, "dbus-org.freedesktop.timedate1.service": { "name": "dbus-org.freedesktop.timedate1.service", "source": "systemd", "state": "inactive", "status": "static" }, "dbus.service": { "name": "dbus.service", "source": "systemd", "state": "running", "status": "static" }, "debug-shell.service": { "name": "debug-shell.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "display-manager.service": { "name": "display-manager.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "dm-event.service": { "name": "dm-event.service", "source": "systemd", "state": "stopped", "status": "static" }, "dmraid-activation.service": { "name": "dmraid-activation.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "dracut-cmdline.service": { "name": "dracut-cmdline.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-initqueue.service": { "name": "dracut-initqueue.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-mount.service": { "name": "dracut-mount.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-pre-mount.service": { "name": "dracut-pre-mount.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-pre-pivot.service": { "name": "dracut-pre-pivot.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-pre-trigger.service": { "name": "dracut-pre-trigger.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-pre-udev.service": { "name": "dracut-pre-udev.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-shutdown.service": { "name": "dracut-shutdown.service", "source": "systemd", "state": "stopped", "status": "static" }, "emergency.service": { "name": "emergency.service", "source": "systemd", "state": "stopped", "status": "static" }, "exim.service": { "name": "exim.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "fstrim.service": { "name": "fstrim.service", "source": "systemd", "state": "inactive", "status": "static" }, "getty@.service": { "name": "getty@.service", "source": "systemd", "state": "unknown", "status": "enabled" }, "getty@tty1.service": { "name": "getty@tty1.service", "source": "systemd", "state": "running", "status": "active" }, "gssproxy.service": { "name": "gssproxy.service", "source": "systemd", "state": "running", "status": "disabled" }, "halt-local.service": { "name": "halt-local.service", "source": "systemd", "state": "inactive", "status": "static" }, "initrd-cleanup.service": { "name": "initrd-cleanup.service", "source": "systemd", "state": "stopped", "status": "static" }, "initrd-parse-etc.service": { "name": "initrd-parse-etc.service", "source": "systemd", "state": "stopped", "status": "static" }, "initrd-switch-root.service": { "name": "initrd-switch-root.service", "source": "systemd", "state": "stopped", "status": "static" }, "initrd-udevadm-cleanup-db.service": { "name": "initrd-udevadm-cleanup-db.service", "source": "systemd", "state": "stopped", "status": "static" }, "ip6tables.service": { "name": "ip6tables.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "iptables.service": { "name": "iptables.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "irqbalance.service": { "name": "irqbalance.service", "source": "systemd", "state": "running", "status": "enabled" }, "kdump.service": { "name": "kdump.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "kmod-static-nodes.service": { "name": "kmod-static-nodes.service", "source": "systemd", "state": "stopped", "status": "static" }, "lvm2-activation-early.service": { "name": "lvm2-activation-early.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "lvm2-activation.service": { "name": "lvm2-activation.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "lvm2-lvmetad.service": { "name": "lvm2-lvmetad.service", "source": "systemd", "state": "running", "status": "static" }, "lvm2-lvmpolld.service": { "name": "lvm2-lvmpolld.service", "source": "systemd", "state": "stopped", "status": "static" }, "lvm2-monitor.service": { "name": "lvm2-monitor.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "lvm2-pvscan@.service": { "name": "lvm2-pvscan@.service", "source": "systemd", "state": "unknown", "status": "static" }, "mdadm-grow-continue@.service": { "name": "mdadm-grow-continue@.service", "source": "systemd", "state": "unknown", "status": "static" }, "mdadm-last-resort@.service": { "name": "mdadm-last-resort@.service", "source": "systemd", "state": "unknown", "status": "static" }, "mdcheck_continue.service": { "name": "mdcheck_continue.service", "source": "systemd", "state": "inactive", "status": "static" }, "mdcheck_start.service": { "name": "mdcheck_start.service", "source": "systemd", "state": "inactive", "status": "static" }, "mdmon@.service": { "name": "mdmon@.service", "source": "systemd", "state": "unknown", "status": "static" }, "mdmonitor-oneshot.service": { "name": "mdmonitor-oneshot.service", "source": "systemd", "state": "inactive", "status": "static" }, "mdmonitor.service": { "name": "mdmonitor.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "messagebus.service": { "name": "messagebus.service", "source": "systemd", "state": "active", "status": "static" }, "microcode.service": { "name": "microcode.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "netconsole": { "name": "netconsole", "source": "sysv", "state": "stopped", "status": "disabled" }, "network": { "name": "network", "source": "sysv", "state": "running", "status": "enabled" }, "network.service": { "name": "network.service", "source": "systemd", "state": "stopped", "status": "active" }, "nfs-blkmap.service": { "name": "nfs-blkmap.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "nfs-config.service": { "name": "nfs-config.service", "source": "systemd", "state": "stopped", "status": "static" }, "nfs-idmap.service": { "name": "nfs-idmap.service", "source": "systemd", "state": "inactive", "status": "static" }, "nfs-idmapd.service": { "name": "nfs-idmapd.service", "source": "systemd", "state": "stopped", "status": "static" }, "nfs-lock.service": { "name": "nfs-lock.service", "source": "systemd", "state": "inactive", "status": "static" }, "nfs-mountd.service": { "name": "nfs-mountd.service", "source": "systemd", "state": "stopped", "status": "static" }, "nfs-rquotad.service": { "name": "nfs-rquotad.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "nfs-secure-server.service": { "name": "nfs-secure-server.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "nfs-secure.service": { "name": "nfs-secure.service", "source": "systemd", "state": "inactive", "status": "static" }, "nfs-server.service": { "name": "nfs-server.service", "source": "systemd", "state": "stopped", "status": "disabled" }, "nfs-utils.service": { "name": "nfs-utils.service", "source": "systemd", "state": "stopped", "status": "static" }, "nfs.service": { "name": "nfs.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "nfslock.service": { "name": "nfslock.service", "source": "systemd", "state": "inactive", "status": "static" }, "ntpd.service": { "name": "ntpd.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "ntpdate.service": { "name": "ntpdate.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "ovirt-guest-agent.service": { "name": "ovirt-guest-agent.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "plymouth-quit-wait.service": { "name": "plymouth-quit-wait.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "plymouth-start.service": { "name": "plymouth-start.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "polkit.service": { "name": "polkit.service", "source": "systemd", "state": "running", "status": "static" }, "postfix.service": { "name": "postfix.service", "source": "systemd", "state": "running", "status": "enabled" }, "qemu-guest-agent.service": { "name": "qemu-guest-agent.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "quotaon.service": { "name": "quotaon.service", "source": "systemd", "state": "inactive", "status": "static" }, "rc-local.service": { "name": "rc-local.service", "source": "systemd", "state": "stopped", "status": "static" }, "rdisc.service": { "name": "rdisc.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "rescue.service": { "name": "rescue.service", "source": "systemd", "state": "stopped", "status": "static" }, "rhcd.service": { "name": "rhcd.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "rhel-autorelabel-mark.service": { "name": "rhel-autorelabel-mark.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "rhel-autorelabel.service": { "name": "rhel-autorelabel.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "rhel-configure.service": { "name": "rhel-configure.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "rhel-dmesg.service": { "name": "rhel-dmesg.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "rhel-domainname.service": { "name": "rhel-domainname.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "rhel-import-state.service": { "name": "rhel-import-state.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "rhel-loadmodules.service": { "name": "rhel-loadmodules.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "rhel-readonly.service": { "name": "rhel-readonly.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "rhnsd": { "name": "rhnsd", "source": "sysv", "state": "running", "status": "enabled" }, "rhnsd.service": { "name": "rhnsd.service", "source": "systemd", "state": "running", "status": "active" }, "rhsm-facts.service": { "name": "rhsm-facts.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "rhsm.service": { "name": "rhsm.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "rhsmcertd.service": { "name": "rhsmcertd.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "rpc-gssd.service": { "name": "rpc-gssd.service", "source": "systemd", "state": "stopped", "status": "static" }, "rpc-rquotad.service": { "name": "rpc-rquotad.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "rpc-statd-notify.service": { "name": "rpc-statd-notify.service", "source": "systemd", "state": "stopped", "status": "static" }, "rpc-statd.service": { "name": "rpc-statd.service", "source": "systemd", "state": "stopped", "status": "static" }, "rpcbind.service": { "name": "rpcbind.service", "source": "systemd", "state": "running", "status": "enabled" }, "rpcgssd.service": { "name": "rpcgssd.service", "source": "systemd", "state": "inactive", "status": "static" }, "rpcidmapd.service": { "name": "rpcidmapd.service", "source": "systemd", "state": "inactive", "status": "static" }, "rsyncd.service": { "name": "rsyncd.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "rsyncd@.service": { "name": "rsyncd@.service", "source": "systemd", "state": "unknown", "status": "static" }, "rsyslog.service": { "name": "rsyslog.service", "source": "systemd", "state": "running", "status": "enabled" }, "selinux-policy-migrate-local-changes@.service": { "name": "selinux-policy-migrate-local-changes@.service", "source": "systemd", "state": "unknown", "status": "static" }, "selinux-policy-migrate-local-changes@targeted.service": { "name": "selinux-policy-migrate-local-changes@targeted.service", "source": "systemd", "state": "stopped", "status": "active" }, "sendmail.service": { "name": "sendmail.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "serial-getty@.service": { "name": "serial-getty@.service", "source": "systemd", "state": "unknown", "status": "disabled" }, "serial-getty@ttyS0.service": { "name": "serial-getty@ttyS0.service", "source": "systemd", "state": "running", "status": "active" }, "sntp.service": { "name": "sntp.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "sshd-keygen.service": { "name": "sshd-keygen.service", "source": "systemd", "state": "stopped", "status": "static" }, "sshd.service": { "name": "sshd.service", "source": "systemd", "state": "running", "status": "enabled" }, "sshd@.service": { "name": "sshd@.service", "source": "systemd", "state": "unknown", "status": "static" }, "syslog.service": { "name": "syslog.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "systemd-ask-password-console.service": { "name": "systemd-ask-password-console.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-ask-password-wall.service": { "name": "systemd-ask-password-wall.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-backlight@.service": { "name": "systemd-backlight@.service", "source": "systemd", "state": "unknown", "status": "static" }, "systemd-binfmt.service": { "name": "systemd-binfmt.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-bootchart.service": { "name": "systemd-bootchart.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "systemd-firstboot.service": { "name": "systemd-firstboot.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-fsck-root.service": { "name": "systemd-fsck-root.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-fsck@.service": { "name": "systemd-fsck@.service", "source": "systemd", "state": "unknown", "status": "static" }, "systemd-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": "running", "status": "static" }, "systemd-hwdb-update.service": { "name": "systemd-hwdb-update.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-hybrid-sleep.service": { "name": "systemd-hybrid-sleep.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-importd.service": { "name": "systemd-importd.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-initctl.service": { "name": "systemd-initctl.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-journal-catalog-update.service": { "name": "systemd-journal-catalog-update.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-journal-flush.service": { "name": "systemd-journal-flush.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-journald.service": { "name": "systemd-journald.service", "source": "systemd", "state": "running", "status": "static" }, "systemd-kexec.service": { "name": "systemd-kexec.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-localed.service": { "name": "systemd-localed.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-logind.service": { "name": "systemd-logind.service", "source": "systemd", "state": "running", "status": "static" }, "systemd-machine-id-commit.service": { "name": "systemd-machine-id-commit.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-machined.service": { "name": "systemd-machined.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-modules-load.service": { "name": "systemd-modules-load.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-nspawn@.service": { "name": "systemd-nspawn@.service", "source": "systemd", "state": "unknown", "status": "disabled" }, "systemd-poweroff.service": { "name": "systemd-poweroff.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-quotacheck.service": { "name": "systemd-quotacheck.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-random-seed.service": { "name": "systemd-random-seed.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-readahead-collect.service": { "name": "systemd-readahead-collect.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "systemd-readahead-done.service": { "name": "systemd-readahead-done.service", "source": "systemd", "state": "stopped", "status": "indirect" }, "systemd-readahead-drop.service": { "name": "systemd-readahead-drop.service", "source": "systemd", "state": "inactive", "status": "enabled" }, "systemd-readahead-replay.service": { "name": "systemd-readahead-replay.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "systemd-reboot.service": { "name": "systemd-reboot.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-remount-fs.service": { "name": "systemd-remount-fs.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-rfkill@.service": { "name": "systemd-rfkill@.service", "source": "systemd", "state": "unknown", "status": "static" }, "systemd-shutdownd.service": { "name": "systemd-shutdownd.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-suspend.service": { "name": "systemd-suspend.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-sysctl.service": { "name": "systemd-sysctl.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-sysusers.service": { "name": "systemd-sysusers.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "systemd-timedated.service": { "name": "systemd-timedated.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-timesyncd.service": { "name": "systemd-timesyncd.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "systemd-tmpfiles-clean.service": { "name": "systemd-tmpfiles-clean.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-tmpfiles-setup-dev.service": { "name": "systemd-tmpfiles-setup-dev.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-tmpfiles-setup.service": { "name": "systemd-tmpfiles-setup.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-udev-settle.service": { "name": "systemd-udev-settle.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-udev-trigger.service": { "name": "systemd-udev-trigger.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-udevd.service": { "name": "systemd-udevd.service", "source": "systemd", "state": "running", "status": "static" }, "systemd-update-done.service": { "name": "systemd-update-done.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-update-utmp-runlevel.service": { "name": "systemd-update-utmp-runlevel.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-update-utmp.service": { "name": "systemd-update-utmp.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-user-sessions.service": { "name": "systemd-user-sessions.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-vconsole-setup.service": { "name": "systemd-vconsole-setup.service", "source": "systemd", "state": "stopped", "status": "static" }, "teamd@.service": { "name": "teamd@.service", "source": "systemd", "state": "unknown", "status": "static" }, "tuned.service": { "name": "tuned.service", "source": "systemd", "state": "running", "status": "enabled" }, "wpa_supplicant.service": { "name": "wpa_supplicant.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "ypbind.service": { "name": "ypbind.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "yppasswdd.service": { "name": "yppasswdd.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "ypserv.service": { "name": "ypserv.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "ypxfrd.service": { "name": "ypxfrd.service", "source": "systemd", "state": "stopped", "status": "not-found" } } }, "changed": false } TASK [linux-system-roles.storage : Set storage_cryptsetup_services] ************ task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 14:09:23 +0000 (0:00:01.130) 0:00:15.219 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [linux-system-roles.storage : Mask the systemd cryptsetup services] ******* task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:71 Thursday 21 July 2022 14:09:23 +0000 (0:00:00.061) 0:00:15.280 ********* TASK [linux-system-roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Thursday 21 July 2022 14:09:23 +0000 (0:00:00.020) 0:00:15.301 ********* ok: [/cache/rhel-7.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/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:91 Thursday 21 July 2022 14:09:23 +0000 (0:00:00.489) 0:00:15.791 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Unmask the systemd cryptsetup services] ***** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:103 Thursday 21 July 2022 14:09:23 +0000 (0:00:00.036) 0:00:15.827 ********* TASK [linux-system-roles.storage : show blivet_output] ************************* task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:109 Thursday 21 July 2022 14:09:23 +0000 (0:00:00.018) 0:00:15.846 ********* ok: [/cache/rhel-7.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/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:114 Thursday 21 July 2022 14:09:23 +0000 (0:00:00.032) 0:00:15.878 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_pools_list": [] }, "changed": false } TASK [linux-system-roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:118 Thursday 21 July 2022 14:09:23 +0000 (0:00:00.030) 0:00:15.909 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : remove obsolete mounts] ********************* task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:134 Thursday 21 July 2022 14:09:23 +0000 (0:00:00.033) 0:00:15.942 ********* TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:146 Thursday 21 July 2022 14:09:23 +0000 (0:00:00.030) 0:00:15.973 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : set up new/current mounts] ****************** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:151 Thursday 21 July 2022 14:09:23 +0000 (0:00:00.023) 0:00:15.997 ********* TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:163 Thursday 21 July 2022 14:09:23 +0000 (0:00:00.034) 0:00:16.031 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:171 Thursday 21 July 2022 14:09:23 +0000 (0:00:00.024) 0:00:16.056 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "stat": { "atime": 1658412558.1759725, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1658201031.524, "dev": 64769, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 70, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "inode/x-empty", "mode": "0600", "mtime": 1658200515.884, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "18446744071677828413", "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/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:176 Thursday 21 July 2022 14:09:24 +0000 (0:00:00.435) 0:00:16.492 ********* TASK [linux-system-roles.storage : Update facts] ******************************* task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 Thursday 21 July 2022 14:09:24 +0000 (0:00:00.021) 0:00:16.513 ********* ok: [/cache/rhel-7.qcow2] META: role_complete for /cache/rhel-7.qcow2 TASK [Mark tasks to be skipped] ************************************************ task path: /tmp/tmpaxjje44y/tests/tests_create_raid_pool_then_remove.yml:20 Thursday 21 July 2022 14:09:25 +0000 (0:00:00.851) 0:00:17.365 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_skip_checks": [ "blivet_available", "packages_installed", "service_facts" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpaxjje44y/tests/tests_create_raid_pool_then_remove.yml:27 Thursday 21 July 2022 14:09:25 +0000 (0:00:00.032) 0:00:17.397 ********* included: /tmp/tmpaxjje44y/tests/get_unused_disk.yml for /cache/rhel-7.qcow2 TASK [Find unused disks in the system] ***************************************** task path: /tmp/tmpaxjje44y/tests/get_unused_disk.yml:2 Thursday 21 July 2022 14:09:25 +0000 (0:00:00.036) 0:00:17.433 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "disks": [ "sdb", "sdc" ] } TASK [Set unused_disks if necessary] ******************************************* task path: /tmp/tmpaxjje44y/tests/get_unused_disk.yml:9 Thursday 21 July 2022 14:09:25 +0000 (0:00:00.471) 0:00:17.905 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "unused_disks": [ "sdb", "sdc" ] }, "changed": false } TASK [Exit playbook when there's not enough unused disks in the system] ******** task path: /tmp/tmpaxjje44y/tests/get_unused_disk.yml:14 Thursday 21 July 2022 14:09:25 +0000 (0:00:00.034) 0:00:17.940 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Print unused disks] ****************************************************** task path: /tmp/tmpaxjje44y/tests/get_unused_disk.yml:19 Thursday 21 July 2022 14:09:25 +0000 (0:00:00.035) 0:00:17.975 ********* ok: [/cache/rhel-7.qcow2] => { "unused_disks": [ "sdb", "sdc" ] } TASK [Create a RAID0 device] *************************************************** task path: /tmp/tmpaxjje44y/tests/tests_create_raid_pool_then_remove.yml:31 Thursday 21 July 2022 14:09:25 +0000 (0:00:00.033) 0:00:18.009 ********* TASK [linux-system-roles.storage : set platform/version specific variables] **** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Thursday 21 July 2022 14:09:25 +0000 (0:00:00.042) 0:00:18.051 ********* included: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/set_vars.yml for /cache/rhel-7.qcow2 TASK [linux-system-roles.storage : Ensure ansible_facts used by role] ********** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Thursday 21 July 2022 14:09:26 +0000 (0:00:00.032) 0:00:18.083 ********* ok: [/cache/rhel-7.qcow2] TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Thursday 21 July 2022 14:09:26 +0000 (0:00:00.406) 0:00:18.489 ********* skipping: [/cache/rhel-7.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-7.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/rhel-7.qcow2] => (item=RedHat_7.yml) => { "ansible_facts": { "__storage_blivet_diskvolume_mkfs_option_map": { "ext2": "-F", "ext3": "-F", "ext4": "-F" }, "blivet_package_list": [ "python-enum34", "python-blivet3", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap" ] }, "ansible_included_var_files": [ "/tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/vars/RedHat_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_7.yml" } skipping: [/cache/rhel-7.qcow2] => (item=RedHat_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_7.9.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Thursday 21 July 2022 14:09:26 +0000 (0:00:00.056) 0:00:18.546 ********* ok: [/cache/rhel-7.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/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Thursday 21 July 2022 14:09:26 +0000 (0:00:00.029) 0:00:18.576 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : include the appropriate provider tasks] ***** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Thursday 21 July 2022 14:09:26 +0000 (0:00:00.030) 0:00:18.606 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml for /cache/rhel-7.qcow2 TASK [linux-system-roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 14:09:26 +0000 (0:00:00.046) 0:00:18.652 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure blivet is available] ************** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 14:09:26 +0000 (0:00:00.020) 0:00:18.673 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : show storage_pools] ************************* task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:14 Thursday 21 July 2022 14:09:26 +0000 (0:00:00.028) 0:00:18.702 ********* ok: [/cache/rhel-7.qcow2] => { "storage_pools": [ { "disks": [ "sdb", "sdc" ], "name": "vg1", "raid_level": "raid0", "state": "present", "type": "lvm", "volumes": [ { "mount_point": "/opt/test1", "name": "lv1", "size": "2g" }, { "mount_point": "/opt/test2", "name": "lv2", "size": "3g" }, { "mount_point": "/opt/test3", "name": "lv3", "size": "3g" } ] } ] } TASK [linux-system-roles.storage : show storage_volumes] *********************** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:19 Thursday 21 July 2022 14:09:26 +0000 (0:00:00.040) 0:00:18.742 ********* ok: [/cache/rhel-7.qcow2] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [linux-system-roles.storage : get required packages] ********************** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:24 Thursday 21 July 2022 14:09:26 +0000 (0:00:00.033) 0:00:18.776 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : enable copr repositories if needed] ********* task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:37 Thursday 21 July 2022 14:09:26 +0000 (0:00:00.026) 0:00:18.803 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure required packages are installed] *** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:44 Thursday 21 July 2022 14:09:26 +0000 (0:00:00.027) 0:00:18.831 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : get service facts] ************************** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 Thursday 21 July 2022 14:09:26 +0000 (0:00:00.028) 0:00:18.859 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set storage_cryptsetup_services] ************ task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 14:09:26 +0000 (0:00:00.026) 0:00:18.886 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [linux-system-roles.storage : Mask the systemd cryptsetup services] ******* task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:71 Thursday 21 July 2022 14:09:26 +0000 (0:00:00.056) 0:00:18.943 ********* TASK [linux-system-roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Thursday 21 July 2022 14:09:26 +0000 (0:00:00.022) 0:00:18.965 ********* changed: [/cache/rhel-7.qcow2] => { "actions": [ { "action": "create format", "device": "/dev/sdc", "fs_type": "disklabel" }, { "action": "create device", "device": "/dev/sdc1", "fs_type": null }, { "action": "create format", "device": "/dev/sdc1", "fs_type": "mdmember" }, { "action": "create format", "device": "/dev/sdb", "fs_type": "disklabel" }, { "action": "create device", "device": "/dev/sdb1", "fs_type": null }, { "action": "create format", "device": "/dev/sdb1", "fs_type": "mdmember" }, { "action": "create device", "device": "/dev/md/vg1-1", "fs_type": null }, { "action": "create format", "device": "/dev/md/vg1-1", "fs_type": "lvmpv" }, { "action": "create device", "device": "/dev/vg1", "fs_type": null }, { "action": "create device", "device": "/dev/mapper/vg1-lv3", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/vg1-lv3", "fs_type": "xfs" }, { "action": "create device", "device": "/dev/mapper/vg1-lv2", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/vg1-lv2", "fs_type": "xfs" }, { "action": "create device", "device": "/dev/mapper/vg1-lv1", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/vg1-lv1", "fs_type": "xfs" } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/sda", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb", "/dev/vdc", "/dev/vdd", "/dev/mapper/vg1-lv1", "/dev/mapper/vg1-lv2", "/dev/mapper/vg1-lv3" ], "mounts": [ { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/vg1-lv1", "state": "mounted" }, { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test2", "src": "/dev/mapper/vg1-lv2", "state": "mounted" }, { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test3", "src": "/dev/mapper/vg1-lv3", "state": "mounted" } ], "packages": [ "xfsprogs", "mdadm", "lvm2" ], "pools": [ { "disks": [ "sdb", "sdc" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": "raid0", "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_kernel_device": "/dev/dm-2", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "_raw_kernel_device": "/dev/dm-2", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "/dev/mapper/vg1-lv2", "_kernel_device": "/dev/dm-1", "_mount_id": "/dev/mapper/vg1-lv2", "_raw_device": "/dev/mapper/vg1-lv2", "_raw_kernel_device": "/dev/dm-1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "lv2", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "/dev/mapper/vg1-lv3", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/vg1-lv3", "_raw_device": "/dev/mapper/vg1-lv3", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test3", "name": "lv3", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } TASK [linux-system-roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:91 Thursday 21 July 2022 14:09:34 +0000 (0:00:07.941) 0:00:26.906 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Unmask the systemd cryptsetup services] ***** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:103 Thursday 21 July 2022 14:09:34 +0000 (0:00:00.038) 0:00:26.945 ********* TASK [linux-system-roles.storage : show blivet_output] ************************* task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:109 Thursday 21 July 2022 14:09:34 +0000 (0:00:00.020) 0:00:26.966 ********* ok: [/cache/rhel-7.qcow2] => { "blivet_output": { "actions": [ { "action": "create format", "device": "/dev/sdc", "fs_type": "disklabel" }, { "action": "create device", "device": "/dev/sdc1", "fs_type": null }, { "action": "create format", "device": "/dev/sdc1", "fs_type": "mdmember" }, { "action": "create format", "device": "/dev/sdb", "fs_type": "disklabel" }, { "action": "create device", "device": "/dev/sdb1", "fs_type": null }, { "action": "create format", "device": "/dev/sdb1", "fs_type": "mdmember" }, { "action": "create device", "device": "/dev/md/vg1-1", "fs_type": null }, { "action": "create format", "device": "/dev/md/vg1-1", "fs_type": "lvmpv" }, { "action": "create device", "device": "/dev/vg1", "fs_type": null }, { "action": "create device", "device": "/dev/mapper/vg1-lv3", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/vg1-lv3", "fs_type": "xfs" }, { "action": "create device", "device": "/dev/mapper/vg1-lv2", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/vg1-lv2", "fs_type": "xfs" }, { "action": "create device", "device": "/dev/mapper/vg1-lv1", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/vg1-lv1", "fs_type": "xfs" } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/sda", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb", "/dev/vdc", "/dev/vdd", "/dev/mapper/vg1-lv1", "/dev/mapper/vg1-lv2", "/dev/mapper/vg1-lv3" ], "mounts": [ { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/vg1-lv1", "state": "mounted" }, { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test2", "src": "/dev/mapper/vg1-lv2", "state": "mounted" }, { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test3", "src": "/dev/mapper/vg1-lv3", "state": "mounted" } ], "packages": [ "xfsprogs", "mdadm", "lvm2" ], "pools": [ { "disks": [ "sdb", "sdc" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": "raid0", "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_kernel_device": "/dev/dm-2", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "_raw_kernel_device": "/dev/dm-2", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "/dev/mapper/vg1-lv2", "_kernel_device": "/dev/dm-1", "_mount_id": "/dev/mapper/vg1-lv2", "_raw_device": "/dev/mapper/vg1-lv2", "_raw_kernel_device": "/dev/dm-1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "lv2", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "/dev/mapper/vg1-lv3", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/vg1-lv3", "_raw_device": "/dev/mapper/vg1-lv3", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test3", "name": "lv3", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } } TASK [linux-system-roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:114 Thursday 21 July 2022 14:09:34 +0000 (0:00:00.038) 0:00:27.004 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sdb", "sdc" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": "raid0", "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_kernel_device": "/dev/dm-2", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "_raw_kernel_device": "/dev/dm-2", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "/dev/mapper/vg1-lv2", "_kernel_device": "/dev/dm-1", "_mount_id": "/dev/mapper/vg1-lv2", "_raw_device": "/dev/mapper/vg1-lv2", "_raw_kernel_device": "/dev/dm-1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "lv2", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "/dev/mapper/vg1-lv3", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/vg1-lv3", "_raw_device": "/dev/mapper/vg1-lv3", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test3", "name": "lv3", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] }, "changed": false } TASK [linux-system-roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:118 Thursday 21 July 2022 14:09:34 +0000 (0:00:00.035) 0:00:27.040 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : remove obsolete mounts] ********************* task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:134 Thursday 21 July 2022 14:09:34 +0000 (0:00:00.033) 0:00:27.073 ********* TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:146 Thursday 21 July 2022 14:09:35 +0000 (0:00:00.034) 0:00:27.108 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : set up new/current mounts] ****************** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:151 Thursday 21 July 2022 14:09:35 +0000 (0:00:00.745) 0:00:27.853 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/rhel-7.qcow2] => (item={'src': '/dev/mapper/vg1-lv1', 'dump': 0, 'passno': 0, 'fstype': 'xfs', 'state': 'mounted', 'path': '/opt/test1', 'opts': 'defaults'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "xfs", "mount_info": { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/vg1-lv1", "state": "mounted" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "/dev/mapper/vg1-lv1" } redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/rhel-7.qcow2] => (item={'src': '/dev/mapper/vg1-lv2', 'dump': 0, 'passno': 0, 'fstype': 'xfs', 'state': 'mounted', 'path': '/opt/test2', 'opts': 'defaults'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "xfs", "mount_info": { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test2", "src": "/dev/mapper/vg1-lv2", "state": "mounted" }, "name": "/opt/test2", "opts": "defaults", "passno": "0", "src": "/dev/mapper/vg1-lv2" } redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/rhel-7.qcow2] => (item={'src': '/dev/mapper/vg1-lv3', 'dump': 0, 'passno': 0, 'fstype': 'xfs', 'state': 'mounted', 'path': '/opt/test3', 'opts': 'defaults'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "xfs", "mount_info": { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test3", "src": "/dev/mapper/vg1-lv3", "state": "mounted" }, "name": "/opt/test3", "opts": "defaults", "passno": "0", "src": "/dev/mapper/vg1-lv3" } TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:163 Thursday 21 July 2022 14:09:37 +0000 (0:00:02.094) 0:00:29.948 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:171 Thursday 21 July 2022 14:09:38 +0000 (0:00:00.445) 0:00:30.394 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "stat": { "atime": 1658412558.1759725, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1658201031.524, "dev": 64769, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 70, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "inode/x-empty", "mode": "0600", "mtime": 1658200515.884, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "18446744071677828413", "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/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:176 Thursday 21 July 2022 14:09:38 +0000 (0:00:00.316) 0:00:30.711 ********* TASK [linux-system-roles.storage : Update facts] ******************************* task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 Thursday 21 July 2022 14:09:38 +0000 (0:00:00.023) 0:00:30.734 ********* ok: [/cache/rhel-7.qcow2] META: role_complete for /cache/rhel-7.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmpaxjje44y/tests/tests_create_raid_pool_then_remove.yml:52 Thursday 21 July 2022 14:09:39 +0000 (0:00:00.867) 0:00:31.602 ********* included: /tmp/tmpaxjje44y/tests/verify-role-results.yml for /cache/rhel-7.qcow2 TASK [Print out pool information] ********************************************** task path: /tmp/tmpaxjje44y/tests/verify-role-results.yml:1 Thursday 21 July 2022 14:09:39 +0000 (0:00:00.041) 0:00:31.644 ********* ok: [/cache/rhel-7.qcow2] => { "_storage_pools_list": [ { "disks": [ "sdb", "sdc" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": "raid0", "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_kernel_device": "/dev/dm-2", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "_raw_kernel_device": "/dev/dm-2", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "/dev/mapper/vg1-lv2", "_kernel_device": "/dev/dm-1", "_mount_id": "/dev/mapper/vg1-lv2", "_raw_device": "/dev/mapper/vg1-lv2", "_raw_kernel_device": "/dev/dm-1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "lv2", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "/dev/mapper/vg1-lv3", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/vg1-lv3", "_raw_device": "/dev/mapper/vg1-lv3", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test3", "name": "lv3", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] } TASK [Print out volume information] ******************************************** task path: /tmp/tmpaxjje44y/tests/verify-role-results.yml:6 Thursday 21 July 2022 14:09:39 +0000 (0:00:00.091) 0:00:31.736 ********* skipping: [/cache/rhel-7.qcow2] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpaxjje44y/tests/verify-role-results.yml:14 Thursday 21 July 2022 14:09:39 +0000 (0:00:00.034) 0:00:31.771 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "info": { "/dev/fd0": { "fstype": "", "label": "", "name": "/dev/fd0", "size": "4K", "type": "disk", "uuid": "" }, "/dev/mapper/vg1-lv1": { "fstype": "xfs", "label": "", "name": "/dev/mapper/vg1-lv1", "size": "2G", "type": "lvm", "uuid": "f62cb6f2-0c1f-4b19-b491-54dedc6c78ce" }, "/dev/mapper/vg1-lv2": { "fstype": "xfs", "label": "", "name": "/dev/mapper/vg1-lv2", "size": "3G", "type": "lvm", "uuid": "30e6a2b6-e013-48b6-8993-6c0bae9a6165" }, "/dev/mapper/vg1-lv3": { "fstype": "xfs", "label": "", "name": "/dev/mapper/vg1-lv3", "size": "3G", "type": "lvm", "uuid": "0117e58b-0755-4131-95e1-02280925665b" }, "/dev/md/vg1-1": { "fstype": "LVM2_member", "label": "", "name": "/dev/md/vg1-1", "size": "20G", "type": "raid0", "uuid": "cYT9NM-aPhC-6c5r-dBQJ-2fmd-ZxZ6-L3lIe2" }, "/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/sdb1": { "fstype": "linux_raid_member", "label": "vg1-1", "name": "/dev/sdb1", "size": "10G", "type": "partition", "uuid": "8e6d8c75-968c-b411-cc8e-9d5e853c7034" }, "/dev/sdc": { "fstype": "", "label": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdc1": { "fstype": "linux_raid_member", "label": "vg1-1", "name": "/dev/sdc1", "size": "10G", "type": "partition", "uuid": "8e6d8c75-968c-b411-cc8e-9d5e853c7034" }, "/dev/sr0": { "fstype": "iso9660", "label": "cidata", "name": "/dev/sr0", "size": "364K", "type": "rom", "uuid": "2022-07-21-14-08-55-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "xfs", "label": "", "name": "/dev/vda1", "size": "10G", "type": "partition", "uuid": "21864ae1-1c29-4009-a1c2-151e41d0e053" }, "/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/tmpaxjje44y/tests/verify-role-results.yml:19 Thursday 21 July 2022 14:09:40 +0000 (0:00:00.419) 0:00:32.190 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.003501", "end": "2022-07-21 10:09:40.227689", "rc": 0, "start": "2022-07-21 10:09:40.224188" } STDOUT: # # /etc/fstab # Created by anaconda on Tue Jul 19 03:15:15 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 # UUID=21864ae1-1c29-4009-a1c2-151e41d0e053 / xfs defaults 0 0 /dev/mapper/vg1-lv1 /opt/test1 xfs defaults 0 0 /dev/mapper/vg1-lv2 /opt/test2 xfs defaults 0 0 /dev/mapper/vg1-lv3 /opt/test3 xfs defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpaxjje44y/tests/verify-role-results.yml:24 Thursday 21 July 2022 14:09:40 +0000 (0:00:00.404) 0:00:32.595 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.003324", "end": "2022-07-21 10:09:40.529775", "failed_when_result": false, "rc": 0, "start": "2022-07-21 10:09:40.526451" } TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmpaxjje44y/tests/verify-role-results.yml:33 Thursday 21 July 2022 14:09:40 +0000 (0:00:00.299) 0:00:32.894 ********* included: /tmp/tmpaxjje44y/tests/test-verify-pool.yml for /cache/rhel-7.qcow2 => (item={'name': 'vg1', 'encryption_password': None, 'state': 'present', 'raid_metadata_version': None, 'encryption': False, 'encryption_key_size': None, 'disks': ['sdb', 'sdc'], 'raid_level': 'raid0', 'encryption_luks_version': None, 'raid_device_count': None, 'encryption_key': None, 'volumes': [{'_raw_device': '/dev/mapper/vg1-lv1', 'raid_metadata_version': None, 'raid_level': None, 'fs_type': 'xfs', 'mount_options': 'defaults', 'type': 'lvm', '_device': '/dev/mapper/vg1-lv1', 'size': '2g', 'mount_point': '/opt/test1', 'compression': None, 'encryption_password': None, '_kernel_device': '/dev/dm-2', 'encryption': False, 'mount_device_identifier': 'uuid', 'name': 'lv1', 'raid_device_count': None, 'state': 'present', 'vdo_pool_size': None, 'thin_pool_name': None, 'thin_pool_size': None, 'encryption_key_size': None, 'encryption_cipher': None, 'encryption_key': None, 'fs_label': '', 'encryption_luks_version': None, 'cache_size': 0, '_mount_id': '/dev/mapper/vg1-lv1', 'raid_spare_count': None, 'raid_disks': [], '_raw_kernel_device': '/dev/dm-2', 'cache_mode': None, 'deduplication': None, 'cached': False, 'fs_overwrite_existing': True, 'disks': [], 'thin': False, 'mount_check': 0, 'mount_passno': 0, 'raid_chunk_size': None, 'cache_devices': [], 'fs_create_options': ''}, {'_raw_device': '/dev/mapper/vg1-lv2', 'raid_metadata_version': None, 'raid_level': None, 'fs_type': 'xfs', 'mount_options': 'defaults', 'type': 'lvm', '_device': '/dev/mapper/vg1-lv2', 'size': '3g', 'mount_point': '/opt/test2', 'compression': None, 'encryption_password': None, '_kernel_device': '/dev/dm-1', 'encryption': False, 'mount_device_identifier': 'uuid', 'name': 'lv2', 'raid_device_count': None, 'state': 'present', 'vdo_pool_size': None, 'thin_pool_name': None, 'thin_pool_size': None, 'encryption_key_size': None, 'encryption_cipher': None, 'encryption_key': None, 'fs_label': '', 'encryption_luks_version': None, 'cache_size': 0, '_mount_id': '/dev/mapper/vg1-lv2', 'raid_spare_count': None, 'raid_disks': [], '_raw_kernel_device': '/dev/dm-1', 'cache_mode': None, 'deduplication': None, 'cached': False, 'fs_overwrite_existing': True, 'disks': [], 'thin': False, 'mount_check': 0, 'mount_passno': 0, 'raid_chunk_size': None, 'cache_devices': [], 'fs_create_options': ''}, {'_raw_device': '/dev/mapper/vg1-lv3', 'raid_metadata_version': None, 'raid_level': None, 'fs_type': 'xfs', 'mount_options': 'defaults', 'type': 'lvm', '_device': '/dev/mapper/vg1-lv3', 'size': '3g', 'mount_point': '/opt/test3', 'compression': None, 'encryption_password': None, '_kernel_device': '/dev/dm-0', 'encryption': False, 'mount_device_identifier': 'uuid', 'name': 'lv3', 'raid_device_count': None, 'state': 'present', 'vdo_pool_size': None, 'thin_pool_name': None, 'thin_pool_size': None, 'encryption_key_size': None, 'encryption_cipher': None, 'encryption_key': None, 'fs_label': '', 'encryption_luks_version': None, 'cache_size': 0, '_mount_id': '/dev/mapper/vg1-lv3', 'raid_spare_count': None, 'raid_disks': [], '_raw_kernel_device': '/dev/dm-0', 'cache_mode': None, 'deduplication': None, 'cached': False, 'fs_overwrite_existing': True, 'disks': [], 'thin': False, 'mount_check': 0, 'mount_passno': 0, 'raid_chunk_size': None, 'cache_devices': [], 'fs_create_options': ''}], 'raid_chunk_size': None, 'type': 'lvm', 'encryption_cipher': None, 'raid_spare_count': None}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-pool.yml:5 Thursday 21 July 2022 14:09:40 +0000 (0:00:00.065) 0:00:32.960 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-pool.yml:18 Thursday 21 July 2022 14:09:40 +0000 (0:00:00.033) 0:00:32.993 ********* included: /tmp/tmpaxjje44y/tests/test-verify-pool-members.yml for /cache/rhel-7.qcow2 => (item=members) included: /tmp/tmpaxjje44y/tests/test-verify-pool-volumes.yml for /cache/rhel-7.qcow2 => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-pool-members.yml:1 Thursday 21 July 2022 14:09:40 +0000 (0:00:00.050) 0:00:33.044 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_count": "1", "_storage_test_pool_pvs_lvm": [ "/dev/md127" ] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmpaxjje44y/tests/test-verify-pool-members.yml:10 Thursday 21 July 2022 14:09:41 +0000 (0:00:00.052) 0:00:33.097 ********* ok: [/cache/rhel-7.qcow2] => (item=/dev/md127) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/md/vg1-1", "pv": "/dev/md127" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-pool-members.yml:19 Thursday 21 July 2022 14:09:41 +0000 (0:00:00.448) 0:00:33.545 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "__pvs_lvm_len": "1" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-pool-members.yml:23 Thursday 21 July 2022 14:09:41 +0000 (0:00:00.050) 0:00:33.596 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/md/vg1-1" ] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-pool-members.yml:27 Thursday 21 July 2022 14:09:41 +0000 (0:00:00.053) 0:00:33.649 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-pool-members.yml:34 Thursday 21 July 2022 14:09:41 +0000 (0:00:00.053) 0:00:33.703 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-pool-members.yml:38 Thursday 21 July 2022 14:09:41 +0000 (0:00:00.036) 0:00:33.739 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_type": "partition" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-pool-members.yml:42 Thursday 21 July 2022 14:09:41 +0000 (0:00:00.066) 0:00:33.805 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_type": "raid0" }, "changed": false } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-pool-members.yml:46 Thursday 21 July 2022 14:09:41 +0000 (0:00:00.040) 0:00:33.846 ********* ok: [/cache/rhel-7.qcow2] => (item=/dev/md/vg1-1) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/md/vg1-1" } MSG: All assertions passed TASK [Check MD RAID] *********************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-pool-members.yml:56 Thursday 21 July 2022 14:09:41 +0000 (0:00:00.042) 0:00:33.888 ********* included: /tmp/tmpaxjje44y/tests/verify-pool-md.yml for /cache/rhel-7.qcow2 TASK [get information about RAID] ********************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-md.yml:6 Thursday 21 July 2022 14:09:41 +0000 (0:00:00.044) 0:00:33.933 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "cmd": [ "mdadm", "--detail", "/dev/md/vg1-1" ], "delta": "0:00:00.011232", "end": "2022-07-21 10:09:41.918711", "rc": 0, "start": "2022-07-21 10:09:41.907479" } STDOUT: /dev/md/vg1-1: Version : 1.2 Creation Time : Thu Jul 21 10:09:28 2022 Raid Level : raid0 Array Size : 20951040 (19.98 GiB 21.45 GB) Raid Devices : 2 Total Devices : 2 Persistence : Superblock is persistent Update Time : Thu Jul 21 10:09:28 2022 State : clean Active Devices : 2 Working Devices : 2 Failed Devices : 0 Spare Devices : 0 Chunk Size : 512K Consistency Policy : none Name : vg1-1 UUID : 8e6d8c75:968cb411:cc8e9d5e:853c7034 Events : 0 Number Major Minor RaidDevice State 0 8 17 0 active sync /dev/sdb1 1 8 33 1 active sync /dev/sdc1 TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-md.yml:12 Thursday 21 July 2022 14:09:42 +0000 (0:00:00.349) 0:00:34.282 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_md_active_devices_re": "Active\\ Devices\\ :\\ None\\\n" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-md.yml:16 Thursday 21 July 2022 14:09:42 +0000 (0:00:00.054) 0:00:34.337 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_md_spare_devices_re": "Spare\\ Devices\\ :\\ None\\\n" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-md.yml:20 Thursday 21 July 2022 14:09:42 +0000 (0:00:00.053) 0:00:34.391 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_md_metadata_version_re": "Version\\ :\\ None\\\n" }, "changed": false } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-md.yml:24 Thursday 21 July 2022 14:09:42 +0000 (0:00:00.050) 0:00:34.441 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-md.yml:30 Thursday 21 July 2022 14:09:42 +0000 (0:00:00.028) 0:00:34.470 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpaxjje44y/tests/verify-pool-md.yml:36 Thursday 21 July 2022 14:09:42 +0000 (0:00:00.032) 0:00:34.503 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-md.yml:44 Thursday 21 July 2022 14:09:42 +0000 (0:00:00.030) 0:00:34.533 ********* ok: [/cache/rhel-7.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/tmpaxjje44y/tests/test-verify-pool-members.yml:59 Thursday 21 July 2022 14:09:42 +0000 (0:00:00.033) 0:00:34.567 ********* included: /tmp/tmpaxjje44y/tests/verify-pool-members-lvmraid.yml for /cache/rhel-7.qcow2 TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-members-lvmraid.yml:1 Thursday 21 July 2022 14:09:42 +0000 (0:00:00.044) 0:00:34.611 ********* included: /tmp/tmpaxjje44y/tests/verify-pool-member-lvmraid.yml for /cache/rhel-7.qcow2 => (item={'_raw_device': '/dev/mapper/vg1-lv1', 'raid_metadata_version': None, 'raid_level': None, 'fs_type': 'xfs', 'mount_options': 'defaults', 'type': 'lvm', '_device': '/dev/mapper/vg1-lv1', 'size': '2g', 'mount_point': '/opt/test1', 'compression': None, 'encryption_password': None, '_kernel_device': '/dev/dm-2', 'encryption': False, 'mount_device_identifier': 'uuid', 'name': 'lv1', 'raid_device_count': None, 'state': 'present', 'vdo_pool_size': None, 'thin_pool_name': None, 'thin_pool_size': None, 'encryption_key_size': None, 'encryption_cipher': None, 'encryption_key': None, 'fs_label': '', 'encryption_luks_version': None, 'cache_size': 0, '_mount_id': '/dev/mapper/vg1-lv1', 'raid_spare_count': None, 'raid_disks': [], '_raw_kernel_device': '/dev/dm-2', 'cache_mode': None, 'deduplication': None, 'cached': False, 'fs_overwrite_existing': True, 'disks': [], 'thin': False, 'mount_check': 0, 'mount_passno': 0, 'raid_chunk_size': None, 'cache_devices': [], 'fs_create_options': ''}) included: /tmp/tmpaxjje44y/tests/verify-pool-member-lvmraid.yml for /cache/rhel-7.qcow2 => (item={'_raw_device': '/dev/mapper/vg1-lv2', 'raid_metadata_version': None, 'raid_level': None, 'fs_type': 'xfs', 'mount_options': 'defaults', 'type': 'lvm', '_device': '/dev/mapper/vg1-lv2', 'size': '3g', 'mount_point': '/opt/test2', 'compression': None, 'encryption_password': None, '_kernel_device': '/dev/dm-1', 'encryption': False, 'mount_device_identifier': 'uuid', 'name': 'lv2', 'raid_device_count': None, 'state': 'present', 'vdo_pool_size': None, 'thin_pool_name': None, 'thin_pool_size': None, 'encryption_key_size': None, 'encryption_cipher': None, 'encryption_key': None, 'fs_label': '', 'encryption_luks_version': None, 'cache_size': 0, '_mount_id': '/dev/mapper/vg1-lv2', 'raid_spare_count': None, 'raid_disks': [], '_raw_kernel_device': '/dev/dm-1', 'cache_mode': None, 'deduplication': None, 'cached': False, 'fs_overwrite_existing': True, 'disks': [], 'thin': False, 'mount_check': 0, 'mount_passno': 0, 'raid_chunk_size': None, 'cache_devices': [], 'fs_create_options': ''}) included: /tmp/tmpaxjje44y/tests/verify-pool-member-lvmraid.yml for /cache/rhel-7.qcow2 => (item={'_raw_device': '/dev/mapper/vg1-lv3', 'raid_metadata_version': None, 'raid_level': None, 'fs_type': 'xfs', 'mount_options': 'defaults', 'type': 'lvm', '_device': '/dev/mapper/vg1-lv3', 'size': '3g', 'mount_point': '/opt/test3', 'compression': None, 'encryption_password': None, '_kernel_device': '/dev/dm-0', 'encryption': False, 'mount_device_identifier': 'uuid', 'name': 'lv3', 'raid_device_count': None, 'state': 'present', 'vdo_pool_size': None, 'thin_pool_name': None, 'thin_pool_size': None, 'encryption_key_size': None, 'encryption_cipher': None, 'encryption_key': None, 'fs_label': '', 'encryption_luks_version': None, 'cache_size': 0, '_mount_id': '/dev/mapper/vg1-lv3', 'raid_spare_count': None, 'raid_disks': [], '_raw_kernel_device': '/dev/dm-0', 'cache_mode': None, 'deduplication': None, 'cached': False, 'fs_overwrite_existing': True, 'disks': [], 'thin': False, 'mount_check': 0, 'mount_passno': 0, 'raid_chunk_size': None, 'cache_devices': [], 'fs_create_options': ''}) TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-member-lvmraid.yml:3 Thursday 21 July 2022 14:09:42 +0000 (0:00:00.056) 0:00:34.668 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmpaxjje44y/tests/verify-pool-member-lvmraid.yml:8 Thursday 21 July 2022 14:09:42 +0000 (0:00:00.029) 0:00:34.697 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-member-lvmraid.yml:12 Thursday 21 July 2022 14:09:42 +0000 (0:00:00.030) 0:00:34.727 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-member-lvmraid.yml:3 Thursday 21 July 2022 14:09:42 +0000 (0:00:00.027) 0:00:34.754 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmpaxjje44y/tests/verify-pool-member-lvmraid.yml:8 Thursday 21 July 2022 14:09:42 +0000 (0:00:00.030) 0:00:34.785 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-member-lvmraid.yml:12 Thursday 21 July 2022 14:09:42 +0000 (0:00:00.028) 0:00:34.813 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-member-lvmraid.yml:3 Thursday 21 July 2022 14:09:42 +0000 (0:00:00.029) 0:00:34.843 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmpaxjje44y/tests/verify-pool-member-lvmraid.yml:8 Thursday 21 July 2022 14:09:42 +0000 (0:00:00.028) 0:00:34.871 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-member-lvmraid.yml:12 Thursday 21 July 2022 14:09:42 +0000 (0:00:00.030) 0:00:34.901 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-pool-members.yml:62 Thursday 21 July 2022 14:09:42 +0000 (0:00:00.027) 0:00:34.929 ********* included: /tmp/tmpaxjje44y/tests/verify-pool-members-thin.yml for /cache/rhel-7.qcow2 TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-members-thin.yml:1 Thursday 21 July 2022 14:09:42 +0000 (0:00:00.043) 0:00:34.972 ********* included: /tmp/tmpaxjje44y/tests/verify-pool-member-thin.yml for /cache/rhel-7.qcow2 => (item={'_raw_device': '/dev/mapper/vg1-lv1', 'raid_metadata_version': None, 'raid_level': None, 'fs_type': 'xfs', 'mount_options': 'defaults', 'type': 'lvm', '_device': '/dev/mapper/vg1-lv1', 'size': '2g', 'mount_point': '/opt/test1', 'compression': None, 'encryption_password': None, '_kernel_device': '/dev/dm-2', 'encryption': False, 'mount_device_identifier': 'uuid', 'name': 'lv1', 'raid_device_count': None, 'state': 'present', 'vdo_pool_size': None, 'thin_pool_name': None, 'thin_pool_size': None, 'encryption_key_size': None, 'encryption_cipher': None, 'encryption_key': None, 'fs_label': '', 'encryption_luks_version': None, 'cache_size': 0, '_mount_id': '/dev/mapper/vg1-lv1', 'raid_spare_count': None, 'raid_disks': [], '_raw_kernel_device': '/dev/dm-2', 'cache_mode': None, 'deduplication': None, 'cached': False, 'fs_overwrite_existing': True, 'disks': [], 'thin': False, 'mount_check': 0, 'mount_passno': 0, 'raid_chunk_size': None, 'cache_devices': [], 'fs_create_options': ''}) included: /tmp/tmpaxjje44y/tests/verify-pool-member-thin.yml for /cache/rhel-7.qcow2 => (item={'_raw_device': '/dev/mapper/vg1-lv2', 'raid_metadata_version': None, 'raid_level': None, 'fs_type': 'xfs', 'mount_options': 'defaults', 'type': 'lvm', '_device': '/dev/mapper/vg1-lv2', 'size': '3g', 'mount_point': '/opt/test2', 'compression': None, 'encryption_password': None, '_kernel_device': '/dev/dm-1', 'encryption': False, 'mount_device_identifier': 'uuid', 'name': 'lv2', 'raid_device_count': None, 'state': 'present', 'vdo_pool_size': None, 'thin_pool_name': None, 'thin_pool_size': None, 'encryption_key_size': None, 'encryption_cipher': None, 'encryption_key': None, 'fs_label': '', 'encryption_luks_version': None, 'cache_size': 0, '_mount_id': '/dev/mapper/vg1-lv2', 'raid_spare_count': None, 'raid_disks': [], '_raw_kernel_device': '/dev/dm-1', 'cache_mode': None, 'deduplication': None, 'cached': False, 'fs_overwrite_existing': True, 'disks': [], 'thin': False, 'mount_check': 0, 'mount_passno': 0, 'raid_chunk_size': None, 'cache_devices': [], 'fs_create_options': ''}) included: /tmp/tmpaxjje44y/tests/verify-pool-member-thin.yml for /cache/rhel-7.qcow2 => (item={'_raw_device': '/dev/mapper/vg1-lv3', 'raid_metadata_version': None, 'raid_level': None, 'fs_type': 'xfs', 'mount_options': 'defaults', 'type': 'lvm', '_device': '/dev/mapper/vg1-lv3', 'size': '3g', 'mount_point': '/opt/test3', 'compression': None, 'encryption_password': None, '_kernel_device': '/dev/dm-0', 'encryption': False, 'mount_device_identifier': 'uuid', 'name': 'lv3', 'raid_device_count': None, 'state': 'present', 'vdo_pool_size': None, 'thin_pool_name': None, 'thin_pool_size': None, 'encryption_key_size': None, 'encryption_cipher': None, 'encryption_key': None, 'fs_label': '', 'encryption_luks_version': None, 'cache_size': 0, '_mount_id': '/dev/mapper/vg1-lv3', 'raid_spare_count': None, 'raid_disks': [], '_raw_kernel_device': '/dev/dm-0', 'cache_mode': None, 'deduplication': None, 'cached': False, 'fs_overwrite_existing': True, 'disks': [], 'thin': False, 'mount_check': 0, 'mount_passno': 0, 'raid_chunk_size': None, 'cache_devices': [], 'fs_create_options': ''}) TASK [Get information about thinpool] ****************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-member-thin.yml:3 Thursday 21 July 2022 14:09:42 +0000 (0:00:00.058) 0:00:35.031 ********* skipping: [/cache/rhel-7.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/tmpaxjje44y/tests/verify-pool-member-thin.yml:8 Thursday 21 July 2022 14:09:42 +0000 (0:00:00.023) 0:00:35.054 ********* skipping: [/cache/rhel-7.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/tmpaxjje44y/tests/verify-pool-member-thin.yml:13 Thursday 21 July 2022 14:09:42 +0000 (0:00:00.023) 0:00:35.078 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-member-thin.yml:17 Thursday 21 July 2022 14:09:43 +0000 (0:00:00.021) 0:00:35.100 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about thinpool] ****************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-member-thin.yml:3 Thursday 21 July 2022 14:09:43 +0000 (0:00:00.021) 0:00:35.122 ********* skipping: [/cache/rhel-7.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/tmpaxjje44y/tests/verify-pool-member-thin.yml:8 Thursday 21 July 2022 14:09:43 +0000 (0:00:00.021) 0:00:35.144 ********* skipping: [/cache/rhel-7.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/tmpaxjje44y/tests/verify-pool-member-thin.yml:13 Thursday 21 July 2022 14:09:43 +0000 (0:00:00.025) 0:00:35.169 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-member-thin.yml:17 Thursday 21 July 2022 14:09:43 +0000 (0:00:00.025) 0:00:35.195 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about thinpool] ****************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-member-thin.yml:3 Thursday 21 July 2022 14:09:43 +0000 (0:00:00.024) 0:00:35.219 ********* skipping: [/cache/rhel-7.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/tmpaxjje44y/tests/verify-pool-member-thin.yml:8 Thursday 21 July 2022 14:09:43 +0000 (0:00:00.029) 0:00:35.249 ********* skipping: [/cache/rhel-7.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/tmpaxjje44y/tests/verify-pool-member-thin.yml:13 Thursday 21 July 2022 14:09:43 +0000 (0:00:00.026) 0:00:35.275 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-member-thin.yml:17 Thursday 21 July 2022 14:09:43 +0000 (0:00:00.022) 0:00:35.298 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-pool-members.yml:65 Thursday 21 July 2022 14:09:43 +0000 (0:00:00.024) 0:00:35.322 ********* included: /tmp/tmpaxjje44y/tests/verify-pool-members-encryption.yml for /cache/rhel-7.qcow2 TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-members-encryption.yml:4 Thursday 21 July 2022 14:09:43 +0000 (0:00:00.095) 0:00:35.418 ********* ok: [/cache/rhel-7.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/tmpaxjje44y/tests/verify-pool-members-encryption.yml:8 Thursday 21 July 2022 14:09:43 +0000 (0:00:00.052) 0:00:35.470 ********* skipping: [/cache/rhel-7.qcow2] => (item=/dev/md/vg1-1) => { "_storage_test_pool_member_path": "/dev/md/vg1-1", "ansible_loop_var": "_storage_test_pool_member_path", "changed": false, "skip_reason": "Conditional result was False" } TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-members-encryption.yml:15 Thursday 21 July 2022 14:09:43 +0000 (0:00:00.028) 0:00:35.499 ********* included: /tmp/tmpaxjje44y/tests/verify-pool-member-crypttab.yml for /cache/rhel-7.qcow2 => (item=/dev/md/vg1-1) TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-member-crypttab.yml:1 Thursday 21 July 2022 14:09:43 +0000 (0:00:00.047) 0:00:35.546 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": [] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpaxjje44y/tests/verify-pool-member-crypttab.yml:6 Thursday 21 July 2022 14:09:43 +0000 (0:00:00.050) 0:00:35.597 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpaxjje44y/tests/verify-pool-member-crypttab.yml:11 Thursday 21 July 2022 14:09:43 +0000 (0:00:00.052) 0:00:35.649 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-member-crypttab.yml:17 Thursday 21 July 2022 14:09:43 +0000 (0:00:00.040) 0:00:35.690 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-member-crypttab.yml:23 Thursday 21 July 2022 14:09:43 +0000 (0:00:00.035) 0:00:35.725 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-member-crypttab.yml:29 Thursday 21 July 2022 14:09:43 +0000 (0:00:00.036) 0:00:35.761 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-members-encryption.yml:22 Thursday 21 July 2022 14:09:43 +0000 (0:00:00.033) 0:00:35.795 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-pool-members.yml:68 Thursday 21 July 2022 14:09:43 +0000 (0:00:00.035) 0:00:35.831 ********* included: /tmp/tmpaxjje44y/tests/verify-pool-members-vdo.yml for /cache/rhel-7.qcow2 TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-members-vdo.yml:1 Thursday 21 July 2022 14:09:43 +0000 (0:00:00.049) 0:00:35.880 ********* included: /tmp/tmpaxjje44y/tests/verify-pool-member-vdo.yml for /cache/rhel-7.qcow2 => (item={'_raw_device': '/dev/mapper/vg1-lv1', 'raid_metadata_version': None, 'raid_level': None, 'fs_type': 'xfs', 'mount_options': 'defaults', 'type': 'lvm', '_device': '/dev/mapper/vg1-lv1', 'size': '2g', 'mount_point': '/opt/test1', 'compression': None, 'encryption_password': None, '_kernel_device': '/dev/dm-2', 'encryption': False, 'mount_device_identifier': 'uuid', 'name': 'lv1', 'raid_device_count': None, 'state': 'present', 'vdo_pool_size': None, 'thin_pool_name': None, 'thin_pool_size': None, 'encryption_key_size': None, 'encryption_cipher': None, 'encryption_key': None, 'fs_label': '', 'encryption_luks_version': None, 'cache_size': 0, '_mount_id': '/dev/mapper/vg1-lv1', 'raid_spare_count': None, 'raid_disks': [], '_raw_kernel_device': '/dev/dm-2', 'cache_mode': None, 'deduplication': None, 'cached': False, 'fs_overwrite_existing': True, 'disks': [], 'thin': False, 'mount_check': 0, 'mount_passno': 0, 'raid_chunk_size': None, 'cache_devices': [], 'fs_create_options': ''}) included: /tmp/tmpaxjje44y/tests/verify-pool-member-vdo.yml for /cache/rhel-7.qcow2 => (item={'_raw_device': '/dev/mapper/vg1-lv2', 'raid_metadata_version': None, 'raid_level': None, 'fs_type': 'xfs', 'mount_options': 'defaults', 'type': 'lvm', '_device': '/dev/mapper/vg1-lv2', 'size': '3g', 'mount_point': '/opt/test2', 'compression': None, 'encryption_password': None, '_kernel_device': '/dev/dm-1', 'encryption': False, 'mount_device_identifier': 'uuid', 'name': 'lv2', 'raid_device_count': None, 'state': 'present', 'vdo_pool_size': None, 'thin_pool_name': None, 'thin_pool_size': None, 'encryption_key_size': None, 'encryption_cipher': None, 'encryption_key': None, 'fs_label': '', 'encryption_luks_version': None, 'cache_size': 0, '_mount_id': '/dev/mapper/vg1-lv2', 'raid_spare_count': None, 'raid_disks': [], '_raw_kernel_device': '/dev/dm-1', 'cache_mode': None, 'deduplication': None, 'cached': False, 'fs_overwrite_existing': True, 'disks': [], 'thin': False, 'mount_check': 0, 'mount_passno': 0, 'raid_chunk_size': None, 'cache_devices': [], 'fs_create_options': ''}) included: /tmp/tmpaxjje44y/tests/verify-pool-member-vdo.yml for /cache/rhel-7.qcow2 => (item={'_raw_device': '/dev/mapper/vg1-lv3', 'raid_metadata_version': None, 'raid_level': None, 'fs_type': 'xfs', 'mount_options': 'defaults', 'type': 'lvm', '_device': '/dev/mapper/vg1-lv3', 'size': '3g', 'mount_point': '/opt/test3', 'compression': None, 'encryption_password': None, '_kernel_device': '/dev/dm-0', 'encryption': False, 'mount_device_identifier': 'uuid', 'name': 'lv3', 'raid_device_count': None, 'state': 'present', 'vdo_pool_size': None, 'thin_pool_name': None, 'thin_pool_size': None, 'encryption_key_size': None, 'encryption_cipher': None, 'encryption_key': None, 'fs_label': '', 'encryption_luks_version': None, 'cache_size': 0, '_mount_id': '/dev/mapper/vg1-lv3', 'raid_spare_count': None, 'raid_disks': [], '_raw_kernel_device': '/dev/dm-0', 'cache_mode': None, 'deduplication': None, 'cached': False, 'fs_overwrite_existing': True, 'disks': [], 'thin': False, 'mount_check': 0, 'mount_passno': 0, 'raid_chunk_size': None, 'cache_devices': [], 'fs_create_options': ''}) TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmpaxjje44y/tests/verify-pool-member-vdo.yml:3 Thursday 21 July 2022 14:09:43 +0000 (0:00:00.062) 0:00:35.943 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-member-vdo.yml:8 Thursday 21 July 2022 14:09:43 +0000 (0:00:00.023) 0:00:35.966 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-member-vdo.yml:11 Thursday 21 July 2022 14:09:43 +0000 (0:00:00.023) 0:00:35.990 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-member-vdo.yml:16 Thursday 21 July 2022 14:09:43 +0000 (0:00:00.025) 0:00:36.015 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-member-vdo.yml:21 Thursday 21 July 2022 14:09:43 +0000 (0:00:00.027) 0:00:36.042 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-member-vdo.yml:24 Thursday 21 July 2022 14:09:43 +0000 (0:00:00.025) 0:00:36.068 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-member-vdo.yml:29 Thursday 21 July 2022 14:09:44 +0000 (0:00:00.027) 0:00:36.096 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-member-vdo.yml:39 Thursday 21 July 2022 14:09:44 +0000 (0:00:00.024) 0:00:36.121 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmpaxjje44y/tests/verify-pool-member-vdo.yml:3 Thursday 21 July 2022 14:09:44 +0000 (0:00:00.033) 0:00:36.154 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-member-vdo.yml:8 Thursday 21 July 2022 14:09:44 +0000 (0:00:00.023) 0:00:36.178 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-member-vdo.yml:11 Thursday 21 July 2022 14:09:44 +0000 (0:00:00.026) 0:00:36.205 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-member-vdo.yml:16 Thursday 21 July 2022 14:09:44 +0000 (0:00:00.022) 0:00:36.228 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-member-vdo.yml:21 Thursday 21 July 2022 14:09:44 +0000 (0:00:00.023) 0:00:36.251 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-member-vdo.yml:24 Thursday 21 July 2022 14:09:44 +0000 (0:00:00.022) 0:00:36.273 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-member-vdo.yml:29 Thursday 21 July 2022 14:09:44 +0000 (0:00:00.023) 0:00:36.297 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-member-vdo.yml:39 Thursday 21 July 2022 14:09:44 +0000 (0:00:00.022) 0:00:36.320 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmpaxjje44y/tests/verify-pool-member-vdo.yml:3 Thursday 21 July 2022 14:09:44 +0000 (0:00:00.033) 0:00:36.353 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-member-vdo.yml:8 Thursday 21 July 2022 14:09:44 +0000 (0:00:00.023) 0:00:36.376 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-member-vdo.yml:11 Thursday 21 July 2022 14:09:44 +0000 (0:00:00.026) 0:00:36.403 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-member-vdo.yml:16 Thursday 21 July 2022 14:09:44 +0000 (0:00:00.024) 0:00:36.427 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-member-vdo.yml:21 Thursday 21 July 2022 14:09:44 +0000 (0:00:00.023) 0:00:36.451 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-member-vdo.yml:24 Thursday 21 July 2022 14:09:44 +0000 (0:00:00.024) 0:00:36.476 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-member-vdo.yml:29 Thursday 21 July 2022 14:09:44 +0000 (0:00:00.026) 0:00:36.502 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-member-vdo.yml:39 Thursday 21 July 2022 14:09:44 +0000 (0:00:00.025) 0:00:36.528 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-pool-members.yml:71 Thursday 21 July 2022 14:09:44 +0000 (0:00:00.063) 0:00:36.592 ********* ok: [/cache/rhel-7.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/tmpaxjje44y/tests/test-verify-pool-volumes.yml:3 Thursday 21 July 2022 14:09:44 +0000 (0:00:00.065) 0:00:36.657 ********* included: /tmp/tmpaxjje44y/tests/test-verify-volume.yml for /cache/rhel-7.qcow2 => (item={'_raw_device': '/dev/mapper/vg1-lv1', 'raid_metadata_version': None, 'raid_level': None, 'fs_type': 'xfs', 'mount_options': 'defaults', 'type': 'lvm', '_device': '/dev/mapper/vg1-lv1', 'size': '2g', 'mount_point': '/opt/test1', 'compression': None, 'encryption_password': None, '_kernel_device': '/dev/dm-2', 'encryption': False, 'mount_device_identifier': 'uuid', 'name': 'lv1', 'raid_device_count': None, 'state': 'present', 'vdo_pool_size': None, 'thin_pool_name': None, 'thin_pool_size': None, 'encryption_key_size': None, 'encryption_cipher': None, 'encryption_key': None, 'fs_label': '', 'encryption_luks_version': None, 'cache_size': 0, '_mount_id': '/dev/mapper/vg1-lv1', 'raid_spare_count': None, 'raid_disks': [], '_raw_kernel_device': '/dev/dm-2', 'cache_mode': None, 'deduplication': None, 'cached': False, 'fs_overwrite_existing': True, 'disks': [], 'thin': False, 'mount_check': 0, 'mount_passno': 0, 'raid_chunk_size': None, 'cache_devices': [], 'fs_create_options': ''}) included: /tmp/tmpaxjje44y/tests/test-verify-volume.yml for /cache/rhel-7.qcow2 => (item={'_raw_device': '/dev/mapper/vg1-lv2', 'raid_metadata_version': None, 'raid_level': None, 'fs_type': 'xfs', 'mount_options': 'defaults', 'type': 'lvm', '_device': '/dev/mapper/vg1-lv2', 'size': '3g', 'mount_point': '/opt/test2', 'compression': None, 'encryption_password': None, '_kernel_device': '/dev/dm-1', 'encryption': False, 'mount_device_identifier': 'uuid', 'name': 'lv2', 'raid_device_count': None, 'state': 'present', 'vdo_pool_size': None, 'thin_pool_name': None, 'thin_pool_size': None, 'encryption_key_size': None, 'encryption_cipher': None, 'encryption_key': None, 'fs_label': '', 'encryption_luks_version': None, 'cache_size': 0, '_mount_id': '/dev/mapper/vg1-lv2', 'raid_spare_count': None, 'raid_disks': [], '_raw_kernel_device': '/dev/dm-1', 'cache_mode': None, 'deduplication': None, 'cached': False, 'fs_overwrite_existing': True, 'disks': [], 'thin': False, 'mount_check': 0, 'mount_passno': 0, 'raid_chunk_size': None, 'cache_devices': [], 'fs_create_options': ''}) included: /tmp/tmpaxjje44y/tests/test-verify-volume.yml for /cache/rhel-7.qcow2 => (item={'_raw_device': '/dev/mapper/vg1-lv3', 'raid_metadata_version': None, 'raid_level': None, 'fs_type': 'xfs', 'mount_options': 'defaults', 'type': 'lvm', '_device': '/dev/mapper/vg1-lv3', 'size': '3g', 'mount_point': '/opt/test3', 'compression': None, 'encryption_password': None, '_kernel_device': '/dev/dm-0', 'encryption': False, 'mount_device_identifier': 'uuid', 'name': 'lv3', 'raid_device_count': None, 'state': 'present', 'vdo_pool_size': None, 'thin_pool_name': None, 'thin_pool_size': None, 'encryption_key_size': None, 'encryption_cipher': None, 'encryption_key': None, 'fs_label': '', 'encryption_luks_version': None, 'cache_size': 0, '_mount_id': '/dev/mapper/vg1-lv3', 'raid_spare_count': None, 'raid_disks': [], '_raw_kernel_device': '/dev/dm-0', 'cache_mode': None, 'deduplication': None, 'cached': False, 'fs_overwrite_existing': True, 'disks': [], 'thin': False, 'mount_check': 0, 'mount_passno': 0, 'raid_chunk_size': None, 'cache_devices': [], 'fs_create_options': ''}) TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume.yml:2 Thursday 21 July 2022 14:09:44 +0000 (0:00:00.083) 0:00:36.741 ********* ok: [/cache/rhel-7.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/tmpaxjje44y/tests/test-verify-volume.yml:10 Thursday 21 July 2022 14:09:44 +0000 (0:00:00.047) 0:00:36.789 ********* included: /tmp/tmpaxjje44y/tests/test-verify-volume-mount.yml for /cache/rhel-7.qcow2 => (item=mount) included: /tmp/tmpaxjje44y/tests/test-verify-volume-fstab.yml for /cache/rhel-7.qcow2 => (item=fstab) included: /tmp/tmpaxjje44y/tests/test-verify-volume-fs.yml for /cache/rhel-7.qcow2 => (item=fs) included: /tmp/tmpaxjje44y/tests/test-verify-volume-device.yml for /cache/rhel-7.qcow2 => (item=device) included: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml for /cache/rhel-7.qcow2 => (item=encryption) included: /tmp/tmpaxjje44y/tests/test-verify-volume-md.yml for /cache/rhel-7.qcow2 => (item=md) included: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml for /cache/rhel-7.qcow2 => (item=size) included: /tmp/tmpaxjje44y/tests/test-verify-volume-cache.yml for /cache/rhel-7.qcow2 => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-mount.yml:6 Thursday 21 July 2022 14:09:44 +0000 (0:00:00.081) 0:00:36.870 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/vg1-lv1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-mount.yml:14 Thursday 21 July 2022 14:09:44 +0000 (0:00:00.040) 0:00:36.910 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 512408, "block_size": 4096, "block_total": 520704, "block_used": 8296, "device": "/dev/mapper/vg1-lv1", "fstype": "xfs", "inode_available": 1046525, "inode_total": 1046528, "inode_used": 3, "mount": "/opt/test1", "options": "rw,seclabel,relatime,attr2,inode64,sunit=1024,swidth=2048,noquota", "size_available": 2098823168, "size_total": 2132803584, "uuid": "f62cb6f2-0c1f-4b19-b491-54dedc6c78ce" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 512408, "block_size": 4096, "block_total": 520704, "block_used": 8296, "device": "/dev/mapper/vg1-lv1", "fstype": "xfs", "inode_available": 1046525, "inode_total": 1046528, "inode_used": 3, "mount": "/opt/test1", "options": "rw,seclabel,relatime,attr2,inode64,sunit=1024,swidth=2048,noquota", "size_available": 2098823168, "size_total": 2132803584, "uuid": "f62cb6f2-0c1f-4b19-b491-54dedc6c78ce" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-mount.yml:28 Thursday 21 July 2022 14:09:44 +0000 (0:00:00.057) 0:00:36.967 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-mount.yml:37 Thursday 21 July 2022 14:09:44 +0000 (0:00:00.053) 0:00:37.020 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpaxjje44y/tests/test-verify-volume-mount.yml:45 Thursday 21 July 2022 14:09:44 +0000 (0:00:00.048) 0:00:37.069 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-mount.yml:54 Thursday 21 July 2022 14:09:45 +0000 (0:00:00.052) 0:00:37.122 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-mount.yml:58 Thursday 21 July 2022 14:09:45 +0000 (0:00:00.037) 0:00:37.159 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-mount.yml:63 Thursday 21 July 2022 14:09:45 +0000 (0:00:00.032) 0:00:37.192 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-mount.yml:75 Thursday 21 July 2022 14:09:45 +0000 (0:00:00.025) 0:00:37.217 ********* ok: [/cache/rhel-7.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/tmpaxjje44y/tests/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 14:09:45 +0000 (0:00:00.035) 0:00:37.252 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "1", "storage_test_fstab_expected_mount_options_matches": "1", "storage_test_fstab_expected_mount_point_matches": "1", "storage_test_fstab_id_matches": [ "/dev/mapper/vg1-lv1 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test1 xfs defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test1 " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 14:09:45 +0000 (0:00:00.064) 0:00:37.317 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-fstab.yml:32 Thursday 21 July 2022 14:09:45 +0000 (0:00:00.052) 0:00:37.370 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-fstab.yml:39 Thursday 21 July 2022 14:09:45 +0000 (0:00:00.055) 0:00:37.425 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-fstab.yml:49 Thursday 21 July 2022 14:09:45 +0000 (0:00:00.039) 0:00:37.465 ********* ok: [/cache/rhel-7.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/tmpaxjje44y/tests/test-verify-volume-fs.yml:4 Thursday 21 July 2022 14:09:45 +0000 (0:00:00.035) 0:00:37.500 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-fs.yml:10 Thursday 21 July 2022 14:09:45 +0000 (0:00:00.040) 0:00:37.541 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-device.yml:4 Thursday 21 July 2022 14:09:45 +0000 (0:00:00.040) 0:00:37.582 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "stat": { "atime": 1658412574.4809725, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658412574.4809725, "dev": 5, "device_type": 64514, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 35625, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1658412574.4809725, "nlink": 1, "path": "/dev/mapper/vg1-lv1", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-device.yml:10 Thursday 21 July 2022 14:09:45 +0000 (0:00:00.304) 0:00:37.886 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-device.yml:18 Thursday 21 July 2022 14:09:45 +0000 (0:00:00.037) 0:00:37.923 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-device.yml:24 Thursday 21 July 2022 14:09:45 +0000 (0:00:00.037) 0:00:37.961 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-device.yml:28 Thursday 21 July 2022 14:09:45 +0000 (0:00:00.035) 0:00:37.996 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-device.yml:33 Thursday 21 July 2022 14:09:45 +0000 (0:00:00.023) 0:00:38.019 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 14:09:45 +0000 (0:00:00.040) 0:00:38.060 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 14:09:46 +0000 (0:00:00.024) 0:00:38.084 ********* changed: [/cache/rhel-7.qcow2] => { "changed": true, "changes": { "installed": [ "cryptsetup" ] }, "rc": 0, "results": [ "Loaded plugins: search-disabled-repos\nResolving Dependencies\n--> Running transaction check\n---> Package cryptsetup.x86_64 0:2.0.3-6.el7 will be installed\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nInstalling:\n cryptsetup x86_64 2.0.3-6.el7 rhel 154 k\n\nTransaction Summary\n================================================================================\nInstall 1 Package\n\nTotal download size: 154 k\nInstalled size: 354 k\nDownloading packages:\nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Installing : cryptsetup-2.0.3-6.el7.x86_64 1/1 \n Verifying : cryptsetup-2.0.3-6.el7.x86_64 1/1 \n\nInstalled:\n cryptsetup.x86_64 0:2.0.3-6.el7 \n\nComplete!\n" ] } TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 14:09:47 +0000 (0:00:01.574) 0:00:39.659 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 14:09:47 +0000 (0:00:00.026) 0:00:39.685 ********* skipping: [/cache/rhel-7.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/tmpaxjje44y/tests/test-verify-volume-encryption.yml:30 Thursday 21 July 2022 14:09:47 +0000 (0:00:00.026) 0:00:39.711 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:38 Thursday 21 July 2022 14:09:47 +0000 (0:00:00.052) 0:00:39.764 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 14:09:47 +0000 (0:00:00.024) 0:00:39.789 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:49 Thursday 21 July 2022 14:09:47 +0000 (0:00:00.022) 0:00:39.811 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:55 Thursday 21 July 2022 14:09:47 +0000 (0:00:00.023) 0:00:39.834 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:61 Thursday 21 July 2022 14:09:47 +0000 (0:00:00.021) 0:00:39.856 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 14:09:47 +0000 (0:00:00.025) 0:00:39.882 ********* ok: [/cache/rhel-7.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/tmpaxjje44y/tests/test-verify-volume-encryption.yml:74 Thursday 21 July 2022 14:09:47 +0000 (0:00:00.050) 0:00:39.932 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:79 Thursday 21 July 2022 14:09:47 +0000 (0:00:00.050) 0:00:39.983 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:85 Thursday 21 July 2022 14:09:47 +0000 (0:00:00.037) 0:00:40.020 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:91 Thursday 21 July 2022 14:09:47 +0000 (0:00:00.036) 0:00:40.057 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:97 Thursday 21 July 2022 14:09:48 +0000 (0:00:00.038) 0:00:40.095 ********* ok: [/cache/rhel-7.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/tmpaxjje44y/tests/test-verify-volume-md.yml:7 Thursday 21 July 2022 14:09:48 +0000 (0:00:00.034) 0:00:40.130 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-md.yml:13 Thursday 21 July 2022 14:09:48 +0000 (0:00:00.038) 0:00:40.169 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-md.yml:17 Thursday 21 July 2022 14:09:48 +0000 (0:00:00.036) 0:00:40.205 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-md.yml:21 Thursday 21 July 2022 14:09:48 +0000 (0:00:00.039) 0:00:40.244 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-md.yml:25 Thursday 21 July 2022 14:09:48 +0000 (0:00:00.039) 0:00:40.283 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-md.yml:31 Thursday 21 July 2022 14:09:48 +0000 (0:00:00.037) 0:00:40.321 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-md.yml:37 Thursday 21 July 2022 14:09:48 +0000 (0:00:00.039) 0:00:40.360 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:3 Thursday 21 July 2022 14:09:48 +0000 (0:00:00.039) 0:00:40.399 ********* ok: [/cache/rhel-7.qcow2] => { "bytes": 2147483648, "changed": false, "lvm": "2g", "parted": "2GiB", "size": "2 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:9 Thursday 21 July 2022 14:09:48 +0000 (0:00:00.434) 0:00:40.834 ********* ok: [/cache/rhel-7.qcow2] => { "bytes": 2147483648, "changed": false, "lvm": "2g", "parted": "2GiB", "size": "2 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:15 Thursday 21 July 2022 14:09:49 +0000 (0:00:00.354) 0:00:41.189 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_expected_size": "2147483648" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:20 Thursday 21 July 2022 14:09:49 +0000 (0:00:00.050) 0:00:41.239 ********* ok: [/cache/rhel-7.qcow2] => { "storage_test_expected_size": "2147483648" } TASK [debug] ******************************************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:25 Thursday 21 July 2022 14:09:49 +0000 (0:00:00.038) 0:00:41.277 ********* skipping: [/cache/rhel-7.qcow2] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:28 Thursday 21 July 2022 14:09:49 +0000 (0:00:00.037) 0:00:41.315 ********* skipping: [/cache/rhel-7.qcow2] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:31 Thursday 21 July 2022 14:09:49 +0000 (0:00:00.037) 0:00:41.353 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:36 Thursday 21 July 2022 14:09:49 +0000 (0:00:00.074) 0:00:41.427 ********* skipping: [/cache/rhel-7.qcow2] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:39 Thursday 21 July 2022 14:09:49 +0000 (0:00:00.038) 0:00:41.466 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:44 Thursday 21 July 2022 14:09:49 +0000 (0:00:00.038) 0:00:41.504 ********* ok: [/cache/rhel-7.qcow2] => { "storage_test_actual_size": { "bytes": 2147483648, "changed": false, "failed": false, "lvm": "2g", "parted": "2GiB", "size": "2 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:47 Thursday 21 July 2022 14:09:49 +0000 (0:00:00.094) 0:00:41.599 ********* ok: [/cache/rhel-7.qcow2] => { "storage_test_expected_size": "2147483648" } TASK [assert] ****************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:50 Thursday 21 July 2022 14:09:49 +0000 (0:00:00.037) 0:00:41.636 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-cache.yml:6 Thursday 21 July 2022 14:09:49 +0000 (0:00:00.055) 0:00:41.691 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "cmd": [ "lvs", "--noheadings", "--nameprefixes", "--units=b", "--nosuffix", "--unquoted", "-o", "name,attr,cache_total_blocks,chunk_size,segtype", "vg1/lv1" ], "delta": "0:00:00.025482", "end": "2022-07-21 10:09:49.652558", "rc": 0, "start": "2022-07-21 10:09:49.627076" } STDOUT: LVM2_LV_NAME=lv1 LVM2_LV_ATTR=-wi-ao---- LVM2_CACHE_TOTAL_BLOCKS= LVM2_CHUNK_SIZE=0 LVM2_SEGTYPE=linear TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-cache.yml:14 Thursday 21 July 2022 14:09:49 +0000 (0:00:00.328) 0:00:42.020 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_lv_segtype": [ "linear" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-cache.yml:17 Thursday 21 July 2022 14:09:49 +0000 (0:00:00.053) 0:00:42.073 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-cache.yml:22 Thursday 21 July 2022 14:09:50 +0000 (0:00:00.051) 0:00:42.124 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-cache.yml:26 Thursday 21 July 2022 14:09:50 +0000 (0:00:00.038) 0:00:42.162 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-cache.yml:32 Thursday 21 July 2022 14:09:50 +0000 (0:00:00.040) 0:00:42.203 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-cache.yml:36 Thursday 21 July 2022 14:09:50 +0000 (0:00:00.040) 0:00:42.243 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume.yml:16 Thursday 21 July 2022 14:09:50 +0000 (0:00:00.037) 0:00:42.281 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume.yml:2 Thursday 21 July 2022 14:09:50 +0000 (0:00:00.034) 0:00:42.315 ********* ok: [/cache/rhel-7.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/tmpaxjje44y/tests/test-verify-volume.yml:10 Thursday 21 July 2022 14:09:50 +0000 (0:00:00.058) 0:00:42.374 ********* included: /tmp/tmpaxjje44y/tests/test-verify-volume-mount.yml for /cache/rhel-7.qcow2 => (item=mount) included: /tmp/tmpaxjje44y/tests/test-verify-volume-fstab.yml for /cache/rhel-7.qcow2 => (item=fstab) included: /tmp/tmpaxjje44y/tests/test-verify-volume-fs.yml for /cache/rhel-7.qcow2 => (item=fs) included: /tmp/tmpaxjje44y/tests/test-verify-volume-device.yml for /cache/rhel-7.qcow2 => (item=device) included: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml for /cache/rhel-7.qcow2 => (item=encryption) included: /tmp/tmpaxjje44y/tests/test-verify-volume-md.yml for /cache/rhel-7.qcow2 => (item=md) included: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml for /cache/rhel-7.qcow2 => (item=size) included: /tmp/tmpaxjje44y/tests/test-verify-volume-cache.yml for /cache/rhel-7.qcow2 => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-mount.yml:6 Thursday 21 July 2022 14:09:50 +0000 (0:00:00.082) 0:00:42.457 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/vg1-lv2" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-mount.yml:14 Thursday 21 July 2022 14:09:50 +0000 (0:00:00.043) 0:00:42.500 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 774552, "block_size": 4096, "block_total": 782848, "block_used": 8296, "device": "/dev/mapper/vg1-lv2", "fstype": "xfs", "inode_available": 1570813, "inode_total": 1570816, "inode_used": 3, "mount": "/opt/test2", "options": "rw,seclabel,relatime,attr2,inode64,sunit=1024,swidth=2048,noquota", "size_available": 3172564992, "size_total": 3206545408, "uuid": "30e6a2b6-e013-48b6-8993-6c0bae9a6165" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 774552, "block_size": 4096, "block_total": 782848, "block_used": 8296, "device": "/dev/mapper/vg1-lv2", "fstype": "xfs", "inode_available": 1570813, "inode_total": 1570816, "inode_used": 3, "mount": "/opt/test2", "options": "rw,seclabel,relatime,attr2,inode64,sunit=1024,swidth=2048,noquota", "size_available": 3172564992, "size_total": 3206545408, "uuid": "30e6a2b6-e013-48b6-8993-6c0bae9a6165" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-mount.yml:28 Thursday 21 July 2022 14:09:50 +0000 (0:00:00.059) 0:00:42.560 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-mount.yml:37 Thursday 21 July 2022 14:09:50 +0000 (0:00:00.052) 0:00:42.612 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpaxjje44y/tests/test-verify-volume-mount.yml:45 Thursday 21 July 2022 14:09:50 +0000 (0:00:00.050) 0:00:42.663 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-mount.yml:54 Thursday 21 July 2022 14:09:50 +0000 (0:00:00.051) 0:00:42.715 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-mount.yml:58 Thursday 21 July 2022 14:09:50 +0000 (0:00:00.024) 0:00:42.739 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-mount.yml:63 Thursday 21 July 2022 14:09:50 +0000 (0:00:00.023) 0:00:42.762 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-mount.yml:75 Thursday 21 July 2022 14:09:50 +0000 (0:00:00.024) 0:00:42.787 ********* ok: [/cache/rhel-7.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/tmpaxjje44y/tests/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 14:09:50 +0000 (0:00:00.036) 0:00:42.823 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "1", "storage_test_fstab_expected_mount_options_matches": "1", "storage_test_fstab_expected_mount_point_matches": "1", "storage_test_fstab_id_matches": [ "/dev/mapper/vg1-lv2 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test2 xfs defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test2 " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 14:09:50 +0000 (0:00:00.065) 0:00:42.888 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-fstab.yml:32 Thursday 21 July 2022 14:09:50 +0000 (0:00:00.053) 0:00:42.942 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-fstab.yml:39 Thursday 21 July 2022 14:09:50 +0000 (0:00:00.050) 0:00:42.992 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-fstab.yml:49 Thursday 21 July 2022 14:09:50 +0000 (0:00:00.040) 0:00:43.033 ********* ok: [/cache/rhel-7.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/tmpaxjje44y/tests/test-verify-volume-fs.yml:4 Thursday 21 July 2022 14:09:50 +0000 (0:00:00.034) 0:00:43.067 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-fs.yml:10 Thursday 21 July 2022 14:09:51 +0000 (0:00:00.046) 0:00:43.113 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-device.yml:4 Thursday 21 July 2022 14:09:51 +0000 (0:00:00.040) 0:00:43.154 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "stat": { "atime": 1658412574.3019724, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658412574.3019724, "dev": 5, "device_type": 64513, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 35592, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1658412574.3019724, "nlink": 1, "path": "/dev/mapper/vg1-lv2", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-device.yml:10 Thursday 21 July 2022 14:09:51 +0000 (0:00:00.321) 0:00:43.475 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-device.yml:18 Thursday 21 July 2022 14:09:51 +0000 (0:00:00.078) 0:00:43.554 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-device.yml:24 Thursday 21 July 2022 14:09:51 +0000 (0:00:00.037) 0:00:43.592 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-device.yml:28 Thursday 21 July 2022 14:09:51 +0000 (0:00:00.035) 0:00:43.627 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-device.yml:33 Thursday 21 July 2022 14:09:51 +0000 (0:00:00.024) 0:00:43.651 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 14:09:51 +0000 (0:00:00.036) 0:00:43.688 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 14:09:51 +0000 (0:00:00.024) 0:00:43.712 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "rc": 0, "results": [ "cryptsetup-2.0.3-6.el7.x86_64 providing cryptsetup is already installed" ] } TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 14:09:52 +0000 (0:00:00.542) 0:00:44.255 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 14:09:52 +0000 (0:00:00.026) 0:00:44.281 ********* skipping: [/cache/rhel-7.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/tmpaxjje44y/tests/test-verify-volume-encryption.yml:30 Thursday 21 July 2022 14:09:52 +0000 (0:00:00.023) 0:00:44.305 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:38 Thursday 21 July 2022 14:09:52 +0000 (0:00:00.054) 0:00:44.359 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 14:09:52 +0000 (0:00:00.024) 0:00:44.384 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:49 Thursday 21 July 2022 14:09:52 +0000 (0:00:00.023) 0:00:44.407 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:55 Thursday 21 July 2022 14:09:52 +0000 (0:00:00.023) 0:00:44.430 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:61 Thursday 21 July 2022 14:09:52 +0000 (0:00:00.025) 0:00:44.455 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 14:09:52 +0000 (0:00:00.025) 0:00:44.481 ********* ok: [/cache/rhel-7.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/tmpaxjje44y/tests/test-verify-volume-encryption.yml:74 Thursday 21 July 2022 14:09:52 +0000 (0:00:00.053) 0:00:44.534 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:79 Thursday 21 July 2022 14:09:52 +0000 (0:00:00.053) 0:00:44.587 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:85 Thursday 21 July 2022 14:09:52 +0000 (0:00:00.037) 0:00:44.625 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:91 Thursday 21 July 2022 14:09:52 +0000 (0:00:00.035) 0:00:44.660 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:97 Thursday 21 July 2022 14:09:52 +0000 (0:00:00.036) 0:00:44.697 ********* ok: [/cache/rhel-7.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/tmpaxjje44y/tests/test-verify-volume-md.yml:7 Thursday 21 July 2022 14:09:52 +0000 (0:00:00.038) 0:00:44.736 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-md.yml:13 Thursday 21 July 2022 14:09:52 +0000 (0:00:00.038) 0:00:44.774 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-md.yml:17 Thursday 21 July 2022 14:09:52 +0000 (0:00:00.038) 0:00:44.812 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-md.yml:21 Thursday 21 July 2022 14:09:52 +0000 (0:00:00.038) 0:00:44.851 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-md.yml:25 Thursday 21 July 2022 14:09:52 +0000 (0:00:00.042) 0:00:44.893 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-md.yml:31 Thursday 21 July 2022 14:09:52 +0000 (0:00:00.037) 0:00:44.931 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-md.yml:37 Thursday 21 July 2022 14:09:52 +0000 (0:00:00.037) 0:00:44.968 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:3 Thursday 21 July 2022 14:09:52 +0000 (0:00:00.040) 0:00:45.009 ********* ok: [/cache/rhel-7.qcow2] => { "bytes": 3221225472, "changed": false, "lvm": "3g", "parted": "3GiB", "size": "3 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:9 Thursday 21 July 2022 14:09:53 +0000 (0:00:00.318) 0:00:45.328 ********* ok: [/cache/rhel-7.qcow2] => { "bytes": 3221225472, "changed": false, "lvm": "3g", "parted": "3GiB", "size": "3 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:15 Thursday 21 July 2022 14:09:53 +0000 (0:00:00.333) 0:00:45.662 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_expected_size": "3221225472" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:20 Thursday 21 July 2022 14:09:53 +0000 (0:00:00.102) 0:00:45.764 ********* ok: [/cache/rhel-7.qcow2] => { "storage_test_expected_size": "3221225472" } TASK [debug] ******************************************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:25 Thursday 21 July 2022 14:09:53 +0000 (0:00:00.043) 0:00:45.808 ********* skipping: [/cache/rhel-7.qcow2] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:28 Thursday 21 July 2022 14:09:53 +0000 (0:00:00.040) 0:00:45.848 ********* skipping: [/cache/rhel-7.qcow2] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:31 Thursday 21 July 2022 14:09:53 +0000 (0:00:00.040) 0:00:45.889 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:36 Thursday 21 July 2022 14:09:53 +0000 (0:00:00.037) 0:00:45.926 ********* skipping: [/cache/rhel-7.qcow2] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:39 Thursday 21 July 2022 14:09:53 +0000 (0:00:00.039) 0:00:45.966 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:44 Thursday 21 July 2022 14:09:53 +0000 (0:00:00.085) 0:00:46.052 ********* ok: [/cache/rhel-7.qcow2] => { "storage_test_actual_size": { "bytes": 3221225472, "changed": false, "failed": false, "lvm": "3g", "parted": "3GiB", "size": "3 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:47 Thursday 21 July 2022 14:09:54 +0000 (0:00:00.037) 0:00:46.089 ********* ok: [/cache/rhel-7.qcow2] => { "storage_test_expected_size": "3221225472" } TASK [assert] ****************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:50 Thursday 21 July 2022 14:09:54 +0000 (0:00:00.037) 0:00:46.127 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-cache.yml:6 Thursday 21 July 2022 14:09:54 +0000 (0:00:00.055) 0:00:46.182 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "cmd": [ "lvs", "--noheadings", "--nameprefixes", "--units=b", "--nosuffix", "--unquoted", "-o", "name,attr,cache_total_blocks,chunk_size,segtype", "vg1/lv2" ], "delta": "0:00:00.024448", "end": "2022-07-21 10:09:54.154605", "rc": 0, "start": "2022-07-21 10:09:54.130157" } STDOUT: LVM2_LV_NAME=lv2 LVM2_LV_ATTR=-wi-ao---- LVM2_CACHE_TOTAL_BLOCKS= LVM2_CHUNK_SIZE=0 LVM2_SEGTYPE=linear TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-cache.yml:14 Thursday 21 July 2022 14:09:54 +0000 (0:00:00.342) 0:00:46.524 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_lv_segtype": [ "linear" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-cache.yml:17 Thursday 21 July 2022 14:09:54 +0000 (0:00:00.050) 0:00:46.575 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-cache.yml:22 Thursday 21 July 2022 14:09:54 +0000 (0:00:00.054) 0:00:46.629 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-cache.yml:26 Thursday 21 July 2022 14:09:54 +0000 (0:00:00.039) 0:00:46.668 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-cache.yml:32 Thursday 21 July 2022 14:09:54 +0000 (0:00:00.041) 0:00:46.710 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-cache.yml:36 Thursday 21 July 2022 14:09:54 +0000 (0:00:00.039) 0:00:46.749 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume.yml:16 Thursday 21 July 2022 14:09:54 +0000 (0:00:00.042) 0:00:46.791 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume.yml:2 Thursday 21 July 2022 14:09:54 +0000 (0:00:00.033) 0:00:46.825 ********* ok: [/cache/rhel-7.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/tmpaxjje44y/tests/test-verify-volume.yml:10 Thursday 21 July 2022 14:09:54 +0000 (0:00:00.051) 0:00:46.876 ********* included: /tmp/tmpaxjje44y/tests/test-verify-volume-mount.yml for /cache/rhel-7.qcow2 => (item=mount) included: /tmp/tmpaxjje44y/tests/test-verify-volume-fstab.yml for /cache/rhel-7.qcow2 => (item=fstab) included: /tmp/tmpaxjje44y/tests/test-verify-volume-fs.yml for /cache/rhel-7.qcow2 => (item=fs) included: /tmp/tmpaxjje44y/tests/test-verify-volume-device.yml for /cache/rhel-7.qcow2 => (item=device) included: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml for /cache/rhel-7.qcow2 => (item=encryption) included: /tmp/tmpaxjje44y/tests/test-verify-volume-md.yml for /cache/rhel-7.qcow2 => (item=md) included: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml for /cache/rhel-7.qcow2 => (item=size) included: /tmp/tmpaxjje44y/tests/test-verify-volume-cache.yml for /cache/rhel-7.qcow2 => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-mount.yml:6 Thursday 21 July 2022 14:09:54 +0000 (0:00:00.082) 0:00:46.959 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/vg1-lv3" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-mount.yml:14 Thursday 21 July 2022 14:09:54 +0000 (0:00:00.042) 0:00:47.001 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 774552, "block_size": 4096, "block_total": 782848, "block_used": 8296, "device": "/dev/mapper/vg1-lv3", "fstype": "xfs", "inode_available": 1570813, "inode_total": 1570816, "inode_used": 3, "mount": "/opt/test3", "options": "rw,seclabel,relatime,attr2,inode64,sunit=1024,swidth=2048,noquota", "size_available": 3172564992, "size_total": 3206545408, "uuid": "0117e58b-0755-4131-95e1-02280925665b" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 774552, "block_size": 4096, "block_total": 782848, "block_used": 8296, "device": "/dev/mapper/vg1-lv3", "fstype": "xfs", "inode_available": 1570813, "inode_total": 1570816, "inode_used": 3, "mount": "/opt/test3", "options": "rw,seclabel,relatime,attr2,inode64,sunit=1024,swidth=2048,noquota", "size_available": 3172564992, "size_total": 3206545408, "uuid": "0117e58b-0755-4131-95e1-02280925665b" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-mount.yml:28 Thursday 21 July 2022 14:09:54 +0000 (0:00:00.058) 0:00:47.060 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-mount.yml:37 Thursday 21 July 2022 14:09:55 +0000 (0:00:00.051) 0:00:47.112 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpaxjje44y/tests/test-verify-volume-mount.yml:45 Thursday 21 July 2022 14:09:55 +0000 (0:00:00.051) 0:00:47.163 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-mount.yml:54 Thursday 21 July 2022 14:09:55 +0000 (0:00:00.052) 0:00:47.215 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-mount.yml:58 Thursday 21 July 2022 14:09:55 +0000 (0:00:00.025) 0:00:47.241 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-mount.yml:63 Thursday 21 July 2022 14:09:55 +0000 (0:00:00.025) 0:00:47.266 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-mount.yml:75 Thursday 21 July 2022 14:09:55 +0000 (0:00:00.026) 0:00:47.293 ********* ok: [/cache/rhel-7.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/tmpaxjje44y/tests/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 14:09:55 +0000 (0:00:00.034) 0:00:47.328 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "1", "storage_test_fstab_expected_mount_options_matches": "1", "storage_test_fstab_expected_mount_point_matches": "1", "storage_test_fstab_id_matches": [ "/dev/mapper/vg1-lv3 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test3 xfs defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test3 " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 14:09:55 +0000 (0:00:00.062) 0:00:47.390 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-fstab.yml:32 Thursday 21 July 2022 14:09:55 +0000 (0:00:00.050) 0:00:47.440 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-fstab.yml:39 Thursday 21 July 2022 14:09:55 +0000 (0:00:00.047) 0:00:47.488 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-fstab.yml:49 Thursday 21 July 2022 14:09:55 +0000 (0:00:00.034) 0:00:47.523 ********* ok: [/cache/rhel-7.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/tmpaxjje44y/tests/test-verify-volume-fs.yml:4 Thursday 21 July 2022 14:09:55 +0000 (0:00:00.032) 0:00:47.555 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-fs.yml:10 Thursday 21 July 2022 14:09:55 +0000 (0:00:00.038) 0:00:47.593 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-device.yml:4 Thursday 21 July 2022 14:09:55 +0000 (0:00:00.036) 0:00:47.630 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "stat": { "atime": 1658412574.1199725, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658412574.1199725, "dev": 5, "device_type": 64512, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 35547, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1658412574.1199725, "nlink": 1, "path": "/dev/mapper/vg1-lv3", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-device.yml:10 Thursday 21 July 2022 14:09:55 +0000 (0:00:00.339) 0:00:47.969 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-device.yml:18 Thursday 21 July 2022 14:09:55 +0000 (0:00:00.037) 0:00:48.007 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-device.yml:24 Thursday 21 July 2022 14:09:55 +0000 (0:00:00.037) 0:00:48.044 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-device.yml:28 Thursday 21 July 2022 14:09:56 +0000 (0:00:00.035) 0:00:48.079 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-device.yml:33 Thursday 21 July 2022 14:09:56 +0000 (0:00:00.021) 0:00:48.101 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 14:09:56 +0000 (0:00:00.035) 0:00:48.137 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 14:09:56 +0000 (0:00:00.021) 0:00:48.159 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "rc": 0, "results": [ "cryptsetup-2.0.3-6.el7.x86_64 providing cryptsetup is already installed" ] } TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 14:09:56 +0000 (0:00:00.528) 0:00:48.687 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 14:09:56 +0000 (0:00:00.024) 0:00:48.712 ********* skipping: [/cache/rhel-7.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/tmpaxjje44y/tests/test-verify-volume-encryption.yml:30 Thursday 21 July 2022 14:09:56 +0000 (0:00:00.025) 0:00:48.738 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:38 Thursday 21 July 2022 14:09:56 +0000 (0:00:00.050) 0:00:48.788 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 14:09:56 +0000 (0:00:00.023) 0:00:48.811 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:49 Thursday 21 July 2022 14:09:56 +0000 (0:00:00.024) 0:00:48.836 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:55 Thursday 21 July 2022 14:09:56 +0000 (0:00:00.025) 0:00:48.861 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:61 Thursday 21 July 2022 14:09:56 +0000 (0:00:00.024) 0:00:48.886 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 14:09:56 +0000 (0:00:00.024) 0:00:48.911 ********* ok: [/cache/rhel-7.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/tmpaxjje44y/tests/test-verify-volume-encryption.yml:74 Thursday 21 July 2022 14:09:56 +0000 (0:00:00.054) 0:00:48.965 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:79 Thursday 21 July 2022 14:09:56 +0000 (0:00:00.048) 0:00:49.014 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:85 Thursday 21 July 2022 14:09:56 +0000 (0:00:00.038) 0:00:49.052 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:91 Thursday 21 July 2022 14:09:57 +0000 (0:00:00.035) 0:00:49.088 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:97 Thursday 21 July 2022 14:09:57 +0000 (0:00:00.039) 0:00:49.127 ********* ok: [/cache/rhel-7.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/tmpaxjje44y/tests/test-verify-volume-md.yml:7 Thursday 21 July 2022 14:09:57 +0000 (0:00:00.033) 0:00:49.161 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-md.yml:13 Thursday 21 July 2022 14:09:57 +0000 (0:00:00.038) 0:00:49.199 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-md.yml:17 Thursday 21 July 2022 14:09:57 +0000 (0:00:00.037) 0:00:49.237 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-md.yml:21 Thursday 21 July 2022 14:09:57 +0000 (0:00:00.042) 0:00:49.279 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-md.yml:25 Thursday 21 July 2022 14:09:57 +0000 (0:00:00.037) 0:00:49.316 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-md.yml:31 Thursday 21 July 2022 14:09:57 +0000 (0:00:00.037) 0:00:49.353 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-md.yml:37 Thursday 21 July 2022 14:09:57 +0000 (0:00:00.037) 0:00:49.391 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:3 Thursday 21 July 2022 14:09:57 +0000 (0:00:00.040) 0:00:49.431 ********* ok: [/cache/rhel-7.qcow2] => { "bytes": 3221225472, "changed": false, "lvm": "3g", "parted": "3GiB", "size": "3 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:9 Thursday 21 July 2022 14:09:57 +0000 (0:00:00.300) 0:00:49.732 ********* ok: [/cache/rhel-7.qcow2] => { "bytes": 3221225472, "changed": false, "lvm": "3g", "parted": "3GiB", "size": "3 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:15 Thursday 21 July 2022 14:09:58 +0000 (0:00:00.350) 0:00:50.083 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_expected_size": "3221225472" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:20 Thursday 21 July 2022 14:09:58 +0000 (0:00:00.086) 0:00:50.169 ********* ok: [/cache/rhel-7.qcow2] => { "storage_test_expected_size": "3221225472" } TASK [debug] ******************************************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:25 Thursday 21 July 2022 14:09:58 +0000 (0:00:00.044) 0:00:50.214 ********* skipping: [/cache/rhel-7.qcow2] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:28 Thursday 21 July 2022 14:09:58 +0000 (0:00:00.043) 0:00:50.257 ********* skipping: [/cache/rhel-7.qcow2] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:31 Thursday 21 July 2022 14:09:58 +0000 (0:00:00.037) 0:00:50.294 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:36 Thursday 21 July 2022 14:09:58 +0000 (0:00:00.035) 0:00:50.329 ********* skipping: [/cache/rhel-7.qcow2] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:39 Thursday 21 July 2022 14:09:58 +0000 (0:00:00.037) 0:00:50.367 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:44 Thursday 21 July 2022 14:09:58 +0000 (0:00:00.040) 0:00:50.408 ********* ok: [/cache/rhel-7.qcow2] => { "storage_test_actual_size": { "bytes": 3221225472, "changed": false, "failed": false, "lvm": "3g", "parted": "3GiB", "size": "3 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:47 Thursday 21 July 2022 14:09:58 +0000 (0:00:00.076) 0:00:50.484 ********* ok: [/cache/rhel-7.qcow2] => { "storage_test_expected_size": "3221225472" } TASK [assert] ****************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:50 Thursday 21 July 2022 14:09:58 +0000 (0:00:00.102) 0:00:50.586 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-cache.yml:6 Thursday 21 July 2022 14:09:58 +0000 (0:00:00.049) 0:00:50.636 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "cmd": [ "lvs", "--noheadings", "--nameprefixes", "--units=b", "--nosuffix", "--unquoted", "-o", "name,attr,cache_total_blocks,chunk_size,segtype", "vg1/lv3" ], "delta": "0:00:00.023356", "end": "2022-07-21 10:09:58.604481", "rc": 0, "start": "2022-07-21 10:09:58.581125" } STDOUT: LVM2_LV_NAME=lv3 LVM2_LV_ATTR=-wi-ao---- LVM2_CACHE_TOTAL_BLOCKS= LVM2_CHUNK_SIZE=0 LVM2_SEGTYPE=linear TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-cache.yml:14 Thursday 21 July 2022 14:09:58 +0000 (0:00:00.337) 0:00:50.974 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_lv_segtype": [ "linear" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-cache.yml:17 Thursday 21 July 2022 14:09:58 +0000 (0:00:00.052) 0:00:51.026 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-cache.yml:22 Thursday 21 July 2022 14:09:58 +0000 (0:00:00.051) 0:00:51.077 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-cache.yml:26 Thursday 21 July 2022 14:09:59 +0000 (0:00:00.037) 0:00:51.114 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-cache.yml:32 Thursday 21 July 2022 14:09:59 +0000 (0:00:00.035) 0:00:51.150 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-cache.yml:36 Thursday 21 July 2022 14:09:59 +0000 (0:00:00.039) 0:00:51.189 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume.yml:16 Thursday 21 July 2022 14:09:59 +0000 (0:00:00.035) 0:00:51.225 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpaxjje44y/tests/verify-role-results.yml:43 Thursday 21 July 2022 14:09:59 +0000 (0:00:00.034) 0:00:51.259 ********* TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpaxjje44y/tests/verify-role-results.yml:53 Thursday 21 July 2022 14:09:59 +0000 (0:00:00.023) 0:00:51.282 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Repeat the previous invocation to verify idempotence] ******************** task path: /tmp/tmpaxjje44y/tests/tests_create_raid_pool_then_remove.yml:54 Thursday 21 July 2022 14:09:59 +0000 (0:00:00.038) 0:00:51.321 ********* TASK [linux-system-roles.storage : set platform/version specific variables] **** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Thursday 21 July 2022 14:09:59 +0000 (0:00:00.047) 0:00:51.368 ********* included: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/set_vars.yml for /cache/rhel-7.qcow2 TASK [linux-system-roles.storage : Ensure ansible_facts used by role] ********** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Thursday 21 July 2022 14:09:59 +0000 (0:00:00.039) 0:00:51.407 ********* ok: [/cache/rhel-7.qcow2] TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Thursday 21 July 2022 14:09:59 +0000 (0:00:00.416) 0:00:51.824 ********* skipping: [/cache/rhel-7.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-7.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/rhel-7.qcow2] => (item=RedHat_7.yml) => { "ansible_facts": { "__storage_blivet_diskvolume_mkfs_option_map": { "ext2": "-F", "ext3": "-F", "ext4": "-F" }, "blivet_package_list": [ "python-enum34", "python-blivet3", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap" ] }, "ansible_included_var_files": [ "/tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/vars/RedHat_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_7.yml" } skipping: [/cache/rhel-7.qcow2] => (item=RedHat_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_7.9.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Thursday 21 July 2022 14:09:59 +0000 (0:00:00.063) 0:00:51.887 ********* ok: [/cache/rhel-7.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/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Thursday 21 July 2022 14:09:59 +0000 (0:00:00.034) 0:00:51.922 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : include the appropriate provider tasks] ***** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Thursday 21 July 2022 14:09:59 +0000 (0:00:00.033) 0:00:51.955 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml for /cache/rhel-7.qcow2 TASK [linux-system-roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 14:09:59 +0000 (0:00:00.048) 0:00:52.004 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure blivet is available] ************** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 14:09:59 +0000 (0:00:00.022) 0:00:52.027 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : show storage_pools] ************************* task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:14 Thursday 21 July 2022 14:09:59 +0000 (0:00:00.030) 0:00:52.057 ********* ok: [/cache/rhel-7.qcow2] => { "storage_pools": [ { "disks": [ "sdb", "sdc" ], "name": "vg1", "raid_level": "raid0", "state": "present", "type": "lvm", "volumes": [ { "mount_point": "/opt/test1", "name": "lv1", "size": "2g" }, { "mount_point": "/opt/test2", "name": "lv2", "size": "3g" }, { "mount_point": "/opt/test3", "name": "lv3", "size": "3g" } ] } ] } TASK [linux-system-roles.storage : show storage_volumes] *********************** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:19 Thursday 21 July 2022 14:10:00 +0000 (0:00:00.040) 0:00:52.097 ********* ok: [/cache/rhel-7.qcow2] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [linux-system-roles.storage : get required packages] ********************** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:24 Thursday 21 July 2022 14:10:00 +0000 (0:00:00.039) 0:00:52.136 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : enable copr repositories if needed] ********* task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:37 Thursday 21 July 2022 14:10:00 +0000 (0:00:00.029) 0:00:52.166 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure required packages are installed] *** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:44 Thursday 21 July 2022 14:10:00 +0000 (0:00:00.030) 0:00:52.197 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : get service facts] ************************** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 Thursday 21 July 2022 14:10:00 +0000 (0:00:00.029) 0:00:52.227 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set storage_cryptsetup_services] ************ task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 14:10:00 +0000 (0:00:00.029) 0:00:52.256 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [linux-system-roles.storage : Mask the systemd cryptsetup services] ******* task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:71 Thursday 21 July 2022 14:10:00 +0000 (0:00:00.096) 0:00:52.352 ********* TASK [linux-system-roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Thursday 21 July 2022 14:10:00 +0000 (0:00:00.054) 0:00:52.407 ********* ok: [/cache/rhel-7.qcow2] => { "actions": [], "changed": false, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/sda", "/dev/mapper/vg1-lv1", "/dev/mapper/vg1-lv2", "/dev/mapper/vg1-lv3", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb", "/dev/vdc", "/dev/vdd" ], "mounts": [ { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/vg1-lv1", "state": "mounted" }, { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test2", "src": "/dev/mapper/vg1-lv2", "state": "mounted" }, { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test3", "src": "/dev/mapper/vg1-lv3", "state": "mounted" } ], "packages": [ "xfsprogs", "mdadm", "lvm2" ], "pools": [ { "disks": [ "sdb", "sdc" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": "512 KiB", "raid_device_count": 2, "raid_level": "raid0", "raid_metadata_version": "1.2", "raid_spare_count": 0, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_kernel_device": "/dev/dm-2", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "_raw_kernel_device": "/dev/dm-2", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sdb", "sdc" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "/dev/mapper/vg1-lv2", "_kernel_device": "/dev/dm-1", "_mount_id": "/dev/mapper/vg1-lv2", "_raw_device": "/dev/mapper/vg1-lv2", "_raw_kernel_device": "/dev/dm-1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sdb", "sdc" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "lv2", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "/dev/mapper/vg1-lv3", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/vg1-lv3", "_raw_device": "/dev/mapper/vg1-lv3", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sdb", "sdc" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test3", "name": "lv3", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } TASK [linux-system-roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:91 Thursday 21 July 2022 14:10:02 +0000 (0:00:02.154) 0:00:54.562 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Unmask the systemd cryptsetup services] ***** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:103 Thursday 21 July 2022 14:10:02 +0000 (0:00:00.035) 0:00:54.597 ********* TASK [linux-system-roles.storage : show blivet_output] ************************* task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:109 Thursday 21 July 2022 14:10:02 +0000 (0:00:00.020) 0:00:54.618 ********* ok: [/cache/rhel-7.qcow2] => { "blivet_output": { "actions": [], "changed": false, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/sda", "/dev/mapper/vg1-lv1", "/dev/mapper/vg1-lv2", "/dev/mapper/vg1-lv3", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb", "/dev/vdc", "/dev/vdd" ], "mounts": [ { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/vg1-lv1", "state": "mounted" }, { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test2", "src": "/dev/mapper/vg1-lv2", "state": "mounted" }, { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test3", "src": "/dev/mapper/vg1-lv3", "state": "mounted" } ], "packages": [ "xfsprogs", "mdadm", "lvm2" ], "pools": [ { "disks": [ "sdb", "sdc" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": "512 KiB", "raid_device_count": 2, "raid_level": "raid0", "raid_metadata_version": "1.2", "raid_spare_count": 0, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_kernel_device": "/dev/dm-2", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "_raw_kernel_device": "/dev/dm-2", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sdb", "sdc" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "/dev/mapper/vg1-lv2", "_kernel_device": "/dev/dm-1", "_mount_id": "/dev/mapper/vg1-lv2", "_raw_device": "/dev/mapper/vg1-lv2", "_raw_kernel_device": "/dev/dm-1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sdb", "sdc" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "lv2", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "/dev/mapper/vg1-lv3", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/vg1-lv3", "_raw_device": "/dev/mapper/vg1-lv3", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sdb", "sdc" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test3", "name": "lv3", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } } TASK [linux-system-roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:114 Thursday 21 July 2022 14:10:02 +0000 (0:00:00.040) 0:00:54.658 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sdb", "sdc" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": "512 KiB", "raid_device_count": 2, "raid_level": "raid0", "raid_metadata_version": "1.2", "raid_spare_count": 0, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_kernel_device": "/dev/dm-2", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "_raw_kernel_device": "/dev/dm-2", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sdb", "sdc" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "/dev/mapper/vg1-lv2", "_kernel_device": "/dev/dm-1", "_mount_id": "/dev/mapper/vg1-lv2", "_raw_device": "/dev/mapper/vg1-lv2", "_raw_kernel_device": "/dev/dm-1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sdb", "sdc" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "lv2", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "/dev/mapper/vg1-lv3", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/vg1-lv3", "_raw_device": "/dev/mapper/vg1-lv3", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sdb", "sdc" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test3", "name": "lv3", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] }, "changed": false } TASK [linux-system-roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:118 Thursday 21 July 2022 14:10:02 +0000 (0:00:00.037) 0:00:54.696 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : remove obsolete mounts] ********************* task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:134 Thursday 21 July 2022 14:10:02 +0000 (0:00:00.034) 0:00:54.730 ********* TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:146 Thursday 21 July 2022 14:10:02 +0000 (0:00:00.039) 0:00:54.770 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : set up new/current mounts] ****************** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:151 Thursday 21 July 2022 14:10:03 +0000 (0:00:00.473) 0:00:55.243 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount ok: [/cache/rhel-7.qcow2] => (item={'src': '/dev/mapper/vg1-lv1', 'dump': 0, 'passno': 0, 'fstype': 'xfs', 'state': 'mounted', 'path': '/opt/test1', 'opts': 'defaults'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": false, "dump": "0", "fstab": "/etc/fstab", "fstype": "xfs", "mount_info": { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/vg1-lv1", "state": "mounted" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "/dev/mapper/vg1-lv1" } redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount ok: [/cache/rhel-7.qcow2] => (item={'src': '/dev/mapper/vg1-lv2', 'dump': 0, 'passno': 0, 'fstype': 'xfs', 'state': 'mounted', 'path': '/opt/test2', 'opts': 'defaults'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": false, "dump": "0", "fstab": "/etc/fstab", "fstype": "xfs", "mount_info": { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test2", "src": "/dev/mapper/vg1-lv2", "state": "mounted" }, "name": "/opt/test2", "opts": "defaults", "passno": "0", "src": "/dev/mapper/vg1-lv2" } redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount ok: [/cache/rhel-7.qcow2] => (item={'src': '/dev/mapper/vg1-lv3', 'dump': 0, 'passno': 0, 'fstype': 'xfs', 'state': 'mounted', 'path': '/opt/test3', 'opts': 'defaults'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": false, "dump": "0", "fstab": "/etc/fstab", "fstype": "xfs", "mount_info": { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test3", "src": "/dev/mapper/vg1-lv3", "state": "mounted" }, "name": "/opt/test3", "opts": "defaults", "passno": "0", "src": "/dev/mapper/vg1-lv3" } TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:163 Thursday 21 July 2022 14:10:04 +0000 (0:00:00.966) 0:00:56.209 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:171 Thursday 21 July 2022 14:10:04 +0000 (0:00:00.462) 0:00:56.672 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "stat": { "atime": 1658412558.1759725, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1658201031.524, "dev": 64769, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 70, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "inode/x-empty", "mode": "0600", "mtime": 1658200515.884, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "18446744071677828413", "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/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:176 Thursday 21 July 2022 14:10:04 +0000 (0:00:00.318) 0:00:56.990 ********* TASK [linux-system-roles.storage : Update facts] ******************************* task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 Thursday 21 July 2022 14:10:04 +0000 (0:00:00.023) 0:00:57.014 ********* ok: [/cache/rhel-7.qcow2] META: role_complete for /cache/rhel-7.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmpaxjje44y/tests/tests_create_raid_pool_then_remove.yml:75 Thursday 21 July 2022 14:10:05 +0000 (0:00:00.878) 0:00:57.892 ********* included: /tmp/tmpaxjje44y/tests/verify-role-results.yml for /cache/rhel-7.qcow2 TASK [Print out pool information] ********************************************** task path: /tmp/tmpaxjje44y/tests/verify-role-results.yml:1 Thursday 21 July 2022 14:10:05 +0000 (0:00:00.091) 0:00:57.984 ********* ok: [/cache/rhel-7.qcow2] => { "_storage_pools_list": [ { "disks": [ "sdb", "sdc" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": "512 KiB", "raid_device_count": 2, "raid_level": "raid0", "raid_metadata_version": "1.2", "raid_spare_count": 0, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_kernel_device": "/dev/dm-2", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "_raw_kernel_device": "/dev/dm-2", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sdb", "sdc" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "/dev/mapper/vg1-lv2", "_kernel_device": "/dev/dm-1", "_mount_id": "/dev/mapper/vg1-lv2", "_raw_device": "/dev/mapper/vg1-lv2", "_raw_kernel_device": "/dev/dm-1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sdb", "sdc" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "lv2", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "/dev/mapper/vg1-lv3", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/vg1-lv3", "_raw_device": "/dev/mapper/vg1-lv3", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sdb", "sdc" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test3", "name": "lv3", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] } TASK [Print out volume information] ******************************************** task path: /tmp/tmpaxjje44y/tests/verify-role-results.yml:6 Thursday 21 July 2022 14:10:05 +0000 (0:00:00.054) 0:00:58.038 ********* skipping: [/cache/rhel-7.qcow2] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpaxjje44y/tests/verify-role-results.yml:14 Thursday 21 July 2022 14:10:05 +0000 (0:00:00.037) 0:00:58.076 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "info": { "/dev/fd0": { "fstype": "", "label": "", "name": "/dev/fd0", "size": "4K", "type": "disk", "uuid": "" }, "/dev/mapper/vg1-lv1": { "fstype": "xfs", "label": "", "name": "/dev/mapper/vg1-lv1", "size": "2G", "type": "lvm", "uuid": "f62cb6f2-0c1f-4b19-b491-54dedc6c78ce" }, "/dev/mapper/vg1-lv2": { "fstype": "xfs", "label": "", "name": "/dev/mapper/vg1-lv2", "size": "3G", "type": "lvm", "uuid": "30e6a2b6-e013-48b6-8993-6c0bae9a6165" }, "/dev/mapper/vg1-lv3": { "fstype": "xfs", "label": "", "name": "/dev/mapper/vg1-lv3", "size": "3G", "type": "lvm", "uuid": "0117e58b-0755-4131-95e1-02280925665b" }, "/dev/md/vg1-1": { "fstype": "LVM2_member", "label": "", "name": "/dev/md/vg1-1", "size": "20G", "type": "raid0", "uuid": "cYT9NM-aPhC-6c5r-dBQJ-2fmd-ZxZ6-L3lIe2" }, "/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/sdb1": { "fstype": "linux_raid_member", "label": "vg1-1", "name": "/dev/sdb1", "size": "10G", "type": "partition", "uuid": "8e6d8c75-968c-b411-cc8e-9d5e853c7034" }, "/dev/sdc": { "fstype": "", "label": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdc1": { "fstype": "linux_raid_member", "label": "vg1-1", "name": "/dev/sdc1", "size": "10G", "type": "partition", "uuid": "8e6d8c75-968c-b411-cc8e-9d5e853c7034" }, "/dev/sr0": { "fstype": "iso9660", "label": "cidata", "name": "/dev/sr0", "size": "364K", "type": "rom", "uuid": "2022-07-21-14-08-55-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "xfs", "label": "", "name": "/dev/vda1", "size": "10G", "type": "partition", "uuid": "21864ae1-1c29-4009-a1c2-151e41d0e053" }, "/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/tmpaxjje44y/tests/verify-role-results.yml:19 Thursday 21 July 2022 14:10:06 +0000 (0:00:00.328) 0:00:58.405 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.003688", "end": "2022-07-21 10:10:06.354440", "rc": 0, "start": "2022-07-21 10:10:06.350752" } STDOUT: # # /etc/fstab # Created by anaconda on Tue Jul 19 03:15:15 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 # UUID=21864ae1-1c29-4009-a1c2-151e41d0e053 / xfs defaults 0 0 /dev/mapper/vg1-lv1 /opt/test1 xfs defaults 0 0 /dev/mapper/vg1-lv2 /opt/test2 xfs defaults 0 0 /dev/mapper/vg1-lv3 /opt/test3 xfs defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpaxjje44y/tests/verify-role-results.yml:24 Thursday 21 July 2022 14:10:06 +0000 (0:00:00.319) 0:00:58.724 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.003418", "end": "2022-07-21 10:10:06.670985", "failed_when_result": false, "rc": 0, "start": "2022-07-21 10:10:06.667567" } TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmpaxjje44y/tests/verify-role-results.yml:33 Thursday 21 July 2022 14:10:06 +0000 (0:00:00.315) 0:00:59.040 ********* included: /tmp/tmpaxjje44y/tests/test-verify-pool.yml for /cache/rhel-7.qcow2 => (item={'name': 'vg1', 'encryption_password': None, 'state': 'present', 'raid_metadata_version': '1.2', 'encryption': False, 'encryption_key_size': None, 'disks': ['sdb', 'sdc'], 'raid_level': 'raid0', 'encryption_luks_version': None, 'raid_device_count': 2, 'encryption_key': None, 'volumes': [{'_raw_device': '/dev/mapper/vg1-lv1', 'raid_metadata_version': None, 'raid_level': None, 'fs_type': 'xfs', 'mount_options': 'defaults', 'type': 'lvm', '_device': '/dev/mapper/vg1-lv1', 'size': '2g', 'mount_point': '/opt/test1', 'compression': None, 'encryption_password': None, '_kernel_device': '/dev/dm-2', 'encryption': False, 'mount_device_identifier': 'uuid', 'name': 'lv1', 'raid_device_count': None, 'state': 'present', 'vdo_pool_size': None, 'thin_pool_name': None, 'thin_pool_size': None, 'encryption_key_size': None, 'encryption_cipher': None, 'encryption_key': None, 'fs_label': '', 'encryption_luks_version': None, 'cache_size': 0, '_mount_id': '/dev/mapper/vg1-lv1', 'raid_spare_count': None, 'raid_disks': [], '_raw_kernel_device': '/dev/dm-2', 'cache_mode': None, 'deduplication': None, 'cached': False, 'fs_overwrite_existing': True, 'disks': ['sdb', 'sdc'], 'thin': False, 'mount_check': 0, 'mount_passno': 0, 'raid_chunk_size': None, 'cache_devices': [], 'fs_create_options': ''}, {'_raw_device': '/dev/mapper/vg1-lv2', 'raid_metadata_version': None, 'raid_level': None, 'fs_type': 'xfs', 'mount_options': 'defaults', 'type': 'lvm', '_device': '/dev/mapper/vg1-lv2', 'size': '3g', 'mount_point': '/opt/test2', 'compression': None, 'encryption_password': None, '_kernel_device': '/dev/dm-1', 'encryption': False, 'mount_device_identifier': 'uuid', 'name': 'lv2', 'raid_device_count': None, 'state': 'present', 'vdo_pool_size': None, 'thin_pool_name': None, 'thin_pool_size': None, 'encryption_key_size': None, 'encryption_cipher': None, 'encryption_key': None, 'fs_label': '', 'encryption_luks_version': None, 'cache_size': 0, '_mount_id': '/dev/mapper/vg1-lv2', 'raid_spare_count': None, 'raid_disks': [], '_raw_kernel_device': '/dev/dm-1', 'cache_mode': None, 'deduplication': None, 'cached': False, 'fs_overwrite_existing': True, 'disks': ['sdb', 'sdc'], 'thin': False, 'mount_check': 0, 'mount_passno': 0, 'raid_chunk_size': None, 'cache_devices': [], 'fs_create_options': ''}, {'_raw_device': '/dev/mapper/vg1-lv3', 'raid_metadata_version': None, 'raid_level': None, 'fs_type': 'xfs', 'mount_options': 'defaults', 'type': 'lvm', '_device': '/dev/mapper/vg1-lv3', 'size': '3g', 'mount_point': '/opt/test3', 'compression': None, 'encryption_password': None, '_kernel_device': '/dev/dm-0', 'encryption': False, 'mount_device_identifier': 'uuid', 'name': 'lv3', 'raid_device_count': None, 'state': 'present', 'vdo_pool_size': None, 'thin_pool_name': None, 'thin_pool_size': None, 'encryption_key_size': None, 'encryption_cipher': None, 'encryption_key': None, 'fs_label': '', 'encryption_luks_version': None, 'cache_size': 0, '_mount_id': '/dev/mapper/vg1-lv3', 'raid_spare_count': None, 'raid_disks': [], '_raw_kernel_device': '/dev/dm-0', 'cache_mode': None, 'deduplication': None, 'cached': False, 'fs_overwrite_existing': True, 'disks': ['sdb', 'sdc'], 'thin': False, 'mount_check': 0, 'mount_passno': 0, 'raid_chunk_size': None, 'cache_devices': [], 'fs_create_options': ''}], 'raid_chunk_size': '512 KiB', 'type': 'lvm', 'encryption_cipher': None, 'raid_spare_count': 0}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-pool.yml:5 Thursday 21 July 2022 14:10:07 +0000 (0:00:00.060) 0:00:59.101 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-pool.yml:18 Thursday 21 July 2022 14:10:07 +0000 (0:00:00.037) 0:00:59.138 ********* included: /tmp/tmpaxjje44y/tests/test-verify-pool-members.yml for /cache/rhel-7.qcow2 => (item=members) included: /tmp/tmpaxjje44y/tests/test-verify-pool-volumes.yml for /cache/rhel-7.qcow2 => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-pool-members.yml:1 Thursday 21 July 2022 14:10:07 +0000 (0:00:00.045) 0:00:59.184 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_count": "1", "_storage_test_pool_pvs_lvm": [ "/dev/md127" ] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmpaxjje44y/tests/test-verify-pool-members.yml:10 Thursday 21 July 2022 14:10:07 +0000 (0:00:00.055) 0:00:59.239 ********* ok: [/cache/rhel-7.qcow2] => (item=/dev/md127) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/md/vg1-1", "pv": "/dev/md127" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-pool-members.yml:19 Thursday 21 July 2022 14:10:07 +0000 (0:00:00.311) 0:00:59.550 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "__pvs_lvm_len": "1" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-pool-members.yml:23 Thursday 21 July 2022 14:10:07 +0000 (0:00:00.050) 0:00:59.601 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/md/vg1-1" ] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-pool-members.yml:27 Thursday 21 July 2022 14:10:07 +0000 (0:00:00.060) 0:00:59.662 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-pool-members.yml:34 Thursday 21 July 2022 14:10:07 +0000 (0:00:00.050) 0:00:59.712 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-pool-members.yml:38 Thursday 21 July 2022 14:10:07 +0000 (0:00:00.036) 0:00:59.748 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_type": "partition" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-pool-members.yml:42 Thursday 21 July 2022 14:10:07 +0000 (0:00:00.052) 0:00:59.800 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_type": "raid0" }, "changed": false } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-pool-members.yml:46 Thursday 21 July 2022 14:10:07 +0000 (0:00:00.040) 0:00:59.841 ********* ok: [/cache/rhel-7.qcow2] => (item=/dev/md/vg1-1) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/md/vg1-1" } MSG: All assertions passed TASK [Check MD RAID] *********************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-pool-members.yml:56 Thursday 21 July 2022 14:10:07 +0000 (0:00:00.052) 0:00:59.894 ********* included: /tmp/tmpaxjje44y/tests/verify-pool-md.yml for /cache/rhel-7.qcow2 TASK [get information about RAID] ********************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-md.yml:6 Thursday 21 July 2022 14:10:07 +0000 (0:00:00.042) 0:00:59.937 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "cmd": [ "mdadm", "--detail", "/dev/md/vg1-1" ], "delta": "0:00:00.011769", "end": "2022-07-21 10:10:07.894324", "rc": 0, "start": "2022-07-21 10:10:07.882555" } STDOUT: /dev/md/vg1-1: Version : 1.2 Creation Time : Thu Jul 21 10:09:28 2022 Raid Level : raid0 Array Size : 20951040 (19.98 GiB 21.45 GB) Raid Devices : 2 Total Devices : 2 Persistence : Superblock is persistent Update Time : Thu Jul 21 10:09:28 2022 State : clean Active Devices : 2 Working Devices : 2 Failed Devices : 0 Spare Devices : 0 Chunk Size : 512K Consistency Policy : none Name : vg1-1 UUID : 8e6d8c75:968cb411:cc8e9d5e:853c7034 Events : 0 Number Major Minor RaidDevice State 0 8 17 0 active sync /dev/sdb1 1 8 33 1 active sync /dev/sdc1 TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-md.yml:12 Thursday 21 July 2022 14:10:08 +0000 (0:00:00.358) 0:01:00.295 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_md_active_devices_re": "Active\\ Devices\\ :\\ 2\\\n" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-md.yml:16 Thursday 21 July 2022 14:10:08 +0000 (0:00:00.057) 0:01:00.352 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_md_spare_devices_re": "Spare\\ Devices\\ :\\ 0\\\n" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-md.yml:20 Thursday 21 July 2022 14:10:08 +0000 (0:00:00.055) 0:01:00.408 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_md_metadata_version_re": "Version\\ :\\ 1\\.2\\\n" }, "changed": false } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-md.yml:24 Thursday 21 July 2022 14:10:08 +0000 (0:00:00.057) 0:01:00.465 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-md.yml:30 Thursday 21 July 2022 14:10:08 +0000 (0:00:00.045) 0:01:00.511 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpaxjje44y/tests/verify-pool-md.yml:36 Thursday 21 July 2022 14:10:08 +0000 (0:00:00.045) 0:01:00.556 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-md.yml:44 Thursday 21 July 2022 14:10:08 +0000 (0:00:00.044) 0:01:00.600 ********* ok: [/cache/rhel-7.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/tmpaxjje44y/tests/test-verify-pool-members.yml:59 Thursday 21 July 2022 14:10:08 +0000 (0:00:00.039) 0:01:00.640 ********* included: /tmp/tmpaxjje44y/tests/verify-pool-members-lvmraid.yml for /cache/rhel-7.qcow2 TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-members-lvmraid.yml:1 Thursday 21 July 2022 14:10:08 +0000 (0:00:00.052) 0:01:00.692 ********* included: /tmp/tmpaxjje44y/tests/verify-pool-member-lvmraid.yml for /cache/rhel-7.qcow2 => (item={'_raw_device': '/dev/mapper/vg1-lv1', 'raid_metadata_version': None, 'raid_level': None, 'fs_type': 'xfs', 'mount_options': 'defaults', 'type': 'lvm', '_device': '/dev/mapper/vg1-lv1', 'size': '2g', 'mount_point': '/opt/test1', 'compression': None, 'encryption_password': None, '_kernel_device': '/dev/dm-2', 'encryption': False, 'mount_device_identifier': 'uuid', 'name': 'lv1', 'raid_device_count': None, 'state': 'present', 'vdo_pool_size': None, 'thin_pool_name': None, 'thin_pool_size': None, 'encryption_key_size': None, 'encryption_cipher': None, 'encryption_key': None, 'fs_label': '', 'encryption_luks_version': None, 'cache_size': 0, '_mount_id': '/dev/mapper/vg1-lv1', 'raid_spare_count': None, 'raid_disks': [], '_raw_kernel_device': '/dev/dm-2', 'cache_mode': None, 'deduplication': None, 'cached': False, 'fs_overwrite_existing': True, 'disks': ['sdb', 'sdc'], 'thin': False, 'mount_check': 0, 'mount_passno': 0, 'raid_chunk_size': None, 'cache_devices': [], 'fs_create_options': ''}) included: /tmp/tmpaxjje44y/tests/verify-pool-member-lvmraid.yml for /cache/rhel-7.qcow2 => (item={'_raw_device': '/dev/mapper/vg1-lv2', 'raid_metadata_version': None, 'raid_level': None, 'fs_type': 'xfs', 'mount_options': 'defaults', 'type': 'lvm', '_device': '/dev/mapper/vg1-lv2', 'size': '3g', 'mount_point': '/opt/test2', 'compression': None, 'encryption_password': None, '_kernel_device': '/dev/dm-1', 'encryption': False, 'mount_device_identifier': 'uuid', 'name': 'lv2', 'raid_device_count': None, 'state': 'present', 'vdo_pool_size': None, 'thin_pool_name': None, 'thin_pool_size': None, 'encryption_key_size': None, 'encryption_cipher': None, 'encryption_key': None, 'fs_label': '', 'encryption_luks_version': None, 'cache_size': 0, '_mount_id': '/dev/mapper/vg1-lv2', 'raid_spare_count': None, 'raid_disks': [], '_raw_kernel_device': '/dev/dm-1', 'cache_mode': None, 'deduplication': None, 'cached': False, 'fs_overwrite_existing': True, 'disks': ['sdb', 'sdc'], 'thin': False, 'mount_check': 0, 'mount_passno': 0, 'raid_chunk_size': None, 'cache_devices': [], 'fs_create_options': ''}) included: /tmp/tmpaxjje44y/tests/verify-pool-member-lvmraid.yml for /cache/rhel-7.qcow2 => (item={'_raw_device': '/dev/mapper/vg1-lv3', 'raid_metadata_version': None, 'raid_level': None, 'fs_type': 'xfs', 'mount_options': 'defaults', 'type': 'lvm', '_device': '/dev/mapper/vg1-lv3', 'size': '3g', 'mount_point': '/opt/test3', 'compression': None, 'encryption_password': None, '_kernel_device': '/dev/dm-0', 'encryption': False, 'mount_device_identifier': 'uuid', 'name': 'lv3', 'raid_device_count': None, 'state': 'present', 'vdo_pool_size': None, 'thin_pool_name': None, 'thin_pool_size': None, 'encryption_key_size': None, 'encryption_cipher': None, 'encryption_key': None, 'fs_label': '', 'encryption_luks_version': None, 'cache_size': 0, '_mount_id': '/dev/mapper/vg1-lv3', 'raid_spare_count': None, 'raid_disks': [], '_raw_kernel_device': '/dev/dm-0', 'cache_mode': None, 'deduplication': None, 'cached': False, 'fs_overwrite_existing': True, 'disks': ['sdb', 'sdc'], 'thin': False, 'mount_check': 0, 'mount_passno': 0, 'raid_chunk_size': None, 'cache_devices': [], 'fs_create_options': ''}) TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-member-lvmraid.yml:3 Thursday 21 July 2022 14:10:08 +0000 (0:00:00.053) 0:01:00.746 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmpaxjje44y/tests/verify-pool-member-lvmraid.yml:8 Thursday 21 July 2022 14:10:08 +0000 (0:00:00.026) 0:01:00.772 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-member-lvmraid.yml:12 Thursday 21 July 2022 14:10:08 +0000 (0:00:00.028) 0:01:00.801 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-member-lvmraid.yml:3 Thursday 21 July 2022 14:10:08 +0000 (0:00:00.032) 0:01:00.833 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmpaxjje44y/tests/verify-pool-member-lvmraid.yml:8 Thursday 21 July 2022 14:10:08 +0000 (0:00:00.036) 0:01:00.870 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-member-lvmraid.yml:12 Thursday 21 July 2022 14:10:08 +0000 (0:00:00.033) 0:01:00.903 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-member-lvmraid.yml:3 Thursday 21 July 2022 14:10:08 +0000 (0:00:00.028) 0:01:00.932 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmpaxjje44y/tests/verify-pool-member-lvmraid.yml:8 Thursday 21 July 2022 14:10:08 +0000 (0:00:00.033) 0:01:00.965 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-member-lvmraid.yml:12 Thursday 21 July 2022 14:10:08 +0000 (0:00:00.027) 0:01:00.993 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-pool-members.yml:62 Thursday 21 July 2022 14:10:08 +0000 (0:00:00.027) 0:01:01.021 ********* included: /tmp/tmpaxjje44y/tests/verify-pool-members-thin.yml for /cache/rhel-7.qcow2 TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-members-thin.yml:1 Thursday 21 July 2022 14:10:08 +0000 (0:00:00.045) 0:01:01.066 ********* included: /tmp/tmpaxjje44y/tests/verify-pool-member-thin.yml for /cache/rhel-7.qcow2 => (item={'_raw_device': '/dev/mapper/vg1-lv1', 'raid_metadata_version': None, 'raid_level': None, 'fs_type': 'xfs', 'mount_options': 'defaults', 'type': 'lvm', '_device': '/dev/mapper/vg1-lv1', 'size': '2g', 'mount_point': '/opt/test1', 'compression': None, 'encryption_password': None, '_kernel_device': '/dev/dm-2', 'encryption': False, 'mount_device_identifier': 'uuid', 'name': 'lv1', 'raid_device_count': None, 'state': 'present', 'vdo_pool_size': None, 'thin_pool_name': None, 'thin_pool_size': None, 'encryption_key_size': None, 'encryption_cipher': None, 'encryption_key': None, 'fs_label': '', 'encryption_luks_version': None, 'cache_size': 0, '_mount_id': '/dev/mapper/vg1-lv1', 'raid_spare_count': None, 'raid_disks': [], '_raw_kernel_device': '/dev/dm-2', 'cache_mode': None, 'deduplication': None, 'cached': False, 'fs_overwrite_existing': True, 'disks': ['sdb', 'sdc'], 'thin': False, 'mount_check': 0, 'mount_passno': 0, 'raid_chunk_size': None, 'cache_devices': [], 'fs_create_options': ''}) included: /tmp/tmpaxjje44y/tests/verify-pool-member-thin.yml for /cache/rhel-7.qcow2 => (item={'_raw_device': '/dev/mapper/vg1-lv2', 'raid_metadata_version': None, 'raid_level': None, 'fs_type': 'xfs', 'mount_options': 'defaults', 'type': 'lvm', '_device': '/dev/mapper/vg1-lv2', 'size': '3g', 'mount_point': '/opt/test2', 'compression': None, 'encryption_password': None, '_kernel_device': '/dev/dm-1', 'encryption': False, 'mount_device_identifier': 'uuid', 'name': 'lv2', 'raid_device_count': None, 'state': 'present', 'vdo_pool_size': None, 'thin_pool_name': None, 'thin_pool_size': None, 'encryption_key_size': None, 'encryption_cipher': None, 'encryption_key': None, 'fs_label': '', 'encryption_luks_version': None, 'cache_size': 0, '_mount_id': '/dev/mapper/vg1-lv2', 'raid_spare_count': None, 'raid_disks': [], '_raw_kernel_device': '/dev/dm-1', 'cache_mode': None, 'deduplication': None, 'cached': False, 'fs_overwrite_existing': True, 'disks': ['sdb', 'sdc'], 'thin': False, 'mount_check': 0, 'mount_passno': 0, 'raid_chunk_size': None, 'cache_devices': [], 'fs_create_options': ''}) included: /tmp/tmpaxjje44y/tests/verify-pool-member-thin.yml for /cache/rhel-7.qcow2 => (item={'_raw_device': '/dev/mapper/vg1-lv3', 'raid_metadata_version': None, 'raid_level': None, 'fs_type': 'xfs', 'mount_options': 'defaults', 'type': 'lvm', '_device': '/dev/mapper/vg1-lv3', 'size': '3g', 'mount_point': '/opt/test3', 'compression': None, 'encryption_password': None, '_kernel_device': '/dev/dm-0', 'encryption': False, 'mount_device_identifier': 'uuid', 'name': 'lv3', 'raid_device_count': None, 'state': 'present', 'vdo_pool_size': None, 'thin_pool_name': None, 'thin_pool_size': None, 'encryption_key_size': None, 'encryption_cipher': None, 'encryption_key': None, 'fs_label': '', 'encryption_luks_version': None, 'cache_size': 0, '_mount_id': '/dev/mapper/vg1-lv3', 'raid_spare_count': None, 'raid_disks': [], '_raw_kernel_device': '/dev/dm-0', 'cache_mode': None, 'deduplication': None, 'cached': False, 'fs_overwrite_existing': True, 'disks': ['sdb', 'sdc'], 'thin': False, 'mount_check': 0, 'mount_passno': 0, 'raid_chunk_size': None, 'cache_devices': [], 'fs_create_options': ''}) TASK [Get information about thinpool] ****************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-member-thin.yml:3 Thursday 21 July 2022 14:10:09 +0000 (0:00:00.054) 0:01:01.121 ********* skipping: [/cache/rhel-7.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/tmpaxjje44y/tests/verify-pool-member-thin.yml:8 Thursday 21 July 2022 14:10:09 +0000 (0:00:00.023) 0:01:01.145 ********* skipping: [/cache/rhel-7.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/tmpaxjje44y/tests/verify-pool-member-thin.yml:13 Thursday 21 July 2022 14:10:09 +0000 (0:00:00.023) 0:01:01.168 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-member-thin.yml:17 Thursday 21 July 2022 14:10:09 +0000 (0:00:00.024) 0:01:01.192 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about thinpool] ****************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-member-thin.yml:3 Thursday 21 July 2022 14:10:09 +0000 (0:00:00.024) 0:01:01.216 ********* skipping: [/cache/rhel-7.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/tmpaxjje44y/tests/verify-pool-member-thin.yml:8 Thursday 21 July 2022 14:10:09 +0000 (0:00:00.024) 0:01:01.240 ********* skipping: [/cache/rhel-7.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/tmpaxjje44y/tests/verify-pool-member-thin.yml:13 Thursday 21 July 2022 14:10:09 +0000 (0:00:00.024) 0:01:01.265 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-member-thin.yml:17 Thursday 21 July 2022 14:10:09 +0000 (0:00:00.025) 0:01:01.291 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about thinpool] ****************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-member-thin.yml:3 Thursday 21 July 2022 14:10:09 +0000 (0:00:00.025) 0:01:01.317 ********* skipping: [/cache/rhel-7.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/tmpaxjje44y/tests/verify-pool-member-thin.yml:8 Thursday 21 July 2022 14:10:09 +0000 (0:00:00.028) 0:01:01.345 ********* skipping: [/cache/rhel-7.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/tmpaxjje44y/tests/verify-pool-member-thin.yml:13 Thursday 21 July 2022 14:10:09 +0000 (0:00:00.025) 0:01:01.370 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-member-thin.yml:17 Thursday 21 July 2022 14:10:09 +0000 (0:00:00.024) 0:01:01.395 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-pool-members.yml:65 Thursday 21 July 2022 14:10:09 +0000 (0:00:00.028) 0:01:01.423 ********* included: /tmp/tmpaxjje44y/tests/verify-pool-members-encryption.yml for /cache/rhel-7.qcow2 TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-members-encryption.yml:4 Thursday 21 July 2022 14:10:09 +0000 (0:00:00.048) 0:01:01.472 ********* ok: [/cache/rhel-7.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/tmpaxjje44y/tests/verify-pool-members-encryption.yml:8 Thursday 21 July 2022 14:10:09 +0000 (0:00:00.097) 0:01:01.570 ********* skipping: [/cache/rhel-7.qcow2] => (item=/dev/md/vg1-1) => { "_storage_test_pool_member_path": "/dev/md/vg1-1", "ansible_loop_var": "_storage_test_pool_member_path", "changed": false, "skip_reason": "Conditional result was False" } TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-members-encryption.yml:15 Thursday 21 July 2022 14:10:09 +0000 (0:00:00.064) 0:01:01.634 ********* included: /tmp/tmpaxjje44y/tests/verify-pool-member-crypttab.yml for /cache/rhel-7.qcow2 => (item=/dev/md/vg1-1) TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-member-crypttab.yml:1 Thursday 21 July 2022 14:10:09 +0000 (0:00:00.043) 0:01:01.678 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": [] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpaxjje44y/tests/verify-pool-member-crypttab.yml:6 Thursday 21 July 2022 14:10:09 +0000 (0:00:00.051) 0:01:01.730 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpaxjje44y/tests/verify-pool-member-crypttab.yml:11 Thursday 21 July 2022 14:10:09 +0000 (0:00:00.049) 0:01:01.779 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-member-crypttab.yml:17 Thursday 21 July 2022 14:10:09 +0000 (0:00:00.036) 0:01:01.815 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-member-crypttab.yml:23 Thursday 21 July 2022 14:10:09 +0000 (0:00:00.037) 0:01:01.853 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-member-crypttab.yml:29 Thursday 21 July 2022 14:10:09 +0000 (0:00:00.036) 0:01:01.889 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-members-encryption.yml:22 Thursday 21 July 2022 14:10:09 +0000 (0:00:00.032) 0:01:01.922 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-pool-members.yml:68 Thursday 21 July 2022 14:10:09 +0000 (0:00:00.037) 0:01:01.959 ********* included: /tmp/tmpaxjje44y/tests/verify-pool-members-vdo.yml for /cache/rhel-7.qcow2 TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-members-vdo.yml:1 Thursday 21 July 2022 14:10:09 +0000 (0:00:00.049) 0:01:02.009 ********* included: /tmp/tmpaxjje44y/tests/verify-pool-member-vdo.yml for /cache/rhel-7.qcow2 => (item={'_raw_device': '/dev/mapper/vg1-lv1', 'raid_metadata_version': None, 'raid_level': None, 'fs_type': 'xfs', 'mount_options': 'defaults', 'type': 'lvm', '_device': '/dev/mapper/vg1-lv1', 'size': '2g', 'mount_point': '/opt/test1', 'compression': None, 'encryption_password': None, '_kernel_device': '/dev/dm-2', 'encryption': False, 'mount_device_identifier': 'uuid', 'name': 'lv1', 'raid_device_count': None, 'state': 'present', 'vdo_pool_size': None, 'thin_pool_name': None, 'thin_pool_size': None, 'encryption_key_size': None, 'encryption_cipher': None, 'encryption_key': None, 'fs_label': '', 'encryption_luks_version': None, 'cache_size': 0, '_mount_id': '/dev/mapper/vg1-lv1', 'raid_spare_count': None, 'raid_disks': [], '_raw_kernel_device': '/dev/dm-2', 'cache_mode': None, 'deduplication': None, 'cached': False, 'fs_overwrite_existing': True, 'disks': ['sdb', 'sdc'], 'thin': False, 'mount_check': 0, 'mount_passno': 0, 'raid_chunk_size': None, 'cache_devices': [], 'fs_create_options': ''}) included: /tmp/tmpaxjje44y/tests/verify-pool-member-vdo.yml for /cache/rhel-7.qcow2 => (item={'_raw_device': '/dev/mapper/vg1-lv2', 'raid_metadata_version': None, 'raid_level': None, 'fs_type': 'xfs', 'mount_options': 'defaults', 'type': 'lvm', '_device': '/dev/mapper/vg1-lv2', 'size': '3g', 'mount_point': '/opt/test2', 'compression': None, 'encryption_password': None, '_kernel_device': '/dev/dm-1', 'encryption': False, 'mount_device_identifier': 'uuid', 'name': 'lv2', 'raid_device_count': None, 'state': 'present', 'vdo_pool_size': None, 'thin_pool_name': None, 'thin_pool_size': None, 'encryption_key_size': None, 'encryption_cipher': None, 'encryption_key': None, 'fs_label': '', 'encryption_luks_version': None, 'cache_size': 0, '_mount_id': '/dev/mapper/vg1-lv2', 'raid_spare_count': None, 'raid_disks': [], '_raw_kernel_device': '/dev/dm-1', 'cache_mode': None, 'deduplication': None, 'cached': False, 'fs_overwrite_existing': True, 'disks': ['sdb', 'sdc'], 'thin': False, 'mount_check': 0, 'mount_passno': 0, 'raid_chunk_size': None, 'cache_devices': [], 'fs_create_options': ''}) included: /tmp/tmpaxjje44y/tests/verify-pool-member-vdo.yml for /cache/rhel-7.qcow2 => (item={'_raw_device': '/dev/mapper/vg1-lv3', 'raid_metadata_version': None, 'raid_level': None, 'fs_type': 'xfs', 'mount_options': 'defaults', 'type': 'lvm', '_device': '/dev/mapper/vg1-lv3', 'size': '3g', 'mount_point': '/opt/test3', 'compression': None, 'encryption_password': None, '_kernel_device': '/dev/dm-0', 'encryption': False, 'mount_device_identifier': 'uuid', 'name': 'lv3', 'raid_device_count': None, 'state': 'present', 'vdo_pool_size': None, 'thin_pool_name': None, 'thin_pool_size': None, 'encryption_key_size': None, 'encryption_cipher': None, 'encryption_key': None, 'fs_label': '', 'encryption_luks_version': None, 'cache_size': 0, '_mount_id': '/dev/mapper/vg1-lv3', 'raid_spare_count': None, 'raid_disks': [], '_raw_kernel_device': '/dev/dm-0', 'cache_mode': None, 'deduplication': None, 'cached': False, 'fs_overwrite_existing': True, 'disks': ['sdb', 'sdc'], 'thin': False, 'mount_check': 0, 'mount_passno': 0, 'raid_chunk_size': None, 'cache_devices': [], 'fs_create_options': ''}) TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmpaxjje44y/tests/verify-pool-member-vdo.yml:3 Thursday 21 July 2022 14:10:09 +0000 (0:00:00.063) 0:01:02.072 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-member-vdo.yml:8 Thursday 21 July 2022 14:10:10 +0000 (0:00:00.026) 0:01:02.099 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-member-vdo.yml:11 Thursday 21 July 2022 14:10:10 +0000 (0:00:00.024) 0:01:02.123 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-member-vdo.yml:16 Thursday 21 July 2022 14:10:10 +0000 (0:00:00.023) 0:01:02.147 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-member-vdo.yml:21 Thursday 21 July 2022 14:10:10 +0000 (0:00:00.026) 0:01:02.174 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-member-vdo.yml:24 Thursday 21 July 2022 14:10:10 +0000 (0:00:00.026) 0:01:02.200 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-member-vdo.yml:29 Thursday 21 July 2022 14:10:10 +0000 (0:00:00.029) 0:01:02.229 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-member-vdo.yml:39 Thursday 21 July 2022 14:10:10 +0000 (0:00:00.025) 0:01:02.255 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmpaxjje44y/tests/verify-pool-member-vdo.yml:3 Thursday 21 July 2022 14:10:10 +0000 (0:00:00.036) 0:01:02.292 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-member-vdo.yml:8 Thursday 21 July 2022 14:10:10 +0000 (0:00:00.026) 0:01:02.318 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-member-vdo.yml:11 Thursday 21 July 2022 14:10:10 +0000 (0:00:00.023) 0:01:02.342 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-member-vdo.yml:16 Thursday 21 July 2022 14:10:10 +0000 (0:00:00.023) 0:01:02.365 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-member-vdo.yml:21 Thursday 21 July 2022 14:10:10 +0000 (0:00:00.023) 0:01:02.388 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-member-vdo.yml:24 Thursday 21 July 2022 14:10:10 +0000 (0:00:00.024) 0:01:02.412 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-member-vdo.yml:29 Thursday 21 July 2022 14:10:10 +0000 (0:00:00.023) 0:01:02.435 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-member-vdo.yml:39 Thursday 21 July 2022 14:10:10 +0000 (0:00:00.023) 0:01:02.458 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmpaxjje44y/tests/verify-pool-member-vdo.yml:3 Thursday 21 July 2022 14:10:10 +0000 (0:00:00.034) 0:01:02.492 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-member-vdo.yml:8 Thursday 21 July 2022 14:10:10 +0000 (0:00:00.035) 0:01:02.528 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-member-vdo.yml:11 Thursday 21 July 2022 14:10:10 +0000 (0:00:00.027) 0:01:02.556 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-member-vdo.yml:16 Thursday 21 July 2022 14:10:10 +0000 (0:00:00.025) 0:01:02.581 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-member-vdo.yml:21 Thursday 21 July 2022 14:10:10 +0000 (0:00:00.023) 0:01:02.604 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-member-vdo.yml:24 Thursday 21 July 2022 14:10:10 +0000 (0:00:00.024) 0:01:02.629 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-member-vdo.yml:29 Thursday 21 July 2022 14:10:10 +0000 (0:00:00.023) 0:01:02.652 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-member-vdo.yml:39 Thursday 21 July 2022 14:10:10 +0000 (0:00:00.024) 0:01:02.676 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-pool-members.yml:71 Thursday 21 July 2022 14:10:10 +0000 (0:00:00.035) 0:01:02.711 ********* ok: [/cache/rhel-7.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/tmpaxjje44y/tests/test-verify-pool-volumes.yml:3 Thursday 21 July 2022 14:10:10 +0000 (0:00:00.039) 0:01:02.751 ********* included: /tmp/tmpaxjje44y/tests/test-verify-volume.yml for /cache/rhel-7.qcow2 => (item={'_raw_device': '/dev/mapper/vg1-lv1', 'raid_metadata_version': None, 'raid_level': None, 'fs_type': 'xfs', 'mount_options': 'defaults', 'type': 'lvm', '_device': '/dev/mapper/vg1-lv1', 'size': '2g', 'mount_point': '/opt/test1', 'compression': None, 'encryption_password': None, '_kernel_device': '/dev/dm-2', 'encryption': False, 'mount_device_identifier': 'uuid', 'name': 'lv1', 'raid_device_count': None, 'state': 'present', 'vdo_pool_size': None, 'thin_pool_name': None, 'thin_pool_size': None, 'encryption_key_size': None, 'encryption_cipher': None, 'encryption_key': None, 'fs_label': '', 'encryption_luks_version': None, 'cache_size': 0, '_mount_id': '/dev/mapper/vg1-lv1', 'raid_spare_count': None, 'raid_disks': [], '_raw_kernel_device': '/dev/dm-2', 'cache_mode': None, 'deduplication': None, 'cached': False, 'fs_overwrite_existing': True, 'disks': ['sdb', 'sdc'], 'thin': False, 'mount_check': 0, 'mount_passno': 0, 'raid_chunk_size': None, 'cache_devices': [], 'fs_create_options': ''}) included: /tmp/tmpaxjje44y/tests/test-verify-volume.yml for /cache/rhel-7.qcow2 => (item={'_raw_device': '/dev/mapper/vg1-lv2', 'raid_metadata_version': None, 'raid_level': None, 'fs_type': 'xfs', 'mount_options': 'defaults', 'type': 'lvm', '_device': '/dev/mapper/vg1-lv2', 'size': '3g', 'mount_point': '/opt/test2', 'compression': None, 'encryption_password': None, '_kernel_device': '/dev/dm-1', 'encryption': False, 'mount_device_identifier': 'uuid', 'name': 'lv2', 'raid_device_count': None, 'state': 'present', 'vdo_pool_size': None, 'thin_pool_name': None, 'thin_pool_size': None, 'encryption_key_size': None, 'encryption_cipher': None, 'encryption_key': None, 'fs_label': '', 'encryption_luks_version': None, 'cache_size': 0, '_mount_id': '/dev/mapper/vg1-lv2', 'raid_spare_count': None, 'raid_disks': [], '_raw_kernel_device': '/dev/dm-1', 'cache_mode': None, 'deduplication': None, 'cached': False, 'fs_overwrite_existing': True, 'disks': ['sdb', 'sdc'], 'thin': False, 'mount_check': 0, 'mount_passno': 0, 'raid_chunk_size': None, 'cache_devices': [], 'fs_create_options': ''}) included: /tmp/tmpaxjje44y/tests/test-verify-volume.yml for /cache/rhel-7.qcow2 => (item={'_raw_device': '/dev/mapper/vg1-lv3', 'raid_metadata_version': None, 'raid_level': None, 'fs_type': 'xfs', 'mount_options': 'defaults', 'type': 'lvm', '_device': '/dev/mapper/vg1-lv3', 'size': '3g', 'mount_point': '/opt/test3', 'compression': None, 'encryption_password': None, '_kernel_device': '/dev/dm-0', 'encryption': False, 'mount_device_identifier': 'uuid', 'name': 'lv3', 'raid_device_count': None, 'state': 'present', 'vdo_pool_size': None, 'thin_pool_name': None, 'thin_pool_size': None, 'encryption_key_size': None, 'encryption_cipher': None, 'encryption_key': None, 'fs_label': '', 'encryption_luks_version': None, 'cache_size': 0, '_mount_id': '/dev/mapper/vg1-lv3', 'raid_spare_count': None, 'raid_disks': [], '_raw_kernel_device': '/dev/dm-0', 'cache_mode': None, 'deduplication': None, 'cached': False, 'fs_overwrite_existing': True, 'disks': ['sdb', 'sdc'], 'thin': False, 'mount_check': 0, 'mount_passno': 0, 'raid_chunk_size': None, 'cache_devices': [], 'fs_create_options': ''}) TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume.yml:2 Thursday 21 July 2022 14:10:10 +0000 (0:00:00.052) 0:01:02.804 ********* ok: [/cache/rhel-7.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/tmpaxjje44y/tests/test-verify-volume.yml:10 Thursday 21 July 2022 14:10:10 +0000 (0:00:00.124) 0:01:02.928 ********* included: /tmp/tmpaxjje44y/tests/test-verify-volume-mount.yml for /cache/rhel-7.qcow2 => (item=mount) included: /tmp/tmpaxjje44y/tests/test-verify-volume-fstab.yml for /cache/rhel-7.qcow2 => (item=fstab) included: /tmp/tmpaxjje44y/tests/test-verify-volume-fs.yml for /cache/rhel-7.qcow2 => (item=fs) included: /tmp/tmpaxjje44y/tests/test-verify-volume-device.yml for /cache/rhel-7.qcow2 => (item=device) included: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml for /cache/rhel-7.qcow2 => (item=encryption) included: /tmp/tmpaxjje44y/tests/test-verify-volume-md.yml for /cache/rhel-7.qcow2 => (item=md) included: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml for /cache/rhel-7.qcow2 => (item=size) included: /tmp/tmpaxjje44y/tests/test-verify-volume-cache.yml for /cache/rhel-7.qcow2 => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-mount.yml:6 Thursday 21 July 2022 14:10:10 +0000 (0:00:00.081) 0:01:03.010 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/vg1-lv1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-mount.yml:14 Thursday 21 July 2022 14:10:10 +0000 (0:00:00.039) 0:01:03.049 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 512408, "block_size": 4096, "block_total": 520704, "block_used": 8296, "device": "/dev/mapper/vg1-lv1", "fstype": "xfs", "inode_available": 1046525, "inode_total": 1046528, "inode_used": 3, "mount": "/opt/test1", "options": "rw,seclabel,relatime,attr2,inode64,sunit=1024,swidth=2048,noquota", "size_available": 2098823168, "size_total": 2132803584, "uuid": "f62cb6f2-0c1f-4b19-b491-54dedc6c78ce" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 512408, "block_size": 4096, "block_total": 520704, "block_used": 8296, "device": "/dev/mapper/vg1-lv1", "fstype": "xfs", "inode_available": 1046525, "inode_total": 1046528, "inode_used": 3, "mount": "/opt/test1", "options": "rw,seclabel,relatime,attr2,inode64,sunit=1024,swidth=2048,noquota", "size_available": 2098823168, "size_total": 2132803584, "uuid": "f62cb6f2-0c1f-4b19-b491-54dedc6c78ce" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-mount.yml:28 Thursday 21 July 2022 14:10:11 +0000 (0:00:00.054) 0:01:03.103 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-mount.yml:37 Thursday 21 July 2022 14:10:11 +0000 (0:00:00.050) 0:01:03.154 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpaxjje44y/tests/test-verify-volume-mount.yml:45 Thursday 21 July 2022 14:10:11 +0000 (0:00:00.050) 0:01:03.205 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-mount.yml:54 Thursday 21 July 2022 14:10:11 +0000 (0:00:00.053) 0:01:03.258 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-mount.yml:58 Thursday 21 July 2022 14:10:11 +0000 (0:00:00.025) 0:01:03.283 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-mount.yml:63 Thursday 21 July 2022 14:10:11 +0000 (0:00:00.025) 0:01:03.309 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-mount.yml:75 Thursday 21 July 2022 14:10:11 +0000 (0:00:00.024) 0:01:03.333 ********* ok: [/cache/rhel-7.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/tmpaxjje44y/tests/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 14:10:11 +0000 (0:00:00.037) 0:01:03.371 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "1", "storage_test_fstab_expected_mount_options_matches": "1", "storage_test_fstab_expected_mount_point_matches": "1", "storage_test_fstab_id_matches": [ "/dev/mapper/vg1-lv1 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test1 xfs defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test1 " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 14:10:11 +0000 (0:00:00.064) 0:01:03.435 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-fstab.yml:32 Thursday 21 July 2022 14:10:11 +0000 (0:00:00.047) 0:01:03.482 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-fstab.yml:39 Thursday 21 July 2022 14:10:11 +0000 (0:00:00.047) 0:01:03.530 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-fstab.yml:49 Thursday 21 July 2022 14:10:11 +0000 (0:00:00.038) 0:01:03.569 ********* ok: [/cache/rhel-7.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/tmpaxjje44y/tests/test-verify-volume-fs.yml:4 Thursday 21 July 2022 14:10:11 +0000 (0:00:00.037) 0:01:03.606 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-fs.yml:10 Thursday 21 July 2022 14:10:11 +0000 (0:00:00.037) 0:01:03.644 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-device.yml:4 Thursday 21 July 2022 14:10:11 +0000 (0:00:00.040) 0:01:03.684 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "stat": { "atime": 1658412574.4809725, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658412574.4809725, "dev": 5, "device_type": 64514, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 35625, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1658412574.4809725, "nlink": 1, "path": "/dev/mapper/vg1-lv1", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-device.yml:10 Thursday 21 July 2022 14:10:11 +0000 (0:00:00.329) 0:01:04.014 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-device.yml:18 Thursday 21 July 2022 14:10:11 +0000 (0:00:00.040) 0:01:04.054 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-device.yml:24 Thursday 21 July 2022 14:10:12 +0000 (0:00:00.040) 0:01:04.095 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-device.yml:28 Thursday 21 July 2022 14:10:12 +0000 (0:00:00.038) 0:01:04.133 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-device.yml:33 Thursday 21 July 2022 14:10:12 +0000 (0:00:00.025) 0:01:04.159 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 14:10:12 +0000 (0:00:00.041) 0:01:04.200 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 14:10:12 +0000 (0:00:00.024) 0:01:04.225 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "rc": 0, "results": [ "cryptsetup-2.0.3-6.el7.x86_64 providing cryptsetup is already installed" ] } TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 14:10:12 +0000 (0:00:00.544) 0:01:04.770 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 14:10:12 +0000 (0:00:00.025) 0:01:04.795 ********* skipping: [/cache/rhel-7.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/tmpaxjje44y/tests/test-verify-volume-encryption.yml:30 Thursday 21 July 2022 14:10:12 +0000 (0:00:00.022) 0:01:04.818 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:38 Thursday 21 July 2022 14:10:12 +0000 (0:00:00.050) 0:01:04.869 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 14:10:12 +0000 (0:00:00.025) 0:01:04.894 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:49 Thursday 21 July 2022 14:10:12 +0000 (0:00:00.024) 0:01:04.919 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:55 Thursday 21 July 2022 14:10:12 +0000 (0:00:00.024) 0:01:04.943 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:61 Thursday 21 July 2022 14:10:12 +0000 (0:00:00.058) 0:01:05.001 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 14:10:12 +0000 (0:00:00.025) 0:01:05.027 ********* ok: [/cache/rhel-7.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/tmpaxjje44y/tests/test-verify-volume-encryption.yml:74 Thursday 21 July 2022 14:10:12 +0000 (0:00:00.049) 0:01:05.076 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:79 Thursday 21 July 2022 14:10:13 +0000 (0:00:00.046) 0:01:05.123 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:85 Thursday 21 July 2022 14:10:13 +0000 (0:00:00.040) 0:01:05.163 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:91 Thursday 21 July 2022 14:10:13 +0000 (0:00:00.045) 0:01:05.208 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:97 Thursday 21 July 2022 14:10:13 +0000 (0:00:00.041) 0:01:05.250 ********* ok: [/cache/rhel-7.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/tmpaxjje44y/tests/test-verify-volume-md.yml:7 Thursday 21 July 2022 14:10:13 +0000 (0:00:00.040) 0:01:05.291 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-md.yml:13 Thursday 21 July 2022 14:10:13 +0000 (0:00:00.037) 0:01:05.328 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-md.yml:17 Thursday 21 July 2022 14:10:13 +0000 (0:00:00.036) 0:01:05.365 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-md.yml:21 Thursday 21 July 2022 14:10:13 +0000 (0:00:00.034) 0:01:05.400 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-md.yml:25 Thursday 21 July 2022 14:10:13 +0000 (0:00:00.038) 0:01:05.439 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-md.yml:31 Thursday 21 July 2022 14:10:13 +0000 (0:00:00.040) 0:01:05.479 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-md.yml:37 Thursday 21 July 2022 14:10:13 +0000 (0:00:00.035) 0:01:05.515 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:3 Thursday 21 July 2022 14:10:13 +0000 (0:00:00.035) 0:01:05.550 ********* ok: [/cache/rhel-7.qcow2] => { "bytes": 2147483648, "changed": false, "lvm": "2g", "parted": "2GiB", "size": "2 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:9 Thursday 21 July 2022 14:10:13 +0000 (0:00:00.299) 0:01:05.850 ********* ok: [/cache/rhel-7.qcow2] => { "bytes": 2147483648, "changed": false, "lvm": "2g", "parted": "2GiB", "size": "2 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:15 Thursday 21 July 2022 14:10:14 +0000 (0:00:00.331) 0:01:06.182 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_expected_size": "2147483648" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:20 Thursday 21 July 2022 14:10:14 +0000 (0:00:00.051) 0:01:06.233 ********* ok: [/cache/rhel-7.qcow2] => { "storage_test_expected_size": "2147483648" } TASK [debug] ******************************************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:25 Thursday 21 July 2022 14:10:14 +0000 (0:00:00.040) 0:01:06.273 ********* skipping: [/cache/rhel-7.qcow2] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:28 Thursday 21 July 2022 14:10:14 +0000 (0:00:00.038) 0:01:06.312 ********* skipping: [/cache/rhel-7.qcow2] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:31 Thursday 21 July 2022 14:10:14 +0000 (0:00:00.039) 0:01:06.351 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:36 Thursday 21 July 2022 14:10:14 +0000 (0:00:00.038) 0:01:06.390 ********* skipping: [/cache/rhel-7.qcow2] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:39 Thursday 21 July 2022 14:10:14 +0000 (0:00:00.039) 0:01:06.429 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:44 Thursday 21 July 2022 14:10:14 +0000 (0:00:00.035) 0:01:06.465 ********* ok: [/cache/rhel-7.qcow2] => { "storage_test_actual_size": { "bytes": 2147483648, "changed": false, "failed": false, "lvm": "2g", "parted": "2GiB", "size": "2 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:47 Thursday 21 July 2022 14:10:14 +0000 (0:00:00.041) 0:01:06.507 ********* ok: [/cache/rhel-7.qcow2] => { "storage_test_expected_size": "2147483648" } TASK [assert] ****************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:50 Thursday 21 July 2022 14:10:14 +0000 (0:00:00.036) 0:01:06.543 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-cache.yml:6 Thursday 21 July 2022 14:10:14 +0000 (0:00:00.050) 0:01:06.593 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "cmd": [ "lvs", "--noheadings", "--nameprefixes", "--units=b", "--nosuffix", "--unquoted", "-o", "name,attr,cache_total_blocks,chunk_size,segtype", "vg1/lv1" ], "delta": "0:00:00.024727", "end": "2022-07-21 10:10:14.551556", "rc": 0, "start": "2022-07-21 10:10:14.526829" } STDOUT: LVM2_LV_NAME=lv1 LVM2_LV_ATTR=-wi-ao---- LVM2_CACHE_TOTAL_BLOCKS= LVM2_CHUNK_SIZE=0 LVM2_SEGTYPE=linear TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-cache.yml:14 Thursday 21 July 2022 14:10:14 +0000 (0:00:00.326) 0:01:06.920 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_lv_segtype": [ "linear" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-cache.yml:17 Thursday 21 July 2022 14:10:14 +0000 (0:00:00.050) 0:01:06.971 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-cache.yml:22 Thursday 21 July 2022 14:10:14 +0000 (0:00:00.085) 0:01:07.056 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-cache.yml:26 Thursday 21 July 2022 14:10:15 +0000 (0:00:00.038) 0:01:07.095 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-cache.yml:32 Thursday 21 July 2022 14:10:15 +0000 (0:00:00.040) 0:01:07.136 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-cache.yml:36 Thursday 21 July 2022 14:10:15 +0000 (0:00:00.043) 0:01:07.179 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume.yml:16 Thursday 21 July 2022 14:10:15 +0000 (0:00:00.036) 0:01:07.216 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume.yml:2 Thursday 21 July 2022 14:10:15 +0000 (0:00:00.077) 0:01:07.293 ********* ok: [/cache/rhel-7.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/tmpaxjje44y/tests/test-verify-volume.yml:10 Thursday 21 July 2022 14:10:15 +0000 (0:00:00.084) 0:01:07.378 ********* included: /tmp/tmpaxjje44y/tests/test-verify-volume-mount.yml for /cache/rhel-7.qcow2 => (item=mount) included: /tmp/tmpaxjje44y/tests/test-verify-volume-fstab.yml for /cache/rhel-7.qcow2 => (item=fstab) included: /tmp/tmpaxjje44y/tests/test-verify-volume-fs.yml for /cache/rhel-7.qcow2 => (item=fs) included: /tmp/tmpaxjje44y/tests/test-verify-volume-device.yml for /cache/rhel-7.qcow2 => (item=device) included: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml for /cache/rhel-7.qcow2 => (item=encryption) included: /tmp/tmpaxjje44y/tests/test-verify-volume-md.yml for /cache/rhel-7.qcow2 => (item=md) included: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml for /cache/rhel-7.qcow2 => (item=size) included: /tmp/tmpaxjje44y/tests/test-verify-volume-cache.yml for /cache/rhel-7.qcow2 => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-mount.yml:6 Thursday 21 July 2022 14:10:15 +0000 (0:00:00.113) 0:01:07.491 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/vg1-lv2" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-mount.yml:14 Thursday 21 July 2022 14:10:15 +0000 (0:00:00.040) 0:01:07.532 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 774552, "block_size": 4096, "block_total": 782848, "block_used": 8296, "device": "/dev/mapper/vg1-lv2", "fstype": "xfs", "inode_available": 1570813, "inode_total": 1570816, "inode_used": 3, "mount": "/opt/test2", "options": "rw,seclabel,relatime,attr2,inode64,sunit=1024,swidth=2048,noquota", "size_available": 3172564992, "size_total": 3206545408, "uuid": "30e6a2b6-e013-48b6-8993-6c0bae9a6165" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 774552, "block_size": 4096, "block_total": 782848, "block_used": 8296, "device": "/dev/mapper/vg1-lv2", "fstype": "xfs", "inode_available": 1570813, "inode_total": 1570816, "inode_used": 3, "mount": "/opt/test2", "options": "rw,seclabel,relatime,attr2,inode64,sunit=1024,swidth=2048,noquota", "size_available": 3172564992, "size_total": 3206545408, "uuid": "30e6a2b6-e013-48b6-8993-6c0bae9a6165" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-mount.yml:28 Thursday 21 July 2022 14:10:15 +0000 (0:00:00.056) 0:01:07.588 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-mount.yml:37 Thursday 21 July 2022 14:10:15 +0000 (0:00:00.051) 0:01:07.639 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpaxjje44y/tests/test-verify-volume-mount.yml:45 Thursday 21 July 2022 14:10:15 +0000 (0:00:00.050) 0:01:07.690 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-mount.yml:54 Thursday 21 July 2022 14:10:15 +0000 (0:00:00.049) 0:01:07.740 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-mount.yml:58 Thursday 21 July 2022 14:10:15 +0000 (0:00:00.025) 0:01:07.766 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-mount.yml:63 Thursday 21 July 2022 14:10:15 +0000 (0:00:00.025) 0:01:07.791 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-mount.yml:75 Thursday 21 July 2022 14:10:15 +0000 (0:00:00.023) 0:01:07.815 ********* ok: [/cache/rhel-7.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/tmpaxjje44y/tests/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 14:10:15 +0000 (0:00:00.034) 0:01:07.850 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "1", "storage_test_fstab_expected_mount_options_matches": "1", "storage_test_fstab_expected_mount_point_matches": "1", "storage_test_fstab_id_matches": [ "/dev/mapper/vg1-lv2 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test2 xfs defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test2 " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 14:10:15 +0000 (0:00:00.056) 0:01:07.907 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-fstab.yml:32 Thursday 21 July 2022 14:10:15 +0000 (0:00:00.047) 0:01:07.954 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-fstab.yml:39 Thursday 21 July 2022 14:10:15 +0000 (0:00:00.047) 0:01:08.002 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-fstab.yml:49 Thursday 21 July 2022 14:10:15 +0000 (0:00:00.033) 0:01:08.036 ********* ok: [/cache/rhel-7.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/tmpaxjje44y/tests/test-verify-volume-fs.yml:4 Thursday 21 July 2022 14:10:15 +0000 (0:00:00.032) 0:01:08.068 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-fs.yml:10 Thursday 21 July 2022 14:10:16 +0000 (0:00:00.036) 0:01:08.105 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-device.yml:4 Thursday 21 July 2022 14:10:16 +0000 (0:00:00.039) 0:01:08.144 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "stat": { "atime": 1658412574.3019724, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658412574.3019724, "dev": 5, "device_type": 64513, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 35592, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1658412574.3019724, "nlink": 1, "path": "/dev/mapper/vg1-lv2", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-device.yml:10 Thursday 21 July 2022 14:10:16 +0000 (0:00:00.311) 0:01:08.455 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-device.yml:18 Thursday 21 July 2022 14:10:16 +0000 (0:00:00.047) 0:01:08.502 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-device.yml:24 Thursday 21 July 2022 14:10:16 +0000 (0:00:00.040) 0:01:08.543 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-device.yml:28 Thursday 21 July 2022 14:10:16 +0000 (0:00:00.036) 0:01:08.579 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-device.yml:33 Thursday 21 July 2022 14:10:16 +0000 (0:00:00.023) 0:01:08.602 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 14:10:16 +0000 (0:00:00.037) 0:01:08.640 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 14:10:16 +0000 (0:00:00.022) 0:01:08.662 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "rc": 0, "results": [ "cryptsetup-2.0.3-6.el7.x86_64 providing cryptsetup is already installed" ] } TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 14:10:17 +0000 (0:00:00.522) 0:01:09.185 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 14:10:17 +0000 (0:00:00.026) 0:01:09.211 ********* skipping: [/cache/rhel-7.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/tmpaxjje44y/tests/test-verify-volume-encryption.yml:30 Thursday 21 July 2022 14:10:17 +0000 (0:00:00.025) 0:01:09.237 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:38 Thursday 21 July 2022 14:10:17 +0000 (0:00:00.053) 0:01:09.291 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 14:10:17 +0000 (0:00:00.024) 0:01:09.315 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:49 Thursday 21 July 2022 14:10:17 +0000 (0:00:00.024) 0:01:09.339 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:55 Thursday 21 July 2022 14:10:17 +0000 (0:00:00.022) 0:01:09.362 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:61 Thursday 21 July 2022 14:10:17 +0000 (0:00:00.022) 0:01:09.385 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 14:10:17 +0000 (0:00:00.022) 0:01:09.408 ********* ok: [/cache/rhel-7.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/tmpaxjje44y/tests/test-verify-volume-encryption.yml:74 Thursday 21 July 2022 14:10:17 +0000 (0:00:00.098) 0:01:09.506 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:79 Thursday 21 July 2022 14:10:17 +0000 (0:00:00.087) 0:01:09.594 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:85 Thursday 21 July 2022 14:10:17 +0000 (0:00:00.038) 0:01:09.633 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:91 Thursday 21 July 2022 14:10:17 +0000 (0:00:00.081) 0:01:09.714 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:97 Thursday 21 July 2022 14:10:17 +0000 (0:00:00.039) 0:01:09.753 ********* ok: [/cache/rhel-7.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/tmpaxjje44y/tests/test-verify-volume-md.yml:7 Thursday 21 July 2022 14:10:17 +0000 (0:00:00.037) 0:01:09.791 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-md.yml:13 Thursday 21 July 2022 14:10:17 +0000 (0:00:00.038) 0:01:09.829 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-md.yml:17 Thursday 21 July 2022 14:10:17 +0000 (0:00:00.040) 0:01:09.869 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-md.yml:21 Thursday 21 July 2022 14:10:17 +0000 (0:00:00.039) 0:01:09.908 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-md.yml:25 Thursday 21 July 2022 14:10:17 +0000 (0:00:00.038) 0:01:09.947 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-md.yml:31 Thursday 21 July 2022 14:10:17 +0000 (0:00:00.038) 0:01:09.985 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-md.yml:37 Thursday 21 July 2022 14:10:17 +0000 (0:00:00.040) 0:01:10.026 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:3 Thursday 21 July 2022 14:10:17 +0000 (0:00:00.037) 0:01:10.064 ********* ok: [/cache/rhel-7.qcow2] => { "bytes": 3221225472, "changed": false, "lvm": "3g", "parted": "3GiB", "size": "3 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:9 Thursday 21 July 2022 14:10:18 +0000 (0:00:00.336) 0:01:10.400 ********* ok: [/cache/rhel-7.qcow2] => { "bytes": 3221225472, "changed": false, "lvm": "3g", "parted": "3GiB", "size": "3 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:15 Thursday 21 July 2022 14:10:18 +0000 (0:00:00.315) 0:01:10.716 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_expected_size": "3221225472" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:20 Thursday 21 July 2022 14:10:18 +0000 (0:00:00.053) 0:01:10.769 ********* ok: [/cache/rhel-7.qcow2] => { "storage_test_expected_size": "3221225472" } TASK [debug] ******************************************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:25 Thursday 21 July 2022 14:10:18 +0000 (0:00:00.037) 0:01:10.807 ********* skipping: [/cache/rhel-7.qcow2] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:28 Thursday 21 July 2022 14:10:18 +0000 (0:00:00.038) 0:01:10.845 ********* skipping: [/cache/rhel-7.qcow2] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:31 Thursday 21 July 2022 14:10:18 +0000 (0:00:00.036) 0:01:10.882 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:36 Thursday 21 July 2022 14:10:18 +0000 (0:00:00.036) 0:01:10.918 ********* skipping: [/cache/rhel-7.qcow2] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:39 Thursday 21 July 2022 14:10:18 +0000 (0:00:00.037) 0:01:10.956 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:44 Thursday 21 July 2022 14:10:18 +0000 (0:00:00.038) 0:01:10.995 ********* ok: [/cache/rhel-7.qcow2] => { "storage_test_actual_size": { "bytes": 3221225472, "changed": false, "failed": false, "lvm": "3g", "parted": "3GiB", "size": "3 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:47 Thursday 21 July 2022 14:10:18 +0000 (0:00:00.040) 0:01:11.035 ********* ok: [/cache/rhel-7.qcow2] => { "storage_test_expected_size": "3221225472" } TASK [assert] ****************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:50 Thursday 21 July 2022 14:10:18 +0000 (0:00:00.040) 0:01:11.076 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-cache.yml:6 Thursday 21 July 2022 14:10:19 +0000 (0:00:00.054) 0:01:11.131 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "cmd": [ "lvs", "--noheadings", "--nameprefixes", "--units=b", "--nosuffix", "--unquoted", "-o", "name,attr,cache_total_blocks,chunk_size,segtype", "vg1/lv2" ], "delta": "0:00:00.027647", "end": "2022-07-21 10:10:19.093603", "rc": 0, "start": "2022-07-21 10:10:19.065956" } STDOUT: LVM2_LV_NAME=lv2 LVM2_LV_ATTR=-wi-ao---- LVM2_CACHE_TOTAL_BLOCKS= LVM2_CHUNK_SIZE=0 LVM2_SEGTYPE=linear TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-cache.yml:14 Thursday 21 July 2022 14:10:19 +0000 (0:00:00.330) 0:01:11.462 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_lv_segtype": [ "linear" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-cache.yml:17 Thursday 21 July 2022 14:10:19 +0000 (0:00:00.050) 0:01:11.512 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-cache.yml:22 Thursday 21 July 2022 14:10:19 +0000 (0:00:00.052) 0:01:11.565 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-cache.yml:26 Thursday 21 July 2022 14:10:19 +0000 (0:00:00.038) 0:01:11.603 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-cache.yml:32 Thursday 21 July 2022 14:10:19 +0000 (0:00:00.039) 0:01:11.643 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-cache.yml:36 Thursday 21 July 2022 14:10:19 +0000 (0:00:00.038) 0:01:11.681 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume.yml:16 Thursday 21 July 2022 14:10:19 +0000 (0:00:00.037) 0:01:11.719 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume.yml:2 Thursday 21 July 2022 14:10:19 +0000 (0:00:00.073) 0:01:11.792 ********* ok: [/cache/rhel-7.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/tmpaxjje44y/tests/test-verify-volume.yml:10 Thursday 21 July 2022 14:10:19 +0000 (0:00:00.084) 0:01:11.877 ********* included: /tmp/tmpaxjje44y/tests/test-verify-volume-mount.yml for /cache/rhel-7.qcow2 => (item=mount) included: /tmp/tmpaxjje44y/tests/test-verify-volume-fstab.yml for /cache/rhel-7.qcow2 => (item=fstab) included: /tmp/tmpaxjje44y/tests/test-verify-volume-fs.yml for /cache/rhel-7.qcow2 => (item=fs) included: /tmp/tmpaxjje44y/tests/test-verify-volume-device.yml for /cache/rhel-7.qcow2 => (item=device) included: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml for /cache/rhel-7.qcow2 => (item=encryption) included: /tmp/tmpaxjje44y/tests/test-verify-volume-md.yml for /cache/rhel-7.qcow2 => (item=md) included: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml for /cache/rhel-7.qcow2 => (item=size) included: /tmp/tmpaxjje44y/tests/test-verify-volume-cache.yml for /cache/rhel-7.qcow2 => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-mount.yml:6 Thursday 21 July 2022 14:10:19 +0000 (0:00:00.144) 0:01:12.022 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/vg1-lv3" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-mount.yml:14 Thursday 21 July 2022 14:10:19 +0000 (0:00:00.044) 0:01:12.066 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 774552, "block_size": 4096, "block_total": 782848, "block_used": 8296, "device": "/dev/mapper/vg1-lv3", "fstype": "xfs", "inode_available": 1570813, "inode_total": 1570816, "inode_used": 3, "mount": "/opt/test3", "options": "rw,seclabel,relatime,attr2,inode64,sunit=1024,swidth=2048,noquota", "size_available": 3172564992, "size_total": 3206545408, "uuid": "0117e58b-0755-4131-95e1-02280925665b" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 774552, "block_size": 4096, "block_total": 782848, "block_used": 8296, "device": "/dev/mapper/vg1-lv3", "fstype": "xfs", "inode_available": 1570813, "inode_total": 1570816, "inode_used": 3, "mount": "/opt/test3", "options": "rw,seclabel,relatime,attr2,inode64,sunit=1024,swidth=2048,noquota", "size_available": 3172564992, "size_total": 3206545408, "uuid": "0117e58b-0755-4131-95e1-02280925665b" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-mount.yml:28 Thursday 21 July 2022 14:10:20 +0000 (0:00:00.054) 0:01:12.121 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-mount.yml:37 Thursday 21 July 2022 14:10:20 +0000 (0:00:00.050) 0:01:12.172 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpaxjje44y/tests/test-verify-volume-mount.yml:45 Thursday 21 July 2022 14:10:20 +0000 (0:00:00.050) 0:01:12.222 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-mount.yml:54 Thursday 21 July 2022 14:10:20 +0000 (0:00:00.049) 0:01:12.272 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-mount.yml:58 Thursday 21 July 2022 14:10:20 +0000 (0:00:00.023) 0:01:12.295 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-mount.yml:63 Thursday 21 July 2022 14:10:20 +0000 (0:00:00.024) 0:01:12.319 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-mount.yml:75 Thursday 21 July 2022 14:10:20 +0000 (0:00:00.022) 0:01:12.342 ********* ok: [/cache/rhel-7.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/tmpaxjje44y/tests/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 14:10:20 +0000 (0:00:00.033) 0:01:12.375 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "1", "storage_test_fstab_expected_mount_options_matches": "1", "storage_test_fstab_expected_mount_point_matches": "1", "storage_test_fstab_id_matches": [ "/dev/mapper/vg1-lv3 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test3 xfs defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test3 " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 14:10:20 +0000 (0:00:00.059) 0:01:12.434 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-fstab.yml:32 Thursday 21 July 2022 14:10:20 +0000 (0:00:00.046) 0:01:12.481 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-fstab.yml:39 Thursday 21 July 2022 14:10:20 +0000 (0:00:00.052) 0:01:12.534 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-fstab.yml:49 Thursday 21 July 2022 14:10:20 +0000 (0:00:00.035) 0:01:12.569 ********* ok: [/cache/rhel-7.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/tmpaxjje44y/tests/test-verify-volume-fs.yml:4 Thursday 21 July 2022 14:10:20 +0000 (0:00:00.036) 0:01:12.606 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-fs.yml:10 Thursday 21 July 2022 14:10:20 +0000 (0:00:00.037) 0:01:12.644 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-device.yml:4 Thursday 21 July 2022 14:10:20 +0000 (0:00:00.043) 0:01:12.687 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "stat": { "atime": 1658412574.1199725, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658412574.1199725, "dev": 5, "device_type": 64512, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 35547, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1658412574.1199725, "nlink": 1, "path": "/dev/mapper/vg1-lv3", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-device.yml:10 Thursday 21 July 2022 14:10:20 +0000 (0:00:00.337) 0:01:13.025 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-device.yml:18 Thursday 21 July 2022 14:10:20 +0000 (0:00:00.037) 0:01:13.063 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-device.yml:24 Thursday 21 July 2022 14:10:21 +0000 (0:00:00.037) 0:01:13.100 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-device.yml:28 Thursday 21 July 2022 14:10:21 +0000 (0:00:00.034) 0:01:13.135 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-device.yml:33 Thursday 21 July 2022 14:10:21 +0000 (0:00:00.022) 0:01:13.157 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 14:10:21 +0000 (0:00:00.038) 0:01:13.196 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 14:10:21 +0000 (0:00:00.022) 0:01:13.218 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "rc": 0, "results": [ "cryptsetup-2.0.3-6.el7.x86_64 providing cryptsetup is already installed" ] } TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 14:10:21 +0000 (0:00:00.521) 0:01:13.739 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 14:10:21 +0000 (0:00:00.025) 0:01:13.765 ********* skipping: [/cache/rhel-7.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/tmpaxjje44y/tests/test-verify-volume-encryption.yml:30 Thursday 21 July 2022 14:10:21 +0000 (0:00:00.023) 0:01:13.788 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:38 Thursday 21 July 2022 14:10:21 +0000 (0:00:00.095) 0:01:13.884 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 14:10:21 +0000 (0:00:00.025) 0:01:13.909 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:49 Thursday 21 July 2022 14:10:21 +0000 (0:00:00.023) 0:01:13.932 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:55 Thursday 21 July 2022 14:10:21 +0000 (0:00:00.022) 0:01:13.955 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:61 Thursday 21 July 2022 14:10:21 +0000 (0:00:00.023) 0:01:13.979 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 14:10:21 +0000 (0:00:00.024) 0:01:14.004 ********* ok: [/cache/rhel-7.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/tmpaxjje44y/tests/test-verify-volume-encryption.yml:74 Thursday 21 July 2022 14:10:22 +0000 (0:00:00.085) 0:01:14.090 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:79 Thursday 21 July 2022 14:10:22 +0000 (0:00:00.110) 0:01:14.200 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:85 Thursday 21 July 2022 14:10:22 +0000 (0:00:00.036) 0:01:14.236 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:91 Thursday 21 July 2022 14:10:22 +0000 (0:00:00.035) 0:01:14.272 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:97 Thursday 21 July 2022 14:10:22 +0000 (0:00:00.034) 0:01:14.306 ********* ok: [/cache/rhel-7.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/tmpaxjje44y/tests/test-verify-volume-md.yml:7 Thursday 21 July 2022 14:10:22 +0000 (0:00:00.036) 0:01:14.343 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-md.yml:13 Thursday 21 July 2022 14:10:22 +0000 (0:00:00.036) 0:01:14.379 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-md.yml:17 Thursday 21 July 2022 14:10:22 +0000 (0:00:00.035) 0:01:14.415 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-md.yml:21 Thursday 21 July 2022 14:10:22 +0000 (0:00:00.035) 0:01:14.450 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-md.yml:25 Thursday 21 July 2022 14:10:22 +0000 (0:00:00.038) 0:01:14.488 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-md.yml:31 Thursday 21 July 2022 14:10:22 +0000 (0:00:00.036) 0:01:14.525 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-md.yml:37 Thursday 21 July 2022 14:10:22 +0000 (0:00:00.036) 0:01:14.561 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:3 Thursday 21 July 2022 14:10:22 +0000 (0:00:00.035) 0:01:14.597 ********* ok: [/cache/rhel-7.qcow2] => { "bytes": 3221225472, "changed": false, "lvm": "3g", "parted": "3GiB", "size": "3 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:9 Thursday 21 July 2022 14:10:22 +0000 (0:00:00.294) 0:01:14.891 ********* ok: [/cache/rhel-7.qcow2] => { "bytes": 3221225472, "changed": false, "lvm": "3g", "parted": "3GiB", "size": "3 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:15 Thursday 21 July 2022 14:10:23 +0000 (0:00:00.304) 0:01:15.196 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_expected_size": "3221225472" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:20 Thursday 21 July 2022 14:10:23 +0000 (0:00:00.047) 0:01:15.244 ********* ok: [/cache/rhel-7.qcow2] => { "storage_test_expected_size": "3221225472" } TASK [debug] ******************************************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:25 Thursday 21 July 2022 14:10:23 +0000 (0:00:00.045) 0:01:15.290 ********* skipping: [/cache/rhel-7.qcow2] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:28 Thursday 21 July 2022 14:10:23 +0000 (0:00:00.043) 0:01:15.333 ********* skipping: [/cache/rhel-7.qcow2] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:31 Thursday 21 July 2022 14:10:23 +0000 (0:00:00.038) 0:01:15.371 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:36 Thursday 21 July 2022 14:10:23 +0000 (0:00:00.036) 0:01:15.408 ********* skipping: [/cache/rhel-7.qcow2] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:39 Thursday 21 July 2022 14:10:23 +0000 (0:00:00.037) 0:01:15.445 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:44 Thursday 21 July 2022 14:10:23 +0000 (0:00:00.037) 0:01:15.483 ********* ok: [/cache/rhel-7.qcow2] => { "storage_test_actual_size": { "bytes": 3221225472, "changed": false, "failed": false, "lvm": "3g", "parted": "3GiB", "size": "3 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:47 Thursday 21 July 2022 14:10:23 +0000 (0:00:00.034) 0:01:15.518 ********* ok: [/cache/rhel-7.qcow2] => { "storage_test_expected_size": "3221225472" } TASK [assert] ****************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:50 Thursday 21 July 2022 14:10:23 +0000 (0:00:00.034) 0:01:15.553 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-cache.yml:6 Thursday 21 July 2022 14:10:23 +0000 (0:00:00.055) 0:01:15.608 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "cmd": [ "lvs", "--noheadings", "--nameprefixes", "--units=b", "--nosuffix", "--unquoted", "-o", "name,attr,cache_total_blocks,chunk_size,segtype", "vg1/lv3" ], "delta": "0:00:00.022673", "end": "2022-07-21 10:10:23.577463", "rc": 0, "start": "2022-07-21 10:10:23.554790" } STDOUT: LVM2_LV_NAME=lv3 LVM2_LV_ATTR=-wi-ao---- LVM2_CACHE_TOTAL_BLOCKS= LVM2_CHUNK_SIZE=0 LVM2_SEGTYPE=linear TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-cache.yml:14 Thursday 21 July 2022 14:10:23 +0000 (0:00:00.337) 0:01:15.946 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_lv_segtype": [ "linear" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-cache.yml:17 Thursday 21 July 2022 14:10:23 +0000 (0:00:00.057) 0:01:16.003 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-cache.yml:22 Thursday 21 July 2022 14:10:23 +0000 (0:00:00.056) 0:01:16.060 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-cache.yml:26 Thursday 21 July 2022 14:10:24 +0000 (0:00:00.036) 0:01:16.096 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-cache.yml:32 Thursday 21 July 2022 14:10:24 +0000 (0:00:00.037) 0:01:16.134 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-cache.yml:36 Thursday 21 July 2022 14:10:24 +0000 (0:00:00.040) 0:01:16.175 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume.yml:16 Thursday 21 July 2022 14:10:24 +0000 (0:00:00.048) 0:01:16.223 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpaxjje44y/tests/verify-role-results.yml:43 Thursday 21 July 2022 14:10:24 +0000 (0:00:00.083) 0:01:16.307 ********* TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpaxjje44y/tests/verify-role-results.yml:53 Thursday 21 July 2022 14:10:24 +0000 (0:00:00.023) 0:01:16.330 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Remove the device created above] ***************************************** task path: /tmp/tmpaxjje44y/tests/tests_create_raid_pool_then_remove.yml:77 Thursday 21 July 2022 14:10:24 +0000 (0:00:00.079) 0:01:16.410 ********* TASK [linux-system-roles.storage : set platform/version specific variables] **** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Thursday 21 July 2022 14:10:24 +0000 (0:00:00.085) 0:01:16.495 ********* included: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/set_vars.yml for /cache/rhel-7.qcow2 TASK [linux-system-roles.storage : Ensure ansible_facts used by role] ********** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Thursday 21 July 2022 14:10:24 +0000 (0:00:00.039) 0:01:16.535 ********* ok: [/cache/rhel-7.qcow2] TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Thursday 21 July 2022 14:10:24 +0000 (0:00:00.428) 0:01:16.963 ********* skipping: [/cache/rhel-7.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-7.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/rhel-7.qcow2] => (item=RedHat_7.yml) => { "ansible_facts": { "__storage_blivet_diskvolume_mkfs_option_map": { "ext2": "-F", "ext3": "-F", "ext4": "-F" }, "blivet_package_list": [ "python-enum34", "python-blivet3", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap" ] }, "ansible_included_var_files": [ "/tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/vars/RedHat_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_7.yml" } skipping: [/cache/rhel-7.qcow2] => (item=RedHat_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_7.9.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Thursday 21 July 2022 14:10:24 +0000 (0:00:00.064) 0:01:17.028 ********* ok: [/cache/rhel-7.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/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Thursday 21 July 2022 14:10:24 +0000 (0:00:00.033) 0:01:17.062 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : include the appropriate provider tasks] ***** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Thursday 21 July 2022 14:10:25 +0000 (0:00:00.034) 0:01:17.097 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml for /cache/rhel-7.qcow2 TASK [linux-system-roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 14:10:25 +0000 (0:00:00.048) 0:01:17.145 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure blivet is available] ************** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 14:10:25 +0000 (0:00:00.020) 0:01:17.166 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : show storage_pools] ************************* task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:14 Thursday 21 July 2022 14:10:25 +0000 (0:00:00.027) 0:01:17.194 ********* ok: [/cache/rhel-7.qcow2] => { "storage_pools": [ { "disks": [ "sdb", "sdc" ], "name": "vg1", "raid_level": "raid0", "state": "absent", "type": "lvm", "volumes": [ { "mount_point": "/opt/test1", "name": "lv1", "size": "2g" }, { "mount_point": "/opt/test2", "name": "lv2", "size": "3g" }, { "mount_point": "/opt/test3", "name": "lv3", "size": "3g" } ] } ] } TASK [linux-system-roles.storage : show storage_volumes] *********************** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:19 Thursday 21 July 2022 14:10:25 +0000 (0:00:00.045) 0:01:17.239 ********* ok: [/cache/rhel-7.qcow2] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [linux-system-roles.storage : get required packages] ********************** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:24 Thursday 21 July 2022 14:10:25 +0000 (0:00:00.037) 0:01:17.277 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : enable copr repositories if needed] ********* task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:37 Thursday 21 July 2022 14:10:25 +0000 (0:00:00.029) 0:01:17.307 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure required packages are installed] *** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:44 Thursday 21 July 2022 14:10:25 +0000 (0:00:00.029) 0:01:17.337 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : get service facts] ************************** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 Thursday 21 July 2022 14:10:25 +0000 (0:00:00.030) 0:01:17.368 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set storage_cryptsetup_services] ************ task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 14:10:25 +0000 (0:00:00.027) 0:01:17.395 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [linux-system-roles.storage : Mask the systemd cryptsetup services] ******* task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:71 Thursday 21 July 2022 14:10:25 +0000 (0:00:00.056) 0:01:17.452 ********* TASK [linux-system-roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Thursday 21 July 2022 14:10:25 +0000 (0:00:00.020) 0:01:17.472 ********* changed: [/cache/rhel-7.qcow2] => { "actions": [ { "action": "destroy format", "device": "/dev/mapper/vg1-lv3", "fs_type": "xfs" }, { "action": "destroy device", "device": "/dev/mapper/vg1-lv3", "fs_type": null }, { "action": "destroy format", "device": "/dev/mapper/vg1-lv2", "fs_type": "xfs" }, { "action": "destroy device", "device": "/dev/mapper/vg1-lv2", "fs_type": null }, { "action": "destroy format", "device": "/dev/mapper/vg1-lv1", "fs_type": "xfs" }, { "action": "destroy device", "device": "/dev/mapper/vg1-lv1", "fs_type": null }, { "action": "destroy device", "device": "/dev/vg1", "fs_type": null }, { "action": "destroy format", "device": "/dev/md/vg1-1", "fs_type": "lvmpv" }, { "action": "destroy device", "device": "/dev/md/vg1-1", "fs_type": null }, { "action": "destroy format", "device": "/dev/sdb1", "fs_type": "mdmember" }, { "action": "destroy device", "device": "/dev/sdb1", "fs_type": null }, { "action": "destroy format", "device": "/dev/sdb", "fs_type": "disklabel" }, { "action": "destroy format", "device": "/dev/sdc1", "fs_type": "mdmember" }, { "action": "destroy device", "device": "/dev/sdc1", "fs_type": null }, { "action": "destroy format", "device": "/dev/sdc", "fs_type": "disklabel" } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb", "/dev/vdc", "/dev/vdd" ], "mounts": [ { "fstype": "xfs", "path": "/opt/test3", "src": "/dev/mapper/vg1-lv3", "state": "absent" }, { "fstype": "xfs", "path": "/opt/test2", "src": "/dev/mapper/vg1-lv2", "state": "absent" }, { "fstype": "xfs", "path": "/opt/test1", "src": "/dev/mapper/vg1-lv1", "state": "absent" } ], "packages": [ "xfsprogs" ], "pools": [ { "disks": [ "sdb", "sdc" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": "512 KiB", "raid_device_count": 2, "raid_level": "raid0", "raid_metadata_version": "1.2", "raid_spare_count": 0, "state": "absent", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sdb", "sdc" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "/dev/mapper/vg1-lv2", "_mount_id": "/dev/mapper/vg1-lv2", "_raw_device": "/dev/mapper/vg1-lv2", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sdb", "sdc" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "lv2", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "/dev/mapper/vg1-lv3", "_mount_id": "/dev/mapper/vg1-lv3", "_raw_device": "/dev/mapper/vg1-lv3", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sdb", "sdc" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test3", "name": "lv3", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } TASK [linux-system-roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:91 Thursday 21 July 2022 14:10:29 +0000 (0:00:03.605) 0:01:21.078 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Unmask the systemd cryptsetup services] ***** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:103 Thursday 21 July 2022 14:10:29 +0000 (0:00:00.071) 0:01:21.150 ********* TASK [linux-system-roles.storage : show blivet_output] ************************* task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:109 Thursday 21 July 2022 14:10:29 +0000 (0:00:00.022) 0:01:21.172 ********* ok: [/cache/rhel-7.qcow2] => { "blivet_output": { "actions": [ { "action": "destroy format", "device": "/dev/mapper/vg1-lv3", "fs_type": "xfs" }, { "action": "destroy device", "device": "/dev/mapper/vg1-lv3", "fs_type": null }, { "action": "destroy format", "device": "/dev/mapper/vg1-lv2", "fs_type": "xfs" }, { "action": "destroy device", "device": "/dev/mapper/vg1-lv2", "fs_type": null }, { "action": "destroy format", "device": "/dev/mapper/vg1-lv1", "fs_type": "xfs" }, { "action": "destroy device", "device": "/dev/mapper/vg1-lv1", "fs_type": null }, { "action": "destroy device", "device": "/dev/vg1", "fs_type": null }, { "action": "destroy format", "device": "/dev/md/vg1-1", "fs_type": "lvmpv" }, { "action": "destroy device", "device": "/dev/md/vg1-1", "fs_type": null }, { "action": "destroy format", "device": "/dev/sdb1", "fs_type": "mdmember" }, { "action": "destroy device", "device": "/dev/sdb1", "fs_type": null }, { "action": "destroy format", "device": "/dev/sdb", "fs_type": "disklabel" }, { "action": "destroy format", "device": "/dev/sdc1", "fs_type": "mdmember" }, { "action": "destroy device", "device": "/dev/sdc1", "fs_type": null }, { "action": "destroy format", "device": "/dev/sdc", "fs_type": "disklabel" } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb", "/dev/vdc", "/dev/vdd" ], "mounts": [ { "fstype": "xfs", "path": "/opt/test3", "src": "/dev/mapper/vg1-lv3", "state": "absent" }, { "fstype": "xfs", "path": "/opt/test2", "src": "/dev/mapper/vg1-lv2", "state": "absent" }, { "fstype": "xfs", "path": "/opt/test1", "src": "/dev/mapper/vg1-lv1", "state": "absent" } ], "packages": [ "xfsprogs" ], "pools": [ { "disks": [ "sdb", "sdc" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": "512 KiB", "raid_device_count": 2, "raid_level": "raid0", "raid_metadata_version": "1.2", "raid_spare_count": 0, "state": "absent", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sdb", "sdc" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "/dev/mapper/vg1-lv2", "_mount_id": "/dev/mapper/vg1-lv2", "_raw_device": "/dev/mapper/vg1-lv2", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sdb", "sdc" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "lv2", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "/dev/mapper/vg1-lv3", "_mount_id": "/dev/mapper/vg1-lv3", "_raw_device": "/dev/mapper/vg1-lv3", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sdb", "sdc" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test3", "name": "lv3", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } } TASK [linux-system-roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:114 Thursday 21 July 2022 14:10:29 +0000 (0:00:00.044) 0:01:21.216 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sdb", "sdc" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": "512 KiB", "raid_device_count": 2, "raid_level": "raid0", "raid_metadata_version": "1.2", "raid_spare_count": 0, "state": "absent", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sdb", "sdc" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "/dev/mapper/vg1-lv2", "_mount_id": "/dev/mapper/vg1-lv2", "_raw_device": "/dev/mapper/vg1-lv2", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sdb", "sdc" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "lv2", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "/dev/mapper/vg1-lv3", "_mount_id": "/dev/mapper/vg1-lv3", "_raw_device": "/dev/mapper/vg1-lv3", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sdb", "sdc" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test3", "name": "lv3", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] }, "changed": false } TASK [linux-system-roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:118 Thursday 21 July 2022 14:10:29 +0000 (0:00:00.041) 0:01:21.258 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : remove obsolete mounts] ********************* task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:134 Thursday 21 July 2022 14:10:29 +0000 (0:00:00.043) 0:01:21.302 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/rhel-7.qcow2] => (item={'src': '/dev/mapper/vg1-lv3', 'state': 'absent', 'path': '/opt/test3', 'fstype': 'xfs'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "xfs", "mount_info": { "fstype": "xfs", "path": "/opt/test3", "src": "/dev/mapper/vg1-lv3", "state": "absent" }, "name": "/opt/test3", "opts": "defaults", "passno": "0", "src": "/dev/mapper/vg1-lv3" } redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/rhel-7.qcow2] => (item={'src': '/dev/mapper/vg1-lv2', 'state': 'absent', 'path': '/opt/test2', 'fstype': 'xfs'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "xfs", "mount_info": { "fstype": "xfs", "path": "/opt/test2", "src": "/dev/mapper/vg1-lv2", "state": "absent" }, "name": "/opt/test2", "opts": "defaults", "passno": "0", "src": "/dev/mapper/vg1-lv2" } redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/rhel-7.qcow2] => (item={'src': '/dev/mapper/vg1-lv1', 'state': 'absent', 'path': '/opt/test1', 'fstype': 'xfs'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "xfs", "mount_info": { "fstype": "xfs", "path": "/opt/test1", "src": "/dev/mapper/vg1-lv1", "state": "absent" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "/dev/mapper/vg1-lv1" } TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:146 Thursday 21 July 2022 14:10:30 +0000 (0:00:00.924) 0:01:22.226 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : set up new/current mounts] ****************** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:151 Thursday 21 July 2022 14:10:30 +0000 (0:00:00.492) 0:01:22.719 ********* TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:163 Thursday 21 July 2022 14:10:30 +0000 (0:00:00.041) 0:01:22.760 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:171 Thursday 21 July 2022 14:10:31 +0000 (0:00:00.440) 0:01:23.201 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "stat": { "atime": 1658412558.1759725, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1658201031.524, "dev": 64769, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 70, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "inode/x-empty", "mode": "0600", "mtime": 1658200515.884, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "18446744071677828413", "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/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:176 Thursday 21 July 2022 14:10:31 +0000 (0:00:00.318) 0:01:23.519 ********* TASK [linux-system-roles.storage : Update facts] ******************************* task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 Thursday 21 July 2022 14:10:31 +0000 (0:00:00.024) 0:01:23.543 ********* ok: [/cache/rhel-7.qcow2] META: role_complete for /cache/rhel-7.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmpaxjje44y/tests/tests_create_raid_pool_then_remove.yml:98 Thursday 21 July 2022 14:10:32 +0000 (0:00:00.846) 0:01:24.390 ********* included: /tmp/tmpaxjje44y/tests/verify-role-results.yml for /cache/rhel-7.qcow2 TASK [Print out pool information] ********************************************** task path: /tmp/tmpaxjje44y/tests/verify-role-results.yml:1 Thursday 21 July 2022 14:10:32 +0000 (0:00:00.046) 0:01:24.436 ********* ok: [/cache/rhel-7.qcow2] => { "_storage_pools_list": [ { "disks": [ "sdb", "sdc" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": "512 KiB", "raid_device_count": 2, "raid_level": "raid0", "raid_metadata_version": "1.2", "raid_spare_count": 0, "state": "absent", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sdb", "sdc" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "/dev/mapper/vg1-lv2", "_mount_id": "/dev/mapper/vg1-lv2", "_raw_device": "/dev/mapper/vg1-lv2", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sdb", "sdc" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "lv2", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "/dev/mapper/vg1-lv3", "_mount_id": "/dev/mapper/vg1-lv3", "_raw_device": "/dev/mapper/vg1-lv3", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sdb", "sdc" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test3", "name": "lv3", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] } TASK [Print out volume information] ******************************************** task path: /tmp/tmpaxjje44y/tests/verify-role-results.yml:6 Thursday 21 July 2022 14:10:32 +0000 (0:00:00.087) 0:01:24.524 ********* skipping: [/cache/rhel-7.qcow2] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpaxjje44y/tests/verify-role-results.yml:14 Thursday 21 July 2022 14:10:32 +0000 (0:00:00.036) 0:01:24.560 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "info": { "/dev/fd0": { "fstype": "", "label": "", "name": "/dev/fd0", "size": "4K", "type": "disk", "uuid": "" }, "/dev/nvme0n1": { "fstype": "", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme1n1": { "fstype": "", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme2n1": { "fstype": "", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda": { "fstype": "", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdb": { "fstype": "", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdc": { "fstype": "", "label": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sr0": { "fstype": "iso9660", "label": "cidata", "name": "/dev/sr0", "size": "364K", "type": "rom", "uuid": "2022-07-21-14-08-55-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "xfs", "label": "", "name": "/dev/vda1", "size": "10G", "type": "partition", "uuid": "21864ae1-1c29-4009-a1c2-151e41d0e053" }, "/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/tmpaxjje44y/tests/verify-role-results.yml:19 Thursday 21 July 2022 14:10:32 +0000 (0:00:00.333) 0:01:24.894 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.003449", "end": "2022-07-21 10:10:32.865702", "rc": 0, "start": "2022-07-21 10:10:32.862253" } STDOUT: # # /etc/fstab # Created by anaconda on Tue Jul 19 03:15:15 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 # UUID=21864ae1-1c29-4009-a1c2-151e41d0e053 / xfs defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpaxjje44y/tests/verify-role-results.yml:24 Thursday 21 July 2022 14:10:33 +0000 (0:00:00.339) 0:01:25.233 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.003295", "end": "2022-07-21 10:10:33.167490", "failed_when_result": false, "rc": 0, "start": "2022-07-21 10:10:33.164195" } TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmpaxjje44y/tests/verify-role-results.yml:33 Thursday 21 July 2022 14:10:33 +0000 (0:00:00.302) 0:01:25.535 ********* included: /tmp/tmpaxjje44y/tests/test-verify-pool.yml for /cache/rhel-7.qcow2 => (item={'name': 'vg1', 'encryption_password': None, 'state': 'absent', 'raid_metadata_version': '1.2', 'encryption': False, 'encryption_key_size': None, 'disks': ['sdb', 'sdc'], 'raid_level': 'raid0', 'encryption_luks_version': None, 'raid_device_count': 2, 'encryption_key': None, 'volumes': [{'_raw_device': '/dev/mapper/vg1-lv1', 'raid_metadata_version': None, 'raid_level': None, 'fs_type': 'xfs', 'mount_options': 'defaults', 'type': 'lvm', '_device': '/dev/mapper/vg1-lv1', 'size': '2g', 'mount_point': '/opt/test1', 'compression': None, 'encryption_password': None, 'encryption': False, 'mount_device_identifier': 'uuid', 'name': 'lv1', 'raid_device_count': None, 'state': 'present', 'vdo_pool_size': None, 'thin_pool_name': None, 'thin_pool_size': None, 'encryption_key_size': None, 'encryption_cipher': None, 'encryption_key': None, 'fs_label': '', 'encryption_luks_version': None, 'cache_size': 0, '_mount_id': '/dev/mapper/vg1-lv1', 'raid_spare_count': None, 'raid_disks': [], 'cache_mode': None, 'deduplication': None, 'cached': False, 'fs_overwrite_existing': True, 'disks': ['sdb', 'sdc'], 'thin': False, 'mount_check': 0, 'mount_passno': 0, 'raid_chunk_size': None, 'cache_devices': [], 'fs_create_options': ''}, {'_raw_device': '/dev/mapper/vg1-lv2', 'raid_metadata_version': None, 'raid_level': None, 'fs_type': 'xfs', 'mount_options': 'defaults', 'type': 'lvm', '_device': '/dev/mapper/vg1-lv2', 'size': '3g', 'mount_point': '/opt/test2', 'compression': None, 'encryption_password': None, 'encryption': False, 'mount_device_identifier': 'uuid', 'name': 'lv2', 'raid_device_count': None, 'state': 'present', 'vdo_pool_size': None, 'thin_pool_name': None, 'thin_pool_size': None, 'encryption_key_size': None, 'encryption_cipher': None, 'encryption_key': None, 'fs_label': '', 'encryption_luks_version': None, 'cache_size': 0, '_mount_id': '/dev/mapper/vg1-lv2', 'raid_spare_count': None, 'raid_disks': [], 'cache_mode': None, 'deduplication': None, 'cached': False, 'fs_overwrite_existing': True, 'disks': ['sdb', 'sdc'], 'thin': False, 'mount_check': 0, 'mount_passno': 0, 'raid_chunk_size': None, 'cache_devices': [], 'fs_create_options': ''}, {'_raw_device': '/dev/mapper/vg1-lv3', 'raid_metadata_version': None, 'raid_level': None, 'fs_type': 'xfs', 'mount_options': 'defaults', 'type': 'lvm', '_device': '/dev/mapper/vg1-lv3', 'size': '3g', 'mount_point': '/opt/test3', 'compression': None, 'encryption_password': None, 'encryption': False, 'mount_device_identifier': 'uuid', 'name': 'lv3', 'raid_device_count': None, 'state': 'present', 'vdo_pool_size': None, 'thin_pool_name': None, 'thin_pool_size': None, 'encryption_key_size': None, 'encryption_cipher': None, 'encryption_key': None, 'fs_label': '', 'encryption_luks_version': None, 'cache_size': 0, '_mount_id': '/dev/mapper/vg1-lv3', 'raid_spare_count': None, 'raid_disks': [], 'cache_mode': None, 'deduplication': None, 'cached': False, 'fs_overwrite_existing': True, 'disks': ['sdb', 'sdc'], 'thin': False, 'mount_check': 0, 'mount_passno': 0, 'raid_chunk_size': None, 'cache_devices': [], 'fs_create_options': ''}], 'raid_chunk_size': '512 KiB', 'type': 'lvm', 'encryption_cipher': None, 'raid_spare_count': 0}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-pool.yml:5 Thursday 21 July 2022 14:10:33 +0000 (0:00:00.062) 0:01:25.598 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-pool.yml:18 Thursday 21 July 2022 14:10:33 +0000 (0:00:00.036) 0:01:25.635 ********* included: /tmp/tmpaxjje44y/tests/test-verify-pool-members.yml for /cache/rhel-7.qcow2 => (item=members) included: /tmp/tmpaxjje44y/tests/test-verify-pool-volumes.yml for /cache/rhel-7.qcow2 => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-pool-members.yml:1 Thursday 21 July 2022 14:10:33 +0000 (0:00:00.046) 0:01:25.682 ********* ok: [/cache/rhel-7.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/tmpaxjje44y/tests/test-verify-pool-members.yml:10 Thursday 21 July 2022 14:10:33 +0000 (0:00:00.051) 0:01:25.733 ********* TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-pool-members.yml:19 Thursday 21 July 2022 14:10:33 +0000 (0:00:00.022) 0:01:25.755 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "__pvs_lvm_len": "0" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-pool-members.yml:23 Thursday 21 July 2022 14:10:33 +0000 (0:00:00.047) 0:01:25.803 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_test_pool_pvs": [] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-pool-members.yml:27 Thursday 21 July 2022 14:10:33 +0000 (0:00:00.052) 0:01:25.855 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-pool-members.yml:34 Thursday 21 July 2022 14:10:33 +0000 (0:00:00.049) 0:01:25.905 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-pool-members.yml:38 Thursday 21 July 2022 14:10:33 +0000 (0:00:00.034) 0:01:25.939 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_type": "partition" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-pool-members.yml:42 Thursday 21 July 2022 14:10:33 +0000 (0:00:00.051) 0:01:25.991 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_type": "raid0" }, "changed": false } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-pool-members.yml:46 Thursday 21 July 2022 14:10:33 +0000 (0:00:00.039) 0:01:26.030 ********* TASK [Check MD RAID] *********************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-pool-members.yml:56 Thursday 21 July 2022 14:10:33 +0000 (0:00:00.020) 0:01:26.051 ********* included: /tmp/tmpaxjje44y/tests/verify-pool-md.yml for /cache/rhel-7.qcow2 TASK [get information about RAID] ********************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-md.yml:6 Thursday 21 July 2022 14:10:34 +0000 (0:00:00.041) 0:01:26.093 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-md.yml:12 Thursday 21 July 2022 14:10:34 +0000 (0:00:00.025) 0:01:26.118 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-md.yml:16 Thursday 21 July 2022 14:10:34 +0000 (0:00:00.024) 0:01:26.143 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-md.yml:20 Thursday 21 July 2022 14:10:34 +0000 (0:00:00.022) 0:01:26.166 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-md.yml:24 Thursday 21 July 2022 14:10:34 +0000 (0:00:00.021) 0:01:26.188 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-md.yml:30 Thursday 21 July 2022 14:10:34 +0000 (0:00:00.024) 0:01:26.212 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpaxjje44y/tests/verify-pool-md.yml:36 Thursday 21 July 2022 14:10:34 +0000 (0:00:00.023) 0:01:26.236 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-md.yml:44 Thursday 21 July 2022 14:10:34 +0000 (0:00:00.022) 0:01:26.258 ********* ok: [/cache/rhel-7.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/tmpaxjje44y/tests/test-verify-pool-members.yml:59 Thursday 21 July 2022 14:10:34 +0000 (0:00:00.033) 0:01:26.292 ********* included: /tmp/tmpaxjje44y/tests/verify-pool-members-lvmraid.yml for /cache/rhel-7.qcow2 TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-members-lvmraid.yml:1 Thursday 21 July 2022 14:10:34 +0000 (0:00:00.042) 0:01:26.334 ********* included: /tmp/tmpaxjje44y/tests/verify-pool-member-lvmraid.yml for /cache/rhel-7.qcow2 => (item={'_raw_device': '/dev/mapper/vg1-lv1', 'raid_metadata_version': None, 'raid_level': None, 'fs_type': 'xfs', 'mount_options': 'defaults', 'type': 'lvm', '_device': '/dev/mapper/vg1-lv1', 'size': '2g', 'mount_point': '/opt/test1', 'compression': None, 'encryption_password': None, 'encryption': False, 'mount_device_identifier': 'uuid', 'name': 'lv1', 'raid_device_count': None, 'state': 'present', 'vdo_pool_size': None, 'thin_pool_name': None, 'thin_pool_size': None, 'encryption_key_size': None, 'encryption_cipher': None, 'encryption_key': None, 'fs_label': '', 'encryption_luks_version': None, 'cache_size': 0, '_mount_id': '/dev/mapper/vg1-lv1', 'raid_spare_count': None, 'raid_disks': [], 'cache_mode': None, 'deduplication': None, 'cached': False, 'fs_overwrite_existing': True, 'disks': ['sdb', 'sdc'], 'thin': False, 'mount_check': 0, 'mount_passno': 0, 'raid_chunk_size': None, 'cache_devices': [], 'fs_create_options': ''}) included: /tmp/tmpaxjje44y/tests/verify-pool-member-lvmraid.yml for /cache/rhel-7.qcow2 => (item={'_raw_device': '/dev/mapper/vg1-lv2', 'raid_metadata_version': None, 'raid_level': None, 'fs_type': 'xfs', 'mount_options': 'defaults', 'type': 'lvm', '_device': '/dev/mapper/vg1-lv2', 'size': '3g', 'mount_point': '/opt/test2', 'compression': None, 'encryption_password': None, 'encryption': False, 'mount_device_identifier': 'uuid', 'name': 'lv2', 'raid_device_count': None, 'state': 'present', 'vdo_pool_size': None, 'thin_pool_name': None, 'thin_pool_size': None, 'encryption_key_size': None, 'encryption_cipher': None, 'encryption_key': None, 'fs_label': '', 'encryption_luks_version': None, 'cache_size': 0, '_mount_id': '/dev/mapper/vg1-lv2', 'raid_spare_count': None, 'raid_disks': [], 'cache_mode': None, 'deduplication': None, 'cached': False, 'fs_overwrite_existing': True, 'disks': ['sdb', 'sdc'], 'thin': False, 'mount_check': 0, 'mount_passno': 0, 'raid_chunk_size': None, 'cache_devices': [], 'fs_create_options': ''}) included: /tmp/tmpaxjje44y/tests/verify-pool-member-lvmraid.yml for /cache/rhel-7.qcow2 => (item={'_raw_device': '/dev/mapper/vg1-lv3', 'raid_metadata_version': None, 'raid_level': None, 'fs_type': 'xfs', 'mount_options': 'defaults', 'type': 'lvm', '_device': '/dev/mapper/vg1-lv3', 'size': '3g', 'mount_point': '/opt/test3', 'compression': None, 'encryption_password': None, 'encryption': False, 'mount_device_identifier': 'uuid', 'name': 'lv3', 'raid_device_count': None, 'state': 'present', 'vdo_pool_size': None, 'thin_pool_name': None, 'thin_pool_size': None, 'encryption_key_size': None, 'encryption_cipher': None, 'encryption_key': None, 'fs_label': '', 'encryption_luks_version': None, 'cache_size': 0, '_mount_id': '/dev/mapper/vg1-lv3', 'raid_spare_count': None, 'raid_disks': [], 'cache_mode': None, 'deduplication': None, 'cached': False, 'fs_overwrite_existing': True, 'disks': ['sdb', 'sdc'], 'thin': False, 'mount_check': 0, 'mount_passno': 0, 'raid_chunk_size': None, 'cache_devices': [], 'fs_create_options': ''}) TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-member-lvmraid.yml:3 Thursday 21 July 2022 14:10:34 +0000 (0:00:00.051) 0:01:26.386 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmpaxjje44y/tests/verify-pool-member-lvmraid.yml:8 Thursday 21 July 2022 14:10:34 +0000 (0:00:00.026) 0:01:26.412 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-member-lvmraid.yml:12 Thursday 21 July 2022 14:10:34 +0000 (0:00:00.025) 0:01:26.438 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-member-lvmraid.yml:3 Thursday 21 July 2022 14:10:34 +0000 (0:00:00.025) 0:01:26.463 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmpaxjje44y/tests/verify-pool-member-lvmraid.yml:8 Thursday 21 July 2022 14:10:34 +0000 (0:00:00.028) 0:01:26.491 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-member-lvmraid.yml:12 Thursday 21 July 2022 14:10:34 +0000 (0:00:00.067) 0:01:26.559 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-member-lvmraid.yml:3 Thursday 21 July 2022 14:10:34 +0000 (0:00:00.034) 0:01:26.593 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmpaxjje44y/tests/verify-pool-member-lvmraid.yml:8 Thursday 21 July 2022 14:10:34 +0000 (0:00:00.030) 0:01:26.624 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-member-lvmraid.yml:12 Thursday 21 July 2022 14:10:34 +0000 (0:00:00.029) 0:01:26.654 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-pool-members.yml:62 Thursday 21 July 2022 14:10:34 +0000 (0:00:00.032) 0:01:26.686 ********* included: /tmp/tmpaxjje44y/tests/verify-pool-members-thin.yml for /cache/rhel-7.qcow2 TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-members-thin.yml:1 Thursday 21 July 2022 14:10:34 +0000 (0:00:00.042) 0:01:26.729 ********* included: /tmp/tmpaxjje44y/tests/verify-pool-member-thin.yml for /cache/rhel-7.qcow2 => (item={'_raw_device': '/dev/mapper/vg1-lv1', 'raid_metadata_version': None, 'raid_level': None, 'fs_type': 'xfs', 'mount_options': 'defaults', 'type': 'lvm', '_device': '/dev/mapper/vg1-lv1', 'size': '2g', 'mount_point': '/opt/test1', 'compression': None, 'encryption_password': None, 'encryption': False, 'mount_device_identifier': 'uuid', 'name': 'lv1', 'raid_device_count': None, 'state': 'present', 'vdo_pool_size': None, 'thin_pool_name': None, 'thin_pool_size': None, 'encryption_key_size': None, 'encryption_cipher': None, 'encryption_key': None, 'fs_label': '', 'encryption_luks_version': None, 'cache_size': 0, '_mount_id': '/dev/mapper/vg1-lv1', 'raid_spare_count': None, 'raid_disks': [], 'cache_mode': None, 'deduplication': None, 'cached': False, 'fs_overwrite_existing': True, 'disks': ['sdb', 'sdc'], 'thin': False, 'mount_check': 0, 'mount_passno': 0, 'raid_chunk_size': None, 'cache_devices': [], 'fs_create_options': ''}) included: /tmp/tmpaxjje44y/tests/verify-pool-member-thin.yml for /cache/rhel-7.qcow2 => (item={'_raw_device': '/dev/mapper/vg1-lv2', 'raid_metadata_version': None, 'raid_level': None, 'fs_type': 'xfs', 'mount_options': 'defaults', 'type': 'lvm', '_device': '/dev/mapper/vg1-lv2', 'size': '3g', 'mount_point': '/opt/test2', 'compression': None, 'encryption_password': None, 'encryption': False, 'mount_device_identifier': 'uuid', 'name': 'lv2', 'raid_device_count': None, 'state': 'present', 'vdo_pool_size': None, 'thin_pool_name': None, 'thin_pool_size': None, 'encryption_key_size': None, 'encryption_cipher': None, 'encryption_key': None, 'fs_label': '', 'encryption_luks_version': None, 'cache_size': 0, '_mount_id': '/dev/mapper/vg1-lv2', 'raid_spare_count': None, 'raid_disks': [], 'cache_mode': None, 'deduplication': None, 'cached': False, 'fs_overwrite_existing': True, 'disks': ['sdb', 'sdc'], 'thin': False, 'mount_check': 0, 'mount_passno': 0, 'raid_chunk_size': None, 'cache_devices': [], 'fs_create_options': ''}) included: /tmp/tmpaxjje44y/tests/verify-pool-member-thin.yml for /cache/rhel-7.qcow2 => (item={'_raw_device': '/dev/mapper/vg1-lv3', 'raid_metadata_version': None, 'raid_level': None, 'fs_type': 'xfs', 'mount_options': 'defaults', 'type': 'lvm', '_device': '/dev/mapper/vg1-lv3', 'size': '3g', 'mount_point': '/opt/test3', 'compression': None, 'encryption_password': None, 'encryption': False, 'mount_device_identifier': 'uuid', 'name': 'lv3', 'raid_device_count': None, 'state': 'present', 'vdo_pool_size': None, 'thin_pool_name': None, 'thin_pool_size': None, 'encryption_key_size': None, 'encryption_cipher': None, 'encryption_key': None, 'fs_label': '', 'encryption_luks_version': None, 'cache_size': 0, '_mount_id': '/dev/mapper/vg1-lv3', 'raid_spare_count': None, 'raid_disks': [], 'cache_mode': None, 'deduplication': None, 'cached': False, 'fs_overwrite_existing': True, 'disks': ['sdb', 'sdc'], 'thin': False, 'mount_check': 0, 'mount_passno': 0, 'raid_chunk_size': None, 'cache_devices': [], 'fs_create_options': ''}) TASK [Get information about thinpool] ****************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-member-thin.yml:3 Thursday 21 July 2022 14:10:34 +0000 (0:00:00.055) 0:01:26.784 ********* skipping: [/cache/rhel-7.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/tmpaxjje44y/tests/verify-pool-member-thin.yml:8 Thursday 21 July 2022 14:10:34 +0000 (0:00:00.027) 0:01:26.812 ********* skipping: [/cache/rhel-7.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/tmpaxjje44y/tests/verify-pool-member-thin.yml:13 Thursday 21 July 2022 14:10:34 +0000 (0:00:00.025) 0:01:26.837 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-member-thin.yml:17 Thursday 21 July 2022 14:10:34 +0000 (0:00:00.025) 0:01:26.862 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about thinpool] ****************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-member-thin.yml:3 Thursday 21 July 2022 14:10:34 +0000 (0:00:00.024) 0:01:26.886 ********* skipping: [/cache/rhel-7.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/tmpaxjje44y/tests/verify-pool-member-thin.yml:8 Thursday 21 July 2022 14:10:34 +0000 (0:00:00.024) 0:01:26.911 ********* skipping: [/cache/rhel-7.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/tmpaxjje44y/tests/verify-pool-member-thin.yml:13 Thursday 21 July 2022 14:10:34 +0000 (0:00:00.024) 0:01:26.935 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-member-thin.yml:17 Thursday 21 July 2022 14:10:34 +0000 (0:00:00.025) 0:01:26.961 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about thinpool] ****************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-member-thin.yml:3 Thursday 21 July 2022 14:10:34 +0000 (0:00:00.023) 0:01:26.984 ********* skipping: [/cache/rhel-7.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/tmpaxjje44y/tests/verify-pool-member-thin.yml:8 Thursday 21 July 2022 14:10:34 +0000 (0:00:00.024) 0:01:27.009 ********* skipping: [/cache/rhel-7.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/tmpaxjje44y/tests/verify-pool-member-thin.yml:13 Thursday 21 July 2022 14:10:34 +0000 (0:00:00.024) 0:01:27.034 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-member-thin.yml:17 Thursday 21 July 2022 14:10:34 +0000 (0:00:00.025) 0:01:27.059 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-pool-members.yml:65 Thursday 21 July 2022 14:10:35 +0000 (0:00:00.024) 0:01:27.083 ********* included: /tmp/tmpaxjje44y/tests/verify-pool-members-encryption.yml for /cache/rhel-7.qcow2 TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-members-encryption.yml:4 Thursday 21 July 2022 14:10:35 +0000 (0:00:00.048) 0:01:27.132 ********* ok: [/cache/rhel-7.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/tmpaxjje44y/tests/verify-pool-members-encryption.yml:8 Thursday 21 July 2022 14:10:35 +0000 (0:00:00.049) 0:01:27.181 ********* TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-members-encryption.yml:15 Thursday 21 July 2022 14:10:35 +0000 (0:00:00.022) 0:01:27.204 ********* TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-members-encryption.yml:22 Thursday 21 July 2022 14:10:35 +0000 (0:00:00.022) 0:01:27.226 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-pool-members.yml:68 Thursday 21 July 2022 14:10:35 +0000 (0:00:00.039) 0:01:27.265 ********* included: /tmp/tmpaxjje44y/tests/verify-pool-members-vdo.yml for /cache/rhel-7.qcow2 TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-members-vdo.yml:1 Thursday 21 July 2022 14:10:35 +0000 (0:00:00.047) 0:01:27.313 ********* included: /tmp/tmpaxjje44y/tests/verify-pool-member-vdo.yml for /cache/rhel-7.qcow2 => (item={'_raw_device': '/dev/mapper/vg1-lv1', 'raid_metadata_version': None, 'raid_level': None, 'fs_type': 'xfs', 'mount_options': 'defaults', 'type': 'lvm', '_device': '/dev/mapper/vg1-lv1', 'size': '2g', 'mount_point': '/opt/test1', 'compression': None, 'encryption_password': None, 'encryption': False, 'mount_device_identifier': 'uuid', 'name': 'lv1', 'raid_device_count': None, 'state': 'present', 'vdo_pool_size': None, 'thin_pool_name': None, 'thin_pool_size': None, 'encryption_key_size': None, 'encryption_cipher': None, 'encryption_key': None, 'fs_label': '', 'encryption_luks_version': None, 'cache_size': 0, '_mount_id': '/dev/mapper/vg1-lv1', 'raid_spare_count': None, 'raid_disks': [], 'cache_mode': None, 'deduplication': None, 'cached': False, 'fs_overwrite_existing': True, 'disks': ['sdb', 'sdc'], 'thin': False, 'mount_check': 0, 'mount_passno': 0, 'raid_chunk_size': None, 'cache_devices': [], 'fs_create_options': ''}) included: /tmp/tmpaxjje44y/tests/verify-pool-member-vdo.yml for /cache/rhel-7.qcow2 => (item={'_raw_device': '/dev/mapper/vg1-lv2', 'raid_metadata_version': None, 'raid_level': None, 'fs_type': 'xfs', 'mount_options': 'defaults', 'type': 'lvm', '_device': '/dev/mapper/vg1-lv2', 'size': '3g', 'mount_point': '/opt/test2', 'compression': None, 'encryption_password': None, 'encryption': False, 'mount_device_identifier': 'uuid', 'name': 'lv2', 'raid_device_count': None, 'state': 'present', 'vdo_pool_size': None, 'thin_pool_name': None, 'thin_pool_size': None, 'encryption_key_size': None, 'encryption_cipher': None, 'encryption_key': None, 'fs_label': '', 'encryption_luks_version': None, 'cache_size': 0, '_mount_id': '/dev/mapper/vg1-lv2', 'raid_spare_count': None, 'raid_disks': [], 'cache_mode': None, 'deduplication': None, 'cached': False, 'fs_overwrite_existing': True, 'disks': ['sdb', 'sdc'], 'thin': False, 'mount_check': 0, 'mount_passno': 0, 'raid_chunk_size': None, 'cache_devices': [], 'fs_create_options': ''}) included: /tmp/tmpaxjje44y/tests/verify-pool-member-vdo.yml for /cache/rhel-7.qcow2 => (item={'_raw_device': '/dev/mapper/vg1-lv3', 'raid_metadata_version': None, 'raid_level': None, 'fs_type': 'xfs', 'mount_options': 'defaults', 'type': 'lvm', '_device': '/dev/mapper/vg1-lv3', 'size': '3g', 'mount_point': '/opt/test3', 'compression': None, 'encryption_password': None, 'encryption': False, 'mount_device_identifier': 'uuid', 'name': 'lv3', 'raid_device_count': None, 'state': 'present', 'vdo_pool_size': None, 'thin_pool_name': None, 'thin_pool_size': None, 'encryption_key_size': None, 'encryption_cipher': None, 'encryption_key': None, 'fs_label': '', 'encryption_luks_version': None, 'cache_size': 0, '_mount_id': '/dev/mapper/vg1-lv3', 'raid_spare_count': None, 'raid_disks': [], 'cache_mode': None, 'deduplication': None, 'cached': False, 'fs_overwrite_existing': True, 'disks': ['sdb', 'sdc'], 'thin': False, 'mount_check': 0, 'mount_passno': 0, 'raid_chunk_size': None, 'cache_devices': [], 'fs_create_options': ''}) TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmpaxjje44y/tests/verify-pool-member-vdo.yml:3 Thursday 21 July 2022 14:10:35 +0000 (0:00:00.060) 0:01:27.374 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-member-vdo.yml:8 Thursday 21 July 2022 14:10:35 +0000 (0:00:00.022) 0:01:27.396 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-member-vdo.yml:11 Thursday 21 July 2022 14:10:35 +0000 (0:00:00.022) 0:01:27.419 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-member-vdo.yml:16 Thursday 21 July 2022 14:10:35 +0000 (0:00:00.025) 0:01:27.444 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-member-vdo.yml:21 Thursday 21 July 2022 14:10:35 +0000 (0:00:00.024) 0:01:27.469 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-member-vdo.yml:24 Thursday 21 July 2022 14:10:35 +0000 (0:00:00.023) 0:01:27.493 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-member-vdo.yml:29 Thursday 21 July 2022 14:10:35 +0000 (0:00:00.024) 0:01:27.518 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-member-vdo.yml:39 Thursday 21 July 2022 14:10:35 +0000 (0:00:00.028) 0:01:27.546 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmpaxjje44y/tests/verify-pool-member-vdo.yml:3 Thursday 21 July 2022 14:10:35 +0000 (0:00:00.035) 0:01:27.582 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-member-vdo.yml:8 Thursday 21 July 2022 14:10:35 +0000 (0:00:00.025) 0:01:27.607 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-member-vdo.yml:11 Thursday 21 July 2022 14:10:35 +0000 (0:00:00.024) 0:01:27.631 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-member-vdo.yml:16 Thursday 21 July 2022 14:10:35 +0000 (0:00:00.025) 0:01:27.657 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-member-vdo.yml:21 Thursday 21 July 2022 14:10:35 +0000 (0:00:00.067) 0:01:27.725 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-member-vdo.yml:24 Thursday 21 July 2022 14:10:35 +0000 (0:00:00.024) 0:01:27.749 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-member-vdo.yml:29 Thursday 21 July 2022 14:10:35 +0000 (0:00:00.023) 0:01:27.773 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-member-vdo.yml:39 Thursday 21 July 2022 14:10:35 +0000 (0:00:00.024) 0:01:27.797 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmpaxjje44y/tests/verify-pool-member-vdo.yml:3 Thursday 21 July 2022 14:10:35 +0000 (0:00:00.039) 0:01:27.836 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-member-vdo.yml:8 Thursday 21 July 2022 14:10:35 +0000 (0:00:00.025) 0:01:27.862 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-member-vdo.yml:11 Thursday 21 July 2022 14:10:35 +0000 (0:00:00.025) 0:01:27.887 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-member-vdo.yml:16 Thursday 21 July 2022 14:10:35 +0000 (0:00:00.026) 0:01:27.914 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-member-vdo.yml:21 Thursday 21 July 2022 14:10:35 +0000 (0:00:00.026) 0:01:27.940 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-member-vdo.yml:24 Thursday 21 July 2022 14:10:35 +0000 (0:00:00.025) 0:01:27.965 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-member-vdo.yml:29 Thursday 21 July 2022 14:10:35 +0000 (0:00:00.027) 0:01:27.992 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-member-vdo.yml:39 Thursday 21 July 2022 14:10:35 +0000 (0:00:00.026) 0:01:28.018 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-pool-members.yml:71 Thursday 21 July 2022 14:10:35 +0000 (0:00:00.040) 0:01:28.059 ********* ok: [/cache/rhel-7.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/tmpaxjje44y/tests/test-verify-pool-volumes.yml:3 Thursday 21 July 2022 14:10:36 +0000 (0:00:00.034) 0:01:28.094 ********* included: /tmp/tmpaxjje44y/tests/test-verify-volume.yml for /cache/rhel-7.qcow2 => (item={'_raw_device': '/dev/mapper/vg1-lv1', 'raid_metadata_version': None, 'raid_level': None, 'fs_type': 'xfs', 'mount_options': 'defaults', 'type': 'lvm', '_device': '/dev/mapper/vg1-lv1', 'size': '2g', 'mount_point': '/opt/test1', 'compression': None, 'encryption_password': None, 'encryption': False, 'mount_device_identifier': 'uuid', 'name': 'lv1', 'raid_device_count': None, 'state': 'present', 'vdo_pool_size': None, 'thin_pool_name': None, 'thin_pool_size': None, 'encryption_key_size': None, 'encryption_cipher': None, 'encryption_key': None, 'fs_label': '', 'encryption_luks_version': None, 'cache_size': 0, '_mount_id': '/dev/mapper/vg1-lv1', 'raid_spare_count': None, 'raid_disks': [], 'cache_mode': None, 'deduplication': None, 'cached': False, 'fs_overwrite_existing': True, 'disks': ['sdb', 'sdc'], 'thin': False, 'mount_check': 0, 'mount_passno': 0, 'raid_chunk_size': None, 'cache_devices': [], 'fs_create_options': ''}) included: /tmp/tmpaxjje44y/tests/test-verify-volume.yml for /cache/rhel-7.qcow2 => (item={'_raw_device': '/dev/mapper/vg1-lv2', 'raid_metadata_version': None, 'raid_level': None, 'fs_type': 'xfs', 'mount_options': 'defaults', 'type': 'lvm', '_device': '/dev/mapper/vg1-lv2', 'size': '3g', 'mount_point': '/opt/test2', 'compression': None, 'encryption_password': None, 'encryption': False, 'mount_device_identifier': 'uuid', 'name': 'lv2', 'raid_device_count': None, 'state': 'present', 'vdo_pool_size': None, 'thin_pool_name': None, 'thin_pool_size': None, 'encryption_key_size': None, 'encryption_cipher': None, 'encryption_key': None, 'fs_label': '', 'encryption_luks_version': None, 'cache_size': 0, '_mount_id': '/dev/mapper/vg1-lv2', 'raid_spare_count': None, 'raid_disks': [], 'cache_mode': None, 'deduplication': None, 'cached': False, 'fs_overwrite_existing': True, 'disks': ['sdb', 'sdc'], 'thin': False, 'mount_check': 0, 'mount_passno': 0, 'raid_chunk_size': None, 'cache_devices': [], 'fs_create_options': ''}) included: /tmp/tmpaxjje44y/tests/test-verify-volume.yml for /cache/rhel-7.qcow2 => (item={'_raw_device': '/dev/mapper/vg1-lv3', 'raid_metadata_version': None, 'raid_level': None, 'fs_type': 'xfs', 'mount_options': 'defaults', 'type': 'lvm', '_device': '/dev/mapper/vg1-lv3', 'size': '3g', 'mount_point': '/opt/test3', 'compression': None, 'encryption_password': None, 'encryption': False, 'mount_device_identifier': 'uuid', 'name': 'lv3', 'raid_device_count': None, 'state': 'present', 'vdo_pool_size': None, 'thin_pool_name': None, 'thin_pool_size': None, 'encryption_key_size': None, 'encryption_cipher': None, 'encryption_key': None, 'fs_label': '', 'encryption_luks_version': None, 'cache_size': 0, '_mount_id': '/dev/mapper/vg1-lv3', 'raid_spare_count': None, 'raid_disks': [], 'cache_mode': None, 'deduplication': None, 'cached': False, 'fs_overwrite_existing': True, 'disks': ['sdb', 'sdc'], 'thin': False, 'mount_check': 0, 'mount_passno': 0, 'raid_chunk_size': None, 'cache_devices': [], 'fs_create_options': ''}) TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume.yml:2 Thursday 21 July 2022 14:10:36 +0000 (0:00:00.052) 0:01:28.146 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_test_volume_present": false, "_storage_volume_tests": [ "mount", "fstab", "fs", "device", "encryption", "md", "size", "cache" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume.yml:10 Thursday 21 July 2022 14:10:36 +0000 (0:00:00.050) 0:01:28.196 ********* included: /tmp/tmpaxjje44y/tests/test-verify-volume-mount.yml for /cache/rhel-7.qcow2 => (item=mount) included: /tmp/tmpaxjje44y/tests/test-verify-volume-fstab.yml for /cache/rhel-7.qcow2 => (item=fstab) included: /tmp/tmpaxjje44y/tests/test-verify-volume-fs.yml for /cache/rhel-7.qcow2 => (item=fs) included: /tmp/tmpaxjje44y/tests/test-verify-volume-device.yml for /cache/rhel-7.qcow2 => (item=device) included: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml for /cache/rhel-7.qcow2 => (item=encryption) included: /tmp/tmpaxjje44y/tests/test-verify-volume-md.yml for /cache/rhel-7.qcow2 => (item=md) included: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml for /cache/rhel-7.qcow2 => (item=size) included: /tmp/tmpaxjje44y/tests/test-verify-volume-cache.yml for /cache/rhel-7.qcow2 => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-mount.yml:6 Thursday 21 July 2022 14:10:36 +0000 (0:00:00.091) 0:01:28.288 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/vg1-lv1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-mount.yml:14 Thursday 21 July 2022 14:10:36 +0000 (0:00:00.045) 0:01:28.334 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_mount_device_matches": [], "storage_test_mount_expected_match_count": "0", "storage_test_mount_point_matches": [], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-mount.yml:28 Thursday 21 July 2022 14:10:36 +0000 (0:00:00.056) 0:01:28.390 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-mount.yml:37 Thursday 21 July 2022 14:10:36 +0000 (0:00:00.022) 0:01:28.413 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpaxjje44y/tests/test-verify-volume-mount.yml:45 Thursday 21 July 2022 14:10:36 +0000 (0:00:00.047) 0:01:28.460 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [command] ***************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-mount.yml:54 Thursday 21 July 2022 14:10:36 +0000 (0:00:00.034) 0:01:28.495 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-mount.yml:58 Thursday 21 July 2022 14:10:36 +0000 (0:00:00.023) 0:01:28.518 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-mount.yml:63 Thursday 21 July 2022 14:10:36 +0000 (0:00:00.025) 0:01:28.544 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-mount.yml:75 Thursday 21 July 2022 14:10:36 +0000 (0:00:00.024) 0:01:28.568 ********* ok: [/cache/rhel-7.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/tmpaxjje44y/tests/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 14:10:36 +0000 (0:00:00.035) 0:01:28.604 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "0", "storage_test_fstab_expected_mount_options_matches": "0", "storage_test_fstab_expected_mount_point_matches": "0", "storage_test_fstab_id_matches": [], "storage_test_fstab_mount_options_matches": [], "storage_test_fstab_mount_point_matches": [] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 14:10:36 +0000 (0:00:00.067) 0:01:28.671 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-fstab.yml:32 Thursday 21 July 2022 14:10:36 +0000 (0:00:00.025) 0:01:28.697 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-fstab.yml:39 Thursday 21 July 2022 14:10:36 +0000 (0:00:00.051) 0:01:28.748 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-fstab.yml:49 Thursday 21 July 2022 14:10:36 +0000 (0:00:00.034) 0:01:28.783 ********* ok: [/cache/rhel-7.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/tmpaxjje44y/tests/test-verify-volume-fs.yml:4 Thursday 21 July 2022 14:10:36 +0000 (0:00:00.034) 0:01:28.817 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify fs label] ********************************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-fs.yml:10 Thursday 21 July 2022 14:10:36 +0000 (0:00:00.022) 0:01:28.839 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [See whether the device node is present] ********************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-device.yml:4 Thursday 21 July 2022 14:10:36 +0000 (0:00:00.021) 0:01:28.861 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "stat": { "exists": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-device.yml:10 Thursday 21 July 2022 14:10:37 +0000 (0:00:00.318) 0:01:29.179 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-device.yml:18 Thursday 21 July 2022 14:10:37 +0000 (0:00:00.040) 0:01:29.219 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-device.yml:24 Thursday 21 July 2022 14:10:37 +0000 (0:00:00.023) 0:01:29.243 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-device.yml:28 Thursday 21 July 2022 14:10:37 +0000 (0:00:00.095) 0:01:29.338 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-device.yml:33 Thursday 21 July 2022 14:10:37 +0000 (0:00:00.023) 0:01:29.362 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 14:10:37 +0000 (0:00:00.062) 0:01:29.424 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 14:10:37 +0000 (0:00:00.024) 0:01:29.449 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "rc": 0, "results": [ "cryptsetup-2.0.3-6.el7.x86_64 providing cryptsetup is already installed" ] } TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 14:10:37 +0000 (0:00:00.538) 0:01:29.987 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 14:10:37 +0000 (0:00:00.025) 0:01:30.013 ********* skipping: [/cache/rhel-7.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/tmpaxjje44y/tests/test-verify-volume-encryption.yml:30 Thursday 21 July 2022 14:10:37 +0000 (0:00:00.024) 0:01:30.037 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:38 Thursday 21 July 2022 14:10:37 +0000 (0:00:00.024) 0:01:30.062 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 14:10:38 +0000 (0:00:00.024) 0:01:30.086 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:49 Thursday 21 July 2022 14:10:38 +0000 (0:00:00.024) 0:01:30.110 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:55 Thursday 21 July 2022 14:10:38 +0000 (0:00:00.023) 0:01:30.134 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:61 Thursday 21 July 2022 14:10:38 +0000 (0:00:00.026) 0:01:30.160 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 14:10:38 +0000 (0:00:00.024) 0:01:30.184 ********* ok: [/cache/rhel-7.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/tmpaxjje44y/tests/test-verify-volume-encryption.yml:74 Thursday 21 July 2022 14:10:38 +0000 (0:00:00.052) 0:01:30.237 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:79 Thursday 21 July 2022 14:10:38 +0000 (0:00:00.051) 0:01:30.289 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:85 Thursday 21 July 2022 14:10:38 +0000 (0:00:00.037) 0:01:30.326 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:91 Thursday 21 July 2022 14:10:38 +0000 (0:00:00.033) 0:01:30.360 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:97 Thursday 21 July 2022 14:10:38 +0000 (0:00:00.033) 0:01:30.394 ********* ok: [/cache/rhel-7.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/tmpaxjje44y/tests/test-verify-volume-md.yml:7 Thursday 21 July 2022 14:10:38 +0000 (0:00:00.036) 0:01:30.430 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-md.yml:13 Thursday 21 July 2022 14:10:38 +0000 (0:00:00.040) 0:01:30.471 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-md.yml:17 Thursday 21 July 2022 14:10:38 +0000 (0:00:00.037) 0:01:30.508 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-md.yml:21 Thursday 21 July 2022 14:10:38 +0000 (0:00:00.034) 0:01:30.543 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-md.yml:25 Thursday 21 July 2022 14:10:38 +0000 (0:00:00.033) 0:01:30.576 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-md.yml:31 Thursday 21 July 2022 14:10:38 +0000 (0:00:00.037) 0:01:30.613 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-md.yml:37 Thursday 21 July 2022 14:10:38 +0000 (0:00:00.033) 0:01:30.647 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:3 Thursday 21 July 2022 14:10:38 +0000 (0:00:00.035) 0:01:30.683 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:9 Thursday 21 July 2022 14:10:38 +0000 (0:00:00.025) 0:01:30.708 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:15 Thursday 21 July 2022 14:10:38 +0000 (0:00:00.039) 0:01:30.748 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:20 Thursday 21 July 2022 14:10:38 +0000 (0:00:00.043) 0:01:30.791 ********* ok: [/cache/rhel-7.qcow2] => { "storage_test_expected_size": "3221225472" } TASK [debug] ******************************************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:25 Thursday 21 July 2022 14:10:38 +0000 (0:00:00.045) 0:01:30.837 ********* skipping: [/cache/rhel-7.qcow2] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:28 Thursday 21 July 2022 14:10:38 +0000 (0:00:00.036) 0:01:30.874 ********* skipping: [/cache/rhel-7.qcow2] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:31 Thursday 21 July 2022 14:10:38 +0000 (0:00:00.039) 0:01:30.913 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:36 Thursday 21 July 2022 14:10:38 +0000 (0:00:00.039) 0:01:30.953 ********* skipping: [/cache/rhel-7.qcow2] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:39 Thursday 21 July 2022 14:10:38 +0000 (0:00:00.035) 0:01:30.989 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:44 Thursday 21 July 2022 14:10:38 +0000 (0:00:00.034) 0:01:31.024 ********* ok: [/cache/rhel-7.qcow2] => { "storage_test_actual_size": { "changed": false, "skip_reason": "Conditional result was False", "skipped": true } } TASK [debug] ******************************************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:47 Thursday 21 July 2022 14:10:38 +0000 (0:00:00.037) 0:01:31.061 ********* ok: [/cache/rhel-7.qcow2] => { "storage_test_expected_size": "3221225472" } TASK [assert] ****************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:50 Thursday 21 July 2022 14:10:39 +0000 (0:00:00.033) 0:01:31.095 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about the LV] ******************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-cache.yml:6 Thursday 21 July 2022 14:10:39 +0000 (0:00:00.022) 0:01:31.117 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-cache.yml:14 Thursday 21 July 2022 14:10:39 +0000 (0:00:00.022) 0:01:31.139 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check segment type] ****************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-cache.yml:17 Thursday 21 July 2022 14:10:39 +0000 (0:00:00.026) 0:01:31.166 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-cache.yml:22 Thursday 21 July 2022 14:10:39 +0000 (0:00:00.033) 0:01:31.199 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-cache.yml:26 Thursday 21 July 2022 14:10:39 +0000 (0:00:00.026) 0:01:31.225 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-cache.yml:32 Thursday 21 July 2022 14:10:39 +0000 (0:00:00.025) 0:01:31.251 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-cache.yml:36 Thursday 21 July 2022 14:10:39 +0000 (0:00:00.025) 0:01:31.277 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume.yml:16 Thursday 21 July 2022 14:10:39 +0000 (0:00:00.026) 0:01:31.303 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume.yml:2 Thursday 21 July 2022 14:10:39 +0000 (0:00:00.085) 0:01:31.389 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_test_volume_present": false, "_storage_volume_tests": [ "mount", "fstab", "fs", "device", "encryption", "md", "size", "cache" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume.yml:10 Thursday 21 July 2022 14:10:39 +0000 (0:00:00.049) 0:01:31.438 ********* included: /tmp/tmpaxjje44y/tests/test-verify-volume-mount.yml for /cache/rhel-7.qcow2 => (item=mount) included: /tmp/tmpaxjje44y/tests/test-verify-volume-fstab.yml for /cache/rhel-7.qcow2 => (item=fstab) included: /tmp/tmpaxjje44y/tests/test-verify-volume-fs.yml for /cache/rhel-7.qcow2 => (item=fs) included: /tmp/tmpaxjje44y/tests/test-verify-volume-device.yml for /cache/rhel-7.qcow2 => (item=device) included: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml for /cache/rhel-7.qcow2 => (item=encryption) included: /tmp/tmpaxjje44y/tests/test-verify-volume-md.yml for /cache/rhel-7.qcow2 => (item=md) included: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml for /cache/rhel-7.qcow2 => (item=size) included: /tmp/tmpaxjje44y/tests/test-verify-volume-cache.yml for /cache/rhel-7.qcow2 => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-mount.yml:6 Thursday 21 July 2022 14:10:39 +0000 (0:00:00.076) 0:01:31.515 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/vg1-lv2" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-mount.yml:14 Thursday 21 July 2022 14:10:39 +0000 (0:00:00.075) 0:01:31.590 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_mount_device_matches": [], "storage_test_mount_expected_match_count": "0", "storage_test_mount_point_matches": [], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-mount.yml:28 Thursday 21 July 2022 14:10:39 +0000 (0:00:00.086) 0:01:31.676 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-mount.yml:37 Thursday 21 July 2022 14:10:39 +0000 (0:00:00.067) 0:01:31.744 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpaxjje44y/tests/test-verify-volume-mount.yml:45 Thursday 21 July 2022 14:10:39 +0000 (0:00:00.049) 0:01:31.794 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [command] ***************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-mount.yml:54 Thursday 21 July 2022 14:10:39 +0000 (0:00:00.040) 0:01:31.834 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-mount.yml:58 Thursday 21 July 2022 14:10:39 +0000 (0:00:00.026) 0:01:31.860 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-mount.yml:63 Thursday 21 July 2022 14:10:39 +0000 (0:00:00.022) 0:01:31.882 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-mount.yml:75 Thursday 21 July 2022 14:10:39 +0000 (0:00:00.024) 0:01:31.907 ********* ok: [/cache/rhel-7.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/tmpaxjje44y/tests/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 14:10:39 +0000 (0:00:00.033) 0:01:31.940 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "0", "storage_test_fstab_expected_mount_options_matches": "0", "storage_test_fstab_expected_mount_point_matches": "0", "storage_test_fstab_id_matches": [], "storage_test_fstab_mount_options_matches": [], "storage_test_fstab_mount_point_matches": [] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 14:10:39 +0000 (0:00:00.062) 0:01:32.003 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-fstab.yml:32 Thursday 21 July 2022 14:10:39 +0000 (0:00:00.021) 0:01:32.025 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-fstab.yml:39 Thursday 21 July 2022 14:10:39 +0000 (0:00:00.047) 0:01:32.072 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-fstab.yml:49 Thursday 21 July 2022 14:10:40 +0000 (0:00:00.033) 0:01:32.106 ********* ok: [/cache/rhel-7.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/tmpaxjje44y/tests/test-verify-volume-fs.yml:4 Thursday 21 July 2022 14:10:40 +0000 (0:00:00.034) 0:01:32.140 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify fs label] ********************************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-fs.yml:10 Thursday 21 July 2022 14:10:40 +0000 (0:00:00.022) 0:01:32.162 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [See whether the device node is present] ********************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-device.yml:4 Thursday 21 July 2022 14:10:40 +0000 (0:00:00.021) 0:01:32.183 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "stat": { "exists": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-device.yml:10 Thursday 21 July 2022 14:10:40 +0000 (0:00:00.306) 0:01:32.490 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-device.yml:18 Thursday 21 July 2022 14:10:40 +0000 (0:00:00.041) 0:01:32.532 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-device.yml:24 Thursday 21 July 2022 14:10:40 +0000 (0:00:00.024) 0:01:32.556 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-device.yml:28 Thursday 21 July 2022 14:10:40 +0000 (0:00:00.034) 0:01:32.590 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-device.yml:33 Thursday 21 July 2022 14:10:40 +0000 (0:00:00.025) 0:01:32.616 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 14:10:40 +0000 (0:00:00.031) 0:01:32.647 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 14:10:40 +0000 (0:00:00.028) 0:01:32.675 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "rc": 0, "results": [ "cryptsetup-2.0.3-6.el7.x86_64 providing cryptsetup is already installed" ] } TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 14:10:41 +0000 (0:00:00.538) 0:01:33.214 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 14:10:41 +0000 (0:00:00.022) 0:01:33.236 ********* skipping: [/cache/rhel-7.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/tmpaxjje44y/tests/test-verify-volume-encryption.yml:30 Thursday 21 July 2022 14:10:41 +0000 (0:00:00.021) 0:01:33.258 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:38 Thursday 21 July 2022 14:10:41 +0000 (0:00:00.020) 0:01:33.279 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 14:10:41 +0000 (0:00:00.026) 0:01:33.305 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:49 Thursday 21 July 2022 14:10:41 +0000 (0:00:00.023) 0:01:33.329 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:55 Thursday 21 July 2022 14:10:41 +0000 (0:00:00.024) 0:01:33.354 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:61 Thursday 21 July 2022 14:10:41 +0000 (0:00:00.024) 0:01:33.378 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 14:10:41 +0000 (0:00:00.025) 0:01:33.403 ********* ok: [/cache/rhel-7.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/tmpaxjje44y/tests/test-verify-volume-encryption.yml:74 Thursday 21 July 2022 14:10:41 +0000 (0:00:00.050) 0:01:33.454 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:79 Thursday 21 July 2022 14:10:41 +0000 (0:00:00.055) 0:01:33.510 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:85 Thursday 21 July 2022 14:10:41 +0000 (0:00:00.043) 0:01:33.553 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:91 Thursday 21 July 2022 14:10:41 +0000 (0:00:00.038) 0:01:33.591 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:97 Thursday 21 July 2022 14:10:41 +0000 (0:00:00.036) 0:01:33.628 ********* ok: [/cache/rhel-7.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/tmpaxjje44y/tests/test-verify-volume-md.yml:7 Thursday 21 July 2022 14:10:41 +0000 (0:00:00.093) 0:01:33.721 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-md.yml:13 Thursday 21 July 2022 14:10:41 +0000 (0:00:00.038) 0:01:33.759 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-md.yml:17 Thursday 21 July 2022 14:10:41 +0000 (0:00:00.038) 0:01:33.798 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-md.yml:21 Thursday 21 July 2022 14:10:41 +0000 (0:00:00.040) 0:01:33.839 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-md.yml:25 Thursday 21 July 2022 14:10:41 +0000 (0:00:00.036) 0:01:33.875 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-md.yml:31 Thursday 21 July 2022 14:10:41 +0000 (0:00:00.078) 0:01:33.953 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-md.yml:37 Thursday 21 July 2022 14:10:41 +0000 (0:00:00.038) 0:01:33.992 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:3 Thursday 21 July 2022 14:10:41 +0000 (0:00:00.035) 0:01:34.028 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:9 Thursday 21 July 2022 14:10:41 +0000 (0:00:00.026) 0:01:34.055 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:15 Thursday 21 July 2022 14:10:42 +0000 (0:00:00.038) 0:01:34.093 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:20 Thursday 21 July 2022 14:10:42 +0000 (0:00:00.035) 0:01:34.128 ********* ok: [/cache/rhel-7.qcow2] => { "storage_test_expected_size": "3221225472" } TASK [debug] ******************************************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:25 Thursday 21 July 2022 14:10:42 +0000 (0:00:00.035) 0:01:34.164 ********* skipping: [/cache/rhel-7.qcow2] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:28 Thursday 21 July 2022 14:10:42 +0000 (0:00:00.035) 0:01:34.200 ********* skipping: [/cache/rhel-7.qcow2] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:31 Thursday 21 July 2022 14:10:42 +0000 (0:00:00.034) 0:01:34.234 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:36 Thursday 21 July 2022 14:10:42 +0000 (0:00:00.034) 0:01:34.268 ********* skipping: [/cache/rhel-7.qcow2] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:39 Thursday 21 July 2022 14:10:42 +0000 (0:00:00.035) 0:01:34.304 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:44 Thursday 21 July 2022 14:10:42 +0000 (0:00:00.035) 0:01:34.339 ********* ok: [/cache/rhel-7.qcow2] => { "storage_test_actual_size": { "changed": false, "skip_reason": "Conditional result was False", "skipped": true } } TASK [debug] ******************************************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:47 Thursday 21 July 2022 14:10:42 +0000 (0:00:00.033) 0:01:34.372 ********* ok: [/cache/rhel-7.qcow2] => { "storage_test_expected_size": "3221225472" } TASK [assert] ****************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:50 Thursday 21 July 2022 14:10:42 +0000 (0:00:00.038) 0:01:34.410 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about the LV] ******************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-cache.yml:6 Thursday 21 July 2022 14:10:42 +0000 (0:00:00.024) 0:01:34.434 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-cache.yml:14 Thursday 21 July 2022 14:10:42 +0000 (0:00:00.025) 0:01:34.460 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check segment type] ****************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-cache.yml:17 Thursday 21 July 2022 14:10:42 +0000 (0:00:00.023) 0:01:34.484 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-cache.yml:22 Thursday 21 July 2022 14:10:42 +0000 (0:00:00.023) 0:01:34.507 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-cache.yml:26 Thursday 21 July 2022 14:10:42 +0000 (0:00:00.024) 0:01:34.532 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-cache.yml:32 Thursday 21 July 2022 14:10:42 +0000 (0:00:00.026) 0:01:34.559 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-cache.yml:36 Thursday 21 July 2022 14:10:42 +0000 (0:00:00.022) 0:01:34.581 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume.yml:16 Thursday 21 July 2022 14:10:42 +0000 (0:00:00.033) 0:01:34.615 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume.yml:2 Thursday 21 July 2022 14:10:42 +0000 (0:00:00.037) 0:01:34.652 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_test_volume_present": false, "_storage_volume_tests": [ "mount", "fstab", "fs", "device", "encryption", "md", "size", "cache" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume.yml:10 Thursday 21 July 2022 14:10:42 +0000 (0:00:00.049) 0:01:34.702 ********* included: /tmp/tmpaxjje44y/tests/test-verify-volume-mount.yml for /cache/rhel-7.qcow2 => (item=mount) included: /tmp/tmpaxjje44y/tests/test-verify-volume-fstab.yml for /cache/rhel-7.qcow2 => (item=fstab) included: /tmp/tmpaxjje44y/tests/test-verify-volume-fs.yml for /cache/rhel-7.qcow2 => (item=fs) included: /tmp/tmpaxjje44y/tests/test-verify-volume-device.yml for /cache/rhel-7.qcow2 => (item=device) included: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml for /cache/rhel-7.qcow2 => (item=encryption) included: /tmp/tmpaxjje44y/tests/test-verify-volume-md.yml for /cache/rhel-7.qcow2 => (item=md) included: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml for /cache/rhel-7.qcow2 => (item=size) included: /tmp/tmpaxjje44y/tests/test-verify-volume-cache.yml for /cache/rhel-7.qcow2 => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-mount.yml:6 Thursday 21 July 2022 14:10:42 +0000 (0:00:00.079) 0:01:34.781 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/vg1-lv3" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-mount.yml:14 Thursday 21 July 2022 14:10:42 +0000 (0:00:00.039) 0:01:34.821 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_mount_device_matches": [], "storage_test_mount_expected_match_count": "0", "storage_test_mount_point_matches": [], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-mount.yml:28 Thursday 21 July 2022 14:10:42 +0000 (0:00:00.053) 0:01:34.875 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-mount.yml:37 Thursday 21 July 2022 14:10:42 +0000 (0:00:00.022) 0:01:34.897 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpaxjje44y/tests/test-verify-volume-mount.yml:45 Thursday 21 July 2022 14:10:42 +0000 (0:00:00.050) 0:01:34.947 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [command] ***************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-mount.yml:54 Thursday 21 July 2022 14:10:42 +0000 (0:00:00.035) 0:01:34.982 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-mount.yml:58 Thursday 21 July 2022 14:10:42 +0000 (0:00:00.022) 0:01:35.005 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-mount.yml:63 Thursday 21 July 2022 14:10:42 +0000 (0:00:00.023) 0:01:35.028 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-mount.yml:75 Thursday 21 July 2022 14:10:42 +0000 (0:00:00.022) 0:01:35.051 ********* ok: [/cache/rhel-7.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/tmpaxjje44y/tests/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 14:10:43 +0000 (0:00:00.035) 0:01:35.086 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "0", "storage_test_fstab_expected_mount_options_matches": "0", "storage_test_fstab_expected_mount_point_matches": "0", "storage_test_fstab_id_matches": [], "storage_test_fstab_mount_options_matches": [], "storage_test_fstab_mount_point_matches": [] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 14:10:43 +0000 (0:00:00.065) 0:01:35.152 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-fstab.yml:32 Thursday 21 July 2022 14:10:43 +0000 (0:00:00.025) 0:01:35.177 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-fstab.yml:39 Thursday 21 July 2022 14:10:43 +0000 (0:00:00.048) 0:01:35.226 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-fstab.yml:49 Thursday 21 July 2022 14:10:43 +0000 (0:00:00.036) 0:01:35.263 ********* ok: [/cache/rhel-7.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/tmpaxjje44y/tests/test-verify-volume-fs.yml:4 Thursday 21 July 2022 14:10:43 +0000 (0:00:00.073) 0:01:35.336 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify fs label] ********************************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-fs.yml:10 Thursday 21 July 2022 14:10:43 +0000 (0:00:00.061) 0:01:35.398 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [See whether the device node is present] ********************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-device.yml:4 Thursday 21 July 2022 14:10:43 +0000 (0:00:00.023) 0:01:35.422 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "stat": { "exists": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-device.yml:10 Thursday 21 July 2022 14:10:43 +0000 (0:00:00.316) 0:01:35.739 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-device.yml:18 Thursday 21 July 2022 14:10:43 +0000 (0:00:00.047) 0:01:35.786 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-device.yml:24 Thursday 21 July 2022 14:10:43 +0000 (0:00:00.026) 0:01:35.813 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-device.yml:28 Thursday 21 July 2022 14:10:43 +0000 (0:00:00.038) 0:01:35.851 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-device.yml:33 Thursday 21 July 2022 14:10:43 +0000 (0:00:00.025) 0:01:35.876 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 14:10:43 +0000 (0:00:00.022) 0:01:35.899 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 14:10:43 +0000 (0:00:00.025) 0:01:35.924 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "rc": 0, "results": [ "cryptsetup-2.0.3-6.el7.x86_64 providing cryptsetup is already installed" ] } TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 14:10:44 +0000 (0:00:00.544) 0:01:36.469 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 14:10:44 +0000 (0:00:00.023) 0:01:36.492 ********* skipping: [/cache/rhel-7.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/tmpaxjje44y/tests/test-verify-volume-encryption.yml:30 Thursday 21 July 2022 14:10:44 +0000 (0:00:00.022) 0:01:36.515 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:38 Thursday 21 July 2022 14:10:44 +0000 (0:00:00.025) 0:01:36.540 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 14:10:44 +0000 (0:00:00.025) 0:01:36.566 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:49 Thursday 21 July 2022 14:10:44 +0000 (0:00:00.024) 0:01:36.590 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:55 Thursday 21 July 2022 14:10:44 +0000 (0:00:00.022) 0:01:36.612 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:61 Thursday 21 July 2022 14:10:44 +0000 (0:00:00.022) 0:01:36.634 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 14:10:44 +0000 (0:00:00.022) 0:01:36.657 ********* ok: [/cache/rhel-7.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/tmpaxjje44y/tests/test-verify-volume-encryption.yml:74 Thursday 21 July 2022 14:10:44 +0000 (0:00:00.053) 0:01:36.710 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:79 Thursday 21 July 2022 14:10:44 +0000 (0:00:00.050) 0:01:36.761 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:85 Thursday 21 July 2022 14:10:44 +0000 (0:00:00.034) 0:01:36.796 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:91 Thursday 21 July 2022 14:10:44 +0000 (0:00:00.038) 0:01:36.834 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:97 Thursday 21 July 2022 14:10:44 +0000 (0:00:00.032) 0:01:36.867 ********* ok: [/cache/rhel-7.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/tmpaxjje44y/tests/test-verify-volume-md.yml:7 Thursday 21 July 2022 14:10:44 +0000 (0:00:00.032) 0:01:36.899 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-md.yml:13 Thursday 21 July 2022 14:10:44 +0000 (0:00:00.035) 0:01:36.935 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-md.yml:17 Thursday 21 July 2022 14:10:44 +0000 (0:00:00.038) 0:01:36.974 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-md.yml:21 Thursday 21 July 2022 14:10:44 +0000 (0:00:00.034) 0:01:37.009 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-md.yml:25 Thursday 21 July 2022 14:10:44 +0000 (0:00:00.034) 0:01:37.043 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-md.yml:31 Thursday 21 July 2022 14:10:44 +0000 (0:00:00.034) 0:01:37.078 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-md.yml:37 Thursday 21 July 2022 14:10:45 +0000 (0:00:00.039) 0:01:37.117 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:3 Thursday 21 July 2022 14:10:45 +0000 (0:00:00.035) 0:01:37.152 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:9 Thursday 21 July 2022 14:10:45 +0000 (0:00:00.025) 0:01:37.177 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:15 Thursday 21 July 2022 14:10:45 +0000 (0:00:00.037) 0:01:37.215 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:20 Thursday 21 July 2022 14:10:45 +0000 (0:00:00.041) 0:01:37.256 ********* ok: [/cache/rhel-7.qcow2] => { "storage_test_expected_size": "3221225472" } TASK [debug] ******************************************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:25 Thursday 21 July 2022 14:10:45 +0000 (0:00:00.036) 0:01:37.293 ********* skipping: [/cache/rhel-7.qcow2] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:28 Thursday 21 July 2022 14:10:45 +0000 (0:00:00.036) 0:01:37.329 ********* skipping: [/cache/rhel-7.qcow2] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:31 Thursday 21 July 2022 14:10:45 +0000 (0:00:00.034) 0:01:37.363 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:36 Thursday 21 July 2022 14:10:45 +0000 (0:00:00.038) 0:01:37.402 ********* skipping: [/cache/rhel-7.qcow2] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:39 Thursday 21 July 2022 14:10:45 +0000 (0:00:00.038) 0:01:37.440 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:44 Thursday 21 July 2022 14:10:45 +0000 (0:00:00.037) 0:01:37.477 ********* ok: [/cache/rhel-7.qcow2] => { "storage_test_actual_size": { "changed": false, "skip_reason": "Conditional result was False", "skipped": true } } TASK [debug] ******************************************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:47 Thursday 21 July 2022 14:10:45 +0000 (0:00:00.083) 0:01:37.561 ********* ok: [/cache/rhel-7.qcow2] => { "storage_test_expected_size": "3221225472" } TASK [assert] ****************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:50 Thursday 21 July 2022 14:10:45 +0000 (0:00:00.087) 0:01:37.649 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about the LV] ******************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-cache.yml:6 Thursday 21 July 2022 14:10:45 +0000 (0:00:00.024) 0:01:37.673 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-cache.yml:14 Thursday 21 July 2022 14:10:45 +0000 (0:00:00.025) 0:01:37.698 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check segment type] ****************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-cache.yml:17 Thursday 21 July 2022 14:10:45 +0000 (0:00:00.025) 0:01:37.724 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-cache.yml:22 Thursday 21 July 2022 14:10:45 +0000 (0:00:00.024) 0:01:37.748 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-cache.yml:26 Thursday 21 July 2022 14:10:45 +0000 (0:00:00.024) 0:01:37.773 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-cache.yml:32 Thursday 21 July 2022 14:10:45 +0000 (0:00:00.024) 0:01:37.798 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-cache.yml:36 Thursday 21 July 2022 14:10:45 +0000 (0:00:00.026) 0:01:37.824 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume.yml:16 Thursday 21 July 2022 14:10:45 +0000 (0:00:00.024) 0:01:37.849 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpaxjje44y/tests/verify-role-results.yml:43 Thursday 21 July 2022 14:10:45 +0000 (0:00:00.036) 0:01:37.885 ********* TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpaxjje44y/tests/verify-role-results.yml:53 Thursday 21 July 2022 14:10:45 +0000 (0:00:00.022) 0:01:37.907 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Create a RAID1 lvm raid device] ****************************************** task path: /tmp/tmpaxjje44y/tests/tests_create_raid_pool_then_remove.yml:100 Thursday 21 July 2022 14:10:45 +0000 (0:00:00.038) 0:01:37.946 ********* TASK [linux-system-roles.storage : set platform/version specific variables] **** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Thursday 21 July 2022 14:10:45 +0000 (0:00:00.062) 0:01:38.008 ********* included: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/set_vars.yml for /cache/rhel-7.qcow2 TASK [linux-system-roles.storage : Ensure ansible_facts used by role] ********** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Thursday 21 July 2022 14:10:45 +0000 (0:00:00.035) 0:01:38.044 ********* ok: [/cache/rhel-7.qcow2] TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Thursday 21 July 2022 14:10:46 +0000 (0:00:00.413) 0:01:38.458 ********* skipping: [/cache/rhel-7.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-7.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/rhel-7.qcow2] => (item=RedHat_7.yml) => { "ansible_facts": { "__storage_blivet_diskvolume_mkfs_option_map": { "ext2": "-F", "ext3": "-F", "ext4": "-F" }, "blivet_package_list": [ "python-enum34", "python-blivet3", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap" ] }, "ansible_included_var_files": [ "/tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/vars/RedHat_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_7.yml" } skipping: [/cache/rhel-7.qcow2] => (item=RedHat_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_7.9.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Thursday 21 July 2022 14:10:46 +0000 (0:00:00.067) 0:01:38.526 ********* ok: [/cache/rhel-7.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/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Thursday 21 July 2022 14:10:46 +0000 (0:00:00.037) 0:01:38.563 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : include the appropriate provider tasks] ***** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Thursday 21 July 2022 14:10:46 +0000 (0:00:00.036) 0:01:38.599 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml for /cache/rhel-7.qcow2 TASK [linux-system-roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 14:10:46 +0000 (0:00:00.049) 0:01:38.649 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure blivet is available] ************** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 14:10:46 +0000 (0:00:00.022) 0:01:38.671 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : show storage_pools] ************************* task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:14 Thursday 21 July 2022 14:10:46 +0000 (0:00:00.030) 0:01:38.701 ********* ok: [/cache/rhel-7.qcow2] => { "storage_pools": [ { "disks": [ "sdb", "sdc" ], "name": "vg1", "state": "present", "type": "lvm", "volumes": [ { "mount_point": "/opt/test1", "name": "lv1", "raid_disks": [ "sdb", "sdc" ], "raid_level": "raid1", "size": "2g" } ] } ] } TASK [linux-system-roles.storage : show storage_volumes] *********************** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:19 Thursday 21 July 2022 14:10:46 +0000 (0:00:00.041) 0:01:38.743 ********* ok: [/cache/rhel-7.qcow2] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [linux-system-roles.storage : get required packages] ********************** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:24 Thursday 21 July 2022 14:10:46 +0000 (0:00:00.036) 0:01:38.780 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : enable copr repositories if needed] ********* task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:37 Thursday 21 July 2022 14:10:46 +0000 (0:00:00.029) 0:01:38.809 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure required packages are installed] *** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:44 Thursday 21 July 2022 14:10:46 +0000 (0:00:00.029) 0:01:38.839 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : get service facts] ************************** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 Thursday 21 July 2022 14:10:46 +0000 (0:00:00.034) 0:01:38.874 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set storage_cryptsetup_services] ************ task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 14:10:46 +0000 (0:00:00.028) 0:01:38.902 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [linux-system-roles.storage : Mask the systemd cryptsetup services] ******* task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:71 Thursday 21 July 2022 14:10:46 +0000 (0:00:00.059) 0:01:38.962 ********* TASK [linux-system-roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Thursday 21 July 2022 14:10:46 +0000 (0:00:00.023) 0:01:38.985 ********* changed: [/cache/rhel-7.qcow2] => { "actions": [ { "action": "create format", "device": "/dev/sdc", "fs_type": "disklabel" }, { "action": "create device", "device": "/dev/sdc1", "fs_type": null }, { "action": "create format", "device": "/dev/sdc1", "fs_type": "lvmpv" }, { "action": "create format", "device": "/dev/sdb", "fs_type": "disklabel" }, { "action": "create device", "device": "/dev/sdb1", "fs_type": null }, { "action": "create format", "device": "/dev/sdb1", "fs_type": "lvmpv" }, { "action": "create device", "device": "/dev/vg1", "fs_type": null }, { "action": "create device", "device": "/dev/mapper/vg1-lv1", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/vg1-lv1", "fs_type": "xfs" } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/sda", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb", "/dev/vdc", "/dev/vdd", "/dev/mapper/vg1-lv1" ], "mounts": [ { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/vg1-lv1", "state": "mounted" } ], "packages": [ "xfsprogs", "lvm2" ], "pools": [ { "disks": [ "sdb", "sdc" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_kernel_device": "/dev/dm-4", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "_raw_kernel_device": "/dev/dm-4", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [ "sdb", "sdc" ], "raid_level": "raid1", "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } TASK [linux-system-roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:91 Thursday 21 July 2022 14:10:49 +0000 (0:00:02.445) 0:01:41.431 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Unmask the systemd cryptsetup services] ***** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:103 Thursday 21 July 2022 14:10:49 +0000 (0:00:00.037) 0:01:41.469 ********* TASK [linux-system-roles.storage : show blivet_output] ************************* task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:109 Thursday 21 July 2022 14:10:49 +0000 (0:00:00.022) 0:01:41.492 ********* ok: [/cache/rhel-7.qcow2] => { "blivet_output": { "actions": [ { "action": "create format", "device": "/dev/sdc", "fs_type": "disklabel" }, { "action": "create device", "device": "/dev/sdc1", "fs_type": null }, { "action": "create format", "device": "/dev/sdc1", "fs_type": "lvmpv" }, { "action": "create format", "device": "/dev/sdb", "fs_type": "disklabel" }, { "action": "create device", "device": "/dev/sdb1", "fs_type": null }, { "action": "create format", "device": "/dev/sdb1", "fs_type": "lvmpv" }, { "action": "create device", "device": "/dev/vg1", "fs_type": null }, { "action": "create device", "device": "/dev/mapper/vg1-lv1", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/vg1-lv1", "fs_type": "xfs" } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/sda", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb", "/dev/vdc", "/dev/vdd", "/dev/mapper/vg1-lv1" ], "mounts": [ { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/vg1-lv1", "state": "mounted" } ], "packages": [ "xfsprogs", "lvm2" ], "pools": [ { "disks": [ "sdb", "sdc" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_kernel_device": "/dev/dm-4", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "_raw_kernel_device": "/dev/dm-4", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [ "sdb", "sdc" ], "raid_level": "raid1", "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } } TASK [linux-system-roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:114 Thursday 21 July 2022 14:10:49 +0000 (0:00:00.041) 0:01:41.534 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sdb", "sdc" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_kernel_device": "/dev/dm-4", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "_raw_kernel_device": "/dev/dm-4", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [ "sdb", "sdc" ], "raid_level": "raid1", "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] }, "changed": false } TASK [linux-system-roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:118 Thursday 21 July 2022 14:10:49 +0000 (0:00:00.041) 0:01:41.575 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : remove obsolete mounts] ********************* task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:134 Thursday 21 July 2022 14:10:49 +0000 (0:00:00.037) 0:01:41.613 ********* TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:146 Thursday 21 July 2022 14:10:49 +0000 (0:00:00.038) 0:01:41.651 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : set up new/current mounts] ****************** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:151 Thursday 21 July 2022 14:10:50 +0000 (0:00:00.458) 0:01:42.110 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/rhel-7.qcow2] => (item={'src': '/dev/mapper/vg1-lv1', 'dump': 0, 'passno': 0, 'fstype': 'xfs', 'state': 'mounted', 'path': '/opt/test1', 'opts': 'defaults'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "xfs", "mount_info": { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/vg1-lv1", "state": "mounted" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "/dev/mapper/vg1-lv1" } TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:163 Thursday 21 July 2022 14:10:50 +0000 (0:00:00.353) 0:01:42.464 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:171 Thursday 21 July 2022 14:10:50 +0000 (0:00:00.460) 0:01:42.924 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "stat": { "atime": 1658412558.1759725, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1658201031.524, "dev": 64769, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 70, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "inode/x-empty", "mode": "0600", "mtime": 1658200515.884, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "18446744071677828413", "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/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:176 Thursday 21 July 2022 14:10:51 +0000 (0:00:00.315) 0:01:43.240 ********* TASK [linux-system-roles.storage : Update facts] ******************************* task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 Thursday 21 July 2022 14:10:51 +0000 (0:00:00.021) 0:01:43.261 ********* ok: [/cache/rhel-7.qcow2] META: role_complete for /cache/rhel-7.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmpaxjje44y/tests/tests_create_raid_pool_then_remove.yml:116 Thursday 21 July 2022 14:10:52 +0000 (0:00:00.896) 0:01:44.158 ********* included: /tmp/tmpaxjje44y/tests/verify-role-results.yml for /cache/rhel-7.qcow2 TASK [Print out pool information] ********************************************** task path: /tmp/tmpaxjje44y/tests/verify-role-results.yml:1 Thursday 21 July 2022 14:10:52 +0000 (0:00:00.047) 0:01:44.205 ********* ok: [/cache/rhel-7.qcow2] => { "_storage_pools_list": [ { "disks": [ "sdb", "sdc" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_kernel_device": "/dev/dm-4", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "_raw_kernel_device": "/dev/dm-4", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [ "sdb", "sdc" ], "raid_level": "raid1", "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] } TASK [Print out volume information] ******************************************** task path: /tmp/tmpaxjje44y/tests/verify-role-results.yml:6 Thursday 21 July 2022 14:10:52 +0000 (0:00:00.089) 0:01:44.294 ********* skipping: [/cache/rhel-7.qcow2] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpaxjje44y/tests/verify-role-results.yml:14 Thursday 21 July 2022 14:10:52 +0000 (0:00:00.036) 0:01:44.331 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "info": { "/dev/fd0": { "fstype": "", "label": "", "name": "/dev/fd0", "size": "4K", "type": "disk", "uuid": "" }, "/dev/mapper/vg1-lv1": { "fstype": "xfs", "label": "", "name": "/dev/mapper/vg1-lv1", "size": "2G", "type": "lvm", "uuid": "5cc3c2ac-f39e-43f7-a218-44e0e2610f49" }, "/dev/mapper/vg1-lv1_rimage_0": { "fstype": "", "label": "", "name": "/dev/mapper/vg1-lv1_rimage_0", "size": "2G", "type": "lvm", "uuid": "" }, "/dev/mapper/vg1-lv1_rimage_1": { "fstype": "", "label": "", "name": "/dev/mapper/vg1-lv1_rimage_1", "size": "2G", "type": "lvm", "uuid": "" }, "/dev/mapper/vg1-lv1_rmeta_0": { "fstype": "", "label": "", "name": "/dev/mapper/vg1-lv1_rmeta_0", "size": "4M", "type": "lvm", "uuid": "" }, "/dev/mapper/vg1-lv1_rmeta_1": { "fstype": "", "label": "", "name": "/dev/mapper/vg1-lv1_rmeta_1", "size": "4M", "type": "lvm", "uuid": "" }, "/dev/nvme0n1": { "fstype": "", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme1n1": { "fstype": "", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme2n1": { "fstype": "", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda": { "fstype": "", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdb": { "fstype": "", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdb1": { "fstype": "LVM2_member", "label": "", "name": "/dev/sdb1", "size": "10G", "type": "partition", "uuid": "TNmeoh-MYKC-vP2I-Yp1M-MZ1S-NDxC-iIu3aL" }, "/dev/sdc": { "fstype": "", "label": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdc1": { "fstype": "LVM2_member", "label": "", "name": "/dev/sdc1", "size": "10G", "type": "partition", "uuid": "77e97d-ah6X-l0GR-587I-f2zb-9FLQ-7EGMPo" }, "/dev/sr0": { "fstype": "iso9660", "label": "cidata", "name": "/dev/sr0", "size": "364K", "type": "rom", "uuid": "2022-07-21-14-08-55-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "xfs", "label": "", "name": "/dev/vda1", "size": "10G", "type": "partition", "uuid": "21864ae1-1c29-4009-a1c2-151e41d0e053" }, "/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/tmpaxjje44y/tests/verify-role-results.yml:19 Thursday 21 July 2022 14:10:52 +0000 (0:00:00.376) 0:01:44.708 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.003378", "end": "2022-07-21 10:10:52.646652", "rc": 0, "start": "2022-07-21 10:10:52.643274" } STDOUT: # # /etc/fstab # Created by anaconda on Tue Jul 19 03:15:15 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 # UUID=21864ae1-1c29-4009-a1c2-151e41d0e053 / xfs defaults 0 0 /dev/mapper/vg1-lv1 /opt/test1 xfs defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpaxjje44y/tests/verify-role-results.yml:24 Thursday 21 July 2022 14:10:52 +0000 (0:00:00.312) 0:01:45.020 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.003340", "end": "2022-07-21 10:10:52.958598", "failed_when_result": false, "rc": 0, "start": "2022-07-21 10:10:52.955258" } TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmpaxjje44y/tests/verify-role-results.yml:33 Thursday 21 July 2022 14:10:53 +0000 (0:00:00.307) 0:01:45.328 ********* included: /tmp/tmpaxjje44y/tests/test-verify-pool.yml for /cache/rhel-7.qcow2 => (item={'name': 'vg1', 'encryption_password': None, 'state': 'present', 'raid_metadata_version': None, 'encryption': False, 'encryption_key_size': None, 'disks': ['sdb', 'sdc'], 'raid_level': None, 'encryption_luks_version': None, 'raid_device_count': None, 'encryption_key': None, 'volumes': [{'_raw_device': '/dev/mapper/vg1-lv1', 'raid_metadata_version': None, 'raid_level': 'raid1', 'fs_type': 'xfs', 'mount_options': 'defaults', 'type': 'lvm', '_device': '/dev/mapper/vg1-lv1', 'size': '2g', 'mount_point': '/opt/test1', 'compression': None, 'encryption_password': None, '_kernel_device': '/dev/dm-4', 'encryption': False, 'mount_device_identifier': 'uuid', 'name': 'lv1', 'raid_device_count': None, 'state': 'present', 'vdo_pool_size': None, 'thin_pool_name': None, 'thin_pool_size': None, 'encryption_key_size': None, 'encryption_cipher': None, 'encryption_key': None, 'fs_label': '', 'encryption_luks_version': None, 'cache_size': 0, '_mount_id': '/dev/mapper/vg1-lv1', 'raid_spare_count': None, 'raid_disks': ['sdb', 'sdc'], '_raw_kernel_device': '/dev/dm-4', 'cache_mode': None, 'deduplication': None, 'cached': False, 'fs_overwrite_existing': True, 'disks': [], 'thin': False, 'mount_check': 0, 'mount_passno': 0, 'raid_chunk_size': None, 'cache_devices': [], 'fs_create_options': ''}], 'raid_chunk_size': None, 'type': 'lvm', 'encryption_cipher': None, 'raid_spare_count': None}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-pool.yml:5 Thursday 21 July 2022 14:10:53 +0000 (0:00:00.059) 0:01:45.387 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-pool.yml:18 Thursday 21 July 2022 14:10:53 +0000 (0:00:00.039) 0:01:45.427 ********* included: /tmp/tmpaxjje44y/tests/test-verify-pool-members.yml for /cache/rhel-7.qcow2 => (item=members) included: /tmp/tmpaxjje44y/tests/test-verify-pool-volumes.yml for /cache/rhel-7.qcow2 => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-pool-members.yml:1 Thursday 21 July 2022 14:10:53 +0000 (0:00:00.049) 0:01:45.476 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_count": "2", "_storage_test_pool_pvs_lvm": [ "/dev/sdb1", "/dev/sdc1" ] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmpaxjje44y/tests/test-verify-pool-members.yml:10 Thursday 21 July 2022 14:10:53 +0000 (0:00:00.053) 0:01:45.529 ********* ok: [/cache/rhel-7.qcow2] => (item=/dev/sdb1) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/sdb1", "pv": "/dev/sdb1" } ok: [/cache/rhel-7.qcow2] => (item=/dev/sdc1) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/sdc1", "pv": "/dev/sdc1" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-pool-members.yml:19 Thursday 21 July 2022 14:10:54 +0000 (0:00:00.606) 0:01:46.136 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "__pvs_lvm_len": "2" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-pool-members.yml:23 Thursday 21 July 2022 14:10:54 +0000 (0:00:00.048) 0:01:46.185 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/sdb1", "/dev/sdc1" ] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-pool-members.yml:27 Thursday 21 July 2022 14:10:54 +0000 (0:00:00.047) 0:01:46.233 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-pool-members.yml:34 Thursday 21 July 2022 14:10:54 +0000 (0:00:00.052) 0:01:46.286 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-pool-members.yml:38 Thursday 21 July 2022 14:10:54 +0000 (0:00:00.037) 0:01:46.324 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_type": "partition" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-pool-members.yml:42 Thursday 21 July 2022 14:10:54 +0000 (0:00:00.047) 0:01:46.371 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-pool-members.yml:46 Thursday 21 July 2022 14:10:54 +0000 (0:00:00.023) 0:01:46.394 ********* ok: [/cache/rhel-7.qcow2] => (item=/dev/sdb1) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/sdb1" } MSG: All assertions passed ok: [/cache/rhel-7.qcow2] => (item=/dev/sdc1) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/sdc1" } MSG: All assertions passed TASK [Check MD RAID] *********************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-pool-members.yml:56 Thursday 21 July 2022 14:10:54 +0000 (0:00:00.066) 0:01:46.461 ********* included: /tmp/tmpaxjje44y/tests/verify-pool-md.yml for /cache/rhel-7.qcow2 TASK [get information about RAID] ********************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-md.yml:6 Thursday 21 July 2022 14:10:54 +0000 (0:00:00.048) 0:01:46.510 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-md.yml:12 Thursday 21 July 2022 14:10:54 +0000 (0:00:00.027) 0:01:46.538 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-md.yml:16 Thursday 21 July 2022 14:10:54 +0000 (0:00:00.025) 0:01:46.563 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-md.yml:20 Thursday 21 July 2022 14:10:54 +0000 (0:00:00.024) 0:01:46.588 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-md.yml:24 Thursday 21 July 2022 14:10:54 +0000 (0:00:00.026) 0:01:46.614 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-md.yml:30 Thursday 21 July 2022 14:10:54 +0000 (0:00:00.025) 0:01:46.640 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpaxjje44y/tests/verify-pool-md.yml:36 Thursday 21 July 2022 14:10:54 +0000 (0:00:00.027) 0:01:46.667 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-md.yml:44 Thursday 21 July 2022 14:10:54 +0000 (0:00:00.024) 0:01:46.692 ********* ok: [/cache/rhel-7.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/tmpaxjje44y/tests/test-verify-pool-members.yml:59 Thursday 21 July 2022 14:10:54 +0000 (0:00:00.090) 0:01:46.782 ********* included: /tmp/tmpaxjje44y/tests/verify-pool-members-lvmraid.yml for /cache/rhel-7.qcow2 TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-members-lvmraid.yml:1 Thursday 21 July 2022 14:10:54 +0000 (0:00:00.087) 0:01:46.869 ********* included: /tmp/tmpaxjje44y/tests/verify-pool-member-lvmraid.yml for /cache/rhel-7.qcow2 => (item={'_raw_device': '/dev/mapper/vg1-lv1', 'raid_metadata_version': None, 'raid_level': 'raid1', 'fs_type': 'xfs', 'mount_options': 'defaults', 'type': 'lvm', '_device': '/dev/mapper/vg1-lv1', 'size': '2g', 'mount_point': '/opt/test1', 'compression': None, 'encryption_password': None, '_kernel_device': '/dev/dm-4', 'encryption': False, 'mount_device_identifier': 'uuid', 'name': 'lv1', 'raid_device_count': None, 'state': 'present', 'vdo_pool_size': None, 'thin_pool_name': None, 'thin_pool_size': None, 'encryption_key_size': None, 'encryption_cipher': None, 'encryption_key': None, 'fs_label': '', 'encryption_luks_version': None, 'cache_size': 0, '_mount_id': '/dev/mapper/vg1-lv1', 'raid_spare_count': None, 'raid_disks': ['sdb', 'sdc'], '_raw_kernel_device': '/dev/dm-4', 'cache_mode': None, 'deduplication': None, 'cached': False, 'fs_overwrite_existing': True, 'disks': [], 'thin': False, 'mount_check': 0, 'mount_passno': 0, 'raid_chunk_size': None, 'cache_devices': [], 'fs_create_options': ''}) TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-member-lvmraid.yml:3 Thursday 21 July 2022 14:10:54 +0000 (0:00:00.045) 0:01:46.915 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "cmd": [ "lvs", "--noheading", "-o", "lv_name", "--select", "lv_name=lv1&&lv_layout=raid1", "vg1" ], "delta": "0:00:00.026127", "end": "2022-07-21 10:10:54.891848", "rc": 0, "start": "2022-07-21 10:10:54.865721" } STDOUT: lv1 TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmpaxjje44y/tests/verify-pool-member-lvmraid.yml:8 Thursday 21 July 2022 14:10:55 +0000 (0:00:00.349) 0:01:47.265 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-member-lvmraid.yml:12 Thursday 21 July 2022 14:10:55 +0000 (0:00:00.058) 0:01:47.323 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_lvmraid_status": null }, "changed": false } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-pool-members.yml:62 Thursday 21 July 2022 14:10:55 +0000 (0:00:00.045) 0:01:47.369 ********* included: /tmp/tmpaxjje44y/tests/verify-pool-members-thin.yml for /cache/rhel-7.qcow2 TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-members-thin.yml:1 Thursday 21 July 2022 14:10:55 +0000 (0:00:00.046) 0:01:47.415 ********* included: /tmp/tmpaxjje44y/tests/verify-pool-member-thin.yml for /cache/rhel-7.qcow2 => (item={'_raw_device': '/dev/mapper/vg1-lv1', 'raid_metadata_version': None, 'raid_level': 'raid1', 'fs_type': 'xfs', 'mount_options': 'defaults', 'type': 'lvm', '_device': '/dev/mapper/vg1-lv1', 'size': '2g', 'mount_point': '/opt/test1', 'compression': None, 'encryption_password': None, '_kernel_device': '/dev/dm-4', 'encryption': False, 'mount_device_identifier': 'uuid', 'name': 'lv1', 'raid_device_count': None, 'state': 'present', 'vdo_pool_size': None, 'thin_pool_name': None, 'thin_pool_size': None, 'encryption_key_size': None, 'encryption_cipher': None, 'encryption_key': None, 'fs_label': '', 'encryption_luks_version': None, 'cache_size': 0, '_mount_id': '/dev/mapper/vg1-lv1', 'raid_spare_count': None, 'raid_disks': ['sdb', 'sdc'], '_raw_kernel_device': '/dev/dm-4', 'cache_mode': None, 'deduplication': None, 'cached': False, 'fs_overwrite_existing': True, 'disks': [], 'thin': False, 'mount_check': 0, 'mount_passno': 0, 'raid_chunk_size': None, 'cache_devices': [], 'fs_create_options': ''}) TASK [Get information about thinpool] ****************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-member-thin.yml:3 Thursday 21 July 2022 14:10:55 +0000 (0:00:00.045) 0:01:47.461 ********* skipping: [/cache/rhel-7.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/tmpaxjje44y/tests/verify-pool-member-thin.yml:8 Thursday 21 July 2022 14:10:55 +0000 (0:00:00.026) 0:01:47.488 ********* skipping: [/cache/rhel-7.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/tmpaxjje44y/tests/verify-pool-member-thin.yml:13 Thursday 21 July 2022 14:10:55 +0000 (0:00:00.025) 0:01:47.513 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-member-thin.yml:17 Thursday 21 July 2022 14:10:55 +0000 (0:00:00.025) 0:01:47.538 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-pool-members.yml:65 Thursday 21 July 2022 14:10:55 +0000 (0:00:00.025) 0:01:47.563 ********* included: /tmp/tmpaxjje44y/tests/verify-pool-members-encryption.yml for /cache/rhel-7.qcow2 TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-members-encryption.yml:4 Thursday 21 July 2022 14:10:55 +0000 (0:00:00.050) 0:01:47.613 ********* ok: [/cache/rhel-7.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/tmpaxjje44y/tests/verify-pool-members-encryption.yml:8 Thursday 21 July 2022 14:10:55 +0000 (0:00:00.052) 0:01:47.666 ********* skipping: [/cache/rhel-7.qcow2] => (item=/dev/sdb1) => { "_storage_test_pool_member_path": "/dev/sdb1", "ansible_loop_var": "_storage_test_pool_member_path", "changed": false, "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-7.qcow2] => (item=/dev/sdc1) => { "_storage_test_pool_member_path": "/dev/sdc1", "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/tmpaxjje44y/tests/verify-pool-members-encryption.yml:15 Thursday 21 July 2022 14:10:55 +0000 (0:00:00.033) 0:01:47.699 ********* included: /tmp/tmpaxjje44y/tests/verify-pool-member-crypttab.yml for /cache/rhel-7.qcow2 => (item=/dev/sdb1) included: /tmp/tmpaxjje44y/tests/verify-pool-member-crypttab.yml for /cache/rhel-7.qcow2 => (item=/dev/sdc1) TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-member-crypttab.yml:1 Thursday 21 July 2022 14:10:55 +0000 (0:00:00.051) 0:01:47.751 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": [] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpaxjje44y/tests/verify-pool-member-crypttab.yml:6 Thursday 21 July 2022 14:10:55 +0000 (0:00:00.048) 0:01:47.799 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpaxjje44y/tests/verify-pool-member-crypttab.yml:11 Thursday 21 July 2022 14:10:55 +0000 (0:00:00.048) 0:01:47.848 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-member-crypttab.yml:17 Thursday 21 July 2022 14:10:55 +0000 (0:00:00.038) 0:01:47.887 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-member-crypttab.yml:23 Thursday 21 July 2022 14:10:55 +0000 (0:00:00.035) 0:01:47.922 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-member-crypttab.yml:29 Thursday 21 July 2022 14:10:55 +0000 (0:00:00.034) 0:01:47.957 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-member-crypttab.yml:1 Thursday 21 July 2022 14:10:55 +0000 (0:00:00.037) 0:01:47.994 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": [] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpaxjje44y/tests/verify-pool-member-crypttab.yml:6 Thursday 21 July 2022 14:10:55 +0000 (0:00:00.048) 0:01:48.043 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpaxjje44y/tests/verify-pool-member-crypttab.yml:11 Thursday 21 July 2022 14:10:56 +0000 (0:00:00.049) 0:01:48.092 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-member-crypttab.yml:17 Thursday 21 July 2022 14:10:56 +0000 (0:00:00.041) 0:01:48.133 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-member-crypttab.yml:23 Thursday 21 July 2022 14:10:56 +0000 (0:00:00.037) 0:01:48.171 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-member-crypttab.yml:29 Thursday 21 July 2022 14:10:56 +0000 (0:00:00.036) 0:01:48.208 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-members-encryption.yml:22 Thursday 21 July 2022 14:10:56 +0000 (0:00:00.035) 0:01:48.244 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-pool-members.yml:68 Thursday 21 July 2022 14:10:56 +0000 (0:00:00.037) 0:01:48.281 ********* included: /tmp/tmpaxjje44y/tests/verify-pool-members-vdo.yml for /cache/rhel-7.qcow2 TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-members-vdo.yml:1 Thursday 21 July 2022 14:10:56 +0000 (0:00:00.045) 0:01:48.327 ********* included: /tmp/tmpaxjje44y/tests/verify-pool-member-vdo.yml for /cache/rhel-7.qcow2 => (item={'_raw_device': '/dev/mapper/vg1-lv1', 'raid_metadata_version': None, 'raid_level': 'raid1', 'fs_type': 'xfs', 'mount_options': 'defaults', 'type': 'lvm', '_device': '/dev/mapper/vg1-lv1', 'size': '2g', 'mount_point': '/opt/test1', 'compression': None, 'encryption_password': None, '_kernel_device': '/dev/dm-4', 'encryption': False, 'mount_device_identifier': 'uuid', 'name': 'lv1', 'raid_device_count': None, 'state': 'present', 'vdo_pool_size': None, 'thin_pool_name': None, 'thin_pool_size': None, 'encryption_key_size': None, 'encryption_cipher': None, 'encryption_key': None, 'fs_label': '', 'encryption_luks_version': None, 'cache_size': 0, '_mount_id': '/dev/mapper/vg1-lv1', 'raid_spare_count': None, 'raid_disks': ['sdb', 'sdc'], '_raw_kernel_device': '/dev/dm-4', 'cache_mode': None, 'deduplication': None, 'cached': False, 'fs_overwrite_existing': True, 'disks': [], 'thin': False, 'mount_check': 0, 'mount_passno': 0, 'raid_chunk_size': None, 'cache_devices': [], 'fs_create_options': ''}) TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmpaxjje44y/tests/verify-pool-member-vdo.yml:3 Thursday 21 July 2022 14:10:56 +0000 (0:00:00.079) 0:01:48.406 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-member-vdo.yml:8 Thursday 21 July 2022 14:10:56 +0000 (0:00:00.027) 0:01:48.434 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-member-vdo.yml:11 Thursday 21 July 2022 14:10:56 +0000 (0:00:00.025) 0:01:48.459 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-member-vdo.yml:16 Thursday 21 July 2022 14:10:56 +0000 (0:00:00.025) 0:01:48.485 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-member-vdo.yml:21 Thursday 21 July 2022 14:10:56 +0000 (0:00:00.027) 0:01:48.513 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-member-vdo.yml:24 Thursday 21 July 2022 14:10:56 +0000 (0:00:00.024) 0:01:48.537 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-member-vdo.yml:29 Thursday 21 July 2022 14:10:56 +0000 (0:00:00.023) 0:01:48.561 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-member-vdo.yml:39 Thursday 21 July 2022 14:10:56 +0000 (0:00:00.023) 0:01:48.584 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-pool-members.yml:71 Thursday 21 July 2022 14:10:56 +0000 (0:00:00.035) 0:01:48.619 ********* ok: [/cache/rhel-7.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/tmpaxjje44y/tests/test-verify-pool-volumes.yml:3 Thursday 21 July 2022 14:10:56 +0000 (0:00:00.032) 0:01:48.652 ********* included: /tmp/tmpaxjje44y/tests/test-verify-volume.yml for /cache/rhel-7.qcow2 => (item={'_raw_device': '/dev/mapper/vg1-lv1', 'raid_metadata_version': None, 'raid_level': 'raid1', 'fs_type': 'xfs', 'mount_options': 'defaults', 'type': 'lvm', '_device': '/dev/mapper/vg1-lv1', 'size': '2g', 'mount_point': '/opt/test1', 'compression': None, 'encryption_password': None, '_kernel_device': '/dev/dm-4', 'encryption': False, 'mount_device_identifier': 'uuid', 'name': 'lv1', 'raid_device_count': None, 'state': 'present', 'vdo_pool_size': None, 'thin_pool_name': None, 'thin_pool_size': None, 'encryption_key_size': None, 'encryption_cipher': None, 'encryption_key': None, 'fs_label': '', 'encryption_luks_version': None, 'cache_size': 0, '_mount_id': '/dev/mapper/vg1-lv1', 'raid_spare_count': None, 'raid_disks': ['sdb', 'sdc'], '_raw_kernel_device': '/dev/dm-4', 'cache_mode': None, 'deduplication': None, 'cached': False, 'fs_overwrite_existing': True, 'disks': [], 'thin': False, 'mount_check': 0, 'mount_passno': 0, 'raid_chunk_size': None, 'cache_devices': [], 'fs_create_options': ''}) TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume.yml:2 Thursday 21 July 2022 14:10:56 +0000 (0:00:00.044) 0:01:48.696 ********* ok: [/cache/rhel-7.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/tmpaxjje44y/tests/test-verify-volume.yml:10 Thursday 21 July 2022 14:10:56 +0000 (0:00:00.052) 0:01:48.748 ********* included: /tmp/tmpaxjje44y/tests/test-verify-volume-mount.yml for /cache/rhel-7.qcow2 => (item=mount) included: /tmp/tmpaxjje44y/tests/test-verify-volume-fstab.yml for /cache/rhel-7.qcow2 => (item=fstab) included: /tmp/tmpaxjje44y/tests/test-verify-volume-fs.yml for /cache/rhel-7.qcow2 => (item=fs) included: /tmp/tmpaxjje44y/tests/test-verify-volume-device.yml for /cache/rhel-7.qcow2 => (item=device) included: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml for /cache/rhel-7.qcow2 => (item=encryption) included: /tmp/tmpaxjje44y/tests/test-verify-volume-md.yml for /cache/rhel-7.qcow2 => (item=md) included: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml for /cache/rhel-7.qcow2 => (item=size) included: /tmp/tmpaxjje44y/tests/test-verify-volume-cache.yml for /cache/rhel-7.qcow2 => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-mount.yml:6 Thursday 21 July 2022 14:10:56 +0000 (0:00:00.081) 0:01:48.830 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/vg1-lv1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-mount.yml:14 Thursday 21 July 2022 14:10:56 +0000 (0:00:00.043) 0:01:48.874 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 512456, "block_size": 4096, "block_total": 520704, "block_used": 8248, "device": "/dev/mapper/vg1-lv1", "fstype": "xfs", "inode_available": 1046525, "inode_total": 1046528, "inode_used": 3, "mount": "/opt/test1", "options": "rw,seclabel,relatime,attr2,inode64,noquota", "size_available": 2099019776, "size_total": 2132803584, "uuid": "5cc3c2ac-f39e-43f7-a218-44e0e2610f49" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 512456, "block_size": 4096, "block_total": 520704, "block_used": 8248, "device": "/dev/mapper/vg1-lv1", "fstype": "xfs", "inode_available": 1046525, "inode_total": 1046528, "inode_used": 3, "mount": "/opt/test1", "options": "rw,seclabel,relatime,attr2,inode64,noquota", "size_available": 2099019776, "size_total": 2132803584, "uuid": "5cc3c2ac-f39e-43f7-a218-44e0e2610f49" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-mount.yml:28 Thursday 21 July 2022 14:10:56 +0000 (0:00:00.055) 0:01:48.929 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-mount.yml:37 Thursday 21 July 2022 14:10:56 +0000 (0:00:00.050) 0:01:48.980 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpaxjje44y/tests/test-verify-volume-mount.yml:45 Thursday 21 July 2022 14:10:56 +0000 (0:00:00.053) 0:01:49.034 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-mount.yml:54 Thursday 21 July 2022 14:10:57 +0000 (0:00:00.053) 0:01:49.088 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-mount.yml:58 Thursday 21 July 2022 14:10:57 +0000 (0:00:00.026) 0:01:49.114 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-mount.yml:63 Thursday 21 July 2022 14:10:57 +0000 (0:00:00.025) 0:01:49.140 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-mount.yml:75 Thursday 21 July 2022 14:10:57 +0000 (0:00:00.026) 0:01:49.166 ********* ok: [/cache/rhel-7.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/tmpaxjje44y/tests/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 14:10:57 +0000 (0:00:00.039) 0:01:49.205 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "1", "storage_test_fstab_expected_mount_options_matches": "1", "storage_test_fstab_expected_mount_point_matches": "1", "storage_test_fstab_id_matches": [ "/dev/mapper/vg1-lv1 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test1 xfs defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test1 " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 14:10:57 +0000 (0:00:00.070) 0:01:49.276 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-fstab.yml:32 Thursday 21 July 2022 14:10:57 +0000 (0:00:00.053) 0:01:49.329 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-fstab.yml:39 Thursday 21 July 2022 14:10:57 +0000 (0:00:00.054) 0:01:49.384 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-fstab.yml:49 Thursday 21 July 2022 14:10:57 +0000 (0:00:00.039) 0:01:49.424 ********* ok: [/cache/rhel-7.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/tmpaxjje44y/tests/test-verify-volume-fs.yml:4 Thursday 21 July 2022 14:10:57 +0000 (0:00:00.034) 0:01:49.458 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-fs.yml:10 Thursday 21 July 2022 14:10:57 +0000 (0:00:00.039) 0:01:49.498 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-device.yml:4 Thursday 21 July 2022 14:10:57 +0000 (0:00:00.044) 0:01:49.542 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "stat": { "atime": 1658412649.0209725, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658412649.0209725, "dev": 5, "device_type": 64516, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 54835, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1658412649.0209725, "nlink": 1, "path": "/dev/mapper/vg1-lv1", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-device.yml:10 Thursday 21 July 2022 14:10:57 +0000 (0:00:00.338) 0:01:49.881 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-device.yml:18 Thursday 21 July 2022 14:10:57 +0000 (0:00:00.039) 0:01:49.920 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-device.yml:24 Thursday 21 July 2022 14:10:57 +0000 (0:00:00.098) 0:01:50.019 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-device.yml:28 Thursday 21 July 2022 14:10:57 +0000 (0:00:00.040) 0:01:50.060 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-device.yml:33 Thursday 21 July 2022 14:10:58 +0000 (0:00:00.027) 0:01:50.087 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 14:10:58 +0000 (0:00:00.083) 0:01:50.170 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 14:10:58 +0000 (0:00:00.027) 0:01:50.198 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "rc": 0, "results": [ "cryptsetup-2.0.3-6.el7.x86_64 providing cryptsetup is already installed" ] } TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 14:10:58 +0000 (0:00:00.589) 0:01:50.787 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 14:10:58 +0000 (0:00:00.026) 0:01:50.814 ********* skipping: [/cache/rhel-7.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/tmpaxjje44y/tests/test-verify-volume-encryption.yml:30 Thursday 21 July 2022 14:10:58 +0000 (0:00:00.025) 0:01:50.840 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:38 Thursday 21 July 2022 14:10:58 +0000 (0:00:00.140) 0:01:50.980 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 14:10:58 +0000 (0:00:00.026) 0:01:51.006 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:49 Thursday 21 July 2022 14:10:58 +0000 (0:00:00.025) 0:01:51.032 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:55 Thursday 21 July 2022 14:10:58 +0000 (0:00:00.026) 0:01:51.058 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:61 Thursday 21 July 2022 14:10:59 +0000 (0:00:00.027) 0:01:51.085 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 14:10:59 +0000 (0:00:00.024) 0:01:51.110 ********* ok: [/cache/rhel-7.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/tmpaxjje44y/tests/test-verify-volume-encryption.yml:74 Thursday 21 July 2022 14:10:59 +0000 (0:00:00.053) 0:01:51.164 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:79 Thursday 21 July 2022 14:10:59 +0000 (0:00:00.049) 0:01:51.213 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:85 Thursday 21 July 2022 14:10:59 +0000 (0:00:00.033) 0:01:51.247 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:91 Thursday 21 July 2022 14:10:59 +0000 (0:00:00.033) 0:01:51.281 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:97 Thursday 21 July 2022 14:10:59 +0000 (0:00:00.039) 0:01:51.320 ********* ok: [/cache/rhel-7.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/tmpaxjje44y/tests/test-verify-volume-md.yml:7 Thursday 21 July 2022 14:10:59 +0000 (0:00:00.037) 0:01:51.358 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-md.yml:13 Thursday 21 July 2022 14:10:59 +0000 (0:00:00.040) 0:01:51.398 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-md.yml:17 Thursday 21 July 2022 14:10:59 +0000 (0:00:00.041) 0:01:51.439 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-md.yml:21 Thursday 21 July 2022 14:10:59 +0000 (0:00:00.040) 0:01:51.480 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-md.yml:25 Thursday 21 July 2022 14:10:59 +0000 (0:00:00.041) 0:01:51.521 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-md.yml:31 Thursday 21 July 2022 14:10:59 +0000 (0:00:00.039) 0:01:51.561 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-md.yml:37 Thursday 21 July 2022 14:10:59 +0000 (0:00:00.039) 0:01:51.600 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:3 Thursday 21 July 2022 14:10:59 +0000 (0:00:00.039) 0:01:51.640 ********* ok: [/cache/rhel-7.qcow2] => { "bytes": 2147483648, "changed": false, "lvm": "2g", "parted": "2GiB", "size": "2 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:9 Thursday 21 July 2022 14:10:59 +0000 (0:00:00.318) 0:01:51.958 ********* ok: [/cache/rhel-7.qcow2] => { "bytes": 2147483648, "changed": false, "lvm": "2g", "parted": "2GiB", "size": "2 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:15 Thursday 21 July 2022 14:11:00 +0000 (0:00:00.328) 0:01:52.286 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_expected_size": "2147483648" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:20 Thursday 21 July 2022 14:11:00 +0000 (0:00:00.060) 0:01:52.346 ********* ok: [/cache/rhel-7.qcow2] => { "storage_test_expected_size": "2147483648" } TASK [debug] ******************************************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:25 Thursday 21 July 2022 14:11:00 +0000 (0:00:00.038) 0:01:52.385 ********* skipping: [/cache/rhel-7.qcow2] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:28 Thursday 21 July 2022 14:11:00 +0000 (0:00:00.040) 0:01:52.425 ********* skipping: [/cache/rhel-7.qcow2] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:31 Thursday 21 July 2022 14:11:00 +0000 (0:00:00.040) 0:01:52.466 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:36 Thursday 21 July 2022 14:11:00 +0000 (0:00:00.037) 0:01:52.503 ********* skipping: [/cache/rhel-7.qcow2] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:39 Thursday 21 July 2022 14:11:00 +0000 (0:00:00.038) 0:01:52.541 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:44 Thursday 21 July 2022 14:11:00 +0000 (0:00:00.039) 0:01:52.581 ********* ok: [/cache/rhel-7.qcow2] => { "storage_test_actual_size": { "bytes": 2147483648, "changed": false, "failed": false, "lvm": "2g", "parted": "2GiB", "size": "2 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:47 Thursday 21 July 2022 14:11:00 +0000 (0:00:00.040) 0:01:52.621 ********* ok: [/cache/rhel-7.qcow2] => { "storage_test_expected_size": "2147483648" } TASK [assert] ****************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:50 Thursday 21 July 2022 14:11:00 +0000 (0:00:00.037) 0:01:52.658 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-cache.yml:6 Thursday 21 July 2022 14:11:00 +0000 (0:00:00.055) 0:01:52.714 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "cmd": [ "lvs", "--noheadings", "--nameprefixes", "--units=b", "--nosuffix", "--unquoted", "-o", "name,attr,cache_total_blocks,chunk_size,segtype", "vg1/lv1" ], "delta": "0:00:00.026845", "end": "2022-07-21 10:11:00.687717", "rc": 0, "start": "2022-07-21 10:11:00.660872" } STDOUT: LVM2_LV_NAME=lv1 LVM2_LV_ATTR=rwi-aor--- LVM2_CACHE_TOTAL_BLOCKS= LVM2_CHUNK_SIZE=0 LVM2_SEGTYPE=raid1 TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-cache.yml:14 Thursday 21 July 2022 14:11:00 +0000 (0:00:00.348) 0:01:53.062 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_lv_segtype": [ "raid1" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-cache.yml:17 Thursday 21 July 2022 14:11:01 +0000 (0:00:00.054) 0:01:53.116 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-cache.yml:22 Thursday 21 July 2022 14:11:01 +0000 (0:00:00.111) 0:01:53.228 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-cache.yml:26 Thursday 21 July 2022 14:11:01 +0000 (0:00:00.102) 0:01:53.330 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-cache.yml:32 Thursday 21 July 2022 14:11:01 +0000 (0:00:00.041) 0:01:53.371 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-cache.yml:36 Thursday 21 July 2022 14:11:01 +0000 (0:00:00.038) 0:01:53.410 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume.yml:16 Thursday 21 July 2022 14:11:01 +0000 (0:00:00.038) 0:01:53.448 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpaxjje44y/tests/verify-role-results.yml:43 Thursday 21 July 2022 14:11:01 +0000 (0:00:00.037) 0:01:53.486 ********* TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpaxjje44y/tests/verify-role-results.yml:53 Thursday 21 July 2022 14:11:01 +0000 (0:00:00.023) 0:01:53.509 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Repeat the previous invocation to verify idempotence] ******************** task path: /tmp/tmpaxjje44y/tests/tests_create_raid_pool_then_remove.yml:118 Thursday 21 July 2022 14:11:01 +0000 (0:00:00.037) 0:01:53.547 ********* TASK [linux-system-roles.storage : set platform/version specific variables] **** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Thursday 21 July 2022 14:11:01 +0000 (0:00:00.065) 0:01:53.613 ********* included: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/set_vars.yml for /cache/rhel-7.qcow2 TASK [linux-system-roles.storage : Ensure ansible_facts used by role] ********** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Thursday 21 July 2022 14:11:01 +0000 (0:00:00.037) 0:01:53.650 ********* ok: [/cache/rhel-7.qcow2] TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Thursday 21 July 2022 14:11:01 +0000 (0:00:00.421) 0:01:54.071 ********* skipping: [/cache/rhel-7.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-7.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/rhel-7.qcow2] => (item=RedHat_7.yml) => { "ansible_facts": { "__storage_blivet_diskvolume_mkfs_option_map": { "ext2": "-F", "ext3": "-F", "ext4": "-F" }, "blivet_package_list": [ "python-enum34", "python-blivet3", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap" ] }, "ansible_included_var_files": [ "/tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/vars/RedHat_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_7.yml" } skipping: [/cache/rhel-7.qcow2] => (item=RedHat_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_7.9.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Thursday 21 July 2022 14:11:02 +0000 (0:00:00.064) 0:01:54.135 ********* ok: [/cache/rhel-7.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/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Thursday 21 July 2022 14:11:02 +0000 (0:00:00.035) 0:01:54.171 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : include the appropriate provider tasks] ***** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Thursday 21 July 2022 14:11:02 +0000 (0:00:00.035) 0:01:54.207 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml for /cache/rhel-7.qcow2 TASK [linux-system-roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 14:11:02 +0000 (0:00:00.049) 0:01:54.256 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure blivet is available] ************** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 14:11:02 +0000 (0:00:00.021) 0:01:54.278 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : show storage_pools] ************************* task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:14 Thursday 21 July 2022 14:11:02 +0000 (0:00:00.028) 0:01:54.307 ********* ok: [/cache/rhel-7.qcow2] => { "storage_pools": [ { "disks": [ "sdb", "sdc" ], "name": "vg1", "state": "present", "type": "lvm", "volumes": [ { "mount_point": "/opt/test1", "name": "lv1", "raid_disks": [ "sdb", "sdc" ], "raid_level": "raid1", "size": "2g" } ] } ] } TASK [linux-system-roles.storage : show storage_volumes] *********************** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:19 Thursday 21 July 2022 14:11:02 +0000 (0:00:00.042) 0:01:54.350 ********* ok: [/cache/rhel-7.qcow2] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [linux-system-roles.storage : get required packages] ********************** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:24 Thursday 21 July 2022 14:11:02 +0000 (0:00:00.040) 0:01:54.391 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : enable copr repositories if needed] ********* task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:37 Thursday 21 July 2022 14:11:02 +0000 (0:00:00.030) 0:01:54.422 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure required packages are installed] *** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:44 Thursday 21 July 2022 14:11:02 +0000 (0:00:00.030) 0:01:54.453 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : get service facts] ************************** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 Thursday 21 July 2022 14:11:02 +0000 (0:00:00.030) 0:01:54.483 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set storage_cryptsetup_services] ************ task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 14:11:02 +0000 (0:00:00.031) 0:01:54.514 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [linux-system-roles.storage : Mask the systemd cryptsetup services] ******* task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:71 Thursday 21 July 2022 14:11:02 +0000 (0:00:00.059) 0:01:54.574 ********* TASK [linux-system-roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Thursday 21 July 2022 14:11:02 +0000 (0:00:00.023) 0:01:54.597 ********* ok: [/cache/rhel-7.qcow2] => { "actions": [], "changed": false, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/sda", "/dev/mapper/vg1-lv1", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb", "/dev/vdc", "/dev/vdd" ], "mounts": [ { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/vg1-lv1", "state": "mounted" } ], "packages": [ "xfsprogs", "lvm2" ], "pools": [ { "disks": [ "sdb", "sdc" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_kernel_device": "/dev/dm-4", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "_raw_kernel_device": "/dev/dm-4", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sdb", "sdc" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [ "sdb", "sdc" ], "raid_level": "raid1", "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } TASK [linux-system-roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:91 Thursday 21 July 2022 14:11:04 +0000 (0:00:01.905) 0:01:56.503 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Unmask the systemd cryptsetup services] ***** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:103 Thursday 21 July 2022 14:11:04 +0000 (0:00:00.038) 0:01:56.541 ********* TASK [linux-system-roles.storage : show blivet_output] ************************* task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:109 Thursday 21 July 2022 14:11:04 +0000 (0:00:00.030) 0:01:56.572 ********* ok: [/cache/rhel-7.qcow2] => { "blivet_output": { "actions": [], "changed": false, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/sda", "/dev/mapper/vg1-lv1", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb", "/dev/vdc", "/dev/vdd" ], "mounts": [ { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/vg1-lv1", "state": "mounted" } ], "packages": [ "xfsprogs", "lvm2" ], "pools": [ { "disks": [ "sdb", "sdc" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_kernel_device": "/dev/dm-4", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "_raw_kernel_device": "/dev/dm-4", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sdb", "sdc" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [ "sdb", "sdc" ], "raid_level": "raid1", "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } } TASK [linux-system-roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:114 Thursday 21 July 2022 14:11:04 +0000 (0:00:00.045) 0:01:56.617 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sdb", "sdc" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_kernel_device": "/dev/dm-4", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "_raw_kernel_device": "/dev/dm-4", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sdb", "sdc" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [ "sdb", "sdc" ], "raid_level": "raid1", "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] }, "changed": false } TASK [linux-system-roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:118 Thursday 21 July 2022 14:11:04 +0000 (0:00:00.044) 0:01:56.661 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : remove obsolete mounts] ********************* task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:134 Thursday 21 July 2022 14:11:04 +0000 (0:00:00.036) 0:01:56.697 ********* TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:146 Thursday 21 July 2022 14:11:04 +0000 (0:00:00.042) 0:01:56.740 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : set up new/current mounts] ****************** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:151 Thursday 21 July 2022 14:11:05 +0000 (0:00:00.478) 0:01:57.218 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount ok: [/cache/rhel-7.qcow2] => (item={'src': '/dev/mapper/vg1-lv1', 'dump': 0, 'passno': 0, 'fstype': 'xfs', 'state': 'mounted', 'path': '/opt/test1', 'opts': 'defaults'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": false, "dump": "0", "fstab": "/etc/fstab", "fstype": "xfs", "mount_info": { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/vg1-lv1", "state": "mounted" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "/dev/mapper/vg1-lv1" } TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:163 Thursday 21 July 2022 14:11:05 +0000 (0:00:00.340) 0:01:57.559 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:171 Thursday 21 July 2022 14:11:05 +0000 (0:00:00.451) 0:01:58.011 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "stat": { "atime": 1658412558.1759725, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1658201031.524, "dev": 64769, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 70, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "inode/x-empty", "mode": "0600", "mtime": 1658200515.884, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "18446744071677828413", "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/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:176 Thursday 21 July 2022 14:11:06 +0000 (0:00:00.324) 0:01:58.335 ********* TASK [linux-system-roles.storage : Update facts] ******************************* task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 Thursday 21 July 2022 14:11:06 +0000 (0:00:00.024) 0:01:58.360 ********* ok: [/cache/rhel-7.qcow2] META: role_complete for /cache/rhel-7.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmpaxjje44y/tests/tests_create_raid_pool_then_remove.yml:134 Thursday 21 July 2022 14:11:07 +0000 (0:00:00.886) 0:01:59.247 ********* included: /tmp/tmpaxjje44y/tests/verify-role-results.yml for /cache/rhel-7.qcow2 TASK [Print out pool information] ********************************************** task path: /tmp/tmpaxjje44y/tests/verify-role-results.yml:1 Thursday 21 July 2022 14:11:07 +0000 (0:00:00.053) 0:01:59.301 ********* ok: [/cache/rhel-7.qcow2] => { "_storage_pools_list": [ { "disks": [ "sdb", "sdc" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_kernel_device": "/dev/dm-4", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "_raw_kernel_device": "/dev/dm-4", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sdb", "sdc" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [ "sdb", "sdc" ], "raid_level": "raid1", "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] } TASK [Print out volume information] ******************************************** task path: /tmp/tmpaxjje44y/tests/verify-role-results.yml:6 Thursday 21 July 2022 14:11:07 +0000 (0:00:00.107) 0:01:59.408 ********* skipping: [/cache/rhel-7.qcow2] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpaxjje44y/tests/verify-role-results.yml:14 Thursday 21 July 2022 14:11:07 +0000 (0:00:00.079) 0:01:59.488 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "info": { "/dev/fd0": { "fstype": "", "label": "", "name": "/dev/fd0", "size": "4K", "type": "disk", "uuid": "" }, "/dev/mapper/vg1-lv1": { "fstype": "xfs", "label": "", "name": "/dev/mapper/vg1-lv1", "size": "2G", "type": "lvm", "uuid": "5cc3c2ac-f39e-43f7-a218-44e0e2610f49" }, "/dev/mapper/vg1-lv1_rimage_0": { "fstype": "", "label": "", "name": "/dev/mapper/vg1-lv1_rimage_0", "size": "2G", "type": "lvm", "uuid": "" }, "/dev/mapper/vg1-lv1_rimage_1": { "fstype": "", "label": "", "name": "/dev/mapper/vg1-lv1_rimage_1", "size": "2G", "type": "lvm", "uuid": "" }, "/dev/mapper/vg1-lv1_rmeta_0": { "fstype": "", "label": "", "name": "/dev/mapper/vg1-lv1_rmeta_0", "size": "4M", "type": "lvm", "uuid": "" }, "/dev/mapper/vg1-lv1_rmeta_1": { "fstype": "", "label": "", "name": "/dev/mapper/vg1-lv1_rmeta_1", "size": "4M", "type": "lvm", "uuid": "" }, "/dev/nvme0n1": { "fstype": "", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme1n1": { "fstype": "", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme2n1": { "fstype": "", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda": { "fstype": "", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdb": { "fstype": "", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdb1": { "fstype": "LVM2_member", "label": "", "name": "/dev/sdb1", "size": "10G", "type": "partition", "uuid": "TNmeoh-MYKC-vP2I-Yp1M-MZ1S-NDxC-iIu3aL" }, "/dev/sdc": { "fstype": "", "label": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdc1": { "fstype": "LVM2_member", "label": "", "name": "/dev/sdc1", "size": "10G", "type": "partition", "uuid": "77e97d-ah6X-l0GR-587I-f2zb-9FLQ-7EGMPo" }, "/dev/sr0": { "fstype": "iso9660", "label": "cidata", "name": "/dev/sr0", "size": "364K", "type": "rom", "uuid": "2022-07-21-14-08-55-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "xfs", "label": "", "name": "/dev/vda1", "size": "10G", "type": "partition", "uuid": "21864ae1-1c29-4009-a1c2-151e41d0e053" }, "/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/tmpaxjje44y/tests/verify-role-results.yml:19 Thursday 21 July 2022 14:11:07 +0000 (0:00:00.323) 0:01:59.812 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.003451", "end": "2022-07-21 10:11:07.753939", "rc": 0, "start": "2022-07-21 10:11:07.750488" } STDOUT: # # /etc/fstab # Created by anaconda on Tue Jul 19 03:15:15 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 # UUID=21864ae1-1c29-4009-a1c2-151e41d0e053 / xfs defaults 0 0 /dev/mapper/vg1-lv1 /opt/test1 xfs defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpaxjje44y/tests/verify-role-results.yml:24 Thursday 21 July 2022 14:11:08 +0000 (0:00:00.311) 0:02:00.123 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.003592", "end": "2022-07-21 10:11:08.066528", "failed_when_result": false, "rc": 0, "start": "2022-07-21 10:11:08.062936" } TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmpaxjje44y/tests/verify-role-results.yml:33 Thursday 21 July 2022 14:11:08 +0000 (0:00:00.315) 0:02:00.438 ********* included: /tmp/tmpaxjje44y/tests/test-verify-pool.yml for /cache/rhel-7.qcow2 => (item={'name': 'vg1', 'encryption_password': None, 'state': 'present', 'raid_metadata_version': None, 'encryption': False, 'encryption_key_size': None, 'disks': ['sdb', 'sdc'], 'raid_level': None, 'encryption_luks_version': None, 'raid_device_count': None, 'encryption_key': None, 'volumes': [{'_raw_device': '/dev/mapper/vg1-lv1', 'raid_metadata_version': None, 'raid_level': 'raid1', 'fs_type': 'xfs', 'mount_options': 'defaults', 'type': 'lvm', '_device': '/dev/mapper/vg1-lv1', 'size': '2g', 'mount_point': '/opt/test1', 'compression': None, 'encryption_password': None, '_kernel_device': '/dev/dm-4', 'encryption': False, 'mount_device_identifier': 'uuid', 'name': 'lv1', 'raid_device_count': None, 'state': 'present', 'vdo_pool_size': None, 'thin_pool_name': None, 'thin_pool_size': None, 'encryption_key_size': None, 'encryption_cipher': None, 'encryption_key': None, 'fs_label': '', 'encryption_luks_version': None, 'cache_size': 0, '_mount_id': '/dev/mapper/vg1-lv1', 'raid_spare_count': None, 'raid_disks': ['sdb', 'sdc'], '_raw_kernel_device': '/dev/dm-4', 'cache_mode': None, 'deduplication': None, 'cached': False, 'fs_overwrite_existing': True, 'disks': ['sdb', 'sdc'], 'thin': False, 'mount_check': 0, 'mount_passno': 0, 'raid_chunk_size': None, 'cache_devices': [], 'fs_create_options': ''}], 'raid_chunk_size': None, 'type': 'lvm', 'encryption_cipher': None, 'raid_spare_count': None}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-pool.yml:5 Thursday 21 July 2022 14:11:08 +0000 (0:00:00.063) 0:02:00.502 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-pool.yml:18 Thursday 21 July 2022 14:11:08 +0000 (0:00:00.036) 0:02:00.538 ********* included: /tmp/tmpaxjje44y/tests/test-verify-pool-members.yml for /cache/rhel-7.qcow2 => (item=members) included: /tmp/tmpaxjje44y/tests/test-verify-pool-volumes.yml for /cache/rhel-7.qcow2 => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-pool-members.yml:1 Thursday 21 July 2022 14:11:08 +0000 (0:00:00.048) 0:02:00.587 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_count": "2", "_storage_test_pool_pvs_lvm": [ "/dev/sdb1", "/dev/sdc1" ] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmpaxjje44y/tests/test-verify-pool-members.yml:10 Thursday 21 July 2022 14:11:08 +0000 (0:00:00.057) 0:02:00.644 ********* ok: [/cache/rhel-7.qcow2] => (item=/dev/sdb1) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/sdb1", "pv": "/dev/sdb1" } ok: [/cache/rhel-7.qcow2] => (item=/dev/sdc1) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/sdc1", "pv": "/dev/sdc1" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-pool-members.yml:19 Thursday 21 July 2022 14:11:09 +0000 (0:00:00.609) 0:02:01.253 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "__pvs_lvm_len": "2" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-pool-members.yml:23 Thursday 21 July 2022 14:11:09 +0000 (0:00:00.049) 0:02:01.303 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/sdb1", "/dev/sdc1" ] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-pool-members.yml:27 Thursday 21 July 2022 14:11:09 +0000 (0:00:00.048) 0:02:01.351 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-pool-members.yml:34 Thursday 21 July 2022 14:11:09 +0000 (0:00:00.053) 0:02:01.405 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-pool-members.yml:38 Thursday 21 July 2022 14:11:09 +0000 (0:00:00.040) 0:02:01.445 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_type": "partition" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-pool-members.yml:42 Thursday 21 July 2022 14:11:09 +0000 (0:00:00.048) 0:02:01.493 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-pool-members.yml:46 Thursday 21 July 2022 14:11:09 +0000 (0:00:00.023) 0:02:01.517 ********* ok: [/cache/rhel-7.qcow2] => (item=/dev/sdb1) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/sdb1" } MSG: All assertions passed ok: [/cache/rhel-7.qcow2] => (item=/dev/sdc1) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/sdc1" } MSG: All assertions passed TASK [Check MD RAID] *********************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-pool-members.yml:56 Thursday 21 July 2022 14:11:09 +0000 (0:00:00.095) 0:02:01.613 ********* included: /tmp/tmpaxjje44y/tests/verify-pool-md.yml for /cache/rhel-7.qcow2 TASK [get information about RAID] ********************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-md.yml:6 Thursday 21 July 2022 14:11:09 +0000 (0:00:00.044) 0:02:01.657 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-md.yml:12 Thursday 21 July 2022 14:11:09 +0000 (0:00:00.025) 0:02:01.683 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-md.yml:16 Thursday 21 July 2022 14:11:09 +0000 (0:00:00.056) 0:02:01.740 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-md.yml:20 Thursday 21 July 2022 14:11:09 +0000 (0:00:00.025) 0:02:01.765 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-md.yml:24 Thursday 21 July 2022 14:11:09 +0000 (0:00:00.023) 0:02:01.789 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-md.yml:30 Thursday 21 July 2022 14:11:09 +0000 (0:00:00.023) 0:02:01.812 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpaxjje44y/tests/verify-pool-md.yml:36 Thursday 21 July 2022 14:11:09 +0000 (0:00:00.024) 0:02:01.837 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-md.yml:44 Thursday 21 July 2022 14:11:09 +0000 (0:00:00.023) 0:02:01.860 ********* ok: [/cache/rhel-7.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/tmpaxjje44y/tests/test-verify-pool-members.yml:59 Thursday 21 July 2022 14:11:09 +0000 (0:00:00.037) 0:02:01.898 ********* included: /tmp/tmpaxjje44y/tests/verify-pool-members-lvmraid.yml for /cache/rhel-7.qcow2 TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-members-lvmraid.yml:1 Thursday 21 July 2022 14:11:09 +0000 (0:00:00.046) 0:02:01.944 ********* included: /tmp/tmpaxjje44y/tests/verify-pool-member-lvmraid.yml for /cache/rhel-7.qcow2 => (item={'_raw_device': '/dev/mapper/vg1-lv1', 'raid_metadata_version': None, 'raid_level': 'raid1', 'fs_type': 'xfs', 'mount_options': 'defaults', 'type': 'lvm', '_device': '/dev/mapper/vg1-lv1', 'size': '2g', 'mount_point': '/opt/test1', 'compression': None, 'encryption_password': None, '_kernel_device': '/dev/dm-4', 'encryption': False, 'mount_device_identifier': 'uuid', 'name': 'lv1', 'raid_device_count': None, 'state': 'present', 'vdo_pool_size': None, 'thin_pool_name': None, 'thin_pool_size': None, 'encryption_key_size': None, 'encryption_cipher': None, 'encryption_key': None, 'fs_label': '', 'encryption_luks_version': None, 'cache_size': 0, '_mount_id': '/dev/mapper/vg1-lv1', 'raid_spare_count': None, 'raid_disks': ['sdb', 'sdc'], '_raw_kernel_device': '/dev/dm-4', 'cache_mode': None, 'deduplication': None, 'cached': False, 'fs_overwrite_existing': True, 'disks': ['sdb', 'sdc'], 'thin': False, 'mount_check': 0, 'mount_passno': 0, 'raid_chunk_size': None, 'cache_devices': [], 'fs_create_options': ''}) TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-member-lvmraid.yml:3 Thursday 21 July 2022 14:11:09 +0000 (0:00:00.043) 0:02:01.987 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "cmd": [ "lvs", "--noheading", "-o", "lv_name", "--select", "lv_name=lv1&&lv_layout=raid1", "vg1" ], "delta": "0:00:00.025201", "end": "2022-07-21 10:11:09.961577", "rc": 0, "start": "2022-07-21 10:11:09.936376" } STDOUT: lv1 TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmpaxjje44y/tests/verify-pool-member-lvmraid.yml:8 Thursday 21 July 2022 14:11:10 +0000 (0:00:00.344) 0:02:02.331 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-member-lvmraid.yml:12 Thursday 21 July 2022 14:11:10 +0000 (0:00:00.057) 0:02:02.388 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_lvmraid_status": null }, "changed": false } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-pool-members.yml:62 Thursday 21 July 2022 14:11:10 +0000 (0:00:00.053) 0:02:02.442 ********* included: /tmp/tmpaxjje44y/tests/verify-pool-members-thin.yml for /cache/rhel-7.qcow2 TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-members-thin.yml:1 Thursday 21 July 2022 14:11:10 +0000 (0:00:00.051) 0:02:02.493 ********* included: /tmp/tmpaxjje44y/tests/verify-pool-member-thin.yml for /cache/rhel-7.qcow2 => (item={'_raw_device': '/dev/mapper/vg1-lv1', 'raid_metadata_version': None, 'raid_level': 'raid1', 'fs_type': 'xfs', 'mount_options': 'defaults', 'type': 'lvm', '_device': '/dev/mapper/vg1-lv1', 'size': '2g', 'mount_point': '/opt/test1', 'compression': None, 'encryption_password': None, '_kernel_device': '/dev/dm-4', 'encryption': False, 'mount_device_identifier': 'uuid', 'name': 'lv1', 'raid_device_count': None, 'state': 'present', 'vdo_pool_size': None, 'thin_pool_name': None, 'thin_pool_size': None, 'encryption_key_size': None, 'encryption_cipher': None, 'encryption_key': None, 'fs_label': '', 'encryption_luks_version': None, 'cache_size': 0, '_mount_id': '/dev/mapper/vg1-lv1', 'raid_spare_count': None, 'raid_disks': ['sdb', 'sdc'], '_raw_kernel_device': '/dev/dm-4', 'cache_mode': None, 'deduplication': None, 'cached': False, 'fs_overwrite_existing': True, 'disks': ['sdb', 'sdc'], 'thin': False, 'mount_check': 0, 'mount_passno': 0, 'raid_chunk_size': None, 'cache_devices': [], 'fs_create_options': ''}) TASK [Get information about thinpool] ****************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-member-thin.yml:3 Thursday 21 July 2022 14:11:10 +0000 (0:00:00.046) 0:02:02.540 ********* skipping: [/cache/rhel-7.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/tmpaxjje44y/tests/verify-pool-member-thin.yml:8 Thursday 21 July 2022 14:11:10 +0000 (0:00:00.026) 0:02:02.566 ********* skipping: [/cache/rhel-7.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/tmpaxjje44y/tests/verify-pool-member-thin.yml:13 Thursday 21 July 2022 14:11:10 +0000 (0:00:00.027) 0:02:02.593 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-member-thin.yml:17 Thursday 21 July 2022 14:11:10 +0000 (0:00:00.023) 0:02:02.616 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-pool-members.yml:65 Thursday 21 July 2022 14:11:10 +0000 (0:00:00.027) 0:02:02.644 ********* included: /tmp/tmpaxjje44y/tests/verify-pool-members-encryption.yml for /cache/rhel-7.qcow2 TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-members-encryption.yml:4 Thursday 21 July 2022 14:11:10 +0000 (0:00:00.050) 0:02:02.694 ********* ok: [/cache/rhel-7.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/tmpaxjje44y/tests/verify-pool-members-encryption.yml:8 Thursday 21 July 2022 14:11:10 +0000 (0:00:00.054) 0:02:02.748 ********* skipping: [/cache/rhel-7.qcow2] => (item=/dev/sdb1) => { "_storage_test_pool_member_path": "/dev/sdb1", "ansible_loop_var": "_storage_test_pool_member_path", "changed": false, "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-7.qcow2] => (item=/dev/sdc1) => { "_storage_test_pool_member_path": "/dev/sdc1", "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/tmpaxjje44y/tests/verify-pool-members-encryption.yml:15 Thursday 21 July 2022 14:11:10 +0000 (0:00:00.029) 0:02:02.778 ********* included: /tmp/tmpaxjje44y/tests/verify-pool-member-crypttab.yml for /cache/rhel-7.qcow2 => (item=/dev/sdb1) included: /tmp/tmpaxjje44y/tests/verify-pool-member-crypttab.yml for /cache/rhel-7.qcow2 => (item=/dev/sdc1) TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-member-crypttab.yml:1 Thursday 21 July 2022 14:11:10 +0000 (0:00:00.048) 0:02:02.826 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": [] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpaxjje44y/tests/verify-pool-member-crypttab.yml:6 Thursday 21 July 2022 14:11:10 +0000 (0:00:00.052) 0:02:02.879 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpaxjje44y/tests/verify-pool-member-crypttab.yml:11 Thursday 21 July 2022 14:11:10 +0000 (0:00:00.049) 0:02:02.929 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-member-crypttab.yml:17 Thursday 21 July 2022 14:11:10 +0000 (0:00:00.042) 0:02:02.971 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-member-crypttab.yml:23 Thursday 21 July 2022 14:11:10 +0000 (0:00:00.037) 0:02:03.009 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-member-crypttab.yml:29 Thursday 21 July 2022 14:11:10 +0000 (0:00:00.034) 0:02:03.044 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-member-crypttab.yml:1 Thursday 21 July 2022 14:11:10 +0000 (0:00:00.034) 0:02:03.078 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": [] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpaxjje44y/tests/verify-pool-member-crypttab.yml:6 Thursday 21 July 2022 14:11:11 +0000 (0:00:00.047) 0:02:03.125 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpaxjje44y/tests/verify-pool-member-crypttab.yml:11 Thursday 21 July 2022 14:11:11 +0000 (0:00:00.091) 0:02:03.217 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-member-crypttab.yml:17 Thursday 21 July 2022 14:11:11 +0000 (0:00:00.038) 0:02:03.255 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-member-crypttab.yml:23 Thursday 21 July 2022 14:11:11 +0000 (0:00:00.101) 0:02:03.357 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-member-crypttab.yml:29 Thursday 21 July 2022 14:11:11 +0000 (0:00:00.036) 0:02:03.394 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-members-encryption.yml:22 Thursday 21 July 2022 14:11:11 +0000 (0:00:00.034) 0:02:03.429 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-pool-members.yml:68 Thursday 21 July 2022 14:11:11 +0000 (0:00:00.038) 0:02:03.468 ********* included: /tmp/tmpaxjje44y/tests/verify-pool-members-vdo.yml for /cache/rhel-7.qcow2 TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-members-vdo.yml:1 Thursday 21 July 2022 14:11:11 +0000 (0:00:00.050) 0:02:03.518 ********* included: /tmp/tmpaxjje44y/tests/verify-pool-member-vdo.yml for /cache/rhel-7.qcow2 => (item={'_raw_device': '/dev/mapper/vg1-lv1', 'raid_metadata_version': None, 'raid_level': 'raid1', 'fs_type': 'xfs', 'mount_options': 'defaults', 'type': 'lvm', '_device': '/dev/mapper/vg1-lv1', 'size': '2g', 'mount_point': '/opt/test1', 'compression': None, 'encryption_password': None, '_kernel_device': '/dev/dm-4', 'encryption': False, 'mount_device_identifier': 'uuid', 'name': 'lv1', 'raid_device_count': None, 'state': 'present', 'vdo_pool_size': None, 'thin_pool_name': None, 'thin_pool_size': None, 'encryption_key_size': None, 'encryption_cipher': None, 'encryption_key': None, 'fs_label': '', 'encryption_luks_version': None, 'cache_size': 0, '_mount_id': '/dev/mapper/vg1-lv1', 'raid_spare_count': None, 'raid_disks': ['sdb', 'sdc'], '_raw_kernel_device': '/dev/dm-4', 'cache_mode': None, 'deduplication': None, 'cached': False, 'fs_overwrite_existing': True, 'disks': ['sdb', 'sdc'], 'thin': False, 'mount_check': 0, 'mount_passno': 0, 'raid_chunk_size': None, 'cache_devices': [], 'fs_create_options': ''}) TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmpaxjje44y/tests/verify-pool-member-vdo.yml:3 Thursday 21 July 2022 14:11:11 +0000 (0:00:00.049) 0:02:03.567 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-member-vdo.yml:8 Thursday 21 July 2022 14:11:11 +0000 (0:00:00.024) 0:02:03.591 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-member-vdo.yml:11 Thursday 21 July 2022 14:11:11 +0000 (0:00:00.023) 0:02:03.615 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-member-vdo.yml:16 Thursday 21 July 2022 14:11:11 +0000 (0:00:00.023) 0:02:03.638 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-member-vdo.yml:21 Thursday 21 July 2022 14:11:11 +0000 (0:00:00.024) 0:02:03.663 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-member-vdo.yml:24 Thursday 21 July 2022 14:11:11 +0000 (0:00:00.023) 0:02:03.686 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-member-vdo.yml:29 Thursday 21 July 2022 14:11:11 +0000 (0:00:00.023) 0:02:03.710 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-member-vdo.yml:39 Thursday 21 July 2022 14:11:11 +0000 (0:00:00.023) 0:02:03.733 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-pool-members.yml:71 Thursday 21 July 2022 14:11:11 +0000 (0:00:00.039) 0:02:03.773 ********* ok: [/cache/rhel-7.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/tmpaxjje44y/tests/test-verify-pool-volumes.yml:3 Thursday 21 July 2022 14:11:11 +0000 (0:00:00.033) 0:02:03.807 ********* included: /tmp/tmpaxjje44y/tests/test-verify-volume.yml for /cache/rhel-7.qcow2 => (item={'_raw_device': '/dev/mapper/vg1-lv1', 'raid_metadata_version': None, 'raid_level': 'raid1', 'fs_type': 'xfs', 'mount_options': 'defaults', 'type': 'lvm', '_device': '/dev/mapper/vg1-lv1', 'size': '2g', 'mount_point': '/opt/test1', 'compression': None, 'encryption_password': None, '_kernel_device': '/dev/dm-4', 'encryption': False, 'mount_device_identifier': 'uuid', 'name': 'lv1', 'raid_device_count': None, 'state': 'present', 'vdo_pool_size': None, 'thin_pool_name': None, 'thin_pool_size': None, 'encryption_key_size': None, 'encryption_cipher': None, 'encryption_key': None, 'fs_label': '', 'encryption_luks_version': None, 'cache_size': 0, '_mount_id': '/dev/mapper/vg1-lv1', 'raid_spare_count': None, 'raid_disks': ['sdb', 'sdc'], '_raw_kernel_device': '/dev/dm-4', 'cache_mode': None, 'deduplication': None, 'cached': False, 'fs_overwrite_existing': True, 'disks': ['sdb', 'sdc'], 'thin': False, 'mount_check': 0, 'mount_passno': 0, 'raid_chunk_size': None, 'cache_devices': [], 'fs_create_options': ''}) TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume.yml:2 Thursday 21 July 2022 14:11:11 +0000 (0:00:00.042) 0:02:03.849 ********* ok: [/cache/rhel-7.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/tmpaxjje44y/tests/test-verify-volume.yml:10 Thursday 21 July 2022 14:11:11 +0000 (0:00:00.052) 0:02:03.902 ********* included: /tmp/tmpaxjje44y/tests/test-verify-volume-mount.yml for /cache/rhel-7.qcow2 => (item=mount) included: /tmp/tmpaxjje44y/tests/test-verify-volume-fstab.yml for /cache/rhel-7.qcow2 => (item=fstab) included: /tmp/tmpaxjje44y/tests/test-verify-volume-fs.yml for /cache/rhel-7.qcow2 => (item=fs) included: /tmp/tmpaxjje44y/tests/test-verify-volume-device.yml for /cache/rhel-7.qcow2 => (item=device) included: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml for /cache/rhel-7.qcow2 => (item=encryption) included: /tmp/tmpaxjje44y/tests/test-verify-volume-md.yml for /cache/rhel-7.qcow2 => (item=md) included: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml for /cache/rhel-7.qcow2 => (item=size) included: /tmp/tmpaxjje44y/tests/test-verify-volume-cache.yml for /cache/rhel-7.qcow2 => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-mount.yml:6 Thursday 21 July 2022 14:11:11 +0000 (0:00:00.083) 0:02:03.985 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/vg1-lv1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-mount.yml:14 Thursday 21 July 2022 14:11:11 +0000 (0:00:00.042) 0:02:04.028 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 512456, "block_size": 4096, "block_total": 520704, "block_used": 8248, "device": "/dev/mapper/vg1-lv1", "fstype": "xfs", "inode_available": 1046525, "inode_total": 1046528, "inode_used": 3, "mount": "/opt/test1", "options": "rw,seclabel,relatime,attr2,inode64,noquota", "size_available": 2099019776, "size_total": 2132803584, "uuid": "5cc3c2ac-f39e-43f7-a218-44e0e2610f49" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 512456, "block_size": 4096, "block_total": 520704, "block_used": 8248, "device": "/dev/mapper/vg1-lv1", "fstype": "xfs", "inode_available": 1046525, "inode_total": 1046528, "inode_used": 3, "mount": "/opt/test1", "options": "rw,seclabel,relatime,attr2,inode64,noquota", "size_available": 2099019776, "size_total": 2132803584, "uuid": "5cc3c2ac-f39e-43f7-a218-44e0e2610f49" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-mount.yml:28 Thursday 21 July 2022 14:11:12 +0000 (0:00:00.057) 0:02:04.086 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-mount.yml:37 Thursday 21 July 2022 14:11:12 +0000 (0:00:00.055) 0:02:04.141 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpaxjje44y/tests/test-verify-volume-mount.yml:45 Thursday 21 July 2022 14:11:12 +0000 (0:00:00.050) 0:02:04.191 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-mount.yml:54 Thursday 21 July 2022 14:11:12 +0000 (0:00:00.055) 0:02:04.246 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-mount.yml:58 Thursday 21 July 2022 14:11:12 +0000 (0:00:00.024) 0:02:04.271 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-mount.yml:63 Thursday 21 July 2022 14:11:12 +0000 (0:00:00.023) 0:02:04.295 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-mount.yml:75 Thursday 21 July 2022 14:11:12 +0000 (0:00:00.023) 0:02:04.319 ********* ok: [/cache/rhel-7.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/tmpaxjje44y/tests/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 14:11:12 +0000 (0:00:00.034) 0:02:04.353 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "1", "storage_test_fstab_expected_mount_options_matches": "1", "storage_test_fstab_expected_mount_point_matches": "1", "storage_test_fstab_id_matches": [ "/dev/mapper/vg1-lv1 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test1 xfs defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test1 " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 14:11:12 +0000 (0:00:00.060) 0:02:04.414 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-fstab.yml:32 Thursday 21 July 2022 14:11:12 +0000 (0:00:00.051) 0:02:04.466 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-fstab.yml:39 Thursday 21 July 2022 14:11:12 +0000 (0:00:00.054) 0:02:04.520 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-fstab.yml:49 Thursday 21 July 2022 14:11:12 +0000 (0:00:00.039) 0:02:04.560 ********* ok: [/cache/rhel-7.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/tmpaxjje44y/tests/test-verify-volume-fs.yml:4 Thursday 21 July 2022 14:11:12 +0000 (0:00:00.032) 0:02:04.592 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-fs.yml:10 Thursday 21 July 2022 14:11:12 +0000 (0:00:00.085) 0:02:04.678 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-device.yml:4 Thursday 21 July 2022 14:11:12 +0000 (0:00:00.128) 0:02:04.806 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "stat": { "atime": 1658412649.0209725, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658412649.0209725, "dev": 5, "device_type": 64516, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 54835, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1658412649.0209725, "nlink": 1, "path": "/dev/mapper/vg1-lv1", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-device.yml:10 Thursday 21 July 2022 14:11:13 +0000 (0:00:00.318) 0:02:05.125 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-device.yml:18 Thursday 21 July 2022 14:11:13 +0000 (0:00:00.042) 0:02:05.168 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-device.yml:24 Thursday 21 July 2022 14:11:13 +0000 (0:00:00.039) 0:02:05.207 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-device.yml:28 Thursday 21 July 2022 14:11:13 +0000 (0:00:00.036) 0:02:05.244 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-device.yml:33 Thursday 21 July 2022 14:11:13 +0000 (0:00:00.025) 0:02:05.269 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 14:11:13 +0000 (0:00:00.050) 0:02:05.320 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 14:11:13 +0000 (0:00:00.025) 0:02:05.346 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "rc": 0, "results": [ "cryptsetup-2.0.3-6.el7.x86_64 providing cryptsetup is already installed" ] } TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 14:11:13 +0000 (0:00:00.526) 0:02:05.872 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 14:11:13 +0000 (0:00:00.026) 0:02:05.899 ********* skipping: [/cache/rhel-7.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/tmpaxjje44y/tests/test-verify-volume-encryption.yml:30 Thursday 21 July 2022 14:11:13 +0000 (0:00:00.035) 0:02:05.934 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:38 Thursday 21 July 2022 14:11:13 +0000 (0:00:00.056) 0:02:05.991 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 14:11:13 +0000 (0:00:00.025) 0:02:06.017 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:49 Thursday 21 July 2022 14:11:13 +0000 (0:00:00.024) 0:02:06.041 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:55 Thursday 21 July 2022 14:11:13 +0000 (0:00:00.023) 0:02:06.064 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:61 Thursday 21 July 2022 14:11:14 +0000 (0:00:00.025) 0:02:06.090 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 14:11:14 +0000 (0:00:00.027) 0:02:06.117 ********* ok: [/cache/rhel-7.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/tmpaxjje44y/tests/test-verify-volume-encryption.yml:74 Thursday 21 July 2022 14:11:14 +0000 (0:00:00.056) 0:02:06.174 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:79 Thursday 21 July 2022 14:11:14 +0000 (0:00:00.049) 0:02:06.224 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:85 Thursday 21 July 2022 14:11:14 +0000 (0:00:00.039) 0:02:06.263 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:91 Thursday 21 July 2022 14:11:14 +0000 (0:00:00.036) 0:02:06.300 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:97 Thursday 21 July 2022 14:11:14 +0000 (0:00:00.040) 0:02:06.340 ********* ok: [/cache/rhel-7.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/tmpaxjje44y/tests/test-verify-volume-md.yml:7 Thursday 21 July 2022 14:11:14 +0000 (0:00:00.034) 0:02:06.375 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-md.yml:13 Thursday 21 July 2022 14:11:14 +0000 (0:00:00.038) 0:02:06.414 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-md.yml:17 Thursday 21 July 2022 14:11:14 +0000 (0:00:00.040) 0:02:06.454 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-md.yml:21 Thursday 21 July 2022 14:11:14 +0000 (0:00:00.039) 0:02:06.494 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-md.yml:25 Thursday 21 July 2022 14:11:14 +0000 (0:00:00.034) 0:02:06.529 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-md.yml:31 Thursday 21 July 2022 14:11:14 +0000 (0:00:00.034) 0:02:06.563 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-md.yml:37 Thursday 21 July 2022 14:11:14 +0000 (0:00:00.034) 0:02:06.598 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:3 Thursday 21 July 2022 14:11:14 +0000 (0:00:00.039) 0:02:06.637 ********* ok: [/cache/rhel-7.qcow2] => { "bytes": 2147483648, "changed": false, "lvm": "2g", "parted": "2GiB", "size": "2 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:9 Thursday 21 July 2022 14:11:14 +0000 (0:00:00.310) 0:02:06.948 ********* ok: [/cache/rhel-7.qcow2] => { "bytes": 2147483648, "changed": false, "lvm": "2g", "parted": "2GiB", "size": "2 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:15 Thursday 21 July 2022 14:11:15 +0000 (0:00:00.357) 0:02:07.306 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_expected_size": "2147483648" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:20 Thursday 21 July 2022 14:11:15 +0000 (0:00:00.092) 0:02:07.399 ********* ok: [/cache/rhel-7.qcow2] => { "storage_test_expected_size": "2147483648" } TASK [debug] ******************************************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:25 Thursday 21 July 2022 14:11:15 +0000 (0:00:00.036) 0:02:07.435 ********* skipping: [/cache/rhel-7.qcow2] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:28 Thursday 21 July 2022 14:11:15 +0000 (0:00:00.037) 0:02:07.473 ********* skipping: [/cache/rhel-7.qcow2] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:31 Thursday 21 July 2022 14:11:15 +0000 (0:00:00.037) 0:02:07.510 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:36 Thursday 21 July 2022 14:11:15 +0000 (0:00:00.081) 0:02:07.592 ********* skipping: [/cache/rhel-7.qcow2] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:39 Thursday 21 July 2022 14:11:15 +0000 (0:00:00.037) 0:02:07.629 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:44 Thursday 21 July 2022 14:11:15 +0000 (0:00:00.035) 0:02:07.665 ********* ok: [/cache/rhel-7.qcow2] => { "storage_test_actual_size": { "bytes": 2147483648, "changed": false, "failed": false, "lvm": "2g", "parted": "2GiB", "size": "2 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:47 Thursday 21 July 2022 14:11:15 +0000 (0:00:00.039) 0:02:07.705 ********* ok: [/cache/rhel-7.qcow2] => { "storage_test_expected_size": "2147483648" } TASK [assert] ****************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:50 Thursday 21 July 2022 14:11:15 +0000 (0:00:00.038) 0:02:07.744 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-cache.yml:6 Thursday 21 July 2022 14:11:15 +0000 (0:00:00.049) 0:02:07.794 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "cmd": [ "lvs", "--noheadings", "--nameprefixes", "--units=b", "--nosuffix", "--unquoted", "-o", "name,attr,cache_total_blocks,chunk_size,segtype", "vg1/lv1" ], "delta": "0:00:00.024674", "end": "2022-07-21 10:11:15.763601", "rc": 0, "start": "2022-07-21 10:11:15.738927" } STDOUT: LVM2_LV_NAME=lv1 LVM2_LV_ATTR=rwi-aor--- LVM2_CACHE_TOTAL_BLOCKS= LVM2_CHUNK_SIZE=0 LVM2_SEGTYPE=raid1 TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-cache.yml:14 Thursday 21 July 2022 14:11:16 +0000 (0:00:00.343) 0:02:08.137 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_lv_segtype": [ "raid1" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-cache.yml:17 Thursday 21 July 2022 14:11:16 +0000 (0:00:00.054) 0:02:08.192 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-cache.yml:22 Thursday 21 July 2022 14:11:16 +0000 (0:00:00.053) 0:02:08.246 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-cache.yml:26 Thursday 21 July 2022 14:11:16 +0000 (0:00:00.040) 0:02:08.286 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-cache.yml:32 Thursday 21 July 2022 14:11:16 +0000 (0:00:00.039) 0:02:08.326 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-cache.yml:36 Thursday 21 July 2022 14:11:16 +0000 (0:00:00.040) 0:02:08.367 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume.yml:16 Thursday 21 July 2022 14:11:16 +0000 (0:00:00.038) 0:02:08.405 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpaxjje44y/tests/verify-role-results.yml:43 Thursday 21 July 2022 14:11:16 +0000 (0:00:00.035) 0:02:08.441 ********* TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpaxjje44y/tests/verify-role-results.yml:53 Thursday 21 July 2022 14:11:16 +0000 (0:00:00.024) 0:02:08.465 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Remove the device created above] ***************************************** task path: /tmp/tmpaxjje44y/tests/tests_create_raid_pool_then_remove.yml:136 Thursday 21 July 2022 14:11:16 +0000 (0:00:00.043) 0:02:08.509 ********* TASK [linux-system-roles.storage : set platform/version specific variables] **** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Thursday 21 July 2022 14:11:16 +0000 (0:00:00.073) 0:02:08.583 ********* included: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/set_vars.yml for /cache/rhel-7.qcow2 TASK [linux-system-roles.storage : Ensure ansible_facts used by role] ********** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Thursday 21 July 2022 14:11:16 +0000 (0:00:00.037) 0:02:08.621 ********* ok: [/cache/rhel-7.qcow2] TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Thursday 21 July 2022 14:11:16 +0000 (0:00:00.434) 0:02:09.055 ********* skipping: [/cache/rhel-7.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-7.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/rhel-7.qcow2] => (item=RedHat_7.yml) => { "ansible_facts": { "__storage_blivet_diskvolume_mkfs_option_map": { "ext2": "-F", "ext3": "-F", "ext4": "-F" }, "blivet_package_list": [ "python-enum34", "python-blivet3", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap" ] }, "ansible_included_var_files": [ "/tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/vars/RedHat_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_7.yml" } skipping: [/cache/rhel-7.qcow2] => (item=RedHat_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_7.9.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Thursday 21 July 2022 14:11:17 +0000 (0:00:00.063) 0:02:09.119 ********* ok: [/cache/rhel-7.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/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Thursday 21 July 2022 14:11:17 +0000 (0:00:00.036) 0:02:09.155 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : include the appropriate provider tasks] ***** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Thursday 21 July 2022 14:11:17 +0000 (0:00:00.039) 0:02:09.195 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml for /cache/rhel-7.qcow2 TASK [linux-system-roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 14:11:17 +0000 (0:00:00.049) 0:02:09.244 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure blivet is available] ************** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 14:11:17 +0000 (0:00:00.022) 0:02:09.267 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : show storage_pools] ************************* task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:14 Thursday 21 July 2022 14:11:17 +0000 (0:00:00.029) 0:02:09.297 ********* ok: [/cache/rhel-7.qcow2] => { "storage_pools": [ { "disks": [ "sdb", "sdc" ], "name": "vg1", "state": "absent", "type": "lvm", "volumes": [ { "mount_point": "/opt/test1", "name": "lv1", "raid_disks": [ "sdb", "sdc" ], "raid_level": "raid1", "size": "2g" } ] } ] } TASK [linux-system-roles.storage : show storage_volumes] *********************** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:19 Thursday 21 July 2022 14:11:17 +0000 (0:00:00.080) 0:02:09.377 ********* ok: [/cache/rhel-7.qcow2] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [linux-system-roles.storage : get required packages] ********************** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:24 Thursday 21 July 2022 14:11:17 +0000 (0:00:00.124) 0:02:09.501 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : enable copr repositories if needed] ********* task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:37 Thursday 21 July 2022 14:11:17 +0000 (0:00:00.029) 0:02:09.531 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure required packages are installed] *** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:44 Thursday 21 July 2022 14:11:17 +0000 (0:00:00.026) 0:02:09.558 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : get service facts] ************************** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 Thursday 21 July 2022 14:11:17 +0000 (0:00:00.030) 0:02:09.588 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set storage_cryptsetup_services] ************ task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 14:11:17 +0000 (0:00:00.031) 0:02:09.620 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [linux-system-roles.storage : Mask the systemd cryptsetup services] ******* task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:71 Thursday 21 July 2022 14:11:17 +0000 (0:00:00.057) 0:02:09.678 ********* TASK [linux-system-roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Thursday 21 July 2022 14:11:17 +0000 (0:00:00.021) 0:02:09.700 ********* changed: [/cache/rhel-7.qcow2] => { "actions": [ { "action": "destroy format", "device": "/dev/mapper/vg1-lv1", "fs_type": "xfs" }, { "action": "destroy device", "device": "/dev/mapper/vg1-lv1", "fs_type": null }, { "action": "destroy device", "device": "/dev/vg1", "fs_type": null }, { "action": "destroy format", "device": "/dev/sdb1", "fs_type": "lvmpv" }, { "action": "destroy device", "device": "/dev/sdb1", "fs_type": null }, { "action": "destroy format", "device": "/dev/sdb", "fs_type": "disklabel" }, { "action": "destroy format", "device": "/dev/sdc1", "fs_type": "lvmpv" }, { "action": "destroy device", "device": "/dev/sdc1", "fs_type": null }, { "action": "destroy format", "device": "/dev/sdc", "fs_type": "disklabel" } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb", "/dev/vdc", "/dev/vdd" ], "mounts": [ { "fstype": "xfs", "path": "/opt/test1", "src": "/dev/mapper/vg1-lv1", "state": "absent" } ], "packages": [ "xfsprogs" ], "pools": [ { "disks": [ "sdb", "sdc" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sdb", "sdc" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [ "sdb", "sdc" ], "raid_level": "raid1", "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } TASK [linux-system-roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:91 Thursday 21 July 2022 14:11:20 +0000 (0:00:02.784) 0:02:12.484 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Unmask the systemd cryptsetup services] ***** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:103 Thursday 21 July 2022 14:11:20 +0000 (0:00:00.037) 0:02:12.521 ********* TASK [linux-system-roles.storage : show blivet_output] ************************* task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:109 Thursday 21 July 2022 14:11:20 +0000 (0:00:00.023) 0:02:12.545 ********* ok: [/cache/rhel-7.qcow2] => { "blivet_output": { "actions": [ { "action": "destroy format", "device": "/dev/mapper/vg1-lv1", "fs_type": "xfs" }, { "action": "destroy device", "device": "/dev/mapper/vg1-lv1", "fs_type": null }, { "action": "destroy device", "device": "/dev/vg1", "fs_type": null }, { "action": "destroy format", "device": "/dev/sdb1", "fs_type": "lvmpv" }, { "action": "destroy device", "device": "/dev/sdb1", "fs_type": null }, { "action": "destroy format", "device": "/dev/sdb", "fs_type": "disklabel" }, { "action": "destroy format", "device": "/dev/sdc1", "fs_type": "lvmpv" }, { "action": "destroy device", "device": "/dev/sdc1", "fs_type": null }, { "action": "destroy format", "device": "/dev/sdc", "fs_type": "disklabel" } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb", "/dev/vdc", "/dev/vdd" ], "mounts": [ { "fstype": "xfs", "path": "/opt/test1", "src": "/dev/mapper/vg1-lv1", "state": "absent" } ], "packages": [ "xfsprogs" ], "pools": [ { "disks": [ "sdb", "sdc" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sdb", "sdc" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [ "sdb", "sdc" ], "raid_level": "raid1", "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } } TASK [linux-system-roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:114 Thursday 21 July 2022 14:11:20 +0000 (0:00:00.040) 0:02:12.585 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sdb", "sdc" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sdb", "sdc" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [ "sdb", "sdc" ], "raid_level": "raid1", "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] }, "changed": false } TASK [linux-system-roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:118 Thursday 21 July 2022 14:11:20 +0000 (0:00:00.039) 0:02:12.624 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : remove obsolete mounts] ********************* task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:134 Thursday 21 July 2022 14:11:20 +0000 (0:00:00.038) 0:02:12.663 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/rhel-7.qcow2] => (item={'src': '/dev/mapper/vg1-lv1', 'state': 'absent', 'path': '/opt/test1', 'fstype': 'xfs'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "xfs", "mount_info": { "fstype": "xfs", "path": "/opt/test1", "src": "/dev/mapper/vg1-lv1", "state": "absent" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "/dev/mapper/vg1-lv1" } TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:146 Thursday 21 July 2022 14:11:20 +0000 (0:00:00.346) 0:02:13.009 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : set up new/current mounts] ****************** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:151 Thursday 21 July 2022 14:11:21 +0000 (0:00:00.472) 0:02:13.481 ********* TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:163 Thursday 21 July 2022 14:11:21 +0000 (0:00:00.039) 0:02:13.521 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:171 Thursday 21 July 2022 14:11:21 +0000 (0:00:00.446) 0:02:13.968 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "stat": { "atime": 1658412558.1759725, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1658201031.524, "dev": 64769, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 70, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "inode/x-empty", "mode": "0600", "mtime": 1658200515.884, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "18446744071677828413", "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/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:176 Thursday 21 July 2022 14:11:22 +0000 (0:00:00.312) 0:02:14.281 ********* TASK [linux-system-roles.storage : Update facts] ******************************* task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 Thursday 21 July 2022 14:11:22 +0000 (0:00:00.024) 0:02:14.306 ********* ok: [/cache/rhel-7.qcow2] META: role_complete for /cache/rhel-7.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmpaxjje44y/tests/tests_create_raid_pool_then_remove.yml:152 Thursday 21 July 2022 14:11:23 +0000 (0:00:00.907) 0:02:15.213 ********* included: /tmp/tmpaxjje44y/tests/verify-role-results.yml for /cache/rhel-7.qcow2 TASK [Print out pool information] ********************************************** task path: /tmp/tmpaxjje44y/tests/verify-role-results.yml:1 Thursday 21 July 2022 14:11:23 +0000 (0:00:00.100) 0:02:15.314 ********* ok: [/cache/rhel-7.qcow2] => { "_storage_pools_list": [ { "disks": [ "sdb", "sdc" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sdb", "sdc" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [ "sdb", "sdc" ], "raid_level": "raid1", "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] } TASK [Print out volume information] ******************************************** task path: /tmp/tmpaxjje44y/tests/verify-role-results.yml:6 Thursday 21 July 2022 14:11:23 +0000 (0:00:00.052) 0:02:15.367 ********* skipping: [/cache/rhel-7.qcow2] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpaxjje44y/tests/verify-role-results.yml:14 Thursday 21 July 2022 14:11:23 +0000 (0:00:00.047) 0:02:15.414 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "info": { "/dev/fd0": { "fstype": "", "label": "", "name": "/dev/fd0", "size": "4K", "type": "disk", "uuid": "" }, "/dev/nvme0n1": { "fstype": "", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme1n1": { "fstype": "", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme2n1": { "fstype": "", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda": { "fstype": "", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdb": { "fstype": "", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdc": { "fstype": "", "label": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sr0": { "fstype": "iso9660", "label": "cidata", "name": "/dev/sr0", "size": "364K", "type": "rom", "uuid": "2022-07-21-14-08-55-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "xfs", "label": "", "name": "/dev/vda1", "size": "10G", "type": "partition", "uuid": "21864ae1-1c29-4009-a1c2-151e41d0e053" }, "/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/tmpaxjje44y/tests/verify-role-results.yml:19 Thursday 21 July 2022 14:11:23 +0000 (0:00:00.317) 0:02:15.732 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.003812", "end": "2022-07-21 10:11:23.675044", "rc": 0, "start": "2022-07-21 10:11:23.671232" } STDOUT: # # /etc/fstab # Created by anaconda on Tue Jul 19 03:15:15 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 # UUID=21864ae1-1c29-4009-a1c2-151e41d0e053 / xfs defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpaxjje44y/tests/verify-role-results.yml:24 Thursday 21 July 2022 14:11:23 +0000 (0:00:00.320) 0:02:16.052 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.003605", "end": "2022-07-21 10:11:24.004265", "failed_when_result": false, "rc": 0, "start": "2022-07-21 10:11:24.000660" } TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmpaxjje44y/tests/verify-role-results.yml:33 Thursday 21 July 2022 14:11:24 +0000 (0:00:00.324) 0:02:16.377 ********* included: /tmp/tmpaxjje44y/tests/test-verify-pool.yml for /cache/rhel-7.qcow2 => (item={'name': 'vg1', 'encryption_password': None, 'state': 'absent', 'raid_metadata_version': None, 'encryption': False, 'encryption_key_size': None, 'disks': ['sdb', 'sdc'], 'raid_level': None, 'encryption_luks_version': None, 'raid_device_count': None, 'encryption_key': None, 'volumes': [{'_raw_device': '/dev/mapper/vg1-lv1', 'raid_metadata_version': None, 'raid_level': 'raid1', 'fs_type': 'xfs', 'mount_options': 'defaults', 'type': 'lvm', '_device': '/dev/mapper/vg1-lv1', 'size': '2g', 'mount_point': '/opt/test1', 'compression': None, 'encryption_password': None, 'encryption': False, 'mount_device_identifier': 'uuid', 'name': 'lv1', 'raid_device_count': None, 'state': 'present', 'vdo_pool_size': None, 'thin_pool_name': None, 'thin_pool_size': None, 'encryption_key_size': None, 'encryption_cipher': None, 'encryption_key': None, 'fs_label': '', 'encryption_luks_version': None, 'cache_size': 0, '_mount_id': '/dev/mapper/vg1-lv1', 'raid_spare_count': None, 'raid_disks': ['sdb', 'sdc'], 'cache_mode': None, 'deduplication': None, 'cached': False, 'fs_overwrite_existing': True, 'disks': ['sdb', 'sdc'], 'thin': False, 'mount_check': 0, 'mount_passno': 0, 'raid_chunk_size': None, 'cache_devices': [], 'fs_create_options': ''}], 'raid_chunk_size': None, 'type': 'lvm', 'encryption_cipher': None, 'raid_spare_count': None}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-pool.yml:5 Thursday 21 July 2022 14:11:24 +0000 (0:00:00.063) 0:02:16.440 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-pool.yml:18 Thursday 21 July 2022 14:11:24 +0000 (0:00:00.034) 0:02:16.475 ********* included: /tmp/tmpaxjje44y/tests/test-verify-pool-members.yml for /cache/rhel-7.qcow2 => (item=members) included: /tmp/tmpaxjje44y/tests/test-verify-pool-volumes.yml for /cache/rhel-7.qcow2 => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-pool-members.yml:1 Thursday 21 July 2022 14:11:24 +0000 (0:00:00.045) 0:02:16.520 ********* ok: [/cache/rhel-7.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/tmpaxjje44y/tests/test-verify-pool-members.yml:10 Thursday 21 July 2022 14:11:24 +0000 (0:00:00.050) 0:02:16.571 ********* TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-pool-members.yml:19 Thursday 21 July 2022 14:11:24 +0000 (0:00:00.020) 0:02:16.592 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "__pvs_lvm_len": "0" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-pool-members.yml:23 Thursday 21 July 2022 14:11:24 +0000 (0:00:00.051) 0:02:16.644 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_test_pool_pvs": [] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-pool-members.yml:27 Thursday 21 July 2022 14:11:24 +0000 (0:00:00.055) 0:02:16.699 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-pool-members.yml:34 Thursday 21 July 2022 14:11:24 +0000 (0:00:00.056) 0:02:16.756 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-pool-members.yml:38 Thursday 21 July 2022 14:11:24 +0000 (0:00:00.040) 0:02:16.796 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_type": "partition" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-pool-members.yml:42 Thursday 21 July 2022 14:11:24 +0000 (0:00:00.051) 0:02:16.847 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-pool-members.yml:46 Thursday 21 July 2022 14:11:24 +0000 (0:00:00.023) 0:02:16.871 ********* TASK [Check MD RAID] *********************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-pool-members.yml:56 Thursday 21 July 2022 14:11:24 +0000 (0:00:00.020) 0:02:16.891 ********* included: /tmp/tmpaxjje44y/tests/verify-pool-md.yml for /cache/rhel-7.qcow2 TASK [get information about RAID] ********************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-md.yml:6 Thursday 21 July 2022 14:11:24 +0000 (0:00:00.040) 0:02:16.932 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-md.yml:12 Thursday 21 July 2022 14:11:24 +0000 (0:00:00.022) 0:02:16.954 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-md.yml:16 Thursday 21 July 2022 14:11:24 +0000 (0:00:00.024) 0:02:16.979 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-md.yml:20 Thursday 21 July 2022 14:11:24 +0000 (0:00:00.026) 0:02:17.006 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-md.yml:24 Thursday 21 July 2022 14:11:24 +0000 (0:00:00.026) 0:02:17.032 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-md.yml:30 Thursday 21 July 2022 14:11:24 +0000 (0:00:00.024) 0:02:17.057 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpaxjje44y/tests/verify-pool-md.yml:36 Thursday 21 July 2022 14:11:25 +0000 (0:00:00.023) 0:02:17.081 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-md.yml:44 Thursday 21 July 2022 14:11:25 +0000 (0:00:00.026) 0:02:17.107 ********* ok: [/cache/rhel-7.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/tmpaxjje44y/tests/test-verify-pool-members.yml:59 Thursday 21 July 2022 14:11:25 +0000 (0:00:00.079) 0:02:17.187 ********* included: /tmp/tmpaxjje44y/tests/verify-pool-members-lvmraid.yml for /cache/rhel-7.qcow2 TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-members-lvmraid.yml:1 Thursday 21 July 2022 14:11:25 +0000 (0:00:00.044) 0:02:17.231 ********* included: /tmp/tmpaxjje44y/tests/verify-pool-member-lvmraid.yml for /cache/rhel-7.qcow2 => (item={'_raw_device': '/dev/mapper/vg1-lv1', 'raid_metadata_version': None, 'raid_level': 'raid1', 'fs_type': 'xfs', 'mount_options': 'defaults', 'type': 'lvm', '_device': '/dev/mapper/vg1-lv1', 'size': '2g', 'mount_point': '/opt/test1', 'compression': None, 'encryption_password': None, 'encryption': False, 'mount_device_identifier': 'uuid', 'name': 'lv1', 'raid_device_count': None, 'state': 'present', 'vdo_pool_size': None, 'thin_pool_name': None, 'thin_pool_size': None, 'encryption_key_size': None, 'encryption_cipher': None, 'encryption_key': None, 'fs_label': '', 'encryption_luks_version': None, 'cache_size': 0, '_mount_id': '/dev/mapper/vg1-lv1', 'raid_spare_count': None, 'raid_disks': ['sdb', 'sdc'], 'cache_mode': None, 'deduplication': None, 'cached': False, 'fs_overwrite_existing': True, 'disks': ['sdb', 'sdc'], 'thin': False, 'mount_check': 0, 'mount_passno': 0, 'raid_chunk_size': None, 'cache_devices': [], 'fs_create_options': ''}) TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-member-lvmraid.yml:3 Thursday 21 July 2022 14:11:25 +0000 (0:00:00.041) 0:02:17.272 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmpaxjje44y/tests/verify-pool-member-lvmraid.yml:8 Thursday 21 July 2022 14:11:25 +0000 (0:00:00.027) 0:02:17.300 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-member-lvmraid.yml:12 Thursday 21 July 2022 14:11:25 +0000 (0:00:00.030) 0:02:17.331 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-pool-members.yml:62 Thursday 21 July 2022 14:11:25 +0000 (0:00:00.032) 0:02:17.363 ********* included: /tmp/tmpaxjje44y/tests/verify-pool-members-thin.yml for /cache/rhel-7.qcow2 TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-members-thin.yml:1 Thursday 21 July 2022 14:11:25 +0000 (0:00:00.047) 0:02:17.410 ********* included: /tmp/tmpaxjje44y/tests/verify-pool-member-thin.yml for /cache/rhel-7.qcow2 => (item={'_raw_device': '/dev/mapper/vg1-lv1', 'raid_metadata_version': None, 'raid_level': 'raid1', 'fs_type': 'xfs', 'mount_options': 'defaults', 'type': 'lvm', '_device': '/dev/mapper/vg1-lv1', 'size': '2g', 'mount_point': '/opt/test1', 'compression': None, 'encryption_password': None, 'encryption': False, 'mount_device_identifier': 'uuid', 'name': 'lv1', 'raid_device_count': None, 'state': 'present', 'vdo_pool_size': None, 'thin_pool_name': None, 'thin_pool_size': None, 'encryption_key_size': None, 'encryption_cipher': None, 'encryption_key': None, 'fs_label': '', 'encryption_luks_version': None, 'cache_size': 0, '_mount_id': '/dev/mapper/vg1-lv1', 'raid_spare_count': None, 'raid_disks': ['sdb', 'sdc'], 'cache_mode': None, 'deduplication': None, 'cached': False, 'fs_overwrite_existing': True, 'disks': ['sdb', 'sdc'], 'thin': False, 'mount_check': 0, 'mount_passno': 0, 'raid_chunk_size': None, 'cache_devices': [], 'fs_create_options': ''}) TASK [Get information about thinpool] ****************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-member-thin.yml:3 Thursday 21 July 2022 14:11:25 +0000 (0:00:00.044) 0:02:17.455 ********* skipping: [/cache/rhel-7.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/tmpaxjje44y/tests/verify-pool-member-thin.yml:8 Thursday 21 July 2022 14:11:25 +0000 (0:00:00.024) 0:02:17.479 ********* skipping: [/cache/rhel-7.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/tmpaxjje44y/tests/verify-pool-member-thin.yml:13 Thursday 21 July 2022 14:11:25 +0000 (0:00:00.022) 0:02:17.502 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-member-thin.yml:17 Thursday 21 July 2022 14:11:25 +0000 (0:00:00.023) 0:02:17.525 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-pool-members.yml:65 Thursday 21 July 2022 14:11:25 +0000 (0:00:00.026) 0:02:17.552 ********* included: /tmp/tmpaxjje44y/tests/verify-pool-members-encryption.yml for /cache/rhel-7.qcow2 TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-members-encryption.yml:4 Thursday 21 July 2022 14:11:25 +0000 (0:00:00.046) 0:02:17.599 ********* ok: [/cache/rhel-7.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/tmpaxjje44y/tests/verify-pool-members-encryption.yml:8 Thursday 21 July 2022 14:11:25 +0000 (0:00:00.051) 0:02:17.651 ********* TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-members-encryption.yml:15 Thursday 21 July 2022 14:11:25 +0000 (0:00:00.024) 0:02:17.675 ********* TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-members-encryption.yml:22 Thursday 21 July 2022 14:11:25 +0000 (0:00:00.020) 0:02:17.695 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-pool-members.yml:68 Thursday 21 July 2022 14:11:25 +0000 (0:00:00.032) 0:02:17.728 ********* included: /tmp/tmpaxjje44y/tests/verify-pool-members-vdo.yml for /cache/rhel-7.qcow2 TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-members-vdo.yml:1 Thursday 21 July 2022 14:11:25 +0000 (0:00:00.046) 0:02:17.775 ********* included: /tmp/tmpaxjje44y/tests/verify-pool-member-vdo.yml for /cache/rhel-7.qcow2 => (item={'_raw_device': '/dev/mapper/vg1-lv1', 'raid_metadata_version': None, 'raid_level': 'raid1', 'fs_type': 'xfs', 'mount_options': 'defaults', 'type': 'lvm', '_device': '/dev/mapper/vg1-lv1', 'size': '2g', 'mount_point': '/opt/test1', 'compression': None, 'encryption_password': None, 'encryption': False, 'mount_device_identifier': 'uuid', 'name': 'lv1', 'raid_device_count': None, 'state': 'present', 'vdo_pool_size': None, 'thin_pool_name': None, 'thin_pool_size': None, 'encryption_key_size': None, 'encryption_cipher': None, 'encryption_key': None, 'fs_label': '', 'encryption_luks_version': None, 'cache_size': 0, '_mount_id': '/dev/mapper/vg1-lv1', 'raid_spare_count': None, 'raid_disks': ['sdb', 'sdc'], 'cache_mode': None, 'deduplication': None, 'cached': False, 'fs_overwrite_existing': True, 'disks': ['sdb', 'sdc'], 'thin': False, 'mount_check': 0, 'mount_passno': 0, 'raid_chunk_size': None, 'cache_devices': [], 'fs_create_options': ''}) TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmpaxjje44y/tests/verify-pool-member-vdo.yml:3 Thursday 21 July 2022 14:11:25 +0000 (0:00:00.041) 0:02:17.816 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-member-vdo.yml:8 Thursday 21 July 2022 14:11:25 +0000 (0:00:00.022) 0:02:17.839 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-member-vdo.yml:11 Thursday 21 July 2022 14:11:25 +0000 (0:00:00.021) 0:02:17.860 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-member-vdo.yml:16 Thursday 21 July 2022 14:11:25 +0000 (0:00:00.022) 0:02:17.883 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-member-vdo.yml:21 Thursday 21 July 2022 14:11:25 +0000 (0:00:00.024) 0:02:17.907 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-member-vdo.yml:24 Thursday 21 July 2022 14:11:25 +0000 (0:00:00.031) 0:02:17.939 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-member-vdo.yml:29 Thursday 21 July 2022 14:11:25 +0000 (0:00:00.027) 0:02:17.966 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-member-vdo.yml:39 Thursday 21 July 2022 14:11:25 +0000 (0:00:00.025) 0:02:17.991 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-pool-members.yml:71 Thursday 21 July 2022 14:11:25 +0000 (0:00:00.036) 0:02:18.028 ********* ok: [/cache/rhel-7.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/tmpaxjje44y/tests/test-verify-pool-volumes.yml:3 Thursday 21 July 2022 14:11:25 +0000 (0:00:00.038) 0:02:18.067 ********* included: /tmp/tmpaxjje44y/tests/test-verify-volume.yml for /cache/rhel-7.qcow2 => (item={'_raw_device': '/dev/mapper/vg1-lv1', 'raid_metadata_version': None, 'raid_level': 'raid1', 'fs_type': 'xfs', 'mount_options': 'defaults', 'type': 'lvm', '_device': '/dev/mapper/vg1-lv1', 'size': '2g', 'mount_point': '/opt/test1', 'compression': None, 'encryption_password': None, 'encryption': False, 'mount_device_identifier': 'uuid', 'name': 'lv1', 'raid_device_count': None, 'state': 'present', 'vdo_pool_size': None, 'thin_pool_name': None, 'thin_pool_size': None, 'encryption_key_size': None, 'encryption_cipher': None, 'encryption_key': None, 'fs_label': '', 'encryption_luks_version': None, 'cache_size': 0, '_mount_id': '/dev/mapper/vg1-lv1', 'raid_spare_count': None, 'raid_disks': ['sdb', 'sdc'], 'cache_mode': None, 'deduplication': None, 'cached': False, 'fs_overwrite_existing': True, 'disks': ['sdb', 'sdc'], 'thin': False, 'mount_check': 0, 'mount_passno': 0, 'raid_chunk_size': None, 'cache_devices': [], 'fs_create_options': ''}) TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume.yml:2 Thursday 21 July 2022 14:11:26 +0000 (0:00:00.043) 0:02:18.110 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_test_volume_present": false, "_storage_volume_tests": [ "mount", "fstab", "fs", "device", "encryption", "md", "size", "cache" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume.yml:10 Thursday 21 July 2022 14:11:26 +0000 (0:00:00.051) 0:02:18.162 ********* included: /tmp/tmpaxjje44y/tests/test-verify-volume-mount.yml for /cache/rhel-7.qcow2 => (item=mount) included: /tmp/tmpaxjje44y/tests/test-verify-volume-fstab.yml for /cache/rhel-7.qcow2 => (item=fstab) included: /tmp/tmpaxjje44y/tests/test-verify-volume-fs.yml for /cache/rhel-7.qcow2 => (item=fs) included: /tmp/tmpaxjje44y/tests/test-verify-volume-device.yml for /cache/rhel-7.qcow2 => (item=device) included: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml for /cache/rhel-7.qcow2 => (item=encryption) included: /tmp/tmpaxjje44y/tests/test-verify-volume-md.yml for /cache/rhel-7.qcow2 => (item=md) included: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml for /cache/rhel-7.qcow2 => (item=size) included: /tmp/tmpaxjje44y/tests/test-verify-volume-cache.yml for /cache/rhel-7.qcow2 => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-mount.yml:6 Thursday 21 July 2022 14:11:26 +0000 (0:00:00.080) 0:02:18.242 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/vg1-lv1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-mount.yml:14 Thursday 21 July 2022 14:11:26 +0000 (0:00:00.144) 0:02:18.387 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_mount_device_matches": [], "storage_test_mount_expected_match_count": "0", "storage_test_mount_point_matches": [], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-mount.yml:28 Thursday 21 July 2022 14:11:26 +0000 (0:00:00.055) 0:02:18.442 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-mount.yml:37 Thursday 21 July 2022 14:11:26 +0000 (0:00:00.022) 0:02:18.465 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpaxjje44y/tests/test-verify-volume-mount.yml:45 Thursday 21 July 2022 14:11:26 +0000 (0:00:00.053) 0:02:18.518 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [command] ***************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-mount.yml:54 Thursday 21 July 2022 14:11:26 +0000 (0:00:00.037) 0:02:18.556 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-mount.yml:58 Thursday 21 July 2022 14:11:26 +0000 (0:00:00.025) 0:02:18.581 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-mount.yml:63 Thursday 21 July 2022 14:11:26 +0000 (0:00:00.023) 0:02:18.604 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-mount.yml:75 Thursday 21 July 2022 14:11:26 +0000 (0:00:00.026) 0:02:18.630 ********* ok: [/cache/rhel-7.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/tmpaxjje44y/tests/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 14:11:26 +0000 (0:00:00.036) 0:02:18.666 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "0", "storage_test_fstab_expected_mount_options_matches": "0", "storage_test_fstab_expected_mount_point_matches": "0", "storage_test_fstab_id_matches": [], "storage_test_fstab_mount_options_matches": [], "storage_test_fstab_mount_point_matches": [] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 14:11:26 +0000 (0:00:00.062) 0:02:18.729 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-fstab.yml:32 Thursday 21 July 2022 14:11:26 +0000 (0:00:00.025) 0:02:18.755 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-fstab.yml:39 Thursday 21 July 2022 14:11:26 +0000 (0:00:00.047) 0:02:18.802 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-fstab.yml:49 Thursday 21 July 2022 14:11:26 +0000 (0:00:00.035) 0:02:18.837 ********* ok: [/cache/rhel-7.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/tmpaxjje44y/tests/test-verify-volume-fs.yml:4 Thursday 21 July 2022 14:11:26 +0000 (0:00:00.037) 0:02:18.875 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify fs label] ********************************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-fs.yml:10 Thursday 21 July 2022 14:11:26 +0000 (0:00:00.024) 0:02:18.900 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [See whether the device node is present] ********************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-device.yml:4 Thursday 21 July 2022 14:11:26 +0000 (0:00:00.023) 0:02:18.923 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "stat": { "exists": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-device.yml:10 Thursday 21 July 2022 14:11:27 +0000 (0:00:00.313) 0:02:19.236 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-device.yml:18 Thursday 21 July 2022 14:11:27 +0000 (0:00:00.039) 0:02:19.276 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-device.yml:24 Thursday 21 July 2022 14:11:27 +0000 (0:00:00.025) 0:02:19.301 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-device.yml:28 Thursday 21 July 2022 14:11:27 +0000 (0:00:00.038) 0:02:19.339 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-device.yml:33 Thursday 21 July 2022 14:11:27 +0000 (0:00:00.025) 0:02:19.365 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 14:11:27 +0000 (0:00:00.023) 0:02:19.388 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 14:11:27 +0000 (0:00:00.024) 0:02:19.413 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "rc": 0, "results": [ "cryptsetup-2.0.3-6.el7.x86_64 providing cryptsetup is already installed" ] } TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 14:11:27 +0000 (0:00:00.538) 0:02:19.951 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 14:11:27 +0000 (0:00:00.025) 0:02:19.977 ********* skipping: [/cache/rhel-7.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/tmpaxjje44y/tests/test-verify-volume-encryption.yml:30 Thursday 21 July 2022 14:11:27 +0000 (0:00:00.025) 0:02:20.003 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:38 Thursday 21 July 2022 14:11:27 +0000 (0:00:00.024) 0:02:20.027 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 14:11:27 +0000 (0:00:00.033) 0:02:20.060 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:49 Thursday 21 July 2022 14:11:28 +0000 (0:00:00.026) 0:02:20.087 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:55 Thursday 21 July 2022 14:11:28 +0000 (0:00:00.023) 0:02:20.110 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:61 Thursday 21 July 2022 14:11:28 +0000 (0:00:00.024) 0:02:20.135 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 14:11:28 +0000 (0:00:00.026) 0:02:20.161 ********* ok: [/cache/rhel-7.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/tmpaxjje44y/tests/test-verify-volume-encryption.yml:74 Thursday 21 July 2022 14:11:28 +0000 (0:00:00.058) 0:02:20.220 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:79 Thursday 21 July 2022 14:11:28 +0000 (0:00:00.050) 0:02:20.270 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:85 Thursday 21 July 2022 14:11:28 +0000 (0:00:00.036) 0:02:20.307 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:91 Thursday 21 July 2022 14:11:28 +0000 (0:00:00.039) 0:02:20.346 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:97 Thursday 21 July 2022 14:11:28 +0000 (0:00:00.039) 0:02:20.386 ********* ok: [/cache/rhel-7.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/tmpaxjje44y/tests/test-verify-volume-md.yml:7 Thursday 21 July 2022 14:11:28 +0000 (0:00:00.033) 0:02:20.419 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-md.yml:13 Thursday 21 July 2022 14:11:28 +0000 (0:00:00.034) 0:02:20.454 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-md.yml:17 Thursday 21 July 2022 14:11:28 +0000 (0:00:00.037) 0:02:20.492 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-md.yml:21 Thursday 21 July 2022 14:11:28 +0000 (0:00:00.081) 0:02:20.573 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-md.yml:25 Thursday 21 July 2022 14:11:28 +0000 (0:00:00.037) 0:02:20.610 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-md.yml:31 Thursday 21 July 2022 14:11:28 +0000 (0:00:00.035) 0:02:20.646 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-md.yml:37 Thursday 21 July 2022 14:11:28 +0000 (0:00:00.038) 0:02:20.685 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:3 Thursday 21 July 2022 14:11:28 +0000 (0:00:00.038) 0:02:20.723 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:9 Thursday 21 July 2022 14:11:28 +0000 (0:00:00.025) 0:02:20.748 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:15 Thursday 21 July 2022 14:11:28 +0000 (0:00:00.034) 0:02:20.783 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:20 Thursday 21 July 2022 14:11:28 +0000 (0:00:00.038) 0:02:20.821 ********* ok: [/cache/rhel-7.qcow2] => { "storage_test_expected_size": "2147483648" } TASK [debug] ******************************************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:25 Thursday 21 July 2022 14:11:28 +0000 (0:00:00.038) 0:02:20.860 ********* skipping: [/cache/rhel-7.qcow2] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:28 Thursday 21 July 2022 14:11:28 +0000 (0:00:00.035) 0:02:20.895 ********* skipping: [/cache/rhel-7.qcow2] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:31 Thursday 21 July 2022 14:11:28 +0000 (0:00:00.035) 0:02:20.930 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:36 Thursday 21 July 2022 14:11:28 +0000 (0:00:00.036) 0:02:20.966 ********* skipping: [/cache/rhel-7.qcow2] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:39 Thursday 21 July 2022 14:11:28 +0000 (0:00:00.041) 0:02:21.008 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:44 Thursday 21 July 2022 14:11:28 +0000 (0:00:00.038) 0:02:21.046 ********* ok: [/cache/rhel-7.qcow2] => { "storage_test_actual_size": { "changed": false, "skip_reason": "Conditional result was False", "skipped": true } } TASK [debug] ******************************************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:47 Thursday 21 July 2022 14:11:29 +0000 (0:00:00.036) 0:02:21.082 ********* ok: [/cache/rhel-7.qcow2] => { "storage_test_expected_size": "2147483648" } TASK [assert] ****************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:50 Thursday 21 July 2022 14:11:29 +0000 (0:00:00.038) 0:02:21.121 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about the LV] ******************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-cache.yml:6 Thursday 21 July 2022 14:11:29 +0000 (0:00:00.026) 0:02:21.147 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-cache.yml:14 Thursday 21 July 2022 14:11:29 +0000 (0:00:00.025) 0:02:21.173 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check segment type] ****************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-cache.yml:17 Thursday 21 July 2022 14:11:29 +0000 (0:00:00.022) 0:02:21.195 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-cache.yml:22 Thursday 21 July 2022 14:11:29 +0000 (0:00:00.024) 0:02:21.220 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-cache.yml:26 Thursday 21 July 2022 14:11:29 +0000 (0:00:00.026) 0:02:21.246 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-cache.yml:32 Thursday 21 July 2022 14:11:29 +0000 (0:00:00.025) 0:02:21.272 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-cache.yml:36 Thursday 21 July 2022 14:11:29 +0000 (0:00:00.025) 0:02:21.297 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume.yml:16 Thursday 21 July 2022 14:11:29 +0000 (0:00:00.022) 0:02:21.320 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpaxjje44y/tests/verify-role-results.yml:43 Thursday 21 July 2022 14:11:29 +0000 (0:00:00.037) 0:02:21.357 ********* TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpaxjje44y/tests/verify-role-results.yml:53 Thursday 21 July 2022 14:11:29 +0000 (0:00:00.022) 0:02:21.380 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Create a RAID0 lvm raid device] ****************************************** task path: /tmp/tmpaxjje44y/tests/tests_create_raid_pool_then_remove.yml:154 Thursday 21 July 2022 14:11:29 +0000 (0:00:00.037) 0:02:21.417 ********* TASK [linux-system-roles.storage : set platform/version specific variables] **** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Thursday 21 July 2022 14:11:29 +0000 (0:00:00.093) 0:02:21.510 ********* included: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/set_vars.yml for /cache/rhel-7.qcow2 TASK [linux-system-roles.storage : Ensure ansible_facts used by role] ********** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Thursday 21 July 2022 14:11:29 +0000 (0:00:00.038) 0:02:21.548 ********* ok: [/cache/rhel-7.qcow2] TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Thursday 21 July 2022 14:11:29 +0000 (0:00:00.425) 0:02:21.974 ********* skipping: [/cache/rhel-7.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-7.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/rhel-7.qcow2] => (item=RedHat_7.yml) => { "ansible_facts": { "__storage_blivet_diskvolume_mkfs_option_map": { "ext2": "-F", "ext3": "-F", "ext4": "-F" }, "blivet_package_list": [ "python-enum34", "python-blivet3", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap" ] }, "ansible_included_var_files": [ "/tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/vars/RedHat_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_7.yml" } skipping: [/cache/rhel-7.qcow2] => (item=RedHat_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_7.9.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Thursday 21 July 2022 14:11:29 +0000 (0:00:00.062) 0:02:22.037 ********* ok: [/cache/rhel-7.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/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Thursday 21 July 2022 14:11:29 +0000 (0:00:00.035) 0:02:22.072 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : include the appropriate provider tasks] ***** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Thursday 21 July 2022 14:11:30 +0000 (0:00:00.085) 0:02:22.157 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml for /cache/rhel-7.qcow2 TASK [linux-system-roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 14:11:30 +0000 (0:00:00.088) 0:02:22.246 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure blivet is available] ************** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 14:11:30 +0000 (0:00:00.022) 0:02:22.268 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : show storage_pools] ************************* task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:14 Thursday 21 July 2022 14:11:30 +0000 (0:00:00.028) 0:02:22.297 ********* ok: [/cache/rhel-7.qcow2] => { "storage_pools": [ { "disks": [ "sdb", "sdc" ], "name": "vg1", "state": "present", "type": "lvm", "volumes": [ { "mount_point": "/opt/test1", "name": "lv1", "raid_disks": [ "sdb", "sdc" ], "raid_level": "raid0", "size": "2g" } ] } ] } TASK [linux-system-roles.storage : show storage_volumes] *********************** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:19 Thursday 21 July 2022 14:11:30 +0000 (0:00:00.039) 0:02:22.336 ********* ok: [/cache/rhel-7.qcow2] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [linux-system-roles.storage : get required packages] ********************** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:24 Thursday 21 July 2022 14:11:30 +0000 (0:00:00.034) 0:02:22.370 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : enable copr repositories if needed] ********* task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:37 Thursday 21 July 2022 14:11:30 +0000 (0:00:00.026) 0:02:22.397 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure required packages are installed] *** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:44 Thursday 21 July 2022 14:11:30 +0000 (0:00:00.025) 0:02:22.423 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : get service facts] ************************** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 Thursday 21 July 2022 14:11:30 +0000 (0:00:00.029) 0:02:22.452 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set storage_cryptsetup_services] ************ task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 14:11:30 +0000 (0:00:00.030) 0:02:22.482 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [linux-system-roles.storage : Mask the systemd cryptsetup services] ******* task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:71 Thursday 21 July 2022 14:11:30 +0000 (0:00:00.055) 0:02:22.538 ********* TASK [linux-system-roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Thursday 21 July 2022 14:11:30 +0000 (0:00:00.021) 0:02:22.560 ********* changed: [/cache/rhel-7.qcow2] => { "actions": [ { "action": "create format", "device": "/dev/sdc", "fs_type": "disklabel" }, { "action": "create device", "device": "/dev/sdc1", "fs_type": null }, { "action": "create format", "device": "/dev/sdc1", "fs_type": "lvmpv" }, { "action": "create format", "device": "/dev/sdb", "fs_type": "disklabel" }, { "action": "create device", "device": "/dev/sdb1", "fs_type": null }, { "action": "create format", "device": "/dev/sdb1", "fs_type": "lvmpv" }, { "action": "create device", "device": "/dev/vg1", "fs_type": null }, { "action": "create device", "device": "/dev/mapper/vg1-lv1", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/vg1-lv1", "fs_type": "xfs" } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/sda", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb", "/dev/vdc", "/dev/vdd", "/dev/mapper/vg1-lv1" ], "mounts": [ { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/vg1-lv1", "state": "mounted" } ], "packages": [ "xfsprogs", "lvm2" ], "pools": [ { "disks": [ "sdb", "sdc" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_kernel_device": "/dev/dm-2", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "_raw_kernel_device": "/dev/dm-2", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [ "sdb", "sdc" ], "raid_level": "raid0", "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } TASK [linux-system-roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:91 Thursday 21 July 2022 14:11:32 +0000 (0:00:02.179) 0:02:24.739 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Unmask the systemd cryptsetup services] ***** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:103 Thursday 21 July 2022 14:11:32 +0000 (0:00:00.038) 0:02:24.778 ********* TASK [linux-system-roles.storage : show blivet_output] ************************* task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:109 Thursday 21 July 2022 14:11:32 +0000 (0:00:00.022) 0:02:24.800 ********* ok: [/cache/rhel-7.qcow2] => { "blivet_output": { "actions": [ { "action": "create format", "device": "/dev/sdc", "fs_type": "disklabel" }, { "action": "create device", "device": "/dev/sdc1", "fs_type": null }, { "action": "create format", "device": "/dev/sdc1", "fs_type": "lvmpv" }, { "action": "create format", "device": "/dev/sdb", "fs_type": "disklabel" }, { "action": "create device", "device": "/dev/sdb1", "fs_type": null }, { "action": "create format", "device": "/dev/sdb1", "fs_type": "lvmpv" }, { "action": "create device", "device": "/dev/vg1", "fs_type": null }, { "action": "create device", "device": "/dev/mapper/vg1-lv1", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/vg1-lv1", "fs_type": "xfs" } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/sda", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb", "/dev/vdc", "/dev/vdd", "/dev/mapper/vg1-lv1" ], "mounts": [ { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/vg1-lv1", "state": "mounted" } ], "packages": [ "xfsprogs", "lvm2" ], "pools": [ { "disks": [ "sdb", "sdc" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_kernel_device": "/dev/dm-2", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "_raw_kernel_device": "/dev/dm-2", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [ "sdb", "sdc" ], "raid_level": "raid0", "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } } TASK [linux-system-roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:114 Thursday 21 July 2022 14:11:32 +0000 (0:00:00.040) 0:02:24.840 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sdb", "sdc" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_kernel_device": "/dev/dm-2", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "_raw_kernel_device": "/dev/dm-2", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [ "sdb", "sdc" ], "raid_level": "raid0", "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] }, "changed": false } TASK [linux-system-roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:118 Thursday 21 July 2022 14:11:32 +0000 (0:00:00.035) 0:02:24.876 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : remove obsolete mounts] ********************* task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:134 Thursday 21 July 2022 14:11:32 +0000 (0:00:00.035) 0:02:24.911 ********* TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:146 Thursday 21 July 2022 14:11:32 +0000 (0:00:00.038) 0:02:24.950 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : set up new/current mounts] ****************** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:151 Thursday 21 July 2022 14:11:33 +0000 (0:00:00.489) 0:02:25.440 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/rhel-7.qcow2] => (item={'src': '/dev/mapper/vg1-lv1', 'dump': 0, 'passno': 0, 'fstype': 'xfs', 'state': 'mounted', 'path': '/opt/test1', 'opts': 'defaults'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "xfs", "mount_info": { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/vg1-lv1", "state": "mounted" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "/dev/mapper/vg1-lv1" } TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:163 Thursday 21 July 2022 14:11:33 +0000 (0:00:00.382) 0:02:25.823 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:171 Thursday 21 July 2022 14:11:34 +0000 (0:00:00.445) 0:02:26.268 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "stat": { "atime": 1658412558.1759725, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1658201031.524, "dev": 64769, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 70, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "inode/x-empty", "mode": "0600", "mtime": 1658200515.884, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "18446744071677828413", "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/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:176 Thursday 21 July 2022 14:11:34 +0000 (0:00:00.319) 0:02:26.587 ********* TASK [linux-system-roles.storage : Update facts] ******************************* task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 Thursday 21 July 2022 14:11:34 +0000 (0:00:00.024) 0:02:26.612 ********* ok: [/cache/rhel-7.qcow2] META: role_complete for /cache/rhel-7.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmpaxjje44y/tests/tests_create_raid_pool_then_remove.yml:170 Thursday 21 July 2022 14:11:35 +0000 (0:00:00.872) 0:02:27.485 ********* included: /tmp/tmpaxjje44y/tests/verify-role-results.yml for /cache/rhel-7.qcow2 TASK [Print out pool information] ********************************************** task path: /tmp/tmpaxjje44y/tests/verify-role-results.yml:1 Thursday 21 July 2022 14:11:35 +0000 (0:00:00.095) 0:02:27.580 ********* ok: [/cache/rhel-7.qcow2] => { "_storage_pools_list": [ { "disks": [ "sdb", "sdc" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_kernel_device": "/dev/dm-2", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "_raw_kernel_device": "/dev/dm-2", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [ "sdb", "sdc" ], "raid_level": "raid0", "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] } TASK [Print out volume information] ******************************************** task path: /tmp/tmpaxjje44y/tests/verify-role-results.yml:6 Thursday 21 July 2022 14:11:35 +0000 (0:00:00.054) 0:02:27.635 ********* skipping: [/cache/rhel-7.qcow2] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpaxjje44y/tests/verify-role-results.yml:14 Thursday 21 July 2022 14:11:35 +0000 (0:00:00.037) 0:02:27.672 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "info": { "/dev/fd0": { "fstype": "", "label": "", "name": "/dev/fd0", "size": "4K", "type": "disk", "uuid": "" }, "/dev/mapper/vg1-lv1": { "fstype": "xfs", "label": "", "name": "/dev/mapper/vg1-lv1", "size": "2G", "type": "lvm", "uuid": "a85ef6f5-8fe0-4935-bd15-fba137f7cbb8" }, "/dev/mapper/vg1-lv1_rimage_0": { "fstype": "", "label": "", "name": "/dev/mapper/vg1-lv1_rimage_0", "size": "1G", "type": "lvm", "uuid": "" }, "/dev/mapper/vg1-lv1_rimage_1": { "fstype": "", "label": "", "name": "/dev/mapper/vg1-lv1_rimage_1", "size": "1G", "type": "lvm", "uuid": "" }, "/dev/nvme0n1": { "fstype": "", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme1n1": { "fstype": "", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme2n1": { "fstype": "", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda": { "fstype": "", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdb": { "fstype": "", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdb1": { "fstype": "LVM2_member", "label": "", "name": "/dev/sdb1", "size": "10G", "type": "partition", "uuid": "e3wgkm-cPqz-XWDf-dPCo-nUhO-lKtw-peBl3B" }, "/dev/sdc": { "fstype": "", "label": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdc1": { "fstype": "LVM2_member", "label": "", "name": "/dev/sdc1", "size": "10G", "type": "partition", "uuid": "jzbuPH-L63V-FQ6J-wnMN-UjaB-NGJo-xViWm2" }, "/dev/sr0": { "fstype": "iso9660", "label": "cidata", "name": "/dev/sr0", "size": "364K", "type": "rom", "uuid": "2022-07-21-14-08-55-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "xfs", "label": "", "name": "/dev/vda1", "size": "10G", "type": "partition", "uuid": "21864ae1-1c29-4009-a1c2-151e41d0e053" }, "/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/tmpaxjje44y/tests/verify-role-results.yml:19 Thursday 21 July 2022 14:11:35 +0000 (0:00:00.331) 0:02:28.003 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.003489", "end": "2022-07-21 10:11:35.943084", "rc": 0, "start": "2022-07-21 10:11:35.939595" } STDOUT: # # /etc/fstab # Created by anaconda on Tue Jul 19 03:15:15 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 # UUID=21864ae1-1c29-4009-a1c2-151e41d0e053 / xfs defaults 0 0 /dev/mapper/vg1-lv1 /opt/test1 xfs defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpaxjje44y/tests/verify-role-results.yml:24 Thursday 21 July 2022 14:11:36 +0000 (0:00:00.317) 0:02:28.321 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.003324", "end": "2022-07-21 10:11:36.263418", "failed_when_result": false, "rc": 0, "start": "2022-07-21 10:11:36.260094" } TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmpaxjje44y/tests/verify-role-results.yml:33 Thursday 21 July 2022 14:11:36 +0000 (0:00:00.314) 0:02:28.636 ********* included: /tmp/tmpaxjje44y/tests/test-verify-pool.yml for /cache/rhel-7.qcow2 => (item={'name': 'vg1', 'encryption_password': None, 'state': 'present', 'raid_metadata_version': None, 'encryption': False, 'encryption_key_size': None, 'disks': ['sdb', 'sdc'], 'raid_level': None, 'encryption_luks_version': None, 'raid_device_count': None, 'encryption_key': None, 'volumes': [{'_raw_device': '/dev/mapper/vg1-lv1', 'raid_metadata_version': None, 'raid_level': 'raid0', 'fs_type': 'xfs', 'mount_options': 'defaults', 'type': 'lvm', '_device': '/dev/mapper/vg1-lv1', 'size': '2g', 'mount_point': '/opt/test1', 'compression': None, 'encryption_password': None, '_kernel_device': '/dev/dm-2', 'encryption': False, 'mount_device_identifier': 'uuid', 'name': 'lv1', 'raid_device_count': None, 'state': 'present', 'vdo_pool_size': None, 'thin_pool_name': None, 'thin_pool_size': None, 'encryption_key_size': None, 'encryption_cipher': None, 'encryption_key': None, 'fs_label': '', 'encryption_luks_version': None, 'cache_size': 0, '_mount_id': '/dev/mapper/vg1-lv1', 'raid_spare_count': None, 'raid_disks': ['sdb', 'sdc'], '_raw_kernel_device': '/dev/dm-2', 'cache_mode': None, 'deduplication': None, 'cached': False, 'fs_overwrite_existing': True, 'disks': [], 'thin': False, 'mount_check': 0, 'mount_passno': 0, 'raid_chunk_size': None, 'cache_devices': [], 'fs_create_options': ''}], 'raid_chunk_size': None, 'type': 'lvm', 'encryption_cipher': None, 'raid_spare_count': None}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-pool.yml:5 Thursday 21 July 2022 14:11:36 +0000 (0:00:00.064) 0:02:28.700 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-pool.yml:18 Thursday 21 July 2022 14:11:36 +0000 (0:00:00.037) 0:02:28.737 ********* included: /tmp/tmpaxjje44y/tests/test-verify-pool-members.yml for /cache/rhel-7.qcow2 => (item=members) included: /tmp/tmpaxjje44y/tests/test-verify-pool-volumes.yml for /cache/rhel-7.qcow2 => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-pool-members.yml:1 Thursday 21 July 2022 14:11:36 +0000 (0:00:00.049) 0:02:28.787 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_count": "2", "_storage_test_pool_pvs_lvm": [ "/dev/sdb1", "/dev/sdc1" ] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmpaxjje44y/tests/test-verify-pool-members.yml:10 Thursday 21 July 2022 14:11:36 +0000 (0:00:00.061) 0:02:28.848 ********* ok: [/cache/rhel-7.qcow2] => (item=/dev/sdb1) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/sdb1", "pv": "/dev/sdb1" } ok: [/cache/rhel-7.qcow2] => (item=/dev/sdc1) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/sdc1", "pv": "/dev/sdc1" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-pool-members.yml:19 Thursday 21 July 2022 14:11:37 +0000 (0:00:00.598) 0:02:29.447 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "__pvs_lvm_len": "2" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-pool-members.yml:23 Thursday 21 July 2022 14:11:37 +0000 (0:00:00.052) 0:02:29.500 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/sdb1", "/dev/sdc1" ] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-pool-members.yml:27 Thursday 21 July 2022 14:11:37 +0000 (0:00:00.055) 0:02:29.555 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-pool-members.yml:34 Thursday 21 July 2022 14:11:37 +0000 (0:00:00.055) 0:02:29.611 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-pool-members.yml:38 Thursday 21 July 2022 14:11:37 +0000 (0:00:00.039) 0:02:29.650 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_type": "partition" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-pool-members.yml:42 Thursday 21 July 2022 14:11:37 +0000 (0:00:00.056) 0:02:29.707 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-pool-members.yml:46 Thursday 21 July 2022 14:11:37 +0000 (0:00:00.027) 0:02:29.735 ********* ok: [/cache/rhel-7.qcow2] => (item=/dev/sdb1) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/sdb1" } MSG: All assertions passed ok: [/cache/rhel-7.qcow2] => (item=/dev/sdc1) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/sdc1" } MSG: All assertions passed TASK [Check MD RAID] *********************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-pool-members.yml:56 Thursday 21 July 2022 14:11:37 +0000 (0:00:00.056) 0:02:29.791 ********* included: /tmp/tmpaxjje44y/tests/verify-pool-md.yml for /cache/rhel-7.qcow2 TASK [get information about RAID] ********************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-md.yml:6 Thursday 21 July 2022 14:11:37 +0000 (0:00:00.042) 0:02:29.834 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-md.yml:12 Thursday 21 July 2022 14:11:37 +0000 (0:00:00.025) 0:02:29.859 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-md.yml:16 Thursday 21 July 2022 14:11:37 +0000 (0:00:00.023) 0:02:29.883 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-md.yml:20 Thursday 21 July 2022 14:11:37 +0000 (0:00:00.022) 0:02:29.906 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-md.yml:24 Thursday 21 July 2022 14:11:37 +0000 (0:00:00.025) 0:02:29.932 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-md.yml:30 Thursday 21 July 2022 14:11:37 +0000 (0:00:00.027) 0:02:29.959 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpaxjje44y/tests/verify-pool-md.yml:36 Thursday 21 July 2022 14:11:37 +0000 (0:00:00.023) 0:02:29.983 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-md.yml:44 Thursday 21 July 2022 14:11:37 +0000 (0:00:00.023) 0:02:30.006 ********* ok: [/cache/rhel-7.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/tmpaxjje44y/tests/test-verify-pool-members.yml:59 Thursday 21 July 2022 14:11:38 +0000 (0:00:00.077) 0:02:30.084 ********* included: /tmp/tmpaxjje44y/tests/verify-pool-members-lvmraid.yml for /cache/rhel-7.qcow2 TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-members-lvmraid.yml:1 Thursday 21 July 2022 14:11:38 +0000 (0:00:00.043) 0:02:30.128 ********* included: /tmp/tmpaxjje44y/tests/verify-pool-member-lvmraid.yml for /cache/rhel-7.qcow2 => (item={'_raw_device': '/dev/mapper/vg1-lv1', 'raid_metadata_version': None, 'raid_level': 'raid0', 'fs_type': 'xfs', 'mount_options': 'defaults', 'type': 'lvm', '_device': '/dev/mapper/vg1-lv1', 'size': '2g', 'mount_point': '/opt/test1', 'compression': None, 'encryption_password': None, '_kernel_device': '/dev/dm-2', 'encryption': False, 'mount_device_identifier': 'uuid', 'name': 'lv1', 'raid_device_count': None, 'state': 'present', 'vdo_pool_size': None, 'thin_pool_name': None, 'thin_pool_size': None, 'encryption_key_size': None, 'encryption_cipher': None, 'encryption_key': None, 'fs_label': '', 'encryption_luks_version': None, 'cache_size': 0, '_mount_id': '/dev/mapper/vg1-lv1', 'raid_spare_count': None, 'raid_disks': ['sdb', 'sdc'], '_raw_kernel_device': '/dev/dm-2', 'cache_mode': None, 'deduplication': None, 'cached': False, 'fs_overwrite_existing': True, 'disks': [], 'thin': False, 'mount_check': 0, 'mount_passno': 0, 'raid_chunk_size': None, 'cache_devices': [], 'fs_create_options': ''}) TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-member-lvmraid.yml:3 Thursday 21 July 2022 14:11:38 +0000 (0:00:00.084) 0:02:30.212 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "cmd": [ "lvs", "--noheading", "-o", "lv_name", "--select", "lv_name=lv1&&lv_layout=raid0", "vg1" ], "delta": "0:00:00.025449", "end": "2022-07-21 10:11:38.190840", "rc": 0, "start": "2022-07-21 10:11:38.165391" } STDOUT: lv1 TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmpaxjje44y/tests/verify-pool-member-lvmraid.yml:8 Thursday 21 July 2022 14:11:38 +0000 (0:00:00.353) 0:02:30.565 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-member-lvmraid.yml:12 Thursday 21 July 2022 14:11:38 +0000 (0:00:00.059) 0:02:30.625 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_lvmraid_status": null }, "changed": false } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-pool-members.yml:62 Thursday 21 July 2022 14:11:38 +0000 (0:00:00.046) 0:02:30.672 ********* included: /tmp/tmpaxjje44y/tests/verify-pool-members-thin.yml for /cache/rhel-7.qcow2 TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-members-thin.yml:1 Thursday 21 July 2022 14:11:38 +0000 (0:00:00.047) 0:02:30.719 ********* included: /tmp/tmpaxjje44y/tests/verify-pool-member-thin.yml for /cache/rhel-7.qcow2 => (item={'_raw_device': '/dev/mapper/vg1-lv1', 'raid_metadata_version': None, 'raid_level': 'raid0', 'fs_type': 'xfs', 'mount_options': 'defaults', 'type': 'lvm', '_device': '/dev/mapper/vg1-lv1', 'size': '2g', 'mount_point': '/opt/test1', 'compression': None, 'encryption_password': None, '_kernel_device': '/dev/dm-2', 'encryption': False, 'mount_device_identifier': 'uuid', 'name': 'lv1', 'raid_device_count': None, 'state': 'present', 'vdo_pool_size': None, 'thin_pool_name': None, 'thin_pool_size': None, 'encryption_key_size': None, 'encryption_cipher': None, 'encryption_key': None, 'fs_label': '', 'encryption_luks_version': None, 'cache_size': 0, '_mount_id': '/dev/mapper/vg1-lv1', 'raid_spare_count': None, 'raid_disks': ['sdb', 'sdc'], '_raw_kernel_device': '/dev/dm-2', 'cache_mode': None, 'deduplication': None, 'cached': False, 'fs_overwrite_existing': True, 'disks': [], 'thin': False, 'mount_check': 0, 'mount_passno': 0, 'raid_chunk_size': None, 'cache_devices': [], 'fs_create_options': ''}) TASK [Get information about thinpool] ****************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-member-thin.yml:3 Thursday 21 July 2022 14:11:38 +0000 (0:00:00.046) 0:02:30.765 ********* skipping: [/cache/rhel-7.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/tmpaxjje44y/tests/verify-pool-member-thin.yml:8 Thursday 21 July 2022 14:11:38 +0000 (0:00:00.025) 0:02:30.791 ********* skipping: [/cache/rhel-7.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/tmpaxjje44y/tests/verify-pool-member-thin.yml:13 Thursday 21 July 2022 14:11:38 +0000 (0:00:00.024) 0:02:30.815 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-member-thin.yml:17 Thursday 21 July 2022 14:11:38 +0000 (0:00:00.024) 0:02:30.839 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-pool-members.yml:65 Thursday 21 July 2022 14:11:38 +0000 (0:00:00.024) 0:02:30.864 ********* included: /tmp/tmpaxjje44y/tests/verify-pool-members-encryption.yml for /cache/rhel-7.qcow2 TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-members-encryption.yml:4 Thursday 21 July 2022 14:11:38 +0000 (0:00:00.046) 0:02:30.911 ********* ok: [/cache/rhel-7.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/tmpaxjje44y/tests/verify-pool-members-encryption.yml:8 Thursday 21 July 2022 14:11:38 +0000 (0:00:00.051) 0:02:30.963 ********* skipping: [/cache/rhel-7.qcow2] => (item=/dev/sdb1) => { "_storage_test_pool_member_path": "/dev/sdb1", "ansible_loop_var": "_storage_test_pool_member_path", "changed": false, "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-7.qcow2] => (item=/dev/sdc1) => { "_storage_test_pool_member_path": "/dev/sdc1", "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/tmpaxjje44y/tests/verify-pool-members-encryption.yml:15 Thursday 21 July 2022 14:11:38 +0000 (0:00:00.033) 0:02:30.996 ********* included: /tmp/tmpaxjje44y/tests/verify-pool-member-crypttab.yml for /cache/rhel-7.qcow2 => (item=/dev/sdb1) included: /tmp/tmpaxjje44y/tests/verify-pool-member-crypttab.yml for /cache/rhel-7.qcow2 => (item=/dev/sdc1) TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-member-crypttab.yml:1 Thursday 21 July 2022 14:11:38 +0000 (0:00:00.050) 0:02:31.047 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": [] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpaxjje44y/tests/verify-pool-member-crypttab.yml:6 Thursday 21 July 2022 14:11:39 +0000 (0:00:00.054) 0:02:31.101 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpaxjje44y/tests/verify-pool-member-crypttab.yml:11 Thursday 21 July 2022 14:11:39 +0000 (0:00:00.067) 0:02:31.169 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-member-crypttab.yml:17 Thursday 21 July 2022 14:11:39 +0000 (0:00:00.048) 0:02:31.217 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-member-crypttab.yml:23 Thursday 21 July 2022 14:11:39 +0000 (0:00:00.043) 0:02:31.261 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-member-crypttab.yml:29 Thursday 21 July 2022 14:11:39 +0000 (0:00:00.042) 0:02:31.303 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-member-crypttab.yml:1 Thursday 21 July 2022 14:11:39 +0000 (0:00:00.036) 0:02:31.340 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": [] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpaxjje44y/tests/verify-pool-member-crypttab.yml:6 Thursday 21 July 2022 14:11:39 +0000 (0:00:00.054) 0:02:31.394 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpaxjje44y/tests/verify-pool-member-crypttab.yml:11 Thursday 21 July 2022 14:11:39 +0000 (0:00:00.057) 0:02:31.451 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-member-crypttab.yml:17 Thursday 21 July 2022 14:11:39 +0000 (0:00:00.037) 0:02:31.489 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-member-crypttab.yml:23 Thursday 21 July 2022 14:11:39 +0000 (0:00:00.034) 0:02:31.523 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-member-crypttab.yml:29 Thursday 21 July 2022 14:11:39 +0000 (0:00:00.035) 0:02:31.559 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-members-encryption.yml:22 Thursday 21 July 2022 14:11:39 +0000 (0:00:00.038) 0:02:31.597 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-pool-members.yml:68 Thursday 21 July 2022 14:11:39 +0000 (0:00:00.032) 0:02:31.630 ********* included: /tmp/tmpaxjje44y/tests/verify-pool-members-vdo.yml for /cache/rhel-7.qcow2 TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-members-vdo.yml:1 Thursday 21 July 2022 14:11:39 +0000 (0:00:00.047) 0:02:31.677 ********* included: /tmp/tmpaxjje44y/tests/verify-pool-member-vdo.yml for /cache/rhel-7.qcow2 => (item={'_raw_device': '/dev/mapper/vg1-lv1', 'raid_metadata_version': None, 'raid_level': 'raid0', 'fs_type': 'xfs', 'mount_options': 'defaults', 'type': 'lvm', '_device': '/dev/mapper/vg1-lv1', 'size': '2g', 'mount_point': '/opt/test1', 'compression': None, 'encryption_password': None, '_kernel_device': '/dev/dm-2', 'encryption': False, 'mount_device_identifier': 'uuid', 'name': 'lv1', 'raid_device_count': None, 'state': 'present', 'vdo_pool_size': None, 'thin_pool_name': None, 'thin_pool_size': None, 'encryption_key_size': None, 'encryption_cipher': None, 'encryption_key': None, 'fs_label': '', 'encryption_luks_version': None, 'cache_size': 0, '_mount_id': '/dev/mapper/vg1-lv1', 'raid_spare_count': None, 'raid_disks': ['sdb', 'sdc'], '_raw_kernel_device': '/dev/dm-2', 'cache_mode': None, 'deduplication': None, 'cached': False, 'fs_overwrite_existing': True, 'disks': [], 'thin': False, 'mount_check': 0, 'mount_passno': 0, 'raid_chunk_size': None, 'cache_devices': [], 'fs_create_options': ''}) TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmpaxjje44y/tests/verify-pool-member-vdo.yml:3 Thursday 21 July 2022 14:11:39 +0000 (0:00:00.047) 0:02:31.724 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-member-vdo.yml:8 Thursday 21 July 2022 14:11:39 +0000 (0:00:00.026) 0:02:31.751 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-member-vdo.yml:11 Thursday 21 July 2022 14:11:39 +0000 (0:00:00.025) 0:02:31.776 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-member-vdo.yml:16 Thursday 21 July 2022 14:11:39 +0000 (0:00:00.065) 0:02:31.842 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-member-vdo.yml:21 Thursday 21 July 2022 14:11:39 +0000 (0:00:00.026) 0:02:31.868 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-member-vdo.yml:24 Thursday 21 July 2022 14:11:39 +0000 (0:00:00.024) 0:02:31.893 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-member-vdo.yml:29 Thursday 21 July 2022 14:11:39 +0000 (0:00:00.024) 0:02:31.917 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-member-vdo.yml:39 Thursday 21 July 2022 14:11:39 +0000 (0:00:00.027) 0:02:31.945 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-pool-members.yml:71 Thursday 21 July 2022 14:11:39 +0000 (0:00:00.035) 0:02:31.980 ********* ok: [/cache/rhel-7.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/tmpaxjje44y/tests/test-verify-pool-volumes.yml:3 Thursday 21 July 2022 14:11:39 +0000 (0:00:00.037) 0:02:32.018 ********* included: /tmp/tmpaxjje44y/tests/test-verify-volume.yml for /cache/rhel-7.qcow2 => (item={'_raw_device': '/dev/mapper/vg1-lv1', 'raid_metadata_version': None, 'raid_level': 'raid0', 'fs_type': 'xfs', 'mount_options': 'defaults', 'type': 'lvm', '_device': '/dev/mapper/vg1-lv1', 'size': '2g', 'mount_point': '/opt/test1', 'compression': None, 'encryption_password': None, '_kernel_device': '/dev/dm-2', 'encryption': False, 'mount_device_identifier': 'uuid', 'name': 'lv1', 'raid_device_count': None, 'state': 'present', 'vdo_pool_size': None, 'thin_pool_name': None, 'thin_pool_size': None, 'encryption_key_size': None, 'encryption_cipher': None, 'encryption_key': None, 'fs_label': '', 'encryption_luks_version': None, 'cache_size': 0, '_mount_id': '/dev/mapper/vg1-lv1', 'raid_spare_count': None, 'raid_disks': ['sdb', 'sdc'], '_raw_kernel_device': '/dev/dm-2', 'cache_mode': None, 'deduplication': None, 'cached': False, 'fs_overwrite_existing': True, 'disks': [], 'thin': False, 'mount_check': 0, 'mount_passno': 0, 'raid_chunk_size': None, 'cache_devices': [], 'fs_create_options': ''}) TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume.yml:2 Thursday 21 July 2022 14:11:39 +0000 (0:00:00.044) 0:02:32.062 ********* ok: [/cache/rhel-7.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/tmpaxjje44y/tests/test-verify-volume.yml:10 Thursday 21 July 2022 14:11:40 +0000 (0:00:00.050) 0:02:32.113 ********* included: /tmp/tmpaxjje44y/tests/test-verify-volume-mount.yml for /cache/rhel-7.qcow2 => (item=mount) included: /tmp/tmpaxjje44y/tests/test-verify-volume-fstab.yml for /cache/rhel-7.qcow2 => (item=fstab) included: /tmp/tmpaxjje44y/tests/test-verify-volume-fs.yml for /cache/rhel-7.qcow2 => (item=fs) included: /tmp/tmpaxjje44y/tests/test-verify-volume-device.yml for /cache/rhel-7.qcow2 => (item=device) included: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml for /cache/rhel-7.qcow2 => (item=encryption) included: /tmp/tmpaxjje44y/tests/test-verify-volume-md.yml for /cache/rhel-7.qcow2 => (item=md) included: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml for /cache/rhel-7.qcow2 => (item=size) included: /tmp/tmpaxjje44y/tests/test-verify-volume-cache.yml for /cache/rhel-7.qcow2 => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-mount.yml:6 Thursday 21 July 2022 14:11:40 +0000 (0:00:00.080) 0:02:32.193 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/vg1-lv1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-mount.yml:14 Thursday 21 July 2022 14:11:40 +0000 (0:00:00.041) 0:02:32.235 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 513304, "block_size": 4096, "block_total": 521600, "block_used": 8296, "device": "/dev/mapper/vg1-lv1", "fstype": "xfs", "inode_available": 1048317, "inode_total": 1048320, "inode_used": 3, "mount": "/opt/test1", "options": "rw,seclabel,relatime,attr2,inode64,logbsize=64k,sunit=128,swidth=256,noquota", "size_available": 2102493184, "size_total": 2136473600, "uuid": "a85ef6f5-8fe0-4935-bd15-fba137f7cbb8" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 513304, "block_size": 4096, "block_total": 521600, "block_used": 8296, "device": "/dev/mapper/vg1-lv1", "fstype": "xfs", "inode_available": 1048317, "inode_total": 1048320, "inode_used": 3, "mount": "/opt/test1", "options": "rw,seclabel,relatime,attr2,inode64,logbsize=64k,sunit=128,swidth=256,noquota", "size_available": 2102493184, "size_total": 2136473600, "uuid": "a85ef6f5-8fe0-4935-bd15-fba137f7cbb8" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-mount.yml:28 Thursday 21 July 2022 14:11:40 +0000 (0:00:00.059) 0:02:32.294 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-mount.yml:37 Thursday 21 July 2022 14:11:40 +0000 (0:00:00.052) 0:02:32.347 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpaxjje44y/tests/test-verify-volume-mount.yml:45 Thursday 21 July 2022 14:11:40 +0000 (0:00:00.052) 0:02:32.399 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-mount.yml:54 Thursday 21 July 2022 14:11:40 +0000 (0:00:00.053) 0:02:32.452 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-mount.yml:58 Thursday 21 July 2022 14:11:40 +0000 (0:00:00.025) 0:02:32.478 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-mount.yml:63 Thursday 21 July 2022 14:11:40 +0000 (0:00:00.025) 0:02:32.503 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-mount.yml:75 Thursday 21 July 2022 14:11:40 +0000 (0:00:00.025) 0:02:32.528 ********* ok: [/cache/rhel-7.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/tmpaxjje44y/tests/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 14:11:40 +0000 (0:00:00.036) 0:02:32.564 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "1", "storage_test_fstab_expected_mount_options_matches": "1", "storage_test_fstab_expected_mount_point_matches": "1", "storage_test_fstab_id_matches": [ "/dev/mapper/vg1-lv1 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test1 xfs defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test1 " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 14:11:40 +0000 (0:00:00.062) 0:02:32.627 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-fstab.yml:32 Thursday 21 July 2022 14:11:40 +0000 (0:00:00.051) 0:02:32.678 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-fstab.yml:39 Thursday 21 July 2022 14:11:40 +0000 (0:00:00.053) 0:02:32.732 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-fstab.yml:49 Thursday 21 July 2022 14:11:40 +0000 (0:00:00.039) 0:02:32.771 ********* ok: [/cache/rhel-7.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/tmpaxjje44y/tests/test-verify-volume-fs.yml:4 Thursday 21 July 2022 14:11:40 +0000 (0:00:00.036) 0:02:32.808 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-fs.yml:10 Thursday 21 July 2022 14:11:40 +0000 (0:00:00.040) 0:02:32.848 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-device.yml:4 Thursday 21 July 2022 14:11:40 +0000 (0:00:00.044) 0:02:32.892 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "stat": { "atime": 1658412692.3149724, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658412692.3149724, "dev": 5, "device_type": 64514, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 69696, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1658412692.3149724, "nlink": 1, "path": "/dev/mapper/vg1-lv1", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-device.yml:10 Thursday 21 July 2022 14:11:41 +0000 (0:00:00.328) 0:02:33.221 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-device.yml:18 Thursday 21 July 2022 14:11:41 +0000 (0:00:00.039) 0:02:33.260 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-device.yml:24 Thursday 21 July 2022 14:11:41 +0000 (0:00:00.038) 0:02:33.299 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-device.yml:28 Thursday 21 July 2022 14:11:41 +0000 (0:00:00.036) 0:02:33.336 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-device.yml:33 Thursday 21 July 2022 14:11:41 +0000 (0:00:00.023) 0:02:33.359 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 14:11:41 +0000 (0:00:00.077) 0:02:33.436 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 14:11:41 +0000 (0:00:00.033) 0:02:33.470 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "rc": 0, "results": [ "cryptsetup-2.0.3-6.el7.x86_64 providing cryptsetup is already installed" ] } TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 14:11:41 +0000 (0:00:00.586) 0:02:34.056 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 14:11:42 +0000 (0:00:00.025) 0:02:34.081 ********* skipping: [/cache/rhel-7.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/tmpaxjje44y/tests/test-verify-volume-encryption.yml:30 Thursday 21 July 2022 14:11:42 +0000 (0:00:00.023) 0:02:34.104 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:38 Thursday 21 July 2022 14:11:42 +0000 (0:00:00.051) 0:02:34.156 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 14:11:42 +0000 (0:00:00.023) 0:02:34.179 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:49 Thursday 21 July 2022 14:11:42 +0000 (0:00:00.027) 0:02:34.206 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:55 Thursday 21 July 2022 14:11:42 +0000 (0:00:00.025) 0:02:34.232 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:61 Thursday 21 July 2022 14:11:42 +0000 (0:00:00.025) 0:02:34.258 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 14:11:42 +0000 (0:00:00.025) 0:02:34.283 ********* ok: [/cache/rhel-7.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/tmpaxjje44y/tests/test-verify-volume-encryption.yml:74 Thursday 21 July 2022 14:11:42 +0000 (0:00:00.052) 0:02:34.336 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:79 Thursday 21 July 2022 14:11:42 +0000 (0:00:00.048) 0:02:34.384 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:85 Thursday 21 July 2022 14:11:42 +0000 (0:00:00.035) 0:02:34.420 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:91 Thursday 21 July 2022 14:11:42 +0000 (0:00:00.038) 0:02:34.459 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:97 Thursday 21 July 2022 14:11:42 +0000 (0:00:00.036) 0:02:34.496 ********* ok: [/cache/rhel-7.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/tmpaxjje44y/tests/test-verify-volume-md.yml:7 Thursday 21 July 2022 14:11:42 +0000 (0:00:00.039) 0:02:34.535 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-md.yml:13 Thursday 21 July 2022 14:11:42 +0000 (0:00:00.039) 0:02:34.575 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-md.yml:17 Thursday 21 July 2022 14:11:42 +0000 (0:00:00.044) 0:02:34.619 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-md.yml:21 Thursday 21 July 2022 14:11:42 +0000 (0:00:00.036) 0:02:34.656 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-md.yml:25 Thursday 21 July 2022 14:11:42 +0000 (0:00:00.035) 0:02:34.691 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-md.yml:31 Thursday 21 July 2022 14:11:42 +0000 (0:00:00.044) 0:02:34.736 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-md.yml:37 Thursday 21 July 2022 14:11:42 +0000 (0:00:00.048) 0:02:34.784 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:3 Thursday 21 July 2022 14:11:42 +0000 (0:00:00.040) 0:02:34.825 ********* ok: [/cache/rhel-7.qcow2] => { "bytes": 2147483648, "changed": false, "lvm": "2g", "parted": "2GiB", "size": "2 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:9 Thursday 21 July 2022 14:11:43 +0000 (0:00:00.329) 0:02:35.154 ********* ok: [/cache/rhel-7.qcow2] => { "bytes": 2147483648, "changed": false, "lvm": "2g", "parted": "2GiB", "size": "2 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:15 Thursday 21 July 2022 14:11:43 +0000 (0:00:00.324) 0:02:35.478 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_expected_size": "2147483648" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:20 Thursday 21 July 2022 14:11:43 +0000 (0:00:00.056) 0:02:35.535 ********* ok: [/cache/rhel-7.qcow2] => { "storage_test_expected_size": "2147483648" } TASK [debug] ******************************************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:25 Thursday 21 July 2022 14:11:43 +0000 (0:00:00.037) 0:02:35.573 ********* skipping: [/cache/rhel-7.qcow2] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:28 Thursday 21 July 2022 14:11:43 +0000 (0:00:00.038) 0:02:35.611 ********* skipping: [/cache/rhel-7.qcow2] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:31 Thursday 21 July 2022 14:11:43 +0000 (0:00:00.039) 0:02:35.651 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:36 Thursday 21 July 2022 14:11:43 +0000 (0:00:00.039) 0:02:35.691 ********* skipping: [/cache/rhel-7.qcow2] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:39 Thursday 21 July 2022 14:11:43 +0000 (0:00:00.038) 0:02:35.729 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:44 Thursday 21 July 2022 14:11:43 +0000 (0:00:00.036) 0:02:35.766 ********* ok: [/cache/rhel-7.qcow2] => { "storage_test_actual_size": { "bytes": 2147483648, "changed": false, "failed": false, "lvm": "2g", "parted": "2GiB", "size": "2 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:47 Thursday 21 July 2022 14:11:43 +0000 (0:00:00.094) 0:02:35.861 ********* ok: [/cache/rhel-7.qcow2] => { "storage_test_expected_size": "2147483648" } TASK [assert] ****************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:50 Thursday 21 July 2022 14:11:43 +0000 (0:00:00.041) 0:02:35.902 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-cache.yml:6 Thursday 21 July 2022 14:11:43 +0000 (0:00:00.092) 0:02:35.995 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "cmd": [ "lvs", "--noheadings", "--nameprefixes", "--units=b", "--nosuffix", "--unquoted", "-o", "name,attr,cache_total_blocks,chunk_size,segtype", "vg1/lv1" ], "delta": "0:00:00.024131", "end": "2022-07-21 10:11:43.997529", "rc": 0, "start": "2022-07-21 10:11:43.973398" } STDOUT: LVM2_LV_NAME=lv1 LVM2_LV_ATTR=rwi-aor--- LVM2_CACHE_TOTAL_BLOCKS= LVM2_CHUNK_SIZE=0 LVM2_SEGTYPE=raid0 TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-cache.yml:14 Thursday 21 July 2022 14:11:44 +0000 (0:00:00.374) 0:02:36.369 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_lv_segtype": [ "raid0" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-cache.yml:17 Thursday 21 July 2022 14:11:44 +0000 (0:00:00.087) 0:02:36.457 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-cache.yml:22 Thursday 21 July 2022 14:11:44 +0000 (0:00:00.101) 0:02:36.558 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-cache.yml:26 Thursday 21 July 2022 14:11:44 +0000 (0:00:00.093) 0:02:36.651 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-cache.yml:32 Thursday 21 July 2022 14:11:44 +0000 (0:00:00.040) 0:02:36.692 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-cache.yml:36 Thursday 21 July 2022 14:11:44 +0000 (0:00:00.039) 0:02:36.732 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume.yml:16 Thursday 21 July 2022 14:11:44 +0000 (0:00:00.039) 0:02:36.772 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpaxjje44y/tests/verify-role-results.yml:43 Thursday 21 July 2022 14:11:44 +0000 (0:00:00.040) 0:02:36.812 ********* TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpaxjje44y/tests/verify-role-results.yml:53 Thursday 21 July 2022 14:11:44 +0000 (0:00:00.023) 0:02:36.836 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Repeat the previous invocation to verify idempotence] ******************** task path: /tmp/tmpaxjje44y/tests/tests_create_raid_pool_then_remove.yml:172 Thursday 21 July 2022 14:11:44 +0000 (0:00:00.043) 0:02:36.879 ********* TASK [linux-system-roles.storage : set platform/version specific variables] **** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Thursday 21 July 2022 14:11:44 +0000 (0:00:00.080) 0:02:36.960 ********* included: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/set_vars.yml for /cache/rhel-7.qcow2 TASK [linux-system-roles.storage : Ensure ansible_facts used by role] ********** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Thursday 21 July 2022 14:11:44 +0000 (0:00:00.036) 0:02:36.997 ********* ok: [/cache/rhel-7.qcow2] TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Thursday 21 July 2022 14:11:45 +0000 (0:00:00.423) 0:02:37.420 ********* skipping: [/cache/rhel-7.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-7.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/rhel-7.qcow2] => (item=RedHat_7.yml) => { "ansible_facts": { "__storage_blivet_diskvolume_mkfs_option_map": { "ext2": "-F", "ext3": "-F", "ext4": "-F" }, "blivet_package_list": [ "python-enum34", "python-blivet3", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap" ] }, "ansible_included_var_files": [ "/tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/vars/RedHat_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_7.yml" } skipping: [/cache/rhel-7.qcow2] => (item=RedHat_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_7.9.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Thursday 21 July 2022 14:11:45 +0000 (0:00:00.065) 0:02:37.485 ********* ok: [/cache/rhel-7.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/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Thursday 21 July 2022 14:11:45 +0000 (0:00:00.036) 0:02:37.522 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : include the appropriate provider tasks] ***** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Thursday 21 July 2022 14:11:45 +0000 (0:00:00.037) 0:02:37.560 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml for /cache/rhel-7.qcow2 TASK [linux-system-roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 14:11:45 +0000 (0:00:00.047) 0:02:37.607 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure blivet is available] ************** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 14:11:45 +0000 (0:00:00.020) 0:02:37.628 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : show storage_pools] ************************* task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:14 Thursday 21 July 2022 14:11:45 +0000 (0:00:00.029) 0:02:37.658 ********* ok: [/cache/rhel-7.qcow2] => { "storage_pools": [ { "disks": [ "sdb", "sdc" ], "name": "vg1", "state": "present", "type": "lvm", "volumes": [ { "mount_point": "/opt/test1", "name": "lv1", "raid_disks": [ "sdb", "sdc" ], "raid_level": "raid0", "size": "2g" } ] } ] } TASK [linux-system-roles.storage : show storage_volumes] *********************** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:19 Thursday 21 July 2022 14:11:45 +0000 (0:00:00.043) 0:02:37.701 ********* ok: [/cache/rhel-7.qcow2] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [linux-system-roles.storage : get required packages] ********************** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:24 Thursday 21 July 2022 14:11:45 +0000 (0:00:00.034) 0:02:37.736 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : enable copr repositories if needed] ********* task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:37 Thursday 21 July 2022 14:11:45 +0000 (0:00:00.026) 0:02:37.763 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure required packages are installed] *** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:44 Thursday 21 July 2022 14:11:45 +0000 (0:00:00.028) 0:02:37.791 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : get service facts] ************************** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 Thursday 21 July 2022 14:11:45 +0000 (0:00:00.031) 0:02:37.823 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set storage_cryptsetup_services] ************ task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 14:11:45 +0000 (0:00:00.029) 0:02:37.852 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [linux-system-roles.storage : Mask the systemd cryptsetup services] ******* task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:71 Thursday 21 July 2022 14:11:45 +0000 (0:00:00.056) 0:02:37.909 ********* TASK [linux-system-roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Thursday 21 July 2022 14:11:45 +0000 (0:00:00.024) 0:02:37.933 ********* ok: [/cache/rhel-7.qcow2] => { "actions": [], "changed": false, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/sda", "/dev/mapper/vg1-lv1", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb", "/dev/vdc", "/dev/vdd" ], "mounts": [ { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/vg1-lv1", "state": "mounted" } ], "packages": [ "xfsprogs", "lvm2" ], "pools": [ { "disks": [ "sdb", "sdc" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_kernel_device": "/dev/dm-2", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "_raw_kernel_device": "/dev/dm-2", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sdb", "sdc" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [ "sdb", "sdc" ], "raid_level": "raid0", "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } TASK [linux-system-roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:91 Thursday 21 July 2022 14:11:47 +0000 (0:00:01.694) 0:02:39.627 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Unmask the systemd cryptsetup services] ***** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:103 Thursday 21 July 2022 14:11:47 +0000 (0:00:00.038) 0:02:39.666 ********* TASK [linux-system-roles.storage : show blivet_output] ************************* task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:109 Thursday 21 July 2022 14:11:47 +0000 (0:00:00.021) 0:02:39.688 ********* ok: [/cache/rhel-7.qcow2] => { "blivet_output": { "actions": [], "changed": false, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/sda", "/dev/mapper/vg1-lv1", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb", "/dev/vdc", "/dev/vdd" ], "mounts": [ { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/vg1-lv1", "state": "mounted" } ], "packages": [ "xfsprogs", "lvm2" ], "pools": [ { "disks": [ "sdb", "sdc" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_kernel_device": "/dev/dm-2", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "_raw_kernel_device": "/dev/dm-2", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sdb", "sdc" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [ "sdb", "sdc" ], "raid_level": "raid0", "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } } TASK [linux-system-roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:114 Thursday 21 July 2022 14:11:47 +0000 (0:00:00.040) 0:02:39.728 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sdb", "sdc" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_kernel_device": "/dev/dm-2", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "_raw_kernel_device": "/dev/dm-2", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sdb", "sdc" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [ "sdb", "sdc" ], "raid_level": "raid0", "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] }, "changed": false } TASK [linux-system-roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:118 Thursday 21 July 2022 14:11:47 +0000 (0:00:00.039) 0:02:39.768 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : remove obsolete mounts] ********************* task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:134 Thursday 21 July 2022 14:11:47 +0000 (0:00:00.039) 0:02:39.808 ********* TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:146 Thursday 21 July 2022 14:11:47 +0000 (0:00:00.040) 0:02:39.848 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : set up new/current mounts] ****************** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:151 Thursday 21 July 2022 14:11:48 +0000 (0:00:00.471) 0:02:40.320 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount ok: [/cache/rhel-7.qcow2] => (item={'src': '/dev/mapper/vg1-lv1', 'dump': 0, 'passno': 0, 'fstype': 'xfs', 'state': 'mounted', 'path': '/opt/test1', 'opts': 'defaults'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": false, "dump": "0", "fstab": "/etc/fstab", "fstype": "xfs", "mount_info": { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/vg1-lv1", "state": "mounted" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "/dev/mapper/vg1-lv1" } TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:163 Thursday 21 July 2022 14:11:48 +0000 (0:00:00.350) 0:02:40.671 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:171 Thursday 21 July 2022 14:11:49 +0000 (0:00:00.452) 0:02:41.124 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "stat": { "atime": 1658412558.1759725, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1658201031.524, "dev": 64769, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 70, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "inode/x-empty", "mode": "0600", "mtime": 1658200515.884, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "18446744071677828413", "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/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:176 Thursday 21 July 2022 14:11:49 +0000 (0:00:00.317) 0:02:41.441 ********* TASK [linux-system-roles.storage : Update facts] ******************************* task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 Thursday 21 July 2022 14:11:49 +0000 (0:00:00.022) 0:02:41.464 ********* ok: [/cache/rhel-7.qcow2] META: role_complete for /cache/rhel-7.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmpaxjje44y/tests/tests_create_raid_pool_then_remove.yml:188 Thursday 21 July 2022 14:11:50 +0000 (0:00:00.875) 0:02:42.339 ********* included: /tmp/tmpaxjje44y/tests/verify-role-results.yml for /cache/rhel-7.qcow2 TASK [Print out pool information] ********************************************** task path: /tmp/tmpaxjje44y/tests/verify-role-results.yml:1 Thursday 21 July 2022 14:11:50 +0000 (0:00:00.062) 0:02:42.401 ********* ok: [/cache/rhel-7.qcow2] => { "_storage_pools_list": [ { "disks": [ "sdb", "sdc" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_kernel_device": "/dev/dm-2", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "_raw_kernel_device": "/dev/dm-2", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sdb", "sdc" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [ "sdb", "sdc" ], "raid_level": "raid0", "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] } TASK [Print out volume information] ******************************************** task path: /tmp/tmpaxjje44y/tests/verify-role-results.yml:6 Thursday 21 July 2022 14:11:50 +0000 (0:00:00.052) 0:02:42.453 ********* skipping: [/cache/rhel-7.qcow2] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpaxjje44y/tests/verify-role-results.yml:14 Thursday 21 July 2022 14:11:50 +0000 (0:00:00.035) 0:02:42.489 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "info": { "/dev/fd0": { "fstype": "", "label": "", "name": "/dev/fd0", "size": "4K", "type": "disk", "uuid": "" }, "/dev/mapper/vg1-lv1": { "fstype": "xfs", "label": "", "name": "/dev/mapper/vg1-lv1", "size": "2G", "type": "lvm", "uuid": "a85ef6f5-8fe0-4935-bd15-fba137f7cbb8" }, "/dev/mapper/vg1-lv1_rimage_0": { "fstype": "", "label": "", "name": "/dev/mapper/vg1-lv1_rimage_0", "size": "1G", "type": "lvm", "uuid": "" }, "/dev/mapper/vg1-lv1_rimage_1": { "fstype": "", "label": "", "name": "/dev/mapper/vg1-lv1_rimage_1", "size": "1G", "type": "lvm", "uuid": "" }, "/dev/nvme0n1": { "fstype": "", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme1n1": { "fstype": "", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme2n1": { "fstype": "", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda": { "fstype": "", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdb": { "fstype": "", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdb1": { "fstype": "LVM2_member", "label": "", "name": "/dev/sdb1", "size": "10G", "type": "partition", "uuid": "e3wgkm-cPqz-XWDf-dPCo-nUhO-lKtw-peBl3B" }, "/dev/sdc": { "fstype": "", "label": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdc1": { "fstype": "LVM2_member", "label": "", "name": "/dev/sdc1", "size": "10G", "type": "partition", "uuid": "jzbuPH-L63V-FQ6J-wnMN-UjaB-NGJo-xViWm2" }, "/dev/sr0": { "fstype": "iso9660", "label": "cidata", "name": "/dev/sr0", "size": "364K", "type": "rom", "uuid": "2022-07-21-14-08-55-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "xfs", "label": "", "name": "/dev/vda1", "size": "10G", "type": "partition", "uuid": "21864ae1-1c29-4009-a1c2-151e41d0e053" }, "/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/tmpaxjje44y/tests/verify-role-results.yml:19 Thursday 21 July 2022 14:11:50 +0000 (0:00:00.349) 0:02:42.839 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.003760", "end": "2022-07-21 10:11:50.819214", "rc": 0, "start": "2022-07-21 10:11:50.815454" } STDOUT: # # /etc/fstab # Created by anaconda on Tue Jul 19 03:15:15 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 # UUID=21864ae1-1c29-4009-a1c2-151e41d0e053 / xfs defaults 0 0 /dev/mapper/vg1-lv1 /opt/test1 xfs defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpaxjje44y/tests/verify-role-results.yml:24 Thursday 21 July 2022 14:11:51 +0000 (0:00:00.355) 0:02:43.195 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.003297", "end": "2022-07-21 10:11:51.169702", "failed_when_result": false, "rc": 0, "start": "2022-07-21 10:11:51.166405" } TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmpaxjje44y/tests/verify-role-results.yml:33 Thursday 21 July 2022 14:11:51 +0000 (0:00:00.346) 0:02:43.541 ********* included: /tmp/tmpaxjje44y/tests/test-verify-pool.yml for /cache/rhel-7.qcow2 => (item={'name': 'vg1', 'encryption_password': None, 'state': 'present', 'raid_metadata_version': None, 'encryption': False, 'encryption_key_size': None, 'disks': ['sdb', 'sdc'], 'raid_level': None, 'encryption_luks_version': None, 'raid_device_count': None, 'encryption_key': None, 'volumes': [{'_raw_device': '/dev/mapper/vg1-lv1', 'raid_metadata_version': None, 'raid_level': 'raid0', 'fs_type': 'xfs', 'mount_options': 'defaults', 'type': 'lvm', '_device': '/dev/mapper/vg1-lv1', 'size': '2g', 'mount_point': '/opt/test1', 'compression': None, 'encryption_password': None, '_kernel_device': '/dev/dm-2', 'encryption': False, 'mount_device_identifier': 'uuid', 'name': 'lv1', 'raid_device_count': None, 'state': 'present', 'vdo_pool_size': None, 'thin_pool_name': None, 'thin_pool_size': None, 'encryption_key_size': None, 'encryption_cipher': None, 'encryption_key': None, 'fs_label': '', 'encryption_luks_version': None, 'cache_size': 0, '_mount_id': '/dev/mapper/vg1-lv1', 'raid_spare_count': None, 'raid_disks': ['sdb', 'sdc'], '_raw_kernel_device': '/dev/dm-2', 'cache_mode': None, 'deduplication': None, 'cached': False, 'fs_overwrite_existing': True, 'disks': ['sdb', 'sdc'], 'thin': False, 'mount_check': 0, 'mount_passno': 0, 'raid_chunk_size': None, 'cache_devices': [], 'fs_create_options': ''}], 'raid_chunk_size': None, 'type': 'lvm', 'encryption_cipher': None, 'raid_spare_count': None}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-pool.yml:5 Thursday 21 July 2022 14:11:51 +0000 (0:00:00.060) 0:02:43.602 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-pool.yml:18 Thursday 21 July 2022 14:11:51 +0000 (0:00:00.034) 0:02:43.636 ********* included: /tmp/tmpaxjje44y/tests/test-verify-pool-members.yml for /cache/rhel-7.qcow2 => (item=members) included: /tmp/tmpaxjje44y/tests/test-verify-pool-volumes.yml for /cache/rhel-7.qcow2 => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-pool-members.yml:1 Thursday 21 July 2022 14:11:51 +0000 (0:00:00.043) 0:02:43.680 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_count": "2", "_storage_test_pool_pvs_lvm": [ "/dev/sdb1", "/dev/sdc1" ] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmpaxjje44y/tests/test-verify-pool-members.yml:10 Thursday 21 July 2022 14:11:51 +0000 (0:00:00.058) 0:02:43.738 ********* ok: [/cache/rhel-7.qcow2] => (item=/dev/sdb1) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/sdb1", "pv": "/dev/sdb1" } ok: [/cache/rhel-7.qcow2] => (item=/dev/sdc1) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/sdc1", "pv": "/dev/sdc1" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-pool-members.yml:19 Thursday 21 July 2022 14:11:52 +0000 (0:00:00.604) 0:02:44.343 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "__pvs_lvm_len": "2" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-pool-members.yml:23 Thursday 21 July 2022 14:11:52 +0000 (0:00:00.050) 0:02:44.393 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/sdb1", "/dev/sdc1" ] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-pool-members.yml:27 Thursday 21 July 2022 14:11:52 +0000 (0:00:00.052) 0:02:44.446 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-pool-members.yml:34 Thursday 21 July 2022 14:11:52 +0000 (0:00:00.048) 0:02:44.494 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-pool-members.yml:38 Thursday 21 July 2022 14:11:52 +0000 (0:00:00.036) 0:02:44.530 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_type": "partition" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-pool-members.yml:42 Thursday 21 July 2022 14:11:52 +0000 (0:00:00.050) 0:02:44.581 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-pool-members.yml:46 Thursday 21 July 2022 14:11:52 +0000 (0:00:00.029) 0:02:44.610 ********* ok: [/cache/rhel-7.qcow2] => (item=/dev/sdb1) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/sdb1" } MSG: All assertions passed ok: [/cache/rhel-7.qcow2] => (item=/dev/sdc1) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/sdc1" } MSG: All assertions passed TASK [Check MD RAID] *********************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-pool-members.yml:56 Thursday 21 July 2022 14:11:52 +0000 (0:00:00.055) 0:02:44.666 ********* included: /tmp/tmpaxjje44y/tests/verify-pool-md.yml for /cache/rhel-7.qcow2 TASK [get information about RAID] ********************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-md.yml:6 Thursday 21 July 2022 14:11:52 +0000 (0:00:00.046) 0:02:44.712 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-md.yml:12 Thursday 21 July 2022 14:11:52 +0000 (0:00:00.024) 0:02:44.737 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-md.yml:16 Thursday 21 July 2022 14:11:52 +0000 (0:00:00.024) 0:02:44.762 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-md.yml:20 Thursday 21 July 2022 14:11:52 +0000 (0:00:00.023) 0:02:44.785 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-md.yml:24 Thursday 21 July 2022 14:11:52 +0000 (0:00:00.027) 0:02:44.812 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-md.yml:30 Thursday 21 July 2022 14:11:52 +0000 (0:00:00.033) 0:02:44.846 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpaxjje44y/tests/verify-pool-md.yml:36 Thursday 21 July 2022 14:11:52 +0000 (0:00:00.028) 0:02:44.875 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-md.yml:44 Thursday 21 July 2022 14:11:52 +0000 (0:00:00.026) 0:02:44.902 ********* ok: [/cache/rhel-7.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/tmpaxjje44y/tests/test-verify-pool-members.yml:59 Thursday 21 July 2022 14:11:52 +0000 (0:00:00.042) 0:02:44.945 ********* included: /tmp/tmpaxjje44y/tests/verify-pool-members-lvmraid.yml for /cache/rhel-7.qcow2 TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-members-lvmraid.yml:1 Thursday 21 July 2022 14:11:52 +0000 (0:00:00.047) 0:02:44.992 ********* included: /tmp/tmpaxjje44y/tests/verify-pool-member-lvmraid.yml for /cache/rhel-7.qcow2 => (item={'_raw_device': '/dev/mapper/vg1-lv1', 'raid_metadata_version': None, 'raid_level': 'raid0', 'fs_type': 'xfs', 'mount_options': 'defaults', 'type': 'lvm', '_device': '/dev/mapper/vg1-lv1', 'size': '2g', 'mount_point': '/opt/test1', 'compression': None, 'encryption_password': None, '_kernel_device': '/dev/dm-2', 'encryption': False, 'mount_device_identifier': 'uuid', 'name': 'lv1', 'raid_device_count': None, 'state': 'present', 'vdo_pool_size': None, 'thin_pool_name': None, 'thin_pool_size': None, 'encryption_key_size': None, 'encryption_cipher': None, 'encryption_key': None, 'fs_label': '', 'encryption_luks_version': None, 'cache_size': 0, '_mount_id': '/dev/mapper/vg1-lv1', 'raid_spare_count': None, 'raid_disks': ['sdb', 'sdc'], '_raw_kernel_device': '/dev/dm-2', 'cache_mode': None, 'deduplication': None, 'cached': False, 'fs_overwrite_existing': True, 'disks': ['sdb', 'sdc'], 'thin': False, 'mount_check': 0, 'mount_passno': 0, 'raid_chunk_size': None, 'cache_devices': [], 'fs_create_options': ''}) TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-member-lvmraid.yml:3 Thursday 21 July 2022 14:11:52 +0000 (0:00:00.046) 0:02:45.038 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "cmd": [ "lvs", "--noheading", "-o", "lv_name", "--select", "lv_name=lv1&&lv_layout=raid0", "vg1" ], "delta": "0:00:00.026698", "end": "2022-07-21 10:11:53.028402", "rc": 0, "start": "2022-07-21 10:11:53.001704" } STDOUT: lv1 TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmpaxjje44y/tests/verify-pool-member-lvmraid.yml:8 Thursday 21 July 2022 14:11:53 +0000 (0:00:00.398) 0:02:45.437 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-member-lvmraid.yml:12 Thursday 21 July 2022 14:11:53 +0000 (0:00:00.058) 0:02:45.495 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_lvmraid_status": null }, "changed": false } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-pool-members.yml:62 Thursday 21 July 2022 14:11:53 +0000 (0:00:00.045) 0:02:45.541 ********* included: /tmp/tmpaxjje44y/tests/verify-pool-members-thin.yml for /cache/rhel-7.qcow2 TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-members-thin.yml:1 Thursday 21 July 2022 14:11:53 +0000 (0:00:00.047) 0:02:45.588 ********* included: /tmp/tmpaxjje44y/tests/verify-pool-member-thin.yml for /cache/rhel-7.qcow2 => (item={'_raw_device': '/dev/mapper/vg1-lv1', 'raid_metadata_version': None, 'raid_level': 'raid0', 'fs_type': 'xfs', 'mount_options': 'defaults', 'type': 'lvm', '_device': '/dev/mapper/vg1-lv1', 'size': '2g', 'mount_point': '/opt/test1', 'compression': None, 'encryption_password': None, '_kernel_device': '/dev/dm-2', 'encryption': False, 'mount_device_identifier': 'uuid', 'name': 'lv1', 'raid_device_count': None, 'state': 'present', 'vdo_pool_size': None, 'thin_pool_name': None, 'thin_pool_size': None, 'encryption_key_size': None, 'encryption_cipher': None, 'encryption_key': None, 'fs_label': '', 'encryption_luks_version': None, 'cache_size': 0, '_mount_id': '/dev/mapper/vg1-lv1', 'raid_spare_count': None, 'raid_disks': ['sdb', 'sdc'], '_raw_kernel_device': '/dev/dm-2', 'cache_mode': None, 'deduplication': None, 'cached': False, 'fs_overwrite_existing': True, 'disks': ['sdb', 'sdc'], 'thin': False, 'mount_check': 0, 'mount_passno': 0, 'raid_chunk_size': None, 'cache_devices': [], 'fs_create_options': ''}) TASK [Get information about thinpool] ****************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-member-thin.yml:3 Thursday 21 July 2022 14:11:53 +0000 (0:00:00.044) 0:02:45.633 ********* skipping: [/cache/rhel-7.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/tmpaxjje44y/tests/verify-pool-member-thin.yml:8 Thursday 21 July 2022 14:11:53 +0000 (0:00:00.027) 0:02:45.660 ********* skipping: [/cache/rhel-7.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/tmpaxjje44y/tests/verify-pool-member-thin.yml:13 Thursday 21 July 2022 14:11:53 +0000 (0:00:00.024) 0:02:45.685 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-member-thin.yml:17 Thursday 21 July 2022 14:11:53 +0000 (0:00:00.024) 0:02:45.709 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-pool-members.yml:65 Thursday 21 July 2022 14:11:53 +0000 (0:00:00.026) 0:02:45.735 ********* included: /tmp/tmpaxjje44y/tests/verify-pool-members-encryption.yml for /cache/rhel-7.qcow2 TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-members-encryption.yml:4 Thursday 21 July 2022 14:11:53 +0000 (0:00:00.048) 0:02:45.784 ********* ok: [/cache/rhel-7.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/tmpaxjje44y/tests/verify-pool-members-encryption.yml:8 Thursday 21 July 2022 14:11:53 +0000 (0:00:00.051) 0:02:45.835 ********* skipping: [/cache/rhel-7.qcow2] => (item=/dev/sdb1) => { "_storage_test_pool_member_path": "/dev/sdb1", "ansible_loop_var": "_storage_test_pool_member_path", "changed": false, "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-7.qcow2] => (item=/dev/sdc1) => { "_storage_test_pool_member_path": "/dev/sdc1", "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/tmpaxjje44y/tests/verify-pool-members-encryption.yml:15 Thursday 21 July 2022 14:11:53 +0000 (0:00:00.033) 0:02:45.869 ********* included: /tmp/tmpaxjje44y/tests/verify-pool-member-crypttab.yml for /cache/rhel-7.qcow2 => (item=/dev/sdb1) included: /tmp/tmpaxjje44y/tests/verify-pool-member-crypttab.yml for /cache/rhel-7.qcow2 => (item=/dev/sdc1) TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-member-crypttab.yml:1 Thursday 21 July 2022 14:11:53 +0000 (0:00:00.048) 0:02:45.918 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": [] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpaxjje44y/tests/verify-pool-member-crypttab.yml:6 Thursday 21 July 2022 14:11:53 +0000 (0:00:00.053) 0:02:45.972 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpaxjje44y/tests/verify-pool-member-crypttab.yml:11 Thursday 21 July 2022 14:11:53 +0000 (0:00:00.051) 0:02:46.023 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-member-crypttab.yml:17 Thursday 21 July 2022 14:11:53 +0000 (0:00:00.038) 0:02:46.062 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-member-crypttab.yml:23 Thursday 21 July 2022 14:11:54 +0000 (0:00:00.037) 0:02:46.100 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-member-crypttab.yml:29 Thursday 21 July 2022 14:11:54 +0000 (0:00:00.042) 0:02:46.142 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-member-crypttab.yml:1 Thursday 21 July 2022 14:11:54 +0000 (0:00:00.035) 0:02:46.178 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": [] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmpaxjje44y/tests/verify-pool-member-crypttab.yml:6 Thursday 21 July 2022 14:11:54 +0000 (0:00:00.057) 0:02:46.235 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpaxjje44y/tests/verify-pool-member-crypttab.yml:11 Thursday 21 July 2022 14:11:54 +0000 (0:00:00.053) 0:02:46.289 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-member-crypttab.yml:17 Thursday 21 July 2022 14:11:54 +0000 (0:00:00.039) 0:02:46.328 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-member-crypttab.yml:23 Thursday 21 July 2022 14:11:54 +0000 (0:00:00.037) 0:02:46.366 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-member-crypttab.yml:29 Thursday 21 July 2022 14:11:54 +0000 (0:00:00.035) 0:02:46.401 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-members-encryption.yml:22 Thursday 21 July 2022 14:11:54 +0000 (0:00:00.036) 0:02:46.438 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-pool-members.yml:68 Thursday 21 July 2022 14:11:54 +0000 (0:00:00.032) 0:02:46.470 ********* included: /tmp/tmpaxjje44y/tests/verify-pool-members-vdo.yml for /cache/rhel-7.qcow2 TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-members-vdo.yml:1 Thursday 21 July 2022 14:11:54 +0000 (0:00:00.048) 0:02:46.518 ********* included: /tmp/tmpaxjje44y/tests/verify-pool-member-vdo.yml for /cache/rhel-7.qcow2 => (item={'_raw_device': '/dev/mapper/vg1-lv1', 'raid_metadata_version': None, 'raid_level': 'raid0', 'fs_type': 'xfs', 'mount_options': 'defaults', 'type': 'lvm', '_device': '/dev/mapper/vg1-lv1', 'size': '2g', 'mount_point': '/opt/test1', 'compression': None, 'encryption_password': None, '_kernel_device': '/dev/dm-2', 'encryption': False, 'mount_device_identifier': 'uuid', 'name': 'lv1', 'raid_device_count': None, 'state': 'present', 'vdo_pool_size': None, 'thin_pool_name': None, 'thin_pool_size': None, 'encryption_key_size': None, 'encryption_cipher': None, 'encryption_key': None, 'fs_label': '', 'encryption_luks_version': None, 'cache_size': 0, '_mount_id': '/dev/mapper/vg1-lv1', 'raid_spare_count': None, 'raid_disks': ['sdb', 'sdc'], '_raw_kernel_device': '/dev/dm-2', 'cache_mode': None, 'deduplication': None, 'cached': False, 'fs_overwrite_existing': True, 'disks': ['sdb', 'sdc'], 'thin': False, 'mount_check': 0, 'mount_passno': 0, 'raid_chunk_size': None, 'cache_devices': [], 'fs_create_options': ''}) TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmpaxjje44y/tests/verify-pool-member-vdo.yml:3 Thursday 21 July 2022 14:11:54 +0000 (0:00:00.047) 0:02:46.566 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-member-vdo.yml:8 Thursday 21 July 2022 14:11:54 +0000 (0:00:00.027) 0:02:46.594 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-member-vdo.yml:11 Thursday 21 July 2022 14:11:54 +0000 (0:00:00.025) 0:02:46.619 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-member-vdo.yml:16 Thursday 21 July 2022 14:11:54 +0000 (0:00:00.026) 0:02:46.645 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-member-vdo.yml:21 Thursday 21 July 2022 14:11:54 +0000 (0:00:00.025) 0:02:46.671 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-member-vdo.yml:24 Thursday 21 July 2022 14:11:54 +0000 (0:00:00.023) 0:02:46.695 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-member-vdo.yml:29 Thursday 21 July 2022 14:11:54 +0000 (0:00:00.025) 0:02:46.721 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-member-vdo.yml:39 Thursday 21 July 2022 14:11:54 +0000 (0:00:00.061) 0:02:46.782 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-pool-members.yml:71 Thursday 21 July 2022 14:11:54 +0000 (0:00:00.036) 0:02:46.819 ********* ok: [/cache/rhel-7.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/tmpaxjje44y/tests/test-verify-pool-volumes.yml:3 Thursday 21 July 2022 14:11:54 +0000 (0:00:00.047) 0:02:46.867 ********* included: /tmp/tmpaxjje44y/tests/test-verify-volume.yml for /cache/rhel-7.qcow2 => (item={'_raw_device': '/dev/mapper/vg1-lv1', 'raid_metadata_version': None, 'raid_level': 'raid0', 'fs_type': 'xfs', 'mount_options': 'defaults', 'type': 'lvm', '_device': '/dev/mapper/vg1-lv1', 'size': '2g', 'mount_point': '/opt/test1', 'compression': None, 'encryption_password': None, '_kernel_device': '/dev/dm-2', 'encryption': False, 'mount_device_identifier': 'uuid', 'name': 'lv1', 'raid_device_count': None, 'state': 'present', 'vdo_pool_size': None, 'thin_pool_name': None, 'thin_pool_size': None, 'encryption_key_size': None, 'encryption_cipher': None, 'encryption_key': None, 'fs_label': '', 'encryption_luks_version': None, 'cache_size': 0, '_mount_id': '/dev/mapper/vg1-lv1', 'raid_spare_count': None, 'raid_disks': ['sdb', 'sdc'], '_raw_kernel_device': '/dev/dm-2', 'cache_mode': None, 'deduplication': None, 'cached': False, 'fs_overwrite_existing': True, 'disks': ['sdb', 'sdc'], 'thin': False, 'mount_check': 0, 'mount_passno': 0, 'raid_chunk_size': None, 'cache_devices': [], 'fs_create_options': ''}) TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume.yml:2 Thursday 21 July 2022 14:11:54 +0000 (0:00:00.055) 0:02:46.922 ********* ok: [/cache/rhel-7.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/tmpaxjje44y/tests/test-verify-volume.yml:10 Thursday 21 July 2022 14:11:54 +0000 (0:00:00.056) 0:02:46.979 ********* included: /tmp/tmpaxjje44y/tests/test-verify-volume-mount.yml for /cache/rhel-7.qcow2 => (item=mount) included: /tmp/tmpaxjje44y/tests/test-verify-volume-fstab.yml for /cache/rhel-7.qcow2 => (item=fstab) included: /tmp/tmpaxjje44y/tests/test-verify-volume-fs.yml for /cache/rhel-7.qcow2 => (item=fs) included: /tmp/tmpaxjje44y/tests/test-verify-volume-device.yml for /cache/rhel-7.qcow2 => (item=device) included: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml for /cache/rhel-7.qcow2 => (item=encryption) included: /tmp/tmpaxjje44y/tests/test-verify-volume-md.yml for /cache/rhel-7.qcow2 => (item=md) included: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml for /cache/rhel-7.qcow2 => (item=size) included: /tmp/tmpaxjje44y/tests/test-verify-volume-cache.yml for /cache/rhel-7.qcow2 => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-mount.yml:6 Thursday 21 July 2022 14:11:54 +0000 (0:00:00.094) 0:02:47.074 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/vg1-lv1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-mount.yml:14 Thursday 21 July 2022 14:11:55 +0000 (0:00:00.045) 0:02:47.119 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 513304, "block_size": 4096, "block_total": 521600, "block_used": 8296, "device": "/dev/mapper/vg1-lv1", "fstype": "xfs", "inode_available": 1048317, "inode_total": 1048320, "inode_used": 3, "mount": "/opt/test1", "options": "rw,seclabel,relatime,attr2,inode64,logbsize=64k,sunit=128,swidth=256,noquota", "size_available": 2102493184, "size_total": 2136473600, "uuid": "a85ef6f5-8fe0-4935-bd15-fba137f7cbb8" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 513304, "block_size": 4096, "block_total": 521600, "block_used": 8296, "device": "/dev/mapper/vg1-lv1", "fstype": "xfs", "inode_available": 1048317, "inode_total": 1048320, "inode_used": 3, "mount": "/opt/test1", "options": "rw,seclabel,relatime,attr2,inode64,logbsize=64k,sunit=128,swidth=256,noquota", "size_available": 2102493184, "size_total": 2136473600, "uuid": "a85ef6f5-8fe0-4935-bd15-fba137f7cbb8" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-mount.yml:28 Thursday 21 July 2022 14:11:55 +0000 (0:00:00.061) 0:02:47.181 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-mount.yml:37 Thursday 21 July 2022 14:11:55 +0000 (0:00:00.052) 0:02:47.234 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpaxjje44y/tests/test-verify-volume-mount.yml:45 Thursday 21 July 2022 14:11:55 +0000 (0:00:00.050) 0:02:47.284 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-mount.yml:54 Thursday 21 July 2022 14:11:55 +0000 (0:00:00.053) 0:02:47.338 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-mount.yml:58 Thursday 21 July 2022 14:11:55 +0000 (0:00:00.023) 0:02:47.361 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-mount.yml:63 Thursday 21 July 2022 14:11:55 +0000 (0:00:00.025) 0:02:47.386 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-mount.yml:75 Thursday 21 July 2022 14:11:55 +0000 (0:00:00.025) 0:02:47.412 ********* ok: [/cache/rhel-7.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/tmpaxjje44y/tests/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 14:11:55 +0000 (0:00:00.040) 0:02:47.452 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "1", "storage_test_fstab_expected_mount_options_matches": "1", "storage_test_fstab_expected_mount_point_matches": "1", "storage_test_fstab_id_matches": [ "/dev/mapper/vg1-lv1 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test1 xfs defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test1 " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 14:11:55 +0000 (0:00:00.061) 0:02:47.514 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-fstab.yml:32 Thursday 21 July 2022 14:11:55 +0000 (0:00:00.051) 0:02:47.565 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-fstab.yml:39 Thursday 21 July 2022 14:11:55 +0000 (0:00:00.054) 0:02:47.620 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-fstab.yml:49 Thursday 21 July 2022 14:11:55 +0000 (0:00:00.040) 0:02:47.660 ********* ok: [/cache/rhel-7.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/tmpaxjje44y/tests/test-verify-volume-fs.yml:4 Thursday 21 July 2022 14:11:55 +0000 (0:00:00.038) 0:02:47.698 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-fs.yml:10 Thursday 21 July 2022 14:11:55 +0000 (0:00:00.041) 0:02:47.740 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-device.yml:4 Thursday 21 July 2022 14:11:55 +0000 (0:00:00.046) 0:02:47.786 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "stat": { "atime": 1658412692.3149724, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658412692.3149724, "dev": 5, "device_type": 64514, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 69696, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1658412692.3149724, "nlink": 1, "path": "/dev/mapper/vg1-lv1", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-device.yml:10 Thursday 21 July 2022 14:11:56 +0000 (0:00:00.319) 0:02:48.106 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-device.yml:18 Thursday 21 July 2022 14:11:56 +0000 (0:00:00.038) 0:02:48.145 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-device.yml:24 Thursday 21 July 2022 14:11:56 +0000 (0:00:00.040) 0:02:48.185 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-device.yml:28 Thursday 21 July 2022 14:11:56 +0000 (0:00:00.040) 0:02:48.225 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-device.yml:33 Thursday 21 July 2022 14:11:56 +0000 (0:00:00.026) 0:02:48.252 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 14:11:56 +0000 (0:00:00.038) 0:02:48.291 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 14:11:56 +0000 (0:00:00.025) 0:02:48.317 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "rc": 0, "results": [ "cryptsetup-2.0.3-6.el7.x86_64 providing cryptsetup is already installed" ] } TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 14:11:56 +0000 (0:00:00.534) 0:02:48.851 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 14:11:56 +0000 (0:00:00.025) 0:02:48.876 ********* skipping: [/cache/rhel-7.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/tmpaxjje44y/tests/test-verify-volume-encryption.yml:30 Thursday 21 July 2022 14:11:56 +0000 (0:00:00.025) 0:02:48.902 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:38 Thursday 21 July 2022 14:11:56 +0000 (0:00:00.052) 0:02:48.955 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 14:11:56 +0000 (0:00:00.025) 0:02:48.981 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:49 Thursday 21 July 2022 14:11:56 +0000 (0:00:00.025) 0:02:49.006 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:55 Thursday 21 July 2022 14:11:56 +0000 (0:00:00.023) 0:02:49.030 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:61 Thursday 21 July 2022 14:11:56 +0000 (0:00:00.024) 0:02:49.054 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 14:11:56 +0000 (0:00:00.022) 0:02:49.077 ********* ok: [/cache/rhel-7.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/tmpaxjje44y/tests/test-verify-volume-encryption.yml:74 Thursday 21 July 2022 14:11:57 +0000 (0:00:00.049) 0:02:49.126 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:79 Thursday 21 July 2022 14:11:57 +0000 (0:00:00.052) 0:02:49.178 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:85 Thursday 21 July 2022 14:11:57 +0000 (0:00:00.038) 0:02:49.217 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:91 Thursday 21 July 2022 14:11:57 +0000 (0:00:00.035) 0:02:49.252 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:97 Thursday 21 July 2022 14:11:57 +0000 (0:00:00.035) 0:02:49.288 ********* ok: [/cache/rhel-7.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/tmpaxjje44y/tests/test-verify-volume-md.yml:7 Thursday 21 July 2022 14:11:57 +0000 (0:00:00.040) 0:02:49.328 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-md.yml:13 Thursday 21 July 2022 14:11:57 +0000 (0:00:00.038) 0:02:49.366 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-md.yml:17 Thursday 21 July 2022 14:11:57 +0000 (0:00:00.038) 0:02:49.405 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-md.yml:21 Thursday 21 July 2022 14:11:57 +0000 (0:00:00.036) 0:02:49.441 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-md.yml:25 Thursday 21 July 2022 14:11:57 +0000 (0:00:00.039) 0:02:49.481 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-md.yml:31 Thursday 21 July 2022 14:11:57 +0000 (0:00:00.035) 0:02:49.517 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-md.yml:37 Thursday 21 July 2022 14:11:57 +0000 (0:00:00.035) 0:02:49.553 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:3 Thursday 21 July 2022 14:11:57 +0000 (0:00:00.035) 0:02:49.588 ********* ok: [/cache/rhel-7.qcow2] => { "bytes": 2147483648, "changed": false, "lvm": "2g", "parted": "2GiB", "size": "2 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:9 Thursday 21 July 2022 14:11:57 +0000 (0:00:00.328) 0:02:49.916 ********* ok: [/cache/rhel-7.qcow2] => { "bytes": 2147483648, "changed": false, "lvm": "2g", "parted": "2GiB", "size": "2 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:15 Thursday 21 July 2022 14:11:58 +0000 (0:00:00.327) 0:02:50.244 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_expected_size": "2147483648" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:20 Thursday 21 July 2022 14:11:58 +0000 (0:00:00.052) 0:02:50.296 ********* ok: [/cache/rhel-7.qcow2] => { "storage_test_expected_size": "2147483648" } TASK [debug] ******************************************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:25 Thursday 21 July 2022 14:11:58 +0000 (0:00:00.038) 0:02:50.335 ********* skipping: [/cache/rhel-7.qcow2] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:28 Thursday 21 July 2022 14:11:58 +0000 (0:00:00.041) 0:02:50.377 ********* skipping: [/cache/rhel-7.qcow2] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:31 Thursday 21 July 2022 14:11:58 +0000 (0:00:00.043) 0:02:50.420 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:36 Thursday 21 July 2022 14:11:58 +0000 (0:00:00.040) 0:02:50.460 ********* skipping: [/cache/rhel-7.qcow2] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:39 Thursday 21 July 2022 14:11:58 +0000 (0:00:00.040) 0:02:50.501 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:44 Thursday 21 July 2022 14:11:58 +0000 (0:00:00.047) 0:02:50.548 ********* ok: [/cache/rhel-7.qcow2] => { "storage_test_actual_size": { "bytes": 2147483648, "changed": false, "failed": false, "lvm": "2g", "parted": "2GiB", "size": "2 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:47 Thursday 21 July 2022 14:11:58 +0000 (0:00:00.038) 0:02:50.587 ********* ok: [/cache/rhel-7.qcow2] => { "storage_test_expected_size": "2147483648" } TASK [assert] ****************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:50 Thursday 21 July 2022 14:11:58 +0000 (0:00:00.038) 0:02:50.626 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-cache.yml:6 Thursday 21 July 2022 14:11:58 +0000 (0:00:00.123) 0:02:50.749 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "cmd": [ "lvs", "--noheadings", "--nameprefixes", "--units=b", "--nosuffix", "--unquoted", "-o", "name,attr,cache_total_blocks,chunk_size,segtype", "vg1/lv1" ], "delta": "0:00:00.026025", "end": "2022-07-21 10:11:58.730628", "rc": 0, "start": "2022-07-21 10:11:58.704603" } STDOUT: LVM2_LV_NAME=lv1 LVM2_LV_ATTR=rwi-aor--- LVM2_CACHE_TOTAL_BLOCKS= LVM2_CHUNK_SIZE=0 LVM2_SEGTYPE=raid0 TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-cache.yml:14 Thursday 21 July 2022 14:11:59 +0000 (0:00:00.357) 0:02:51.107 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_lv_segtype": [ "raid0" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-cache.yml:17 Thursday 21 July 2022 14:11:59 +0000 (0:00:00.100) 0:02:51.207 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-cache.yml:22 Thursday 21 July 2022 14:11:59 +0000 (0:00:00.133) 0:02:51.340 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-cache.yml:26 Thursday 21 July 2022 14:11:59 +0000 (0:00:00.040) 0:02:51.381 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-cache.yml:32 Thursday 21 July 2022 14:11:59 +0000 (0:00:00.040) 0:02:51.421 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-cache.yml:36 Thursday 21 July 2022 14:11:59 +0000 (0:00:00.039) 0:02:51.460 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume.yml:16 Thursday 21 July 2022 14:11:59 +0000 (0:00:00.037) 0:02:51.498 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpaxjje44y/tests/verify-role-results.yml:43 Thursday 21 July 2022 14:11:59 +0000 (0:00:00.038) 0:02:51.537 ********* TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpaxjje44y/tests/verify-role-results.yml:53 Thursday 21 July 2022 14:11:59 +0000 (0:00:00.022) 0:02:51.559 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Remove the device created above] ***************************************** task path: /tmp/tmpaxjje44y/tests/tests_create_raid_pool_then_remove.yml:190 Thursday 21 July 2022 14:11:59 +0000 (0:00:00.039) 0:02:51.599 ********* TASK [linux-system-roles.storage : set platform/version specific variables] **** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main.yml:2 Thursday 21 July 2022 14:11:59 +0000 (0:00:00.088) 0:02:51.688 ********* included: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/set_vars.yml for /cache/rhel-7.qcow2 TASK [linux-system-roles.storage : Ensure ansible_facts used by role] ********** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:2 Thursday 21 July 2022 14:11:59 +0000 (0:00:00.037) 0:02:51.726 ********* ok: [/cache/rhel-7.qcow2] TASK [linux-system-roles.storage : Set platform/version specific variables] **** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/set_vars.yml:8 Thursday 21 July 2022 14:12:00 +0000 (0:00:00.428) 0:02:52.154 ********* skipping: [/cache/rhel-7.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-7.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/rhel-7.qcow2] => (item=RedHat_7.yml) => { "ansible_facts": { "__storage_blivet_diskvolume_mkfs_option_map": { "ext2": "-F", "ext3": "-F", "ext4": "-F" }, "blivet_package_list": [ "python-enum34", "python-blivet3", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap" ] }, "ansible_included_var_files": [ "/tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/vars/RedHat_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_7.yml" } skipping: [/cache/rhel-7.qcow2] => (item=RedHat_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_7.9.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main.yml:5 Thursday 21 July 2022 14:12:00 +0000 (0:00:00.065) 0:02:52.220 ********* ok: [/cache/rhel-7.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/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main.yml:9 Thursday 21 July 2022 14:12:00 +0000 (0:00:00.039) 0:02:52.259 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : include the appropriate provider tasks] ***** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main.yml:13 Thursday 21 July 2022 14:12:00 +0000 (0:00:00.036) 0:02:52.296 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml for /cache/rhel-7.qcow2 TASK [linux-system-roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 14:12:00 +0000 (0:00:00.047) 0:02:52.343 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure blivet is available] ************** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 14:12:00 +0000 (0:00:00.020) 0:02:52.363 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : show storage_pools] ************************* task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:14 Thursday 21 July 2022 14:12:00 +0000 (0:00:00.030) 0:02:52.393 ********* ok: [/cache/rhel-7.qcow2] => { "storage_pools": [ { "disks": [ "sdb", "sdc" ], "name": "vg1", "state": "absent", "type": "lvm", "volumes": [ { "mount_point": "/opt/test1", "name": "lv1", "raid_disks": [ "sdb", "sdc" ], "raid_level": "raid0", "size": "2g" } ] } ] } TASK [linux-system-roles.storage : show storage_volumes] *********************** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:19 Thursday 21 July 2022 14:12:00 +0000 (0:00:00.041) 0:02:52.435 ********* ok: [/cache/rhel-7.qcow2] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [linux-system-roles.storage : get required packages] ********************** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:24 Thursday 21 July 2022 14:12:00 +0000 (0:00:00.041) 0:02:52.476 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : enable copr repositories if needed] ********* task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:37 Thursday 21 July 2022 14:12:00 +0000 (0:00:00.028) 0:02:52.505 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : make sure required packages are installed] *** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:44 Thursday 21 July 2022 14:12:00 +0000 (0:00:00.027) 0:02:52.533 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : get service facts] ************************** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 Thursday 21 July 2022 14:12:00 +0000 (0:00:00.030) 0:02:52.563 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Set storage_cryptsetup_services] ************ task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 14:12:00 +0000 (0:00:00.029) 0:02:52.593 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [linux-system-roles.storage : Mask the systemd cryptsetup services] ******* task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:71 Thursday 21 July 2022 14:12:00 +0000 (0:00:00.059) 0:02:52.653 ********* TASK [linux-system-roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Thursday 21 July 2022 14:12:00 +0000 (0:00:00.023) 0:02:52.677 ********* changed: [/cache/rhel-7.qcow2] => { "actions": [ { "action": "destroy format", "device": "/dev/mapper/vg1-lv1", "fs_type": "xfs" }, { "action": "destroy device", "device": "/dev/mapper/vg1-lv1", "fs_type": null }, { "action": "destroy device", "device": "/dev/vg1", "fs_type": null }, { "action": "destroy format", "device": "/dev/sdc1", "fs_type": "lvmpv" }, { "action": "destroy device", "device": "/dev/sdc1", "fs_type": null }, { "action": "destroy format", "device": "/dev/sdc", "fs_type": "disklabel" }, { "action": "destroy format", "device": "/dev/sdb1", "fs_type": "lvmpv" }, { "action": "destroy device", "device": "/dev/sdb1", "fs_type": null }, { "action": "destroy format", "device": "/dev/sdb", "fs_type": "disklabel" } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb", "/dev/vdc", "/dev/vdd" ], "mounts": [ { "fstype": "xfs", "path": "/opt/test1", "src": "/dev/mapper/vg1-lv1", "state": "absent" } ], "packages": [ "xfsprogs" ], "pools": [ { "disks": [ "sdb", "sdc" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sdb", "sdc" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [ "sdb", "sdc" ], "raid_level": "raid0", "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } TASK [linux-system-roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:91 Thursday 21 July 2022 14:12:03 +0000 (0:00:02.533) 0:02:55.210 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.storage : Unmask the systemd cryptsetup services] ***** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:103 Thursday 21 July 2022 14:12:03 +0000 (0:00:00.040) 0:02:55.251 ********* TASK [linux-system-roles.storage : show blivet_output] ************************* task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:109 Thursday 21 July 2022 14:12:03 +0000 (0:00:00.023) 0:02:55.275 ********* ok: [/cache/rhel-7.qcow2] => { "blivet_output": { "actions": [ { "action": "destroy format", "device": "/dev/mapper/vg1-lv1", "fs_type": "xfs" }, { "action": "destroy device", "device": "/dev/mapper/vg1-lv1", "fs_type": null }, { "action": "destroy device", "device": "/dev/vg1", "fs_type": null }, { "action": "destroy format", "device": "/dev/sdc1", "fs_type": "lvmpv" }, { "action": "destroy device", "device": "/dev/sdc1", "fs_type": null }, { "action": "destroy format", "device": "/dev/sdc", "fs_type": "disklabel" }, { "action": "destroy format", "device": "/dev/sdb1", "fs_type": "lvmpv" }, { "action": "destroy device", "device": "/dev/sdb1", "fs_type": null }, { "action": "destroy format", "device": "/dev/sdb", "fs_type": "disklabel" } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb", "/dev/vdc", "/dev/vdd" ], "mounts": [ { "fstype": "xfs", "path": "/opt/test1", "src": "/dev/mapper/vg1-lv1", "state": "absent" } ], "packages": [ "xfsprogs" ], "pools": [ { "disks": [ "sdb", "sdc" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sdb", "sdc" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [ "sdb", "sdc" ], "raid_level": "raid0", "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } } TASK [linux-system-roles.storage : set the list of pools for test verification] *** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:114 Thursday 21 July 2022 14:12:03 +0000 (0:00:00.043) 0:02:55.318 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sdb", "sdc" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sdb", "sdc" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [ "sdb", "sdc" ], "raid_level": "raid0", "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] }, "changed": false } TASK [linux-system-roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:118 Thursday 21 July 2022 14:12:03 +0000 (0:00:00.042) 0:02:55.360 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [linux-system-roles.storage : remove obsolete mounts] ********************* task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:134 Thursday 21 July 2022 14:12:03 +0000 (0:00:00.041) 0:02:55.402 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/rhel-7.qcow2] => (item={'src': '/dev/mapper/vg1-lv1', 'state': 'absent', 'path': '/opt/test1', 'fstype': 'xfs'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "xfs", "mount_info": { "fstype": "xfs", "path": "/opt/test1", "src": "/dev/mapper/vg1-lv1", "state": "absent" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "/dev/mapper/vg1-lv1" } TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:146 Thursday 21 July 2022 14:12:03 +0000 (0:00:00.348) 0:02:55.750 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : set up new/current mounts] ****************** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:151 Thursday 21 July 2022 14:12:04 +0000 (0:00:00.478) 0:02:56.229 ********* TASK [linux-system-roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:163 Thursday 21 July 2022 14:12:04 +0000 (0:00:00.041) 0:02:56.270 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:171 Thursday 21 July 2022 14:12:04 +0000 (0:00:00.452) 0:02:56.722 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "stat": { "atime": 1658412558.1759725, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1658201031.524, "dev": 64769, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 70, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "inode/x-empty", "mode": "0600", "mtime": 1658200515.884, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "18446744071677828413", "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/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:176 Thursday 21 July 2022 14:12:04 +0000 (0:00:00.325) 0:02:57.048 ********* TASK [linux-system-roles.storage : Update facts] ******************************* task path: /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 Thursday 21 July 2022 14:12:04 +0000 (0:00:00.023) 0:02:57.072 ********* ok: [/cache/rhel-7.qcow2] META: role_complete for /cache/rhel-7.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmpaxjje44y/tests/tests_create_raid_pool_then_remove.yml:206 Thursday 21 July 2022 14:12:05 +0000 (0:00:00.877) 0:02:57.950 ********* included: /tmp/tmpaxjje44y/tests/verify-role-results.yml for /cache/rhel-7.qcow2 TASK [Print out pool information] ********************************************** task path: /tmp/tmpaxjje44y/tests/verify-role-results.yml:1 Thursday 21 July 2022 14:12:05 +0000 (0:00:00.063) 0:02:58.013 ********* ok: [/cache/rhel-7.qcow2] => { "_storage_pools_list": [ { "disks": [ "sdb", "sdc" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sdb", "sdc" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [ "sdb", "sdc" ], "raid_level": "raid0", "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] } TASK [Print out volume information] ******************************************** task path: /tmp/tmpaxjje44y/tests/verify-role-results.yml:6 Thursday 21 July 2022 14:12:06 +0000 (0:00:00.091) 0:02:58.105 ********* skipping: [/cache/rhel-7.qcow2] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmpaxjje44y/tests/verify-role-results.yml:14 Thursday 21 July 2022 14:12:06 +0000 (0:00:00.035) 0:02:58.140 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "info": { "/dev/fd0": { "fstype": "", "label": "", "name": "/dev/fd0", "size": "4K", "type": "disk", "uuid": "" }, "/dev/nvme0n1": { "fstype": "", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme1n1": { "fstype": "", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme2n1": { "fstype": "", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda": { "fstype": "", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdb": { "fstype": "", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdc": { "fstype": "", "label": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sr0": { "fstype": "iso9660", "label": "cidata", "name": "/dev/sr0", "size": "364K", "type": "rom", "uuid": "2022-07-21-14-08-55-00" }, "/dev/vda": { "fstype": "", "label": "", "name": "/dev/vda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/vda1": { "fstype": "xfs", "label": "", "name": "/dev/vda1", "size": "10G", "type": "partition", "uuid": "21864ae1-1c29-4009-a1c2-151e41d0e053" }, "/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/tmpaxjje44y/tests/verify-role-results.yml:19 Thursday 21 July 2022 14:12:06 +0000 (0:00:00.373) 0:02:58.514 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.003413", "end": "2022-07-21 10:12:06.500069", "rc": 0, "start": "2022-07-21 10:12:06.496656" } STDOUT: # # /etc/fstab # Created by anaconda on Tue Jul 19 03:15:15 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 # UUID=21864ae1-1c29-4009-a1c2-151e41d0e053 / xfs defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmpaxjje44y/tests/verify-role-results.yml:24 Thursday 21 July 2022 14:12:06 +0000 (0:00:00.355) 0:02:58.870 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.004060", "end": "2022-07-21 10:12:06.815713", "failed_when_result": false, "rc": 0, "start": "2022-07-21 10:12:06.811653" } TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmpaxjje44y/tests/verify-role-results.yml:33 Thursday 21 July 2022 14:12:07 +0000 (0:00:00.328) 0:02:59.199 ********* included: /tmp/tmpaxjje44y/tests/test-verify-pool.yml for /cache/rhel-7.qcow2 => (item={'name': 'vg1', 'encryption_password': None, 'state': 'absent', 'raid_metadata_version': None, 'encryption': False, 'encryption_key_size': None, 'disks': ['sdb', 'sdc'], 'raid_level': None, 'encryption_luks_version': None, 'raid_device_count': None, 'encryption_key': None, 'volumes': [{'_raw_device': '/dev/mapper/vg1-lv1', 'raid_metadata_version': None, 'raid_level': 'raid0', 'fs_type': 'xfs', 'mount_options': 'defaults', 'type': 'lvm', '_device': '/dev/mapper/vg1-lv1', 'size': '2g', 'mount_point': '/opt/test1', 'compression': None, 'encryption_password': None, 'encryption': False, 'mount_device_identifier': 'uuid', 'name': 'lv1', 'raid_device_count': None, 'state': 'present', 'vdo_pool_size': None, 'thin_pool_name': None, 'thin_pool_size': None, 'encryption_key_size': None, 'encryption_cipher': None, 'encryption_key': None, 'fs_label': '', 'encryption_luks_version': None, 'cache_size': 0, '_mount_id': '/dev/mapper/vg1-lv1', 'raid_spare_count': None, 'raid_disks': ['sdb', 'sdc'], 'cache_mode': None, 'deduplication': None, 'cached': False, 'fs_overwrite_existing': True, 'disks': ['sdb', 'sdc'], 'thin': False, 'mount_check': 0, 'mount_passno': 0, 'raid_chunk_size': None, 'cache_devices': [], 'fs_create_options': ''}], 'raid_chunk_size': None, 'type': 'lvm', 'encryption_cipher': None, 'raid_spare_count': None}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-pool.yml:5 Thursday 21 July 2022 14:12:07 +0000 (0:00:00.061) 0:02:59.260 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-pool.yml:18 Thursday 21 July 2022 14:12:07 +0000 (0:00:00.037) 0:02:59.297 ********* included: /tmp/tmpaxjje44y/tests/test-verify-pool-members.yml for /cache/rhel-7.qcow2 => (item=members) included: /tmp/tmpaxjje44y/tests/test-verify-pool-volumes.yml for /cache/rhel-7.qcow2 => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-pool-members.yml:1 Thursday 21 July 2022 14:12:07 +0000 (0:00:00.046) 0:02:59.344 ********* ok: [/cache/rhel-7.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/tmpaxjje44y/tests/test-verify-pool-members.yml:10 Thursday 21 July 2022 14:12:07 +0000 (0:00:00.055) 0:02:59.399 ********* TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-pool-members.yml:19 Thursday 21 July 2022 14:12:07 +0000 (0:00:00.022) 0:02:59.422 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "__pvs_lvm_len": "0" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-pool-members.yml:23 Thursday 21 July 2022 14:12:07 +0000 (0:00:00.048) 0:02:59.470 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_test_pool_pvs": [] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-pool-members.yml:27 Thursday 21 July 2022 14:12:07 +0000 (0:00:00.049) 0:02:59.519 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-pool-members.yml:34 Thursday 21 July 2022 14:12:07 +0000 (0:00:00.052) 0:02:59.572 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-pool-members.yml:38 Thursday 21 July 2022 14:12:07 +0000 (0:00:00.039) 0:02:59.611 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_type": "partition" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-pool-members.yml:42 Thursday 21 July 2022 14:12:07 +0000 (0:00:00.051) 0:02:59.662 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-pool-members.yml:46 Thursday 21 July 2022 14:12:07 +0000 (0:00:00.023) 0:02:59.686 ********* TASK [Check MD RAID] *********************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-pool-members.yml:56 Thursday 21 July 2022 14:12:07 +0000 (0:00:00.024) 0:02:59.711 ********* included: /tmp/tmpaxjje44y/tests/verify-pool-md.yml for /cache/rhel-7.qcow2 TASK [get information about RAID] ********************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-md.yml:6 Thursday 21 July 2022 14:12:07 +0000 (0:00:00.042) 0:02:59.753 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-md.yml:12 Thursday 21 July 2022 14:12:07 +0000 (0:00:00.025) 0:02:59.779 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-md.yml:16 Thursday 21 July 2022 14:12:07 +0000 (0:00:00.027) 0:02:59.807 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-md.yml:20 Thursday 21 July 2022 14:12:07 +0000 (0:00:00.022) 0:02:59.830 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-md.yml:24 Thursday 21 July 2022 14:12:07 +0000 (0:00:00.022) 0:02:59.853 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-md.yml:30 Thursday 21 July 2022 14:12:07 +0000 (0:00:00.024) 0:02:59.877 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpaxjje44y/tests/verify-pool-md.yml:36 Thursday 21 July 2022 14:12:07 +0000 (0:00:00.024) 0:02:59.901 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-md.yml:44 Thursday 21 July 2022 14:12:07 +0000 (0:00:00.023) 0:02:59.924 ********* ok: [/cache/rhel-7.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/tmpaxjje44y/tests/test-verify-pool-members.yml:59 Thursday 21 July 2022 14:12:07 +0000 (0:00:00.037) 0:02:59.962 ********* included: /tmp/tmpaxjje44y/tests/verify-pool-members-lvmraid.yml for /cache/rhel-7.qcow2 TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-members-lvmraid.yml:1 Thursday 21 July 2022 14:12:07 +0000 (0:00:00.044) 0:03:00.007 ********* included: /tmp/tmpaxjje44y/tests/verify-pool-member-lvmraid.yml for /cache/rhel-7.qcow2 => (item={'_raw_device': '/dev/mapper/vg1-lv1', 'raid_metadata_version': None, 'raid_level': 'raid0', 'fs_type': 'xfs', 'mount_options': 'defaults', 'type': 'lvm', '_device': '/dev/mapper/vg1-lv1', 'size': '2g', 'mount_point': '/opt/test1', 'compression': None, 'encryption_password': None, 'encryption': False, 'mount_device_identifier': 'uuid', 'name': 'lv1', 'raid_device_count': None, 'state': 'present', 'vdo_pool_size': None, 'thin_pool_name': None, 'thin_pool_size': None, 'encryption_key_size': None, 'encryption_cipher': None, 'encryption_key': None, 'fs_label': '', 'encryption_luks_version': None, 'cache_size': 0, '_mount_id': '/dev/mapper/vg1-lv1', 'raid_spare_count': None, 'raid_disks': ['sdb', 'sdc'], 'cache_mode': None, 'deduplication': None, 'cached': False, 'fs_overwrite_existing': True, 'disks': ['sdb', 'sdc'], 'thin': False, 'mount_check': 0, 'mount_passno': 0, 'raid_chunk_size': None, 'cache_devices': [], 'fs_create_options': ''}) TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-member-lvmraid.yml:3 Thursday 21 July 2022 14:12:07 +0000 (0:00:00.044) 0:03:00.051 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmpaxjje44y/tests/verify-pool-member-lvmraid.yml:8 Thursday 21 July 2022 14:12:08 +0000 (0:00:00.030) 0:03:00.081 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-member-lvmraid.yml:12 Thursday 21 July 2022 14:12:08 +0000 (0:00:00.031) 0:03:00.112 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-pool-members.yml:62 Thursday 21 July 2022 14:12:08 +0000 (0:00:00.029) 0:03:00.142 ********* included: /tmp/tmpaxjje44y/tests/verify-pool-members-thin.yml for /cache/rhel-7.qcow2 TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-members-thin.yml:1 Thursday 21 July 2022 14:12:08 +0000 (0:00:00.053) 0:03:00.196 ********* included: /tmp/tmpaxjje44y/tests/verify-pool-member-thin.yml for /cache/rhel-7.qcow2 => (item={'_raw_device': '/dev/mapper/vg1-lv1', 'raid_metadata_version': None, 'raid_level': 'raid0', 'fs_type': 'xfs', 'mount_options': 'defaults', 'type': 'lvm', '_device': '/dev/mapper/vg1-lv1', 'size': '2g', 'mount_point': '/opt/test1', 'compression': None, 'encryption_password': None, 'encryption': False, 'mount_device_identifier': 'uuid', 'name': 'lv1', 'raid_device_count': None, 'state': 'present', 'vdo_pool_size': None, 'thin_pool_name': None, 'thin_pool_size': None, 'encryption_key_size': None, 'encryption_cipher': None, 'encryption_key': None, 'fs_label': '', 'encryption_luks_version': None, 'cache_size': 0, '_mount_id': '/dev/mapper/vg1-lv1', 'raid_spare_count': None, 'raid_disks': ['sdb', 'sdc'], 'cache_mode': None, 'deduplication': None, 'cached': False, 'fs_overwrite_existing': True, 'disks': ['sdb', 'sdc'], 'thin': False, 'mount_check': 0, 'mount_passno': 0, 'raid_chunk_size': None, 'cache_devices': [], 'fs_create_options': ''}) TASK [Get information about thinpool] ****************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-member-thin.yml:3 Thursday 21 July 2022 14:12:08 +0000 (0:00:00.098) 0:03:00.294 ********* skipping: [/cache/rhel-7.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/tmpaxjje44y/tests/verify-pool-member-thin.yml:8 Thursday 21 July 2022 14:12:08 +0000 (0:00:00.025) 0:03:00.320 ********* skipping: [/cache/rhel-7.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/tmpaxjje44y/tests/verify-pool-member-thin.yml:13 Thursday 21 July 2022 14:12:08 +0000 (0:00:00.025) 0:03:00.346 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-member-thin.yml:17 Thursday 21 July 2022 14:12:08 +0000 (0:00:00.025) 0:03:00.371 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-pool-members.yml:65 Thursday 21 July 2022 14:12:08 +0000 (0:00:00.026) 0:03:00.398 ********* included: /tmp/tmpaxjje44y/tests/verify-pool-members-encryption.yml for /cache/rhel-7.qcow2 TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-members-encryption.yml:4 Thursday 21 July 2022 14:12:08 +0000 (0:00:00.048) 0:03:00.447 ********* ok: [/cache/rhel-7.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/tmpaxjje44y/tests/verify-pool-members-encryption.yml:8 Thursday 21 July 2022 14:12:08 +0000 (0:00:00.051) 0:03:00.498 ********* TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-members-encryption.yml:15 Thursday 21 July 2022 14:12:08 +0000 (0:00:00.020) 0:03:00.519 ********* TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-members-encryption.yml:22 Thursday 21 July 2022 14:12:08 +0000 (0:00:00.022) 0:03:00.541 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-pool-members.yml:68 Thursday 21 July 2022 14:12:08 +0000 (0:00:00.033) 0:03:00.575 ********* included: /tmp/tmpaxjje44y/tests/verify-pool-members-vdo.yml for /cache/rhel-7.qcow2 TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-members-vdo.yml:1 Thursday 21 July 2022 14:12:08 +0000 (0:00:00.049) 0:03:00.624 ********* included: /tmp/tmpaxjje44y/tests/verify-pool-member-vdo.yml for /cache/rhel-7.qcow2 => (item={'_raw_device': '/dev/mapper/vg1-lv1', 'raid_metadata_version': None, 'raid_level': 'raid0', 'fs_type': 'xfs', 'mount_options': 'defaults', 'type': 'lvm', '_device': '/dev/mapper/vg1-lv1', 'size': '2g', 'mount_point': '/opt/test1', 'compression': None, 'encryption_password': None, 'encryption': False, 'mount_device_identifier': 'uuid', 'name': 'lv1', 'raid_device_count': None, 'state': 'present', 'vdo_pool_size': None, 'thin_pool_name': None, 'thin_pool_size': None, 'encryption_key_size': None, 'encryption_cipher': None, 'encryption_key': None, 'fs_label': '', 'encryption_luks_version': None, 'cache_size': 0, '_mount_id': '/dev/mapper/vg1-lv1', 'raid_spare_count': None, 'raid_disks': ['sdb', 'sdc'], 'cache_mode': None, 'deduplication': None, 'cached': False, 'fs_overwrite_existing': True, 'disks': ['sdb', 'sdc'], 'thin': False, 'mount_check': 0, 'mount_passno': 0, 'raid_chunk_size': None, 'cache_devices': [], 'fs_create_options': ''}) TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmpaxjje44y/tests/verify-pool-member-vdo.yml:3 Thursday 21 July 2022 14:12:08 +0000 (0:00:00.047) 0:03:00.672 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-member-vdo.yml:8 Thursday 21 July 2022 14:12:08 +0000 (0:00:00.025) 0:03:00.697 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-member-vdo.yml:11 Thursday 21 July 2022 14:12:08 +0000 (0:00:00.022) 0:03:00.720 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-member-vdo.yml:16 Thursday 21 July 2022 14:12:08 +0000 (0:00:00.024) 0:03:00.745 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-member-vdo.yml:21 Thursday 21 July 2022 14:12:08 +0000 (0:00:00.024) 0:03:00.769 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-member-vdo.yml:24 Thursday 21 July 2022 14:12:08 +0000 (0:00:00.026) 0:03:00.795 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-member-vdo.yml:29 Thursday 21 July 2022 14:12:08 +0000 (0:00:00.025) 0:03:00.820 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/verify-pool-member-vdo.yml:39 Thursday 21 July 2022 14:12:08 +0000 (0:00:00.025) 0:03:00.846 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-pool-members.yml:71 Thursday 21 July 2022 14:12:08 +0000 (0:00:00.036) 0:03:00.883 ********* ok: [/cache/rhel-7.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/tmpaxjje44y/tests/test-verify-pool-volumes.yml:3 Thursday 21 July 2022 14:12:08 +0000 (0:00:00.038) 0:03:00.921 ********* included: /tmp/tmpaxjje44y/tests/test-verify-volume.yml for /cache/rhel-7.qcow2 => (item={'_raw_device': '/dev/mapper/vg1-lv1', 'raid_metadata_version': None, 'raid_level': 'raid0', 'fs_type': 'xfs', 'mount_options': 'defaults', 'type': 'lvm', '_device': '/dev/mapper/vg1-lv1', 'size': '2g', 'mount_point': '/opt/test1', 'compression': None, 'encryption_password': None, 'encryption': False, 'mount_device_identifier': 'uuid', 'name': 'lv1', 'raid_device_count': None, 'state': 'present', 'vdo_pool_size': None, 'thin_pool_name': None, 'thin_pool_size': None, 'encryption_key_size': None, 'encryption_cipher': None, 'encryption_key': None, 'fs_label': '', 'encryption_luks_version': None, 'cache_size': 0, '_mount_id': '/dev/mapper/vg1-lv1', 'raid_spare_count': None, 'raid_disks': ['sdb', 'sdc'], 'cache_mode': None, 'deduplication': None, 'cached': False, 'fs_overwrite_existing': True, 'disks': ['sdb', 'sdc'], 'thin': False, 'mount_check': 0, 'mount_passno': 0, 'raid_chunk_size': None, 'cache_devices': [], 'fs_create_options': ''}) TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume.yml:2 Thursday 21 July 2022 14:12:08 +0000 (0:00:00.042) 0:03:00.964 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_test_volume_present": false, "_storage_volume_tests": [ "mount", "fstab", "fs", "device", "encryption", "md", "size", "cache" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume.yml:10 Thursday 21 July 2022 14:12:08 +0000 (0:00:00.048) 0:03:01.013 ********* included: /tmp/tmpaxjje44y/tests/test-verify-volume-mount.yml for /cache/rhel-7.qcow2 => (item=mount) included: /tmp/tmpaxjje44y/tests/test-verify-volume-fstab.yml for /cache/rhel-7.qcow2 => (item=fstab) included: /tmp/tmpaxjje44y/tests/test-verify-volume-fs.yml for /cache/rhel-7.qcow2 => (item=fs) included: /tmp/tmpaxjje44y/tests/test-verify-volume-device.yml for /cache/rhel-7.qcow2 => (item=device) included: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml for /cache/rhel-7.qcow2 => (item=encryption) included: /tmp/tmpaxjje44y/tests/test-verify-volume-md.yml for /cache/rhel-7.qcow2 => (item=md) included: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml for /cache/rhel-7.qcow2 => (item=size) included: /tmp/tmpaxjje44y/tests/test-verify-volume-cache.yml for /cache/rhel-7.qcow2 => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-mount.yml:6 Thursday 21 July 2022 14:12:09 +0000 (0:00:00.076) 0:03:01.089 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/vg1-lv1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-mount.yml:14 Thursday 21 July 2022 14:12:09 +0000 (0:00:00.039) 0:03:01.129 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_mount_device_matches": [], "storage_test_mount_expected_match_count": "0", "storage_test_mount_point_matches": [], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-mount.yml:28 Thursday 21 July 2022 14:12:09 +0000 (0:00:00.051) 0:03:01.180 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-mount.yml:37 Thursday 21 July 2022 14:12:09 +0000 (0:00:00.027) 0:03:01.208 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmpaxjje44y/tests/test-verify-volume-mount.yml:45 Thursday 21 July 2022 14:12:09 +0000 (0:00:00.047) 0:03:01.255 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [command] ***************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-mount.yml:54 Thursday 21 July 2022 14:12:09 +0000 (0:00:00.034) 0:03:01.290 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-mount.yml:58 Thursday 21 July 2022 14:12:09 +0000 (0:00:00.022) 0:03:01.313 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-mount.yml:63 Thursday 21 July 2022 14:12:09 +0000 (0:00:00.023) 0:03:01.336 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-mount.yml:75 Thursday 21 July 2022 14:12:09 +0000 (0:00:00.023) 0:03:01.359 ********* ok: [/cache/rhel-7.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/tmpaxjje44y/tests/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 14:12:09 +0000 (0:00:00.043) 0:03:01.403 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "0", "storage_test_fstab_expected_mount_options_matches": "0", "storage_test_fstab_expected_mount_point_matches": "0", "storage_test_fstab_id_matches": [], "storage_test_fstab_mount_options_matches": [], "storage_test_fstab_mount_point_matches": [] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 14:12:09 +0000 (0:00:00.096) 0:03:01.500 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-fstab.yml:32 Thursday 21 July 2022 14:12:09 +0000 (0:00:00.022) 0:03:01.522 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-fstab.yml:39 Thursday 21 July 2022 14:12:09 +0000 (0:00:00.106) 0:03:01.628 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-fstab.yml:49 Thursday 21 July 2022 14:12:09 +0000 (0:00:00.037) 0:03:01.665 ********* ok: [/cache/rhel-7.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/tmpaxjje44y/tests/test-verify-volume-fs.yml:4 Thursday 21 July 2022 14:12:09 +0000 (0:00:00.038) 0:03:01.704 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify fs label] ********************************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-fs.yml:10 Thursday 21 July 2022 14:12:09 +0000 (0:00:00.025) 0:03:01.729 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [See whether the device node is present] ********************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-device.yml:4 Thursday 21 July 2022 14:12:09 +0000 (0:00:00.023) 0:03:01.753 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "stat": { "exists": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-device.yml:10 Thursday 21 July 2022 14:12:09 +0000 (0:00:00.320) 0:03:02.074 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-device.yml:18 Thursday 21 July 2022 14:12:10 +0000 (0:00:00.038) 0:03:02.112 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-device.yml:24 Thursday 21 July 2022 14:12:10 +0000 (0:00:00.023) 0:03:02.136 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-device.yml:28 Thursday 21 July 2022 14:12:10 +0000 (0:00:00.037) 0:03:02.173 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-device.yml:33 Thursday 21 July 2022 14:12:10 +0000 (0:00:00.022) 0:03:02.196 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 14:12:10 +0000 (0:00:00.022) 0:03:02.218 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 14:12:10 +0000 (0:00:00.021) 0:03:02.240 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "rc": 0, "results": [ "cryptsetup-2.0.3-6.el7.x86_64 providing cryptsetup is already installed" ] } TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 14:12:10 +0000 (0:00:00.552) 0:03:02.793 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 14:12:10 +0000 (0:00:00.024) 0:03:02.817 ********* skipping: [/cache/rhel-7.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/tmpaxjje44y/tests/test-verify-volume-encryption.yml:30 Thursday 21 July 2022 14:12:10 +0000 (0:00:00.022) 0:03:02.840 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:38 Thursday 21 July 2022 14:12:10 +0000 (0:00:00.022) 0:03:02.863 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 14:12:10 +0000 (0:00:00.023) 0:03:02.886 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:49 Thursday 21 July 2022 14:12:10 +0000 (0:00:00.024) 0:03:02.911 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:55 Thursday 21 July 2022 14:12:10 +0000 (0:00:00.022) 0:03:02.933 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:61 Thursday 21 July 2022 14:12:10 +0000 (0:00:00.025) 0:03:02.958 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 14:12:10 +0000 (0:00:00.025) 0:03:02.984 ********* ok: [/cache/rhel-7.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/tmpaxjje44y/tests/test-verify-volume-encryption.yml:74 Thursday 21 July 2022 14:12:10 +0000 (0:00:00.058) 0:03:03.042 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:79 Thursday 21 July 2022 14:12:11 +0000 (0:00:00.052) 0:03:03.095 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:85 Thursday 21 July 2022 14:12:11 +0000 (0:00:00.038) 0:03:03.133 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:91 Thursday 21 July 2022 14:12:11 +0000 (0:00:00.034) 0:03:03.168 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:97 Thursday 21 July 2022 14:12:11 +0000 (0:00:00.038) 0:03:03.206 ********* ok: [/cache/rhel-7.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/tmpaxjje44y/tests/test-verify-volume-md.yml:7 Thursday 21 July 2022 14:12:11 +0000 (0:00:00.031) 0:03:03.238 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-md.yml:13 Thursday 21 July 2022 14:12:11 +0000 (0:00:00.038) 0:03:03.276 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-md.yml:17 Thursday 21 July 2022 14:12:11 +0000 (0:00:00.042) 0:03:03.319 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-md.yml:21 Thursday 21 July 2022 14:12:11 +0000 (0:00:00.051) 0:03:03.370 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-md.yml:25 Thursday 21 July 2022 14:12:11 +0000 (0:00:00.044) 0:03:03.415 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-md.yml:31 Thursday 21 July 2022 14:12:11 +0000 (0:00:00.038) 0:03:03.453 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-md.yml:37 Thursday 21 July 2022 14:12:11 +0000 (0:00:00.037) 0:03:03.491 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:3 Thursday 21 July 2022 14:12:11 +0000 (0:00:00.041) 0:03:03.533 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:9 Thursday 21 July 2022 14:12:11 +0000 (0:00:00.023) 0:03:03.557 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:15 Thursday 21 July 2022 14:12:11 +0000 (0:00:00.035) 0:03:03.593 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:20 Thursday 21 July 2022 14:12:11 +0000 (0:00:00.034) 0:03:03.627 ********* ok: [/cache/rhel-7.qcow2] => { "storage_test_expected_size": "2147483648" } TASK [debug] ******************************************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:25 Thursday 21 July 2022 14:12:11 +0000 (0:00:00.047) 0:03:03.675 ********* skipping: [/cache/rhel-7.qcow2] => {} TASK [debug] ******************************************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:28 Thursday 21 July 2022 14:12:11 +0000 (0:00:00.043) 0:03:03.719 ********* skipping: [/cache/rhel-7.qcow2] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:31 Thursday 21 July 2022 14:12:11 +0000 (0:00:00.039) 0:03:03.758 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:36 Thursday 21 July 2022 14:12:11 +0000 (0:00:00.040) 0:03:03.799 ********* skipping: [/cache/rhel-7.qcow2] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:39 Thursday 21 July 2022 14:12:11 +0000 (0:00:00.041) 0:03:03.840 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:44 Thursday 21 July 2022 14:12:11 +0000 (0:00:00.042) 0:03:03.883 ********* ok: [/cache/rhel-7.qcow2] => { "storage_test_actual_size": { "changed": false, "skip_reason": "Conditional result was False", "skipped": true } } TASK [debug] ******************************************************************* task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:47 Thursday 21 July 2022 14:12:11 +0000 (0:00:00.082) 0:03:03.965 ********* ok: [/cache/rhel-7.qcow2] => { "storage_test_expected_size": "2147483648" } TASK [assert] ****************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-size.yml:50 Thursday 21 July 2022 14:12:12 +0000 (0:00:00.118) 0:03:04.084 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about the LV] ******************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-cache.yml:6 Thursday 21 July 2022 14:12:12 +0000 (0:00:00.026) 0:03:04.110 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-cache.yml:14 Thursday 21 July 2022 14:12:12 +0000 (0:00:00.025) 0:03:04.136 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check segment type] ****************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-cache.yml:17 Thursday 21 July 2022 14:12:12 +0000 (0:00:00.026) 0:03:04.162 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-cache.yml:22 Thursday 21 July 2022 14:12:12 +0000 (0:00:00.026) 0:03:04.188 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-cache.yml:26 Thursday 21 July 2022 14:12:12 +0000 (0:00:00.026) 0:03:04.214 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-cache.yml:32 Thursday 21 July 2022 14:12:12 +0000 (0:00:00.026) 0:03:04.241 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume-cache.yml:36 Thursday 21 July 2022 14:12:12 +0000 (0:00:00.026) 0:03:04.267 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmpaxjje44y/tests/test-verify-volume.yml:16 Thursday 21 July 2022 14:12:12 +0000 (0:00:00.027) 0:03:04.295 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmpaxjje44y/tests/verify-role-results.yml:43 Thursday 21 July 2022 14:12:12 +0000 (0:00:00.033) 0:03:04.328 ********* TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmpaxjje44y/tests/verify-role-results.yml:53 Thursday 21 July 2022 14:12:12 +0000 (0:00:00.020) 0:03:04.349 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-7.qcow2 : ok=1124 changed=15 unreachable=0 failed=0 skipped=989 rescued=0 ignored=0 Thursday 21 July 2022 14:12:12 +0000 (0:00:00.046) 0:03:04.395 ********* =============================================================================== linux-system-roles.storage : make sure blivet is available -------------- 8.75s /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:7 linux-system-roles.storage : manage the pools and volumes to match the specified state --- 7.94s /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 linux-system-roles.storage : manage the pools and volumes to match the specified state --- 3.61s /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 linux-system-roles.storage : manage the pools and volumes to match the specified state --- 2.78s /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 linux-system-roles.storage : manage the pools and volumes to match the specified state --- 2.53s /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 linux-system-roles.storage : manage the pools and volumes to match the specified state --- 2.45s /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 linux-system-roles.storage : manage the pools and volumes to match the specified state --- 2.18s /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 linux-system-roles.storage : manage the pools and volumes to match the specified state --- 2.15s /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 linux-system-roles.storage : set up new/current mounts ------------------ 2.09s /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:151 linux-system-roles.storage : manage the pools and volumes to match the specified state --- 1.91s /tmp/tmpaxjje44y/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.69s /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:77 Ensure cryptsetup is present -------------------------------------------- 1.57s /tmp/tmpaxjje44y/tests/test-verify-volume-encryption.yml:10 ------------------- set up internal repositories -------------------------------------------- 1.41s /cache/rhel-7_setup.yml:5 ----------------------------------------------------- linux-system-roles.storage : get service facts -------------------------- 1.13s /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:51 Gathering Facts --------------------------------------------------------- 1.02s /tmp/tmpaxjje44y/tests/tests_create_raid_pool_then_remove_scsi_generated.yml:3 linux-system-roles.storage : set up new/current mounts ------------------ 0.97s /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:151 linux-system-roles.storage : remove obsolete mounts --------------------- 0.92s /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:134 linux-system-roles.storage : Update facts ------------------------------- 0.91s /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 linux-system-roles.storage : Update facts ------------------------------- 0.90s /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 linux-system-roles.storage : Update facts ------------------------------- 0.89s /tmp/tmpaxjje44y/tests/roles/linux-system-roles.storage/tasks/main-blivet.yml:198 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/tmp5bkr4li_ executable location = /usr/bin/ansible-playbook python version = 3.9.13 (main, May 18 2022, 00:00:00) [GCC 11.3.1 20220421 (Red Hat 11.3.1-2)] jinja version = 2.11.3 libyaml = True Using /etc/ansible/ansible.cfg as config file Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: rhel-7_setup.yml ***************************************************** 1 plays in /cache/rhel-7_setup.yml PLAY [Setup repos] ************************************************************* META: ran handlers TASK [set up internal repositories] ******************************************** task path: /cache/rhel-7_setup.yml:5 Thursday 21 July 2022 17:17:13 +0000 (0:00:00.018) 0:00:00.018 ********* changed: [/cache/rhel-7.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } changed: [/cache/rhel-7.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } changed: [/cache/rhel-7.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } changed: [/cache/rhel-7.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } changed: [/cache/rhel-7.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-7.qcow2 : ok=1 changed=1 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Thursday 21 July 2022 17:17:14 +0000 (0:00:01.424) 0:00:01.442 ********* =============================================================================== set up internal repositories -------------------------------------------- 1.42s /cache/rhel-7_setup.yml:5 ----------------------------------------------------- PLAYBOOK: tests_create_raid_pool_then_remove_scsi_generated.yml **************** 2 plays in /tmp/tmptomayb7j/tests/storage/tests_create_raid_pool_then_remove_scsi_generated.yml PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmptomayb7j/tests/storage/tests_create_raid_pool_then_remove_scsi_generated.yml:3 Thursday 21 July 2022 17:17:14 +0000 (0:00:00.020) 0:00:01.463 ********* ok: [/cache/rhel-7.qcow2] META: ran handlers TASK [set disk interface for test] ********************************************* task path: /tmp/tmptomayb7j/tests/storage/tests_create_raid_pool_then_remove_scsi_generated.yml:7 Thursday 21 July 2022 17:17:15 +0000 (0:00:01.001) 0:00:02.464 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_use_interface": "scsi" }, "changed": false } META: ran handlers META: ran handlers PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmptomayb7j/tests/storage/tests_create_raid_pool_then_remove.yml:2 Thursday 21 July 2022 17:17:15 +0000 (0:00:00.046) 0:00:02.511 ********* ok: [/cache/rhel-7.qcow2] META: ran handlers TASK [include_role : fedora.linux_system_roles.storage] ************************ task path: /tmp/tmptomayb7j/tests/storage/tests_create_raid_pool_then_remove.yml:17 Thursday 21 July 2022 17:17:16 +0000 (0:00:00.738) 0:00:03.249 ********* TASK [fedora.linux_system_roles.storage : set platform/version specific variables] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Thursday 21 July 2022 17:17:16 +0000 (0:00:00.037) 0:00:03.287 ********* included: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for /cache/rhel-7.qcow2 TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Thursday 21 July 2022 17:17:16 +0000 (0:00:00.029) 0:00:03.316 ********* ok: [/cache/rhel-7.qcow2] TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Thursday 21 July 2022 17:17:16 +0000 (0:00:00.409) 0:00:03.725 ********* skipping: [/cache/rhel-7.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-7.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/rhel-7.qcow2] => (item=RedHat_7.yml) => { "ansible_facts": { "__storage_blivet_diskvolume_mkfs_option_map": { "ext2": "-F", "ext3": "-F", "ext4": "-F" }, "blivet_package_list": [ "python-enum34", "python-blivet3", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap" ] }, "ansible_included_var_files": [ "/tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/vars/RedHat_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_7.yml" } skipping: [/cache/rhel-7.qcow2] => (item=RedHat_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_7.9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Thursday 21 July 2022 17:17:16 +0000 (0:00:00.055) 0:00:03.781 ********* ok: [/cache/rhel-7.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/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Thursday 21 July 2022 17:17:16 +0000 (0:00:00.031) 0:00:03.813 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : include the appropriate provider tasks] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Thursday 21 July 2022 17:17:17 +0000 (0:00:00.031) 0:00:03.844 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for /cache/rhel-7.qcow2 TASK [fedora.linux_system_roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 17:17:17 +0000 (0:00:00.054) 0:00:03.899 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure blivet is available] ******* task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 17:17:17 +0000 (0:00:00.017) 0:00:03.917 ********* changed: [/cache/rhel-7.qcow2] => { "changed": true, "changes": { "installed": [ "python-enum34", "python-blivet3", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap" ] }, "rc": 0, "results": [ "Loaded plugins: search-disabled-repos\nResolving Dependencies\n--> Running transaction check\n---> Package libblockdev-crypto.x86_64 0:2.18-5.el7 will be installed\n--> Processing Dependency: libblockdev-utils(x86-64) = 2.18-5.el7 for package: libblockdev-crypto-2.18-5.el7.x86_64\n--> Processing Dependency: libvolume_key.so.1()(64bit) for package: libblockdev-crypto-2.18-5.el7.x86_64\n--> Processing Dependency: libbd_utils.so.2()(64bit) for package: libblockdev-crypto-2.18-5.el7.x86_64\n---> Package libblockdev-dm.x86_64 0:2.18-5.el7 will be installed\n--> Processing Dependency: libdmraid.so.1(Base)(64bit) for package: libblockdev-dm-2.18-5.el7.x86_64\n--> Processing Dependency: dmraid for package: libblockdev-dm-2.18-5.el7.x86_64\n--> Processing Dependency: libdmraid.so.1()(64bit) for package: libblockdev-dm-2.18-5.el7.x86_64\n---> Package libblockdev-lvm.x86_64 0:2.18-5.el7 will be installed\n--> Processing Dependency: lvm2 for package: libblockdev-lvm-2.18-5.el7.x86_64\n--> Processing Dependency: device-mapper-persistent-data for package: libblockdev-lvm-2.18-5.el7.x86_64\n---> Package libblockdev-mdraid.x86_64 0:2.18-5.el7 will be installed\n--> Processing Dependency: mdadm for package: libblockdev-mdraid-2.18-5.el7.x86_64\n--> Processing Dependency: libbytesize.so.1()(64bit) for package: libblockdev-mdraid-2.18-5.el7.x86_64\n---> Package libblockdev-swap.x86_64 0:2.18-5.el7 will be installed\n---> Package python-enum34.noarch 0:1.0.4-1.el7 will be installed\n---> Package python2-blivet3.noarch 1:3.1.3-3.el7 will be installed\n--> Processing Dependency: blivet3-data = 1:3.1.3-3.el7 for package: 1:python2-blivet3-3.1.3-3.el7.noarch\n--> Processing Dependency: python2-bytesize >= 0.3 for package: 1:python2-blivet3-3.1.3-3.el7.noarch\n--> Processing Dependency: python2-blockdev >= 2.17 for package: 1:python2-blivet3-3.1.3-3.el7.noarch\n--> Processing Dependency: pyparted >= 3.9 for package: 1:python2-blivet3-3.1.3-3.el7.noarch\n--> Processing Dependency: python2-hawkey for package: 1:python2-blivet3-3.1.3-3.el7.noarch\n--> Processing Dependency: lsof for package: 1:python2-blivet3-3.1.3-3.el7.noarch\n--> Running transaction check\n---> Package blivet3-data.noarch 1:3.1.3-3.el7 will be installed\n---> Package device-mapper-persistent-data.x86_64 0:0.8.5-3.el7_9.2 will be installed\n--> Processing Dependency: libaio.so.1(LIBAIO_0.4)(64bit) for package: device-mapper-persistent-data-0.8.5-3.el7_9.2.x86_64\n--> Processing Dependency: libaio.so.1(LIBAIO_0.1)(64bit) for package: device-mapper-persistent-data-0.8.5-3.el7_9.2.x86_64\n--> Processing Dependency: libaio.so.1()(64bit) for package: device-mapper-persistent-data-0.8.5-3.el7_9.2.x86_64\n---> Package dmraid.x86_64 0:1.0.0.rc16-28.el7 will be installed\n--> Processing Dependency: libdevmapper-event.so.1.02(Base)(64bit) for package: dmraid-1.0.0.rc16-28.el7.x86_64\n--> Processing Dependency: dmraid-events for package: dmraid-1.0.0.rc16-28.el7.x86_64\n--> Processing Dependency: libdevmapper-event.so.1.02()(64bit) for package: dmraid-1.0.0.rc16-28.el7.x86_64\n---> Package libblockdev-utils.x86_64 0:2.18-5.el7 will be installed\n---> Package libbytesize.x86_64 0:1.2-1.el7 will be installed\n--> Processing Dependency: libmpfr.so.4()(64bit) for package: libbytesize-1.2-1.el7.x86_64\n---> Package lsof.x86_64 0:4.87-6.el7 will be installed\n---> Package lvm2.x86_64 7:2.02.187-6.el7_9.5 will be installed\n--> Processing Dependency: lvm2-libs = 7:2.02.187-6.el7_9.5 for package: 7:lvm2-2.02.187-6.el7_9.5.x86_64\n--> Processing Dependency: liblvm2app.so.2.2(Base)(64bit) for package: 7:lvm2-2.02.187-6.el7_9.5.x86_64\n--> Processing Dependency: liblvm2app.so.2.2()(64bit) for package: 7:lvm2-2.02.187-6.el7_9.5.x86_64\n---> Package mdadm.x86_64 0:4.1-9.el7_9 will be installed\n--> Processing Dependency: libreport-filesystem for package: mdadm-4.1-9.el7_9.x86_64\n---> Package pyparted.x86_64 1:3.9-15.el7 will be installed\n---> Package python2-blockdev.x86_64 0:2.18-5.el7 will be installed\n--> Processing Dependency: libblockdev(x86-64) = 2.18-5.el7 for package: python2-blockdev-2.18-5.el7.x86_64\n---> Package python2-bytesize.x86_64 0:1.2-1.el7 will be installed\n---> Package python2-hawkey.x86_64 0:0.22.5-2.el7_9 will be installed\n--> Processing Dependency: libdnf(x86-64) = 0.22.5-2.el7_9 for package: python2-hawkey-0.22.5-2.el7_9.x86_64\n--> Processing Dependency: python2-libdnf = 0.22.5-2.el7_9 for package: python2-hawkey-0.22.5-2.el7_9.x86_64\n--> Processing Dependency: libsolv.so.0(SOLV_1.0)(64bit) for package: python2-hawkey-0.22.5-2.el7_9.x86_64\n--> Processing Dependency: libsolvext.so.0(SOLV_1.0)(64bit) for package: python2-hawkey-0.22.5-2.el7_9.x86_64\n--> Processing Dependency: libdnf.so.2()(64bit) for package: python2-hawkey-0.22.5-2.el7_9.x86_64\n--> Processing Dependency: libjson-glib-1.0.so.0()(64bit) for package: python2-hawkey-0.22.5-2.el7_9.x86_64\n--> Processing Dependency: libmodulemd.so.1()(64bit) for package: python2-hawkey-0.22.5-2.el7_9.x86_64\n--> Processing Dependency: librepo.so.0()(64bit) for package: python2-hawkey-0.22.5-2.el7_9.x86_64\n--> Processing Dependency: librhsm.so.0()(64bit) for package: python2-hawkey-0.22.5-2.el7_9.x86_64\n--> Processing Dependency: libsolv.so.0()(64bit) for package: python2-hawkey-0.22.5-2.el7_9.x86_64\n--> Processing Dependency: libsolvext.so.0()(64bit) for package: python2-hawkey-0.22.5-2.el7_9.x86_64\n---> Package volume_key-libs.x86_64 0:0.3.9-9.el7 will be installed\n--> Running transaction check\n---> Package device-mapper-event-libs.x86_64 7:1.02.170-6.el7_9.5 will be installed\n---> Package dmraid-events.x86_64 0:1.0.0.rc16-28.el7 will be installed\n--> Processing Dependency: sgpio for package: dmraid-events-1.0.0.rc16-28.el7.x86_64\n--> Processing Dependency: device-mapper-event for package: dmraid-events-1.0.0.rc16-28.el7.x86_64\n---> Package json-glib.x86_64 0:1.4.2-2.el7 will be installed\n---> Package libaio.x86_64 0:0.3.109-13.el7 will be installed\n---> Package libblockdev.x86_64 0:2.18-5.el7 will be installed\n---> Package libdnf.x86_64 0:0.22.5-2.el7_9 will be installed\n---> Package libmodulemd.x86_64 0:1.6.3-1.el7 will be installed\n---> Package librepo.x86_64 0:1.8.1-8.el7_9 will be installed\n---> Package libreport-filesystem.x86_64 0:2.1.11-53.el7 will be installed\n---> Package librhsm.x86_64 0:0.0.3-3.el7_9 will be installed\n---> Package libsolv.x86_64 0:0.6.34-4.el7 will be installed\n---> Package lvm2-libs.x86_64 7:2.02.187-6.el7_9.5 will be installed\n---> Package mpfr.x86_64 0:3.1.1-4.el7 will be installed\n---> Package python2-libdnf.x86_64 0:0.22.5-2.el7_9 will be installed\n--> Running transaction check\n---> Package device-mapper-event.x86_64 7:1.02.170-6.el7_9.5 will be installed\n---> Package sgpio.x86_64 0:1.2.0.10-13.el7 will be installed\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nInstalling:\n libblockdev-crypto x86_64 2.18-5.el7 rhel 60 k\n libblockdev-dm x86_64 2.18-5.el7 rhel-optional 54 k\n libblockdev-lvm x86_64 2.18-5.el7 rhel 62 k\n libblockdev-mdraid x86_64 2.18-5.el7 rhel 57 k\n libblockdev-swap x86_64 2.18-5.el7 rhel 52 k\n python-enum34 noarch 1.0.4-1.el7 rhel 52 k\n python2-blivet3 noarch 1:3.1.3-3.el7 rhel 851 k\nInstalling for dependencies:\n blivet3-data noarch 1:3.1.3-3.el7 rhel 77 k\n device-mapper-event\n x86_64 7:1.02.170-6.el7_9.5 rhel 192 k\n device-mapper-event-libs\n x86_64 7:1.02.170-6.el7_9.5 rhel 192 k\n device-mapper-persistent-data\n x86_64 0.8.5-3.el7_9.2 rhel 423 k\n dmraid x86_64 1.0.0.rc16-28.el7 rhel 151 k\n dmraid-events x86_64 1.0.0.rc16-28.el7 rhel 21 k\n json-glib x86_64 1.4.2-2.el7 rhel 134 k\n libaio x86_64 0.3.109-13.el7 rhel 24 k\n libblockdev x86_64 2.18-5.el7 rhel 119 k\n libblockdev-utils x86_64 2.18-5.el7 rhel 59 k\n libbytesize x86_64 1.2-1.el7 rhel 52 k\n libdnf x86_64 0.22.5-2.el7_9 rhel-7-server-extras-rpms 536 k\n libmodulemd x86_64 1.6.3-1.el7 rhel-7-server-extras-rpms 153 k\n librepo x86_64 1.8.1-8.el7_9 rhel 82 k\n libreport-filesystem\n x86_64 2.1.11-53.el7 rhel 41 k\n librhsm x86_64 0.0.3-3.el7_9 rhel-7-server-extras-rpms 28 k\n libsolv x86_64 0.6.34-4.el7 rhel 329 k\n lsof x86_64 4.87-6.el7 rhel 331 k\n lvm2 x86_64 7:2.02.187-6.el7_9.5 rhel 1.3 M\n lvm2-libs x86_64 7:2.02.187-6.el7_9.5 rhel 1.1 M\n mdadm x86_64 4.1-9.el7_9 rhel 440 k\n mpfr x86_64 3.1.1-4.el7 rhel 203 k\n pyparted x86_64 1:3.9-15.el7 rhel 195 k\n python2-blockdev x86_64 2.18-5.el7 rhel 61 k\n python2-bytesize x86_64 1.2-1.el7 rhel 22 k\n python2-hawkey x86_64 0.22.5-2.el7_9 rhel-7-server-extras-rpms 71 k\n python2-libdnf x86_64 0.22.5-2.el7_9 rhel-7-server-extras-rpms 611 k\n sgpio x86_64 1.2.0.10-13.el7 rhel 14 k\n volume_key-libs x86_64 0.3.9-9.el7 rhel 141 k\n\nTransaction Summary\n================================================================================\nInstall 7 Packages (+29 Dependent packages)\n\nTotal download size: 8.2 M\nInstalled size: 24 M\nDownloading packages:\n--------------------------------------------------------------------------------\nTotal 18 MB/s | 8.2 MB 00:00 \nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Installing : libblockdev-utils-2.18-5.el7.x86_64 1/36 \n Installing : 7:device-mapper-event-libs-1.02.170-6.el7_9.5.x86_64 2/36 \n Installing : json-glib-1.4.2-2.el7.x86_64 3/36 \n Installing : librhsm-0.0.3-3.el7_9.x86_64 4/36 \n Installing : libsolv-0.6.34-4.el7.x86_64 5/36 \n Installing : libaio-0.3.109-13.el7.x86_64 6/36 \n Installing : librepo-1.8.1-8.el7_9.x86_64 7/36 \n Installing : libmodulemd-1.6.3-1.el7.x86_64 8/36 \n Installing : libdnf-0.22.5-2.el7_9.x86_64 9/36 \n Installing : device-mapper-persistent-data-0.8.5-3.el7_9.2.x86_64 10/36 \n Installing : 7:device-mapper-event-1.02.170-6.el7_9.5.x86_64 11/36 \n Installing : 7:lvm2-libs-2.02.187-6.el7_9.5.x86_64 12/36 \n Installing : 7:lvm2-2.02.187-6.el7_9.5.x86_64 13/36 \n Installing : python2-libdnf-0.22.5-2.el7_9.x86_64 14/36 \n Installing : python2-hawkey-0.22.5-2.el7_9.x86_64 15/36 \n Installing : libblockdev-2.18-5.el7.x86_64 16/36 \n Installing : python2-blockdev-2.18-5.el7.x86_64 17/36 \n Installing : 1:pyparted-3.9-15.el7.x86_64 18/36 \n Installing : sgpio-1.2.0.10-13.el7.x86_64 19/36 \n Installing : dmraid-1.0.0.rc16-28.el7.x86_64 20/36 \n Installing : dmraid-events-1.0.0.rc16-28.el7.x86_64 21/36 \n Installing : volume_key-libs-0.3.9-9.el7.x86_64 22/36 \n Installing : mpfr-3.1.1-4.el7.x86_64 23/36 \n Installing : libbytesize-1.2-1.el7.x86_64 24/36 \n Installing : python2-bytesize-1.2-1.el7.x86_64 25/36 \n Installing : libreport-filesystem-2.1.11-53.el7.x86_64 26/36 \n Installing : mdadm-4.1-9.el7_9.x86_64 27/36 \n Installing : 1:blivet3-data-3.1.3-3.el7.noarch 28/36 \n Installing : lsof-4.87-6.el7.x86_64 29/36 \n Installing : 1:python2-blivet3-3.1.3-3.el7.noarch 30/36 \n Installing : libblockdev-mdraid-2.18-5.el7.x86_64 31/36 \n Installing : libblockdev-crypto-2.18-5.el7.x86_64 32/36 \n Installing : libblockdev-dm-2.18-5.el7.x86_64 33/36 \n Installing : libblockdev-lvm-2.18-5.el7.x86_64 34/36 \n Installing : libblockdev-swap-2.18-5.el7.x86_64 35/36 \n Installing : python-enum34-1.0.4-1.el7.noarch 36/36 \n Verifying : 7:device-mapper-event-1.02.170-6.el7_9.5.x86_64 1/36 \n Verifying : libblockdev-swap-2.18-5.el7.x86_64 2/36 \n Verifying : librhsm-0.0.3-3.el7_9.x86_64 3/36 \n Verifying : libblockdev-lvm-2.18-5.el7.x86_64 4/36 \n Verifying : lsof-4.87-6.el7.x86_64 5/36 \n Verifying : libblockdev-mdraid-2.18-5.el7.x86_64 6/36 \n Verifying : libdnf-0.22.5-2.el7_9.x86_64 7/36 \n Verifying : python-enum34-1.0.4-1.el7.noarch 8/36 \n Verifying : 1:blivet3-data-3.1.3-3.el7.noarch 9/36 \n Verifying : dmraid-events-1.0.0.rc16-28.el7.x86_64 10/36 \n Verifying : python2-blockdev-2.18-5.el7.x86_64 11/36 \n Verifying : libmodulemd-1.6.3-1.el7.x86_64 12/36 \n Verifying : librepo-1.8.1-8.el7_9.x86_64 13/36 \n Verifying : libblockdev-dm-2.18-5.el7.x86_64 14/36 \n Verifying : json-glib-1.4.2-2.el7.x86_64 15/36 \n Verifying : libaio-0.3.109-13.el7.x86_64 16/36 \n Verifying : 7:lvm2-libs-2.02.187-6.el7_9.5.x86_64 17/36 \n Verifying : python2-hawkey-0.22.5-2.el7_9.x86_64 18/36 \n Verifying : python2-bytesize-1.2-1.el7.x86_64 19/36 \n Verifying : libblockdev-2.18-5.el7.x86_64 20/36 \n Verifying : libreport-filesystem-2.1.11-53.el7.x86_64 21/36 \n Verifying : libbytesize-1.2-1.el7.x86_64 22/36 \n Verifying : 7:device-mapper-event-libs-1.02.170-6.el7_9.5.x86_64 23/36 \n Verifying : python2-libdnf-0.22.5-2.el7_9.x86_64 24/36 \n Verifying : 7:lvm2-2.02.187-6.el7_9.5.x86_64 25/36 \n Verifying : libblockdev-utils-2.18-5.el7.x86_64 26/36 \n Verifying : mpfr-3.1.1-4.el7.x86_64 27/36 \n Verifying : volume_key-libs-0.3.9-9.el7.x86_64 28/36 \n Verifying : libsolv-0.6.34-4.el7.x86_64 29/36 \n Verifying : device-mapper-persistent-data-0.8.5-3.el7_9.2.x86_64 30/36 \n Verifying : 1:python2-blivet3-3.1.3-3.el7.noarch 31/36 \n Verifying : dmraid-1.0.0.rc16-28.el7.x86_64 32/36 \n Verifying : mdadm-4.1-9.el7_9.x86_64 33/36 \n Verifying : sgpio-1.2.0.10-13.el7.x86_64 34/36 \n Verifying : libblockdev-crypto-2.18-5.el7.x86_64 35/36 \n Verifying : 1:pyparted-3.9-15.el7.x86_64 36/36 \n\nInstalled:\n libblockdev-crypto.x86_64 0:2.18-5.el7 libblockdev-dm.x86_64 0:2.18-5.el7 \n libblockdev-lvm.x86_64 0:2.18-5.el7 libblockdev-mdraid.x86_64 0:2.18-5.el7\n libblockdev-swap.x86_64 0:2.18-5.el7 python-enum34.noarch 0:1.0.4-1.el7 \n python2-blivet3.noarch 1:3.1.3-3.el7 \n\nDependency Installed:\n blivet3-data.noarch 1:3.1.3-3.el7 \n device-mapper-event.x86_64 7:1.02.170-6.el7_9.5 \n device-mapper-event-libs.x86_64 7:1.02.170-6.el7_9.5 \n device-mapper-persistent-data.x86_64 0:0.8.5-3.el7_9.2 \n dmraid.x86_64 0:1.0.0.rc16-28.el7 \n dmraid-events.x86_64 0:1.0.0.rc16-28.el7 \n json-glib.x86_64 0:1.4.2-2.el7 \n libaio.x86_64 0:0.3.109-13.el7 \n libblockdev.x86_64 0:2.18-5.el7 \n libblockdev-utils.x86_64 0:2.18-5.el7 \n libbytesize.x86_64 0:1.2-1.el7 \n libdnf.x86_64 0:0.22.5-2.el7_9 \n libmodulemd.x86_64 0:1.6.3-1.el7 \n librepo.x86_64 0:1.8.1-8.el7_9 \n libreport-filesystem.x86_64 0:2.1.11-53.el7 \n librhsm.x86_64 0:0.0.3-3.el7_9 \n libsolv.x86_64 0:0.6.34-4.el7 \n lsof.x86_64 0:4.87-6.el7 \n lvm2.x86_64 7:2.02.187-6.el7_9.5 \n lvm2-libs.x86_64 7:2.02.187-6.el7_9.5 \n mdadm.x86_64 0:4.1-9.el7_9 \n mpfr.x86_64 0:3.1.1-4.el7 \n pyparted.x86_64 1:3.9-15.el7 \n python2-blockdev.x86_64 0:2.18-5.el7 \n python2-bytesize.x86_64 0:1.2-1.el7 \n python2-hawkey.x86_64 0:0.22.5-2.el7_9 \n python2-libdnf.x86_64 0:0.22.5-2.el7_9 \n sgpio.x86_64 0:1.2.0.10-13.el7 \n volume_key-libs.x86_64 0:0.3.9-9.el7 \n\nComplete!\n" ] } TASK [fedora.linux_system_roles.storage : show storage_pools] ****************** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:13 Thursday 21 July 2022 17:17:25 +0000 (0:00:08.878) 0:00:12.795 ********* ok: [/cache/rhel-7.qcow2] => { "storage_pools": "VARIABLE IS NOT DEFINED!: 'storage_pools' is undefined" } TASK [fedora.linux_system_roles.storage : show storage_volumes] **************** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:18 Thursday 21 July 2022 17:17:26 +0000 (0:00:00.086) 0:00:12.882 ********* ok: [/cache/rhel-7.qcow2] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [fedora.linux_system_roles.storage : get required packages] *************** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:23 Thursday 21 July 2022 17:17:26 +0000 (0:00:00.033) 0:00:12.916 ********* ok: [/cache/rhel-7.qcow2] => { "actions": [], "changed": false, "crypts": [], "leaves": [], "mounts": [], "packages": [], "pools": [], "volumes": [] } TASK [fedora.linux_system_roles.storage : enable copr repositories if needed] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:35 Thursday 21 July 2022 17:17:26 +0000 (0:00:00.628) 0:00:13.544 ********* included: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/enable_coprs.yml for /cache/rhel-7.qcow2 TASK [fedora.linux_system_roles.storage : check if the COPR support packages should be installed] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/enable_coprs.yml:2 Thursday 21 July 2022 17:17:26 +0000 (0:00:00.042) 0:00:13.586 ********* TASK [fedora.linux_system_roles.storage : make sure COPR support packages are present] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/enable_coprs.yml:13 Thursday 21 July 2022 17:17:26 +0000 (0:00:00.031) 0:00:13.618 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : enable COPRs] ************************ task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/enable_coprs.yml:18 Thursday 21 July 2022 17:17:26 +0000 (0:00:00.038) 0:00:13.656 ********* TASK [fedora.linux_system_roles.storage : make sure required packages are installed] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:41 Thursday 21 July 2022 17:17:26 +0000 (0:00:00.063) 0:00:13.720 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "rc": 0, "results": [] } TASK [fedora.linux_system_roles.storage : get service facts] ******************* task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 Thursday 21 July 2022 17:17:27 +0000 (0:00:00.517) 0:00:14.237 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "services": { "NetworkManager-dispatcher.service": { "name": "NetworkManager-dispatcher.service", "source": "systemd", "state": "inactive", "status": "enabled" }, "NetworkManager-wait-online.service": { "name": "NetworkManager-wait-online.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "NetworkManager.service": { "name": "NetworkManager.service", "source": "systemd", "state": "running", "status": "enabled" }, "arp-ethers.service": { "name": "arp-ethers.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "auditd.service": { "name": "auditd.service", "source": "systemd", "state": "running", "status": "enabled" }, "auth-rpcgss-module.service": { "name": "auth-rpcgss-module.service", "source": "systemd", "state": "stopped", "status": "static" }, "autovt@.service": { "name": "autovt@.service", "source": "systemd", "state": "unknown", "status": "enabled" }, "blivet.service": { "name": "blivet.service", "source": "systemd", "state": "inactive", "status": "static" }, "blk-availability.service": { "name": "blk-availability.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "brandbot.service": { "name": "brandbot.service", "source": "systemd", "state": "stopped", "status": "static" }, "chrony-dnssrv@.service": { "name": "chrony-dnssrv@.service", "source": "systemd", "state": "unknown", "status": "static" }, "chrony-wait.service": { "name": "chrony-wait.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "chronyd.service": { "name": "chronyd.service", "source": "systemd", "state": "running", "status": "enabled" }, "cloud-config.service": { "name": "cloud-config.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "cloud-final.service": { "name": "cloud-final.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "cloud-init-local.service": { "name": "cloud-init-local.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "cloud-init.service": { "name": "cloud-init.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "console-getty.service": { "name": "console-getty.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "console-shell.service": { "name": "console-shell.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "container-getty@.service": { "name": "container-getty@.service", "source": "systemd", "state": "unknown", "status": "static" }, "cpupower.service": { "name": "cpupower.service", "source": "systemd", "state": "stopped", "status": "disabled" }, "crond.service": { "name": "crond.service", "source": "systemd", "state": "running", "status": "enabled" }, "dbus-org.freedesktop.hostname1.service": { "name": "dbus-org.freedesktop.hostname1.service", "source": "systemd", "state": "active", "status": "static" }, "dbus-org.freedesktop.import1.service": { "name": "dbus-org.freedesktop.import1.service", "source": "systemd", "state": "inactive", "status": "static" }, "dbus-org.freedesktop.locale1.service": { "name": "dbus-org.freedesktop.locale1.service", "source": "systemd", "state": "inactive", "status": "static" }, "dbus-org.freedesktop.login1.service": { "name": "dbus-org.freedesktop.login1.service", "source": "systemd", "state": "active", "status": "static" }, "dbus-org.freedesktop.machine1.service": { "name": "dbus-org.freedesktop.machine1.service", "source": "systemd", "state": "inactive", "status": "static" }, "dbus-org.freedesktop.nm-dispatcher.service": { "name": "dbus-org.freedesktop.nm-dispatcher.service", "source": "systemd", "state": "inactive", "status": "enabled" }, "dbus-org.freedesktop.timedate1.service": { "name": "dbus-org.freedesktop.timedate1.service", "source": "systemd", "state": "inactive", "status": "static" }, "dbus.service": { "name": "dbus.service", "source": "systemd", "state": "running", "status": "static" }, "debug-shell.service": { "name": "debug-shell.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "display-manager.service": { "name": "display-manager.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "dm-event.service": { "name": "dm-event.service", "source": "systemd", "state": "stopped", "status": "static" }, "dmraid-activation.service": { "name": "dmraid-activation.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "dracut-cmdline.service": { "name": "dracut-cmdline.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-initqueue.service": { "name": "dracut-initqueue.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-mount.service": { "name": "dracut-mount.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-pre-mount.service": { "name": "dracut-pre-mount.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-pre-pivot.service": { "name": "dracut-pre-pivot.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-pre-trigger.service": { "name": "dracut-pre-trigger.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-pre-udev.service": { "name": "dracut-pre-udev.service", "source": "systemd", "state": "stopped", "status": "static" }, "dracut-shutdown.service": { "name": "dracut-shutdown.service", "source": "systemd", "state": "stopped", "status": "static" }, "emergency.service": { "name": "emergency.service", "source": "systemd", "state": "stopped", "status": "static" }, "exim.service": { "name": "exim.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "fstrim.service": { "name": "fstrim.service", "source": "systemd", "state": "inactive", "status": "static" }, "getty@.service": { "name": "getty@.service", "source": "systemd", "state": "unknown", "status": "enabled" }, "getty@tty1.service": { "name": "getty@tty1.service", "source": "systemd", "state": "running", "status": "active" }, "gssproxy.service": { "name": "gssproxy.service", "source": "systemd", "state": "running", "status": "disabled" }, "halt-local.service": { "name": "halt-local.service", "source": "systemd", "state": "inactive", "status": "static" }, "initrd-cleanup.service": { "name": "initrd-cleanup.service", "source": "systemd", "state": "stopped", "status": "static" }, "initrd-parse-etc.service": { "name": "initrd-parse-etc.service", "source": "systemd", "state": "stopped", "status": "static" }, "initrd-switch-root.service": { "name": "initrd-switch-root.service", "source": "systemd", "state": "stopped", "status": "static" }, "initrd-udevadm-cleanup-db.service": { "name": "initrd-udevadm-cleanup-db.service", "source": "systemd", "state": "stopped", "status": "static" }, "ip6tables.service": { "name": "ip6tables.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "iptables.service": { "name": "iptables.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "irqbalance.service": { "name": "irqbalance.service", "source": "systemd", "state": "running", "status": "enabled" }, "kdump.service": { "name": "kdump.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "kmod-static-nodes.service": { "name": "kmod-static-nodes.service", "source": "systemd", "state": "stopped", "status": "static" }, "lvm2-activation-early.service": { "name": "lvm2-activation-early.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "lvm2-activation.service": { "name": "lvm2-activation.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "lvm2-lvmetad.service": { "name": "lvm2-lvmetad.service", "source": "systemd", "state": "running", "status": "static" }, "lvm2-lvmpolld.service": { "name": "lvm2-lvmpolld.service", "source": "systemd", "state": "stopped", "status": "static" }, "lvm2-monitor.service": { "name": "lvm2-monitor.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "lvm2-pvscan@.service": { "name": "lvm2-pvscan@.service", "source": "systemd", "state": "unknown", "status": "static" }, "mdadm-grow-continue@.service": { "name": "mdadm-grow-continue@.service", "source": "systemd", "state": "unknown", "status": "static" }, "mdadm-last-resort@.service": { "name": "mdadm-last-resort@.service", "source": "systemd", "state": "unknown", "status": "static" }, "mdcheck_continue.service": { "name": "mdcheck_continue.service", "source": "systemd", "state": "inactive", "status": "static" }, "mdcheck_start.service": { "name": "mdcheck_start.service", "source": "systemd", "state": "inactive", "status": "static" }, "mdmon@.service": { "name": "mdmon@.service", "source": "systemd", "state": "unknown", "status": "static" }, "mdmonitor-oneshot.service": { "name": "mdmonitor-oneshot.service", "source": "systemd", "state": "inactive", "status": "static" }, "mdmonitor.service": { "name": "mdmonitor.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "messagebus.service": { "name": "messagebus.service", "source": "systemd", "state": "active", "status": "static" }, "microcode.service": { "name": "microcode.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "netconsole": { "name": "netconsole", "source": "sysv", "state": "stopped", "status": "disabled" }, "network": { "name": "network", "source": "sysv", "state": "running", "status": "enabled" }, "network.service": { "name": "network.service", "source": "systemd", "state": "stopped", "status": "active" }, "nfs-blkmap.service": { "name": "nfs-blkmap.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "nfs-config.service": { "name": "nfs-config.service", "source": "systemd", "state": "stopped", "status": "static" }, "nfs-idmap.service": { "name": "nfs-idmap.service", "source": "systemd", "state": "inactive", "status": "static" }, "nfs-idmapd.service": { "name": "nfs-idmapd.service", "source": "systemd", "state": "stopped", "status": "static" }, "nfs-lock.service": { "name": "nfs-lock.service", "source": "systemd", "state": "inactive", "status": "static" }, "nfs-mountd.service": { "name": "nfs-mountd.service", "source": "systemd", "state": "stopped", "status": "static" }, "nfs-rquotad.service": { "name": "nfs-rquotad.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "nfs-secure-server.service": { "name": "nfs-secure-server.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "nfs-secure.service": { "name": "nfs-secure.service", "source": "systemd", "state": "inactive", "status": "static" }, "nfs-server.service": { "name": "nfs-server.service", "source": "systemd", "state": "stopped", "status": "disabled" }, "nfs-utils.service": { "name": "nfs-utils.service", "source": "systemd", "state": "stopped", "status": "static" }, "nfs.service": { "name": "nfs.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "nfslock.service": { "name": "nfslock.service", "source": "systemd", "state": "inactive", "status": "static" }, "ntpd.service": { "name": "ntpd.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "ntpdate.service": { "name": "ntpdate.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "ovirt-guest-agent.service": { "name": "ovirt-guest-agent.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "plymouth-quit-wait.service": { "name": "plymouth-quit-wait.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "plymouth-start.service": { "name": "plymouth-start.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "polkit.service": { "name": "polkit.service", "source": "systemd", "state": "running", "status": "static" }, "postfix.service": { "name": "postfix.service", "source": "systemd", "state": "running", "status": "enabled" }, "qemu-guest-agent.service": { "name": "qemu-guest-agent.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "quotaon.service": { "name": "quotaon.service", "source": "systemd", "state": "inactive", "status": "static" }, "rc-local.service": { "name": "rc-local.service", "source": "systemd", "state": "stopped", "status": "static" }, "rdisc.service": { "name": "rdisc.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "rescue.service": { "name": "rescue.service", "source": "systemd", "state": "stopped", "status": "static" }, "rhcd.service": { "name": "rhcd.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "rhel-autorelabel-mark.service": { "name": "rhel-autorelabel-mark.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "rhel-autorelabel.service": { "name": "rhel-autorelabel.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "rhel-configure.service": { "name": "rhel-configure.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "rhel-dmesg.service": { "name": "rhel-dmesg.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "rhel-domainname.service": { "name": "rhel-domainname.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "rhel-import-state.service": { "name": "rhel-import-state.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "rhel-loadmodules.service": { "name": "rhel-loadmodules.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "rhel-readonly.service": { "name": "rhel-readonly.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "rhnsd": { "name": "rhnsd", "source": "sysv", "state": "running", "status": "enabled" }, "rhnsd.service": { "name": "rhnsd.service", "source": "systemd", "state": "running", "status": "active" }, "rhsm-facts.service": { "name": "rhsm-facts.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "rhsm.service": { "name": "rhsm.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "rhsmcertd.service": { "name": "rhsmcertd.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "rpc-gssd.service": { "name": "rpc-gssd.service", "source": "systemd", "state": "stopped", "status": "static" }, "rpc-rquotad.service": { "name": "rpc-rquotad.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "rpc-statd-notify.service": { "name": "rpc-statd-notify.service", "source": "systemd", "state": "stopped", "status": "static" }, "rpc-statd.service": { "name": "rpc-statd.service", "source": "systemd", "state": "stopped", "status": "static" }, "rpcbind.service": { "name": "rpcbind.service", "source": "systemd", "state": "running", "status": "enabled" }, "rpcgssd.service": { "name": "rpcgssd.service", "source": "systemd", "state": "inactive", "status": "static" }, "rpcidmapd.service": { "name": "rpcidmapd.service", "source": "systemd", "state": "inactive", "status": "static" }, "rsyncd.service": { "name": "rsyncd.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "rsyncd@.service": { "name": "rsyncd@.service", "source": "systemd", "state": "unknown", "status": "static" }, "rsyslog.service": { "name": "rsyslog.service", "source": "systemd", "state": "running", "status": "enabled" }, "selinux-policy-migrate-local-changes@.service": { "name": "selinux-policy-migrate-local-changes@.service", "source": "systemd", "state": "unknown", "status": "static" }, "selinux-policy-migrate-local-changes@targeted.service": { "name": "selinux-policy-migrate-local-changes@targeted.service", "source": "systemd", "state": "stopped", "status": "active" }, "sendmail.service": { "name": "sendmail.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "serial-getty@.service": { "name": "serial-getty@.service", "source": "systemd", "state": "unknown", "status": "disabled" }, "serial-getty@ttyS0.service": { "name": "serial-getty@ttyS0.service", "source": "systemd", "state": "running", "status": "active" }, "sntp.service": { "name": "sntp.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "sshd-keygen.service": { "name": "sshd-keygen.service", "source": "systemd", "state": "stopped", "status": "static" }, "sshd.service": { "name": "sshd.service", "source": "systemd", "state": "running", "status": "enabled" }, "sshd@.service": { "name": "sshd@.service", "source": "systemd", "state": "unknown", "status": "static" }, "syslog.service": { "name": "syslog.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "systemd-ask-password-console.service": { "name": "systemd-ask-password-console.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-ask-password-wall.service": { "name": "systemd-ask-password-wall.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-backlight@.service": { "name": "systemd-backlight@.service", "source": "systemd", "state": "unknown", "status": "static" }, "systemd-binfmt.service": { "name": "systemd-binfmt.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-bootchart.service": { "name": "systemd-bootchart.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "systemd-firstboot.service": { "name": "systemd-firstboot.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-fsck-root.service": { "name": "systemd-fsck-root.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-fsck@.service": { "name": "systemd-fsck@.service", "source": "systemd", "state": "unknown", "status": "static" }, "systemd-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": "running", "status": "static" }, "systemd-hwdb-update.service": { "name": "systemd-hwdb-update.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-hybrid-sleep.service": { "name": "systemd-hybrid-sleep.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-importd.service": { "name": "systemd-importd.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-initctl.service": { "name": "systemd-initctl.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-journal-catalog-update.service": { "name": "systemd-journal-catalog-update.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-journal-flush.service": { "name": "systemd-journal-flush.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-journald.service": { "name": "systemd-journald.service", "source": "systemd", "state": "running", "status": "static" }, "systemd-kexec.service": { "name": "systemd-kexec.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-localed.service": { "name": "systemd-localed.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-logind.service": { "name": "systemd-logind.service", "source": "systemd", "state": "running", "status": "static" }, "systemd-machine-id-commit.service": { "name": "systemd-machine-id-commit.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-machined.service": { "name": "systemd-machined.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-modules-load.service": { "name": "systemd-modules-load.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-nspawn@.service": { "name": "systemd-nspawn@.service", "source": "systemd", "state": "unknown", "status": "disabled" }, "systemd-poweroff.service": { "name": "systemd-poweroff.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-quotacheck.service": { "name": "systemd-quotacheck.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-random-seed.service": { "name": "systemd-random-seed.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-readahead-collect.service": { "name": "systemd-readahead-collect.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "systemd-readahead-done.service": { "name": "systemd-readahead-done.service", "source": "systemd", "state": "stopped", "status": "indirect" }, "systemd-readahead-drop.service": { "name": "systemd-readahead-drop.service", "source": "systemd", "state": "inactive", "status": "enabled" }, "systemd-readahead-replay.service": { "name": "systemd-readahead-replay.service", "source": "systemd", "state": "stopped", "status": "enabled" }, "systemd-reboot.service": { "name": "systemd-reboot.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-remount-fs.service": { "name": "systemd-remount-fs.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-rfkill@.service": { "name": "systemd-rfkill@.service", "source": "systemd", "state": "unknown", "status": "static" }, "systemd-shutdownd.service": { "name": "systemd-shutdownd.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-suspend.service": { "name": "systemd-suspend.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-sysctl.service": { "name": "systemd-sysctl.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-sysusers.service": { "name": "systemd-sysusers.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "systemd-timedated.service": { "name": "systemd-timedated.service", "source": "systemd", "state": "inactive", "status": "static" }, "systemd-timesyncd.service": { "name": "systemd-timesyncd.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "systemd-tmpfiles-clean.service": { "name": "systemd-tmpfiles-clean.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-tmpfiles-setup-dev.service": { "name": "systemd-tmpfiles-setup-dev.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-tmpfiles-setup.service": { "name": "systemd-tmpfiles-setup.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-udev-settle.service": { "name": "systemd-udev-settle.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-udev-trigger.service": { "name": "systemd-udev-trigger.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-udevd.service": { "name": "systemd-udevd.service", "source": "systemd", "state": "running", "status": "static" }, "systemd-update-done.service": { "name": "systemd-update-done.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-update-utmp-runlevel.service": { "name": "systemd-update-utmp-runlevel.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-update-utmp.service": { "name": "systemd-update-utmp.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-user-sessions.service": { "name": "systemd-user-sessions.service", "source": "systemd", "state": "stopped", "status": "static" }, "systemd-vconsole-setup.service": { "name": "systemd-vconsole-setup.service", "source": "systemd", "state": "stopped", "status": "static" }, "teamd@.service": { "name": "teamd@.service", "source": "systemd", "state": "unknown", "status": "static" }, "tuned.service": { "name": "tuned.service", "source": "systemd", "state": "running", "status": "enabled" }, "wpa_supplicant.service": { "name": "wpa_supplicant.service", "source": "systemd", "state": "inactive", "status": "disabled" }, "ypbind.service": { "name": "ypbind.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "yppasswdd.service": { "name": "yppasswdd.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "ypserv.service": { "name": "ypserv.service", "source": "systemd", "state": "stopped", "status": "not-found" }, "ypxfrd.service": { "name": "ypxfrd.service", "source": "systemd", "state": "stopped", "status": "not-found" } } }, "changed": false } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:53 Thursday 21 July 2022 17:17:28 +0000 (0:00:01.106) 0:00:15.343 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 17:17:28 +0000 (0:00:00.057) 0:00:15.400 ********* TASK [fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Thursday 21 July 2022 17:17:28 +0000 (0:00:00.022) 0:00:15.423 ********* ok: [/cache/rhel-7.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/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:78 Thursday 21 July 2022 17:17:29 +0000 (0:00:00.462) 0:00:15.886 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Thursday 21 July 2022 17:17:29 +0000 (0:00:00.035) 0:00:15.921 ********* TASK [fedora.linux_system_roles.storage : show blivet_output] ****************** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:96 Thursday 21 July 2022 17:17:29 +0000 (0:00:00.021) 0:00:15.943 ********* ok: [/cache/rhel-7.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/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:101 Thursday 21 July 2022 17:17:29 +0000 (0:00:00.037) 0:00:15.980 ********* ok: [/cache/rhel-7.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/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:105 Thursday 21 July 2022 17:17:29 +0000 (0:00:00.034) 0:00:16.015 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : remove obsolete mounts] ************** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:121 Thursday 21 July 2022 17:17:29 +0000 (0:00:00.034) 0:00:16.049 ********* TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 Thursday 21 July 2022 17:17:29 +0000 (0:00:00.034) 0:00:16.084 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : set up new/current mounts] *********** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:137 Thursday 21 July 2022 17:17:29 +0000 (0:00:00.024) 0:00:16.108 ********* TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:148 Thursday 21 July 2022 17:17:29 +0000 (0:00:00.034) 0:00:16.143 ********* skipping: [/cache/rhel-7.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/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:156 Thursday 21 July 2022 17:17:29 +0000 (0:00:00.024) 0:00:16.168 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "stat": { "atime": 1658423843.2670336, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1658201031.524, "dev": 64769, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 70, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "inode/x-empty", "mode": "0600", "mtime": 1658200515.884, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "18446744071677828413", "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/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:161 Thursday 21 July 2022 17:17:29 +0000 (0:00:00.444) 0:00:16.612 ********* TASK [fedora.linux_system_roles.storage : Update facts] ************************ task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 Thursday 21 July 2022 17:17:29 +0000 (0:00:00.022) 0:00:16.635 ********* ok: [/cache/rhel-7.qcow2] META: role_complete for /cache/rhel-7.qcow2 TASK [Mark tasks to be skipped] ************************************************ task path: /tmp/tmptomayb7j/tests/storage/tests_create_raid_pool_then_remove.yml:20 Thursday 21 July 2022 17:17:30 +0000 (0:00:00.851) 0:00:17.487 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_skip_checks": [ "blivet_available", "packages_installed", "service_facts" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmptomayb7j/tests/storage/tests_create_raid_pool_then_remove.yml:27 Thursday 21 July 2022 17:17:30 +0000 (0:00:00.072) 0:00:17.559 ********* included: /tmp/tmptomayb7j/tests/storage/get_unused_disk.yml for /cache/rhel-7.qcow2 TASK [Find unused disks in the system] ***************************************** task path: /tmp/tmptomayb7j/tests/storage/get_unused_disk.yml:2 Thursday 21 July 2022 17:17:30 +0000 (0:00:00.037) 0:00:17.597 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "disks": [ "sdb", "sdc" ] } TASK [Set unused_disks if necessary] ******************************************* task path: /tmp/tmptomayb7j/tests/storage/get_unused_disk.yml:9 Thursday 21 July 2022 17:17:31 +0000 (0:00:00.479) 0:00:18.076 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "unused_disks": [ "sdb", "sdc" ] }, "changed": false } TASK [Exit playbook when there's not enough unused disks in the system] ******** task path: /tmp/tmptomayb7j/tests/storage/get_unused_disk.yml:14 Thursday 21 July 2022 17:17:31 +0000 (0:00:00.038) 0:00:18.115 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Print unused disks] ****************************************************** task path: /tmp/tmptomayb7j/tests/storage/get_unused_disk.yml:19 Thursday 21 July 2022 17:17:31 +0000 (0:00:00.039) 0:00:18.154 ********* ok: [/cache/rhel-7.qcow2] => { "unused_disks": [ "sdb", "sdc" ] } TASK [Create a RAID0 device] *************************************************** task path: /tmp/tmptomayb7j/tests/storage/tests_create_raid_pool_then_remove.yml:31 Thursday 21 July 2022 17:17:31 +0000 (0:00:00.035) 0:00:18.190 ********* TASK [fedora.linux_system_roles.storage : set platform/version specific variables] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Thursday 21 July 2022 17:17:31 +0000 (0:00:00.047) 0:00:18.238 ********* included: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for /cache/rhel-7.qcow2 TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Thursday 21 July 2022 17:17:31 +0000 (0:00:00.035) 0:00:18.274 ********* ok: [/cache/rhel-7.qcow2] TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Thursday 21 July 2022 17:17:31 +0000 (0:00:00.421) 0:00:18.695 ********* skipping: [/cache/rhel-7.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-7.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/rhel-7.qcow2] => (item=RedHat_7.yml) => { "ansible_facts": { "__storage_blivet_diskvolume_mkfs_option_map": { "ext2": "-F", "ext3": "-F", "ext4": "-F" }, "blivet_package_list": [ "python-enum34", "python-blivet3", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap" ] }, "ansible_included_var_files": [ "/tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/vars/RedHat_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_7.yml" } skipping: [/cache/rhel-7.qcow2] => (item=RedHat_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_7.9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Thursday 21 July 2022 17:17:31 +0000 (0:00:00.060) 0:00:18.756 ********* ok: [/cache/rhel-7.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/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Thursday 21 July 2022 17:17:31 +0000 (0:00:00.036) 0:00:18.793 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : include the appropriate provider tasks] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Thursday 21 July 2022 17:17:32 +0000 (0:00:00.033) 0:00:18.827 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for /cache/rhel-7.qcow2 TASK [fedora.linux_system_roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 17:17:32 +0000 (0:00:00.054) 0:00:18.881 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure blivet is available] ******* task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 17:17:32 +0000 (0:00:00.022) 0:00:18.904 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : show storage_pools] ****************** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:13 Thursday 21 July 2022 17:17:32 +0000 (0:00:00.027) 0:00:18.932 ********* ok: [/cache/rhel-7.qcow2] => { "storage_pools": [ { "disks": [ "sdb", "sdc" ], "name": "vg1", "raid_level": "raid0", "state": "present", "type": "lvm", "volumes": [ { "mount_point": "/opt/test1", "name": "lv1", "size": "2g" }, { "mount_point": "/opt/test2", "name": "lv2", "size": "3g" }, { "mount_point": "/opt/test3", "name": "lv3", "size": "3g" } ] } ] } TASK [fedora.linux_system_roles.storage : show storage_volumes] **************** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:18 Thursday 21 July 2022 17:17:32 +0000 (0:00:00.037) 0:00:18.969 ********* ok: [/cache/rhel-7.qcow2] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [fedora.linux_system_roles.storage : get required packages] *************** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:23 Thursday 21 July 2022 17:17:32 +0000 (0:00:00.034) 0:00:19.004 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : enable copr repositories if needed] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:35 Thursday 21 July 2022 17:17:32 +0000 (0:00:00.027) 0:00:19.031 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure required packages are installed] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:41 Thursday 21 July 2022 17:17:32 +0000 (0:00:00.025) 0:00:19.057 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : get service facts] ******************* task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 Thursday 21 July 2022 17:17:32 +0000 (0:00:00.024) 0:00:19.081 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:53 Thursday 21 July 2022 17:17:32 +0000 (0:00:00.025) 0:00:19.107 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 17:17:32 +0000 (0:00:00.052) 0:00:19.159 ********* TASK [fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Thursday 21 July 2022 17:17:32 +0000 (0:00:00.019) 0:00:19.179 ********* changed: [/cache/rhel-7.qcow2] => { "actions": [ { "action": "create format", "device": "/dev/sdc", "fs_type": "disklabel" }, { "action": "create device", "device": "/dev/sdc1", "fs_type": null }, { "action": "create format", "device": "/dev/sdc1", "fs_type": "mdmember" }, { "action": "create format", "device": "/dev/sdb", "fs_type": "disklabel" }, { "action": "create device", "device": "/dev/sdb1", "fs_type": null }, { "action": "create format", "device": "/dev/sdb1", "fs_type": "mdmember" }, { "action": "create device", "device": "/dev/md/vg1-1", "fs_type": null }, { "action": "create format", "device": "/dev/md/vg1-1", "fs_type": "lvmpv" }, { "action": "create device", "device": "/dev/vg1", "fs_type": null }, { "action": "create device", "device": "/dev/mapper/vg1-lv3", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/vg1-lv3", "fs_type": "xfs" }, { "action": "create device", "device": "/dev/mapper/vg1-lv2", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/vg1-lv2", "fs_type": "xfs" }, { "action": "create device", "device": "/dev/mapper/vg1-lv1", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/vg1-lv1", "fs_type": "xfs" } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/sda", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb", "/dev/vdc", "/dev/vdd", "/dev/mapper/vg1-lv1", "/dev/mapper/vg1-lv2", "/dev/mapper/vg1-lv3" ], "mounts": [ { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/vg1-lv1", "state": "mounted" }, { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test2", "src": "/dev/mapper/vg1-lv2", "state": "mounted" }, { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test3", "src": "/dev/mapper/vg1-lv3", "state": "mounted" } ], "packages": [ "xfsprogs", "mdadm", "lvm2" ], "pools": [ { "disks": [ "sdb", "sdc" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": "raid0", "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_kernel_device": "/dev/dm-2", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "_raw_kernel_device": "/dev/dm-2", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "/dev/mapper/vg1-lv2", "_kernel_device": "/dev/dm-1", "_mount_id": "/dev/mapper/vg1-lv2", "_raw_device": "/dev/mapper/vg1-lv2", "_raw_kernel_device": "/dev/dm-1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "lv2", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "/dev/mapper/vg1-lv3", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/vg1-lv3", "_raw_device": "/dev/mapper/vg1-lv3", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test3", "name": "lv3", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } TASK [fedora.linux_system_roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:78 Thursday 21 July 2022 17:17:40 +0000 (0:00:08.034) 0:00:27.214 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Thursday 21 July 2022 17:17:40 +0000 (0:00:00.091) 0:00:27.305 ********* TASK [fedora.linux_system_roles.storage : show blivet_output] ****************** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:96 Thursday 21 July 2022 17:17:40 +0000 (0:00:00.020) 0:00:27.326 ********* ok: [/cache/rhel-7.qcow2] => { "blivet_output": { "actions": [ { "action": "create format", "device": "/dev/sdc", "fs_type": "disklabel" }, { "action": "create device", "device": "/dev/sdc1", "fs_type": null }, { "action": "create format", "device": "/dev/sdc1", "fs_type": "mdmember" }, { "action": "create format", "device": "/dev/sdb", "fs_type": "disklabel" }, { "action": "create device", "device": "/dev/sdb1", "fs_type": null }, { "action": "create format", "device": "/dev/sdb1", "fs_type": "mdmember" }, { "action": "create device", "device": "/dev/md/vg1-1", "fs_type": null }, { "action": "create format", "device": "/dev/md/vg1-1", "fs_type": "lvmpv" }, { "action": "create device", "device": "/dev/vg1", "fs_type": null }, { "action": "create device", "device": "/dev/mapper/vg1-lv3", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/vg1-lv3", "fs_type": "xfs" }, { "action": "create device", "device": "/dev/mapper/vg1-lv2", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/vg1-lv2", "fs_type": "xfs" }, { "action": "create device", "device": "/dev/mapper/vg1-lv1", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/vg1-lv1", "fs_type": "xfs" } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/sda", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb", "/dev/vdc", "/dev/vdd", "/dev/mapper/vg1-lv1", "/dev/mapper/vg1-lv2", "/dev/mapper/vg1-lv3" ], "mounts": [ { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/vg1-lv1", "state": "mounted" }, { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test2", "src": "/dev/mapper/vg1-lv2", "state": "mounted" }, { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test3", "src": "/dev/mapper/vg1-lv3", "state": "mounted" } ], "packages": [ "xfsprogs", "mdadm", "lvm2" ], "pools": [ { "disks": [ "sdb", "sdc" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": "raid0", "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_kernel_device": "/dev/dm-2", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "_raw_kernel_device": "/dev/dm-2", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "/dev/mapper/vg1-lv2", "_kernel_device": "/dev/dm-1", "_mount_id": "/dev/mapper/vg1-lv2", "_raw_device": "/dev/mapper/vg1-lv2", "_raw_kernel_device": "/dev/dm-1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "lv2", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "/dev/mapper/vg1-lv3", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/vg1-lv3", "_raw_device": "/dev/mapper/vg1-lv3", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test3", "name": "lv3", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } } TASK [fedora.linux_system_roles.storage : set the list of pools for test verification] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:101 Thursday 21 July 2022 17:17:40 +0000 (0:00:00.044) 0:00:27.371 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sdb", "sdc" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": "raid0", "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_kernel_device": "/dev/dm-2", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "_raw_kernel_device": "/dev/dm-2", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "/dev/mapper/vg1-lv2", "_kernel_device": "/dev/dm-1", "_mount_id": "/dev/mapper/vg1-lv2", "_raw_device": "/dev/mapper/vg1-lv2", "_raw_kernel_device": "/dev/dm-1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "lv2", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "/dev/mapper/vg1-lv3", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/vg1-lv3", "_raw_device": "/dev/mapper/vg1-lv3", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test3", "name": "lv3", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] }, "changed": false } TASK [fedora.linux_system_roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:105 Thursday 21 July 2022 17:17:40 +0000 (0:00:00.043) 0:00:27.414 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : remove obsolete mounts] ************** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:121 Thursday 21 July 2022 17:17:40 +0000 (0:00:00.035) 0:00:27.449 ********* TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 Thursday 21 July 2022 17:17:40 +0000 (0:00:00.038) 0:00:27.488 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : set up new/current mounts] *********** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:137 Thursday 21 July 2022 17:17:41 +0000 (0:00:00.722) 0:00:28.210 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/rhel-7.qcow2] => (item={'src': '/dev/mapper/vg1-lv1', 'dump': 0, 'passno': 0, 'fstype': 'xfs', 'state': 'mounted', 'path': '/opt/test1', 'opts': 'defaults'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "xfs", "mount_info": { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/vg1-lv1", "state": "mounted" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "/dev/mapper/vg1-lv1" } redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/rhel-7.qcow2] => (item={'src': '/dev/mapper/vg1-lv2', 'dump': 0, 'passno': 0, 'fstype': 'xfs', 'state': 'mounted', 'path': '/opt/test2', 'opts': 'defaults'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "xfs", "mount_info": { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test2", "src": "/dev/mapper/vg1-lv2", "state": "mounted" }, "name": "/opt/test2", "opts": "defaults", "passno": "0", "src": "/dev/mapper/vg1-lv2" } redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/rhel-7.qcow2] => (item={'src': '/dev/mapper/vg1-lv3', 'dump': 0, 'passno': 0, 'fstype': 'xfs', 'state': 'mounted', 'path': '/opt/test3', 'opts': 'defaults'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "xfs", "mount_info": { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test3", "src": "/dev/mapper/vg1-lv3", "state": "mounted" }, "name": "/opt/test3", "opts": "defaults", "passno": "0", "src": "/dev/mapper/vg1-lv3" } TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:148 Thursday 21 July 2022 17:17:42 +0000 (0:00:01.089) 0:00:29.300 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:156 Thursday 21 July 2022 17:17:42 +0000 (0:00:00.451) 0:00:29.752 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "stat": { "atime": 1658423843.2670336, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1658201031.524, "dev": 64769, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 70, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "inode/x-empty", "mode": "0600", "mtime": 1658200515.884, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "18446744071677828413", "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/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:161 Thursday 21 July 2022 17:17:43 +0000 (0:00:00.315) 0:00:30.067 ********* TASK [fedora.linux_system_roles.storage : Update facts] ************************ task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 Thursday 21 July 2022 17:17:43 +0000 (0:00:00.023) 0:00:30.090 ********* ok: [/cache/rhel-7.qcow2] META: role_complete for /cache/rhel-7.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmptomayb7j/tests/storage/tests_create_raid_pool_then_remove.yml:52 Thursday 21 July 2022 17:17:44 +0000 (0:00:00.860) 0:00:30.950 ********* included: /tmp/tmptomayb7j/tests/storage/verify-role-results.yml for /cache/rhel-7.qcow2 TASK [Print out pool information] ********************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-role-results.yml:1 Thursday 21 July 2022 17:17:44 +0000 (0:00:00.040) 0:00:30.991 ********* ok: [/cache/rhel-7.qcow2] => { "_storage_pools_list": [ { "disks": [ "sdb", "sdc" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": "raid0", "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_kernel_device": "/dev/dm-2", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "_raw_kernel_device": "/dev/dm-2", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "/dev/mapper/vg1-lv2", "_kernel_device": "/dev/dm-1", "_mount_id": "/dev/mapper/vg1-lv2", "_raw_device": "/dev/mapper/vg1-lv2", "_raw_kernel_device": "/dev/dm-1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "lv2", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "/dev/mapper/vg1-lv3", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/vg1-lv3", "_raw_device": "/dev/mapper/vg1-lv3", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test3", "name": "lv3", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] } TASK [Print out volume information] ******************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-role-results.yml:6 Thursday 21 July 2022 17:17:44 +0000 (0:00:00.084) 0:00:31.076 ********* skipping: [/cache/rhel-7.qcow2] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-role-results.yml:14 Thursday 21 July 2022 17:17:44 +0000 (0:00:00.039) 0:00:31.116 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "info": { "/dev/fd0": { "fstype": "", "label": "", "name": "/dev/fd0", "size": "4K", "type": "disk", "uuid": "" }, "/dev/mapper/vg1-lv1": { "fstype": "xfs", "label": "", "name": "/dev/mapper/vg1-lv1", "size": "2G", "type": "lvm", "uuid": "fcf240de-eae8-45aa-8ef4-a1854847b650" }, "/dev/mapper/vg1-lv2": { "fstype": "xfs", "label": "", "name": "/dev/mapper/vg1-lv2", "size": "3G", "type": "lvm", "uuid": "a6180de1-6f41-4653-ac61-d56d22205292" }, "/dev/mapper/vg1-lv3": { "fstype": "xfs", "label": "", "name": "/dev/mapper/vg1-lv3", "size": "3G", "type": "lvm", "uuid": "eeb79a8f-496f-41d4-b68b-a17eb39a65a5" }, "/dev/md/vg1-1": { "fstype": "LVM2_member", "label": "", "name": "/dev/md/vg1-1", "size": "20G", "type": "raid0", "uuid": "HOBtUr-mzNw-HhUL-5PAc-LgPp-4lTB-YvPTLI" }, "/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/sdb1": { "fstype": "linux_raid_member", "label": "vg1-1", "name": "/dev/sdb1", "size": "10G", "type": "partition", "uuid": "f8bebd8e-652e-2941-0905-f25302b0ff63" }, "/dev/sdc": { "fstype": "", "label": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdc1": { "fstype": "linux_raid_member", "label": "vg1-1", "name": "/dev/sdc1", "size": "10G", "type": "partition", "uuid": "f8bebd8e-652e-2941-0905-f25302b0ff63" }, "/dev/sr0": { "fstype": "iso9660", "label": "cidata", "name": "/dev/sr0", "size": "364K", "type": "rom", "uuid": "2022-07-21-17-17-00-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": "21864ae1-1c29-4009-a1c2-151e41d0e053" }, "/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/tmptomayb7j/tests/storage/verify-role-results.yml:19 Thursday 21 July 2022 17:17:45 +0000 (0:00:01.456) 0:00:32.572 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.003539", "end": "2022-07-21 13:17:45.580244", "rc": 0, "start": "2022-07-21 13:17:45.576705" } STDOUT: # # /etc/fstab # Created by anaconda on Tue Jul 19 03:15:15 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 # UUID=21864ae1-1c29-4009-a1c2-151e41d0e053 / xfs defaults 0 0 /dev/mapper/vg1-lv1 /opt/test1 xfs defaults 0 0 /dev/mapper/vg1-lv2 /opt/test2 xfs defaults 0 0 /dev/mapper/vg1-lv3 /opt/test3 xfs defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmptomayb7j/tests/storage/verify-role-results.yml:24 Thursday 21 July 2022 17:17:46 +0000 (0:00:00.437) 0:00:33.010 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.003466", "end": "2022-07-21 13:17:45.895316", "failed_when_result": false, "rc": 0, "start": "2022-07-21 13:17:45.891850" } TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmptomayb7j/tests/storage/verify-role-results.yml:33 Thursday 21 July 2022 17:17:46 +0000 (0:00:00.316) 0:00:33.326 ********* included: /tmp/tmptomayb7j/tests/storage/test-verify-pool.yml for /cache/rhel-7.qcow2 => (item={'name': 'vg1', 'encryption_password': None, 'state': 'present', 'raid_metadata_version': None, 'encryption': False, 'encryption_key_size': None, 'disks': ['sdb', 'sdc'], 'raid_level': 'raid0', 'encryption_luks_version': None, 'raid_device_count': None, 'encryption_key': None, 'volumes': [{'_raw_device': '/dev/mapper/vg1-lv1', 'raid_metadata_version': None, 'raid_level': None, 'fs_type': 'xfs', 'mount_options': 'defaults', 'type': 'lvm', '_device': '/dev/mapper/vg1-lv1', 'size': '2g', 'mount_point': '/opt/test1', 'compression': None, 'encryption_password': None, '_kernel_device': '/dev/dm-2', 'encryption': False, 'mount_device_identifier': 'uuid', 'name': 'lv1', 'raid_device_count': None, 'state': 'present', 'vdo_pool_size': None, 'thin_pool_name': None, 'thin_pool_size': None, 'encryption_key_size': None, 'encryption_cipher': None, 'encryption_key': None, 'fs_label': '', 'encryption_luks_version': None, 'cache_size': 0, '_mount_id': '/dev/mapper/vg1-lv1', 'raid_spare_count': None, 'raid_disks': [], '_raw_kernel_device': '/dev/dm-2', 'cache_mode': None, 'deduplication': None, 'cached': False, 'fs_overwrite_existing': True, 'disks': [], 'thin': False, 'mount_check': 0, 'mount_passno': 0, 'raid_chunk_size': None, 'cache_devices': [], 'fs_create_options': ''}, {'_raw_device': '/dev/mapper/vg1-lv2', 'raid_metadata_version': None, 'raid_level': None, 'fs_type': 'xfs', 'mount_options': 'defaults', 'type': 'lvm', '_device': '/dev/mapper/vg1-lv2', 'size': '3g', 'mount_point': '/opt/test2', 'compression': None, 'encryption_password': None, '_kernel_device': '/dev/dm-1', 'encryption': False, 'mount_device_identifier': 'uuid', 'name': 'lv2', 'raid_device_count': None, 'state': 'present', 'vdo_pool_size': None, 'thin_pool_name': None, 'thin_pool_size': None, 'encryption_key_size': None, 'encryption_cipher': None, 'encryption_key': None, 'fs_label': '', 'encryption_luks_version': None, 'cache_size': 0, '_mount_id': '/dev/mapper/vg1-lv2', 'raid_spare_count': None, 'raid_disks': [], '_raw_kernel_device': '/dev/dm-1', 'cache_mode': None, 'deduplication': None, 'cached': False, 'fs_overwrite_existing': True, 'disks': [], 'thin': False, 'mount_check': 0, 'mount_passno': 0, 'raid_chunk_size': None, 'cache_devices': [], 'fs_create_options': ''}, {'_raw_device': '/dev/mapper/vg1-lv3', 'raid_metadata_version': None, 'raid_level': None, 'fs_type': 'xfs', 'mount_options': 'defaults', 'type': 'lvm', '_device': '/dev/mapper/vg1-lv3', 'size': '3g', 'mount_point': '/opt/test3', 'compression': None, 'encryption_password': None, '_kernel_device': '/dev/dm-0', 'encryption': False, 'mount_device_identifier': 'uuid', 'name': 'lv3', 'raid_device_count': None, 'state': 'present', 'vdo_pool_size': None, 'thin_pool_name': None, 'thin_pool_size': None, 'encryption_key_size': None, 'encryption_cipher': None, 'encryption_key': None, 'fs_label': '', 'encryption_luks_version': None, 'cache_size': 0, '_mount_id': '/dev/mapper/vg1-lv3', 'raid_spare_count': None, 'raid_disks': [], '_raw_kernel_device': '/dev/dm-0', 'cache_mode': None, 'deduplication': None, 'cached': False, 'fs_overwrite_existing': True, 'disks': [], 'thin': False, 'mount_check': 0, 'mount_passno': 0, 'raid_chunk_size': None, 'cache_devices': [], 'fs_create_options': ''}], 'raid_chunk_size': None, 'type': 'lvm', 'encryption_cipher': None, 'raid_spare_count': None}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-pool.yml:5 Thursday 21 July 2022 17:17:46 +0000 (0:00:00.061) 0:00:33.388 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-pool.yml:18 Thursday 21 July 2022 17:17:46 +0000 (0:00:00.036) 0:00:33.424 ********* included: /tmp/tmptomayb7j/tests/storage/test-verify-pool-members.yml for /cache/rhel-7.qcow2 => (item=members) included: /tmp/tmptomayb7j/tests/storage/test-verify-pool-volumes.yml for /cache/rhel-7.qcow2 => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-pool-members.yml:1 Thursday 21 July 2022 17:17:46 +0000 (0:00:00.049) 0:00:33.474 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_count": "1", "_storage_test_pool_pvs_lvm": [ "/dev/md127" ] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-pool-members.yml:6 Thursday 21 July 2022 17:17:46 +0000 (0:00:00.053) 0:00:33.527 ********* ok: [/cache/rhel-7.qcow2] => (item=/dev/md127) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/md/vg1-1", "pv": "/dev/md127" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-pool-members.yml:15 Thursday 21 July 2022 17:17:47 +0000 (0:00:00.428) 0:00:33.956 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "__pvs_lvm_len": "1" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-pool-members.yml:19 Thursday 21 July 2022 17:17:47 +0000 (0:00:00.049) 0:00:34.005 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/md/vg1-1" ] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-pool-members.yml:23 Thursday 21 July 2022 17:17:47 +0000 (0:00:00.053) 0:00:34.059 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-pool-members.yml:29 Thursday 21 July 2022 17:17:47 +0000 (0:00:00.052) 0:00:34.111 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-pool-members.yml:33 Thursday 21 July 2022 17:17:47 +0000 (0:00:00.040) 0:00:34.151 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_type": "partition" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-pool-members.yml:37 Thursday 21 July 2022 17:17:47 +0000 (0:00:00.052) 0:00:34.203 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_type": "raid0" }, "changed": false } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-pool-members.yml:41 Thursday 21 July 2022 17:17:47 +0000 (0:00:00.040) 0:00:34.243 ********* ok: [/cache/rhel-7.qcow2] => (item=/dev/md/vg1-1) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/md/vg1-1" } MSG: All assertions passed TASK [Check MD RAID] *********************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-pool-members.yml:50 Thursday 21 July 2022 17:17:47 +0000 (0:00:00.045) 0:00:34.289 ********* included: /tmp/tmptomayb7j/tests/storage/verify-pool-md.yml for /cache/rhel-7.qcow2 TASK [get information about RAID] ********************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-md.yml:6 Thursday 21 July 2022 17:17:47 +0000 (0:00:00.043) 0:00:34.333 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "cmd": [ "mdadm", "--detail", "/dev/md/vg1-1" ], "delta": "0:00:00.010242", "end": "2022-07-21 13:17:47.223627", "rc": 0, "start": "2022-07-21 13:17:47.213385" } STDOUT: /dev/md/vg1-1: Version : 1.2 Creation Time : Thu Jul 21 13:17:33 2022 Raid Level : raid0 Array Size : 20951040 (19.98 GiB 21.45 GB) Raid Devices : 2 Total Devices : 2 Persistence : Superblock is persistent Update Time : Thu Jul 21 13:17:33 2022 State : clean Active Devices : 2 Working Devices : 2 Failed Devices : 0 Spare Devices : 0 Chunk Size : 512K Consistency Policy : none Name : vg1-1 UUID : f8bebd8e:652e2941:0905f253:02b0ff63 Events : 0 Number Major Minor RaidDevice State 0 8 17 0 active sync /dev/sdb1 1 8 33 1 active sync /dev/sdc1 TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-md.yml:12 Thursday 21 July 2022 17:17:47 +0000 (0:00:00.322) 0:00:34.655 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_md_active_devices_re": "Active\\ Devices\\ :\\ None\\\n" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-md.yml:16 Thursday 21 July 2022 17:17:47 +0000 (0:00:00.086) 0:00:34.742 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_md_spare_devices_re": "Spare\\ Devices\\ :\\ None\\\n" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-md.yml:20 Thursday 21 July 2022 17:17:48 +0000 (0:00:00.118) 0:00:34.861 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_md_metadata_version_re": "Version\\ :\\ None\\\n" }, "changed": false } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-md.yml:24 Thursday 21 July 2022 17:17:48 +0000 (0:00:00.054) 0:00:34.916 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-md.yml:30 Thursday 21 July 2022 17:17:48 +0000 (0:00:00.030) 0:00:34.946 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmptomayb7j/tests/storage/verify-pool-md.yml:36 Thursday 21 July 2022 17:17:48 +0000 (0:00:00.029) 0:00:34.975 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-md.yml:44 Thursday 21 July 2022 17:17:48 +0000 (0:00:00.032) 0:00:35.008 ********* ok: [/cache/rhel-7.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/tmptomayb7j/tests/storage/test-verify-pool-members.yml:53 Thursday 21 July 2022 17:17:48 +0000 (0:00:00.032) 0:00:35.040 ********* included: /tmp/tmptomayb7j/tests/storage/verify-pool-members-lvmraid.yml for /cache/rhel-7.qcow2 TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-members-lvmraid.yml:1 Thursday 21 July 2022 17:17:48 +0000 (0:00:00.042) 0:00:35.083 ********* included: /tmp/tmptomayb7j/tests/storage/verify-pool-member-lvmraid.yml for /cache/rhel-7.qcow2 => (item={'_raw_device': '/dev/mapper/vg1-lv1', 'raid_metadata_version': None, 'raid_level': None, 'fs_type': 'xfs', 'mount_options': 'defaults', 'type': 'lvm', '_device': '/dev/mapper/vg1-lv1', 'size': '2g', 'mount_point': '/opt/test1', 'compression': None, 'encryption_password': None, '_kernel_device': '/dev/dm-2', 'encryption': False, 'mount_device_identifier': 'uuid', 'name': 'lv1', 'raid_device_count': None, 'state': 'present', 'vdo_pool_size': None, 'thin_pool_name': None, 'thin_pool_size': None, 'encryption_key_size': None, 'encryption_cipher': None, 'encryption_key': None, 'fs_label': '', 'encryption_luks_version': None, 'cache_size': 0, '_mount_id': '/dev/mapper/vg1-lv1', 'raid_spare_count': None, 'raid_disks': [], '_raw_kernel_device': '/dev/dm-2', 'cache_mode': None, 'deduplication': None, 'cached': False, 'fs_overwrite_existing': True, 'disks': [], 'thin': False, 'mount_check': 0, 'mount_passno': 0, 'raid_chunk_size': None, 'cache_devices': [], 'fs_create_options': ''}) included: /tmp/tmptomayb7j/tests/storage/verify-pool-member-lvmraid.yml for /cache/rhel-7.qcow2 => (item={'_raw_device': '/dev/mapper/vg1-lv2', 'raid_metadata_version': None, 'raid_level': None, 'fs_type': 'xfs', 'mount_options': 'defaults', 'type': 'lvm', '_device': '/dev/mapper/vg1-lv2', 'size': '3g', 'mount_point': '/opt/test2', 'compression': None, 'encryption_password': None, '_kernel_device': '/dev/dm-1', 'encryption': False, 'mount_device_identifier': 'uuid', 'name': 'lv2', 'raid_device_count': None, 'state': 'present', 'vdo_pool_size': None, 'thin_pool_name': None, 'thin_pool_size': None, 'encryption_key_size': None, 'encryption_cipher': None, 'encryption_key': None, 'fs_label': '', 'encryption_luks_version': None, 'cache_size': 0, '_mount_id': '/dev/mapper/vg1-lv2', 'raid_spare_count': None, 'raid_disks': [], '_raw_kernel_device': '/dev/dm-1', 'cache_mode': None, 'deduplication': None, 'cached': False, 'fs_overwrite_existing': True, 'disks': [], 'thin': False, 'mount_check': 0, 'mount_passno': 0, 'raid_chunk_size': None, 'cache_devices': [], 'fs_create_options': ''}) included: /tmp/tmptomayb7j/tests/storage/verify-pool-member-lvmraid.yml for /cache/rhel-7.qcow2 => (item={'_raw_device': '/dev/mapper/vg1-lv3', 'raid_metadata_version': None, 'raid_level': None, 'fs_type': 'xfs', 'mount_options': 'defaults', 'type': 'lvm', '_device': '/dev/mapper/vg1-lv3', 'size': '3g', 'mount_point': '/opt/test3', 'compression': None, 'encryption_password': None, '_kernel_device': '/dev/dm-0', 'encryption': False, 'mount_device_identifier': 'uuid', 'name': 'lv3', 'raid_device_count': None, 'state': 'present', 'vdo_pool_size': None, 'thin_pool_name': None, 'thin_pool_size': None, 'encryption_key_size': None, 'encryption_cipher': None, 'encryption_key': None, 'fs_label': '', 'encryption_luks_version': None, 'cache_size': 0, '_mount_id': '/dev/mapper/vg1-lv3', 'raid_spare_count': None, 'raid_disks': [], '_raw_kernel_device': '/dev/dm-0', 'cache_mode': None, 'deduplication': None, 'cached': False, 'fs_overwrite_existing': True, 'disks': [], 'thin': False, 'mount_check': 0, 'mount_passno': 0, 'raid_chunk_size': None, 'cache_devices': [], 'fs_create_options': ''}) TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-lvmraid.yml:3 Thursday 21 July 2022 17:17:48 +0000 (0:00:00.053) 0:00:35.136 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-lvmraid.yml:8 Thursday 21 July 2022 17:17:48 +0000 (0:00:00.028) 0:00:35.165 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-lvmraid.yml:12 Thursday 21 July 2022 17:17:48 +0000 (0:00:00.029) 0:00:35.194 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-lvmraid.yml:3 Thursday 21 July 2022 17:17:48 +0000 (0:00:00.029) 0:00:35.224 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-lvmraid.yml:8 Thursday 21 July 2022 17:17:48 +0000 (0:00:00.027) 0:00:35.252 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-lvmraid.yml:12 Thursday 21 July 2022 17:17:48 +0000 (0:00:00.026) 0:00:35.279 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-lvmraid.yml:3 Thursday 21 July 2022 17:17:48 +0000 (0:00:00.029) 0:00:35.308 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-lvmraid.yml:8 Thursday 21 July 2022 17:17:48 +0000 (0:00:00.030) 0:00:35.339 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-lvmraid.yml:12 Thursday 21 July 2022 17:17:48 +0000 (0:00:00.029) 0:00:35.369 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-pool-members.yml:56 Thursday 21 July 2022 17:17:48 +0000 (0:00:00.029) 0:00:35.399 ********* included: /tmp/tmptomayb7j/tests/storage/verify-pool-members-thin.yml for /cache/rhel-7.qcow2 TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-members-thin.yml:1 Thursday 21 July 2022 17:17:48 +0000 (0:00:00.047) 0:00:35.446 ********* included: /tmp/tmptomayb7j/tests/storage/verify-pool-member-thin.yml for /cache/rhel-7.qcow2 => (item={'_raw_device': '/dev/mapper/vg1-lv1', 'raid_metadata_version': None, 'raid_level': None, 'fs_type': 'xfs', 'mount_options': 'defaults', 'type': 'lvm', '_device': '/dev/mapper/vg1-lv1', 'size': '2g', 'mount_point': '/opt/test1', 'compression': None, 'encryption_password': None, '_kernel_device': '/dev/dm-2', 'encryption': False, 'mount_device_identifier': 'uuid', 'name': 'lv1', 'raid_device_count': None, 'state': 'present', 'vdo_pool_size': None, 'thin_pool_name': None, 'thin_pool_size': None, 'encryption_key_size': None, 'encryption_cipher': None, 'encryption_key': None, 'fs_label': '', 'encryption_luks_version': None, 'cache_size': 0, '_mount_id': '/dev/mapper/vg1-lv1', 'raid_spare_count': None, 'raid_disks': [], '_raw_kernel_device': '/dev/dm-2', 'cache_mode': None, 'deduplication': None, 'cached': False, 'fs_overwrite_existing': True, 'disks': [], 'thin': False, 'mount_check': 0, 'mount_passno': 0, 'raid_chunk_size': None, 'cache_devices': [], 'fs_create_options': ''}) included: /tmp/tmptomayb7j/tests/storage/verify-pool-member-thin.yml for /cache/rhel-7.qcow2 => (item={'_raw_device': '/dev/mapper/vg1-lv2', 'raid_metadata_version': None, 'raid_level': None, 'fs_type': 'xfs', 'mount_options': 'defaults', 'type': 'lvm', '_device': '/dev/mapper/vg1-lv2', 'size': '3g', 'mount_point': '/opt/test2', 'compression': None, 'encryption_password': None, '_kernel_device': '/dev/dm-1', 'encryption': False, 'mount_device_identifier': 'uuid', 'name': 'lv2', 'raid_device_count': None, 'state': 'present', 'vdo_pool_size': None, 'thin_pool_name': None, 'thin_pool_size': None, 'encryption_key_size': None, 'encryption_cipher': None, 'encryption_key': None, 'fs_label': '', 'encryption_luks_version': None, 'cache_size': 0, '_mount_id': '/dev/mapper/vg1-lv2', 'raid_spare_count': None, 'raid_disks': [], '_raw_kernel_device': '/dev/dm-1', 'cache_mode': None, 'deduplication': None, 'cached': False, 'fs_overwrite_existing': True, 'disks': [], 'thin': False, 'mount_check': 0, 'mount_passno': 0, 'raid_chunk_size': None, 'cache_devices': [], 'fs_create_options': ''}) included: /tmp/tmptomayb7j/tests/storage/verify-pool-member-thin.yml for /cache/rhel-7.qcow2 => (item={'_raw_device': '/dev/mapper/vg1-lv3', 'raid_metadata_version': None, 'raid_level': None, 'fs_type': 'xfs', 'mount_options': 'defaults', 'type': 'lvm', '_device': '/dev/mapper/vg1-lv3', 'size': '3g', 'mount_point': '/opt/test3', 'compression': None, 'encryption_password': None, '_kernel_device': '/dev/dm-0', 'encryption': False, 'mount_device_identifier': 'uuid', 'name': 'lv3', 'raid_device_count': None, 'state': 'present', 'vdo_pool_size': None, 'thin_pool_name': None, 'thin_pool_size': None, 'encryption_key_size': None, 'encryption_cipher': None, 'encryption_key': None, 'fs_label': '', 'encryption_luks_version': None, 'cache_size': 0, '_mount_id': '/dev/mapper/vg1-lv3', 'raid_spare_count': None, 'raid_disks': [], '_raw_kernel_device': '/dev/dm-0', 'cache_mode': None, 'deduplication': None, 'cached': False, 'fs_overwrite_existing': True, 'disks': [], 'thin': False, 'mount_check': 0, 'mount_passno': 0, 'raid_chunk_size': None, 'cache_devices': [], 'fs_create_options': ''}) TASK [Get information about thinpool] ****************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-thin.yml:3 Thursday 21 July 2022 17:17:48 +0000 (0:00:00.055) 0:00:35.502 ********* skipping: [/cache/rhel-7.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/tmptomayb7j/tests/storage/verify-pool-member-thin.yml:8 Thursday 21 July 2022 17:17:48 +0000 (0:00:00.023) 0:00:35.525 ********* skipping: [/cache/rhel-7.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/tmptomayb7j/tests/storage/verify-pool-member-thin.yml:13 Thursday 21 July 2022 17:17:48 +0000 (0:00:00.022) 0:00:35.548 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-thin.yml:17 Thursday 21 July 2022 17:17:48 +0000 (0:00:00.028) 0:00:35.576 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about thinpool] ****************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-thin.yml:3 Thursday 21 July 2022 17:17:48 +0000 (0:00:00.026) 0:00:35.602 ********* skipping: [/cache/rhel-7.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/tmptomayb7j/tests/storage/verify-pool-member-thin.yml:8 Thursday 21 July 2022 17:17:48 +0000 (0:00:00.023) 0:00:35.626 ********* skipping: [/cache/rhel-7.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/tmptomayb7j/tests/storage/verify-pool-member-thin.yml:13 Thursday 21 July 2022 17:17:48 +0000 (0:00:00.023) 0:00:35.650 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-thin.yml:17 Thursday 21 July 2022 17:17:48 +0000 (0:00:00.024) 0:00:35.674 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about thinpool] ****************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-thin.yml:3 Thursday 21 July 2022 17:17:48 +0000 (0:00:00.024) 0:00:35.698 ********* skipping: [/cache/rhel-7.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/tmptomayb7j/tests/storage/verify-pool-member-thin.yml:8 Thursday 21 July 2022 17:17:48 +0000 (0:00:00.025) 0:00:35.724 ********* skipping: [/cache/rhel-7.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/tmptomayb7j/tests/storage/verify-pool-member-thin.yml:13 Thursday 21 July 2022 17:17:48 +0000 (0:00:00.023) 0:00:35.747 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-thin.yml:17 Thursday 21 July 2022 17:17:48 +0000 (0:00:00.023) 0:00:35.770 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-pool-members.yml:59 Thursday 21 July 2022 17:17:48 +0000 (0:00:00.024) 0:00:35.795 ********* included: /tmp/tmptomayb7j/tests/storage/verify-pool-members-encryption.yml for /cache/rhel-7.qcow2 TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-members-encryption.yml:4 Thursday 21 July 2022 17:17:49 +0000 (0:00:00.046) 0:00:35.842 ********* ok: [/cache/rhel-7.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/tmptomayb7j/tests/storage/verify-pool-members-encryption.yml:8 Thursday 21 July 2022 17:17:49 +0000 (0:00:00.049) 0:00:35.891 ********* skipping: [/cache/rhel-7.qcow2] => (item=/dev/md/vg1-1) => { "_storage_test_pool_member_path": "/dev/md/vg1-1", "ansible_loop_var": "_storage_test_pool_member_path", "changed": false, "skip_reason": "Conditional result was False" } TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-members-encryption.yml:15 Thursday 21 July 2022 17:17:49 +0000 (0:00:00.029) 0:00:35.921 ********* included: /tmp/tmptomayb7j/tests/storage/verify-pool-member-crypttab.yml for /cache/rhel-7.qcow2 => (item=/dev/md/vg1-1) TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-crypttab.yml:1 Thursday 21 July 2022 17:17:49 +0000 (0:00:00.044) 0:00:35.965 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": [] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-crypttab.yml:4 Thursday 21 July 2022 17:17:49 +0000 (0:00:00.139) 0:00:36.105 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-crypttab.yml:9 Thursday 21 July 2022 17:17:49 +0000 (0:00:00.051) 0:00:36.156 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-crypttab.yml:15 Thursday 21 July 2022 17:17:49 +0000 (0:00:00.036) 0:00:36.192 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-crypttab.yml:21 Thursday 21 July 2022 17:17:49 +0000 (0:00:00.038) 0:00:36.231 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-crypttab.yml:27 Thursday 21 July 2022 17:17:49 +0000 (0:00:00.037) 0:00:36.269 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-members-encryption.yml:22 Thursday 21 July 2022 17:17:49 +0000 (0:00:00.035) 0:00:36.304 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-pool-members.yml:62 Thursday 21 July 2022 17:17:49 +0000 (0:00:00.037) 0:00:36.342 ********* included: /tmp/tmptomayb7j/tests/storage/verify-pool-members-vdo.yml for /cache/rhel-7.qcow2 TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-members-vdo.yml:1 Thursday 21 July 2022 17:17:49 +0000 (0:00:00.051) 0:00:36.393 ********* included: /tmp/tmptomayb7j/tests/storage/verify-pool-member-vdo.yml for /cache/rhel-7.qcow2 => (item={'_raw_device': '/dev/mapper/vg1-lv1', 'raid_metadata_version': None, 'raid_level': None, 'fs_type': 'xfs', 'mount_options': 'defaults', 'type': 'lvm', '_device': '/dev/mapper/vg1-lv1', 'size': '2g', 'mount_point': '/opt/test1', 'compression': None, 'encryption_password': None, '_kernel_device': '/dev/dm-2', 'encryption': False, 'mount_device_identifier': 'uuid', 'name': 'lv1', 'raid_device_count': None, 'state': 'present', 'vdo_pool_size': None, 'thin_pool_name': None, 'thin_pool_size': None, 'encryption_key_size': None, 'encryption_cipher': None, 'encryption_key': None, 'fs_label': '', 'encryption_luks_version': None, 'cache_size': 0, '_mount_id': '/dev/mapper/vg1-lv1', 'raid_spare_count': None, 'raid_disks': [], '_raw_kernel_device': '/dev/dm-2', 'cache_mode': None, 'deduplication': None, 'cached': False, 'fs_overwrite_existing': True, 'disks': [], 'thin': False, 'mount_check': 0, 'mount_passno': 0, 'raid_chunk_size': None, 'cache_devices': [], 'fs_create_options': ''}) included: /tmp/tmptomayb7j/tests/storage/verify-pool-member-vdo.yml for /cache/rhel-7.qcow2 => (item={'_raw_device': '/dev/mapper/vg1-lv2', 'raid_metadata_version': None, 'raid_level': None, 'fs_type': 'xfs', 'mount_options': 'defaults', 'type': 'lvm', '_device': '/dev/mapper/vg1-lv2', 'size': '3g', 'mount_point': '/opt/test2', 'compression': None, 'encryption_password': None, '_kernel_device': '/dev/dm-1', 'encryption': False, 'mount_device_identifier': 'uuid', 'name': 'lv2', 'raid_device_count': None, 'state': 'present', 'vdo_pool_size': None, 'thin_pool_name': None, 'thin_pool_size': None, 'encryption_key_size': None, 'encryption_cipher': None, 'encryption_key': None, 'fs_label': '', 'encryption_luks_version': None, 'cache_size': 0, '_mount_id': '/dev/mapper/vg1-lv2', 'raid_spare_count': None, 'raid_disks': [], '_raw_kernel_device': '/dev/dm-1', 'cache_mode': None, 'deduplication': None, 'cached': False, 'fs_overwrite_existing': True, 'disks': [], 'thin': False, 'mount_check': 0, 'mount_passno': 0, 'raid_chunk_size': None, 'cache_devices': [], 'fs_create_options': ''}) included: /tmp/tmptomayb7j/tests/storage/verify-pool-member-vdo.yml for /cache/rhel-7.qcow2 => (item={'_raw_device': '/dev/mapper/vg1-lv3', 'raid_metadata_version': None, 'raid_level': None, 'fs_type': 'xfs', 'mount_options': 'defaults', 'type': 'lvm', '_device': '/dev/mapper/vg1-lv3', 'size': '3g', 'mount_point': '/opt/test3', 'compression': None, 'encryption_password': None, '_kernel_device': '/dev/dm-0', 'encryption': False, 'mount_device_identifier': 'uuid', 'name': 'lv3', 'raid_device_count': None, 'state': 'present', 'vdo_pool_size': None, 'thin_pool_name': None, 'thin_pool_size': None, 'encryption_key_size': None, 'encryption_cipher': None, 'encryption_key': None, 'fs_label': '', 'encryption_luks_version': None, 'cache_size': 0, '_mount_id': '/dev/mapper/vg1-lv3', 'raid_spare_count': None, 'raid_disks': [], '_raw_kernel_device': '/dev/dm-0', 'cache_mode': None, 'deduplication': None, 'cached': False, 'fs_overwrite_existing': True, 'disks': [], 'thin': False, 'mount_check': 0, 'mount_passno': 0, 'raid_chunk_size': None, 'cache_devices': [], 'fs_create_options': ''}) TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-vdo.yml:3 Thursday 21 July 2022 17:17:49 +0000 (0:00:00.063) 0:00:36.457 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-vdo.yml:8 Thursday 21 July 2022 17:17:49 +0000 (0:00:00.025) 0:00:36.482 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-vdo.yml:11 Thursday 21 July 2022 17:17:49 +0000 (0:00:00.024) 0:00:36.506 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-vdo.yml:16 Thursday 21 July 2022 17:17:49 +0000 (0:00:00.023) 0:00:36.530 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-vdo.yml:21 Thursday 21 July 2022 17:17:49 +0000 (0:00:00.024) 0:00:36.555 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-vdo.yml:24 Thursday 21 July 2022 17:17:49 +0000 (0:00:00.023) 0:00:36.578 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-vdo.yml:29 Thursday 21 July 2022 17:17:49 +0000 (0:00:00.025) 0:00:36.604 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-vdo.yml:39 Thursday 21 July 2022 17:17:49 +0000 (0:00:00.024) 0:00:36.628 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-vdo.yml:3 Thursday 21 July 2022 17:17:49 +0000 (0:00:00.037) 0:00:36.665 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-vdo.yml:8 Thursday 21 July 2022 17:17:49 +0000 (0:00:00.025) 0:00:36.690 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-vdo.yml:11 Thursday 21 July 2022 17:17:49 +0000 (0:00:00.025) 0:00:36.715 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-vdo.yml:16 Thursday 21 July 2022 17:17:49 +0000 (0:00:00.024) 0:00:36.740 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-vdo.yml:21 Thursday 21 July 2022 17:17:49 +0000 (0:00:00.027) 0:00:36.767 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-vdo.yml:24 Thursday 21 July 2022 17:17:49 +0000 (0:00:00.025) 0:00:36.793 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-vdo.yml:29 Thursday 21 July 2022 17:17:49 +0000 (0:00:00.025) 0:00:36.818 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-vdo.yml:39 Thursday 21 July 2022 17:17:50 +0000 (0:00:00.025) 0:00:36.844 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-vdo.yml:3 Thursday 21 July 2022 17:17:50 +0000 (0:00:00.037) 0:00:36.881 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-vdo.yml:8 Thursday 21 July 2022 17:17:50 +0000 (0:00:00.024) 0:00:36.905 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-vdo.yml:11 Thursday 21 July 2022 17:17:50 +0000 (0:00:00.023) 0:00:36.929 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-vdo.yml:16 Thursday 21 July 2022 17:17:50 +0000 (0:00:00.023) 0:00:36.952 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-vdo.yml:21 Thursday 21 July 2022 17:17:50 +0000 (0:00:00.025) 0:00:36.978 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-vdo.yml:24 Thursday 21 July 2022 17:17:50 +0000 (0:00:00.025) 0:00:37.004 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-vdo.yml:29 Thursday 21 July 2022 17:17:50 +0000 (0:00:00.025) 0:00:37.029 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-vdo.yml:39 Thursday 21 July 2022 17:17:50 +0000 (0:00:00.025) 0:00:37.055 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-pool-members.yml:65 Thursday 21 July 2022 17:17:50 +0000 (0:00:00.042) 0:00:37.097 ********* ok: [/cache/rhel-7.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/tmptomayb7j/tests/storage/test-verify-pool-volumes.yml:3 Thursday 21 July 2022 17:17:50 +0000 (0:00:00.036) 0:00:37.133 ********* included: /tmp/tmptomayb7j/tests/storage/test-verify-volume.yml for /cache/rhel-7.qcow2 => (item={'_raw_device': '/dev/mapper/vg1-lv1', 'raid_metadata_version': None, 'raid_level': None, 'fs_type': 'xfs', 'mount_options': 'defaults', 'type': 'lvm', '_device': '/dev/mapper/vg1-lv1', 'size': '2g', 'mount_point': '/opt/test1', 'compression': None, 'encryption_password': None, '_kernel_device': '/dev/dm-2', 'encryption': False, 'mount_device_identifier': 'uuid', 'name': 'lv1', 'raid_device_count': None, 'state': 'present', 'vdo_pool_size': None, 'thin_pool_name': None, 'thin_pool_size': None, 'encryption_key_size': None, 'encryption_cipher': None, 'encryption_key': None, 'fs_label': '', 'encryption_luks_version': None, 'cache_size': 0, '_mount_id': '/dev/mapper/vg1-lv1', 'raid_spare_count': None, 'raid_disks': [], '_raw_kernel_device': '/dev/dm-2', 'cache_mode': None, 'deduplication': None, 'cached': False, 'fs_overwrite_existing': True, 'disks': [], 'thin': False, 'mount_check': 0, 'mount_passno': 0, 'raid_chunk_size': None, 'cache_devices': [], 'fs_create_options': ''}) included: /tmp/tmptomayb7j/tests/storage/test-verify-volume.yml for /cache/rhel-7.qcow2 => (item={'_raw_device': '/dev/mapper/vg1-lv2', 'raid_metadata_version': None, 'raid_level': None, 'fs_type': 'xfs', 'mount_options': 'defaults', 'type': 'lvm', '_device': '/dev/mapper/vg1-lv2', 'size': '3g', 'mount_point': '/opt/test2', 'compression': None, 'encryption_password': None, '_kernel_device': '/dev/dm-1', 'encryption': False, 'mount_device_identifier': 'uuid', 'name': 'lv2', 'raid_device_count': None, 'state': 'present', 'vdo_pool_size': None, 'thin_pool_name': None, 'thin_pool_size': None, 'encryption_key_size': None, 'encryption_cipher': None, 'encryption_key': None, 'fs_label': '', 'encryption_luks_version': None, 'cache_size': 0, '_mount_id': '/dev/mapper/vg1-lv2', 'raid_spare_count': None, 'raid_disks': [], '_raw_kernel_device': '/dev/dm-1', 'cache_mode': None, 'deduplication': None, 'cached': False, 'fs_overwrite_existing': True, 'disks': [], 'thin': False, 'mount_check': 0, 'mount_passno': 0, 'raid_chunk_size': None, 'cache_devices': [], 'fs_create_options': ''}) included: /tmp/tmptomayb7j/tests/storage/test-verify-volume.yml for /cache/rhel-7.qcow2 => (item={'_raw_device': '/dev/mapper/vg1-lv3', 'raid_metadata_version': None, 'raid_level': None, 'fs_type': 'xfs', 'mount_options': 'defaults', 'type': 'lvm', '_device': '/dev/mapper/vg1-lv3', 'size': '3g', 'mount_point': '/opt/test3', 'compression': None, 'encryption_password': None, '_kernel_device': '/dev/dm-0', 'encryption': False, 'mount_device_identifier': 'uuid', 'name': 'lv3', 'raid_device_count': None, 'state': 'present', 'vdo_pool_size': None, 'thin_pool_name': None, 'thin_pool_size': None, 'encryption_key_size': None, 'encryption_cipher': None, 'encryption_key': None, 'fs_label': '', 'encryption_luks_version': None, 'cache_size': 0, '_mount_id': '/dev/mapper/vg1-lv3', 'raid_spare_count': None, 'raid_disks': [], '_raw_kernel_device': '/dev/dm-0', 'cache_mode': None, 'deduplication': None, 'cached': False, 'fs_overwrite_existing': True, 'disks': [], 'thin': False, 'mount_check': 0, 'mount_passno': 0, 'raid_chunk_size': None, 'cache_devices': [], 'fs_create_options': ''}) TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume.yml:2 Thursday 21 July 2022 17:17:50 +0000 (0:00:00.052) 0:00:37.186 ********* ok: [/cache/rhel-7.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/tmptomayb7j/tests/storage/test-verify-volume.yml:10 Thursday 21 July 2022 17:17:50 +0000 (0:00:00.047) 0:00:37.234 ********* included: /tmp/tmptomayb7j/tests/storage/test-verify-volume-mount.yml for /cache/rhel-7.qcow2 => (item=mount) included: /tmp/tmptomayb7j/tests/storage/test-verify-volume-fstab.yml for /cache/rhel-7.qcow2 => (item=fstab) included: /tmp/tmptomayb7j/tests/storage/test-verify-volume-fs.yml for /cache/rhel-7.qcow2 => (item=fs) included: /tmp/tmptomayb7j/tests/storage/test-verify-volume-device.yml for /cache/rhel-7.qcow2 => (item=device) included: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml for /cache/rhel-7.qcow2 => (item=encryption) included: /tmp/tmptomayb7j/tests/storage/test-verify-volume-md.yml for /cache/rhel-7.qcow2 => (item=md) included: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml for /cache/rhel-7.qcow2 => (item=size) included: /tmp/tmptomayb7j/tests/storage/test-verify-volume-cache.yml for /cache/rhel-7.qcow2 => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-mount.yml:6 Thursday 21 July 2022 17:17:50 +0000 (0:00:00.128) 0:00:37.363 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/vg1-lv1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-mount.yml:10 Thursday 21 July 2022 17:17:50 +0000 (0:00:00.043) 0:00:37.406 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 512408, "block_size": 4096, "block_total": 520704, "block_used": 8296, "device": "/dev/mapper/vg1-lv1", "fstype": "xfs", "inode_available": 1046525, "inode_total": 1046528, "inode_used": 3, "mount": "/opt/test1", "options": "rw,seclabel,relatime,attr2,inode64,sunit=1024,swidth=2048,noquota", "size_available": 2098823168, "size_total": 2132803584, "uuid": "fcf240de-eae8-45aa-8ef4-a1854847b650" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 512408, "block_size": 4096, "block_total": 520704, "block_used": 8296, "device": "/dev/mapper/vg1-lv1", "fstype": "xfs", "inode_available": 1046525, "inode_total": 1046528, "inode_used": 3, "mount": "/opt/test1", "options": "rw,seclabel,relatime,attr2,inode64,sunit=1024,swidth=2048,noquota", "size_available": 2098823168, "size_total": 2132803584, "uuid": "fcf240de-eae8-45aa-8ef4-a1854847b650" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-mount.yml:20 Thursday 21 July 2022 17:17:50 +0000 (0:00:00.057) 0:00:37.464 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-mount.yml:29 Thursday 21 July 2022 17:17:50 +0000 (0:00:00.052) 0:00:37.517 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-mount.yml:37 Thursday 21 July 2022 17:17:50 +0000 (0:00:00.050) 0:00:37.567 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-mount.yml:46 Thursday 21 July 2022 17:17:50 +0000 (0:00:00.054) 0:00:37.622 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-mount.yml:50 Thursday 21 July 2022 17:17:50 +0000 (0:00:00.026) 0:00:37.648 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-mount.yml:55 Thursday 21 July 2022 17:17:50 +0000 (0:00:00.024) 0:00:37.673 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-mount.yml:65 Thursday 21 July 2022 17:17:50 +0000 (0:00:00.023) 0:00:37.696 ********* ok: [/cache/rhel-7.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/tmptomayb7j/tests/storage/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 17:17:50 +0000 (0:00:00.037) 0:00:37.733 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "1", "storage_test_fstab_expected_mount_options_matches": "1", "storage_test_fstab_expected_mount_point_matches": "1", "storage_test_fstab_id_matches": [ "/dev/mapper/vg1-lv1 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test1 xfs defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test1 " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-fstab.yml:12 Thursday 21 July 2022 17:17:50 +0000 (0:00:00.081) 0:00:37.814 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-fstab.yml:19 Thursday 21 July 2022 17:17:51 +0000 (0:00:00.059) 0:00:37.874 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 17:17:51 +0000 (0:00:00.060) 0:00:37.935 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-fstab.yml:34 Thursday 21 July 2022 17:17:51 +0000 (0:00:00.039) 0:00:37.974 ********* ok: [/cache/rhel-7.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/tmptomayb7j/tests/storage/test-verify-volume-fs.yml:4 Thursday 21 July 2022 17:17:51 +0000 (0:00:00.037) 0:00:38.011 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-fs.yml:10 Thursday 21 July 2022 17:17:51 +0000 (0:00:00.039) 0:00:38.051 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-device.yml:4 Thursday 21 July 2022 17:17:51 +0000 (0:00:00.039) 0:00:38.091 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "stat": { "atime": 1658423859.7130337, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658423859.7130337, "dev": 5, "device_type": 64514, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 35483, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1658423859.7130337, "nlink": 1, "path": "/dev/mapper/vg1-lv1", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-device.yml:10 Thursday 21 July 2022 17:17:51 +0000 (0:00:00.318) 0:00:38.410 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-device.yml:15 Thursday 21 July 2022 17:17:51 +0000 (0:00:00.037) 0:00:38.447 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-device.yml:21 Thursday 21 July 2022 17:17:51 +0000 (0:00:00.038) 0:00:38.486 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-device.yml:25 Thursday 21 July 2022 17:17:51 +0000 (0:00:00.036) 0:00:38.523 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-device.yml:30 Thursday 21 July 2022 17:17:51 +0000 (0:00:00.023) 0:00:38.546 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 17:17:51 +0000 (0:00:00.037) 0:00:38.583 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 17:17:51 +0000 (0:00:00.024) 0:00:38.608 ********* changed: [/cache/rhel-7.qcow2] => { "changed": true, "changes": { "installed": [ "cryptsetup" ] }, "rc": 0, "results": [ "Loaded plugins: search-disabled-repos\nResolving Dependencies\n--> Running transaction check\n---> Package cryptsetup.x86_64 0:2.0.3-6.el7 will be installed\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nInstalling:\n cryptsetup x86_64 2.0.3-6.el7 rhel 154 k\n\nTransaction Summary\n================================================================================\nInstall 1 Package\n\nTotal download size: 154 k\nInstalled size: 354 k\nDownloading packages:\nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Installing : cryptsetup-2.0.3-6.el7.x86_64 1/1 \n Verifying : cryptsetup-2.0.3-6.el7.x86_64 1/1 \n\nInstalled:\n cryptsetup.x86_64 0:2.0.3-6.el7 \n\nComplete!\n" ] } TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 17:17:53 +0000 (0:00:01.573) 0:00:40.182 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 17:17:53 +0000 (0:00:00.024) 0:00:40.206 ********* skipping: [/cache/rhel-7.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/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:27 Thursday 21 July 2022 17:17:53 +0000 (0:00:00.024) 0:00:40.231 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:33 Thursday 21 July 2022 17:17:53 +0000 (0:00:00.051) 0:00:40.282 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:39 Thursday 21 July 2022 17:17:53 +0000 (0:00:00.026) 0:00:40.309 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 17:17:53 +0000 (0:00:00.025) 0:00:40.334 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:50 Thursday 21 July 2022 17:17:53 +0000 (0:00:00.023) 0:00:40.358 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:56 Thursday 21 July 2022 17:17:53 +0000 (0:00:00.022) 0:00:40.381 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:62 Thursday 21 July 2022 17:17:53 +0000 (0:00:00.023) 0:00:40.405 ********* ok: [/cache/rhel-7.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/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 17:17:53 +0000 (0:00:00.089) 0:00:40.494 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:72 Thursday 21 July 2022 17:17:53 +0000 (0:00:00.087) 0:00:40.582 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:78 Thursday 21 July 2022 17:17:53 +0000 (0:00:00.071) 0:00:40.654 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:84 Thursday 21 July 2022 17:17:53 +0000 (0:00:00.036) 0:00:40.691 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:90 Thursday 21 July 2022 17:17:53 +0000 (0:00:00.035) 0:00:40.726 ********* ok: [/cache/rhel-7.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/tmptomayb7j/tests/storage/test-verify-volume-md.yml:7 Thursday 21 July 2022 17:17:53 +0000 (0:00:00.035) 0:00:40.762 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-md.yml:13 Thursday 21 July 2022 17:17:53 +0000 (0:00:00.035) 0:00:40.797 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-md.yml:17 Thursday 21 July 2022 17:17:54 +0000 (0:00:00.035) 0:00:40.832 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-md.yml:21 Thursday 21 July 2022 17:17:54 +0000 (0:00:00.037) 0:00:40.870 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-md.yml:25 Thursday 21 July 2022 17:17:54 +0000 (0:00:00.037) 0:00:40.908 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-md.yml:31 Thursday 21 July 2022 17:17:54 +0000 (0:00:00.035) 0:00:40.943 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-md.yml:37 Thursday 21 July 2022 17:17:54 +0000 (0:00:00.035) 0:00:40.978 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:3 Thursday 21 July 2022 17:17:54 +0000 (0:00:00.035) 0:00:41.014 ********* ok: [/cache/rhel-7.qcow2] => { "bytes": 2147483648, "changed": false, "lvm": "2g", "parted": "2GiB", "size": "2 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:9 Thursday 21 July 2022 17:17:54 +0000 (0:00:00.404) 0:00:41.418 ********* ok: [/cache/rhel-7.qcow2] => { "bytes": 2147483648, "changed": false, "lvm": "2g", "parted": "2GiB", "size": "2 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:15 Thursday 21 July 2022 17:17:54 +0000 (0:00:00.308) 0:00:41.727 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_expected_size": "2147483648" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:20 Thursday 21 July 2022 17:17:54 +0000 (0:00:00.052) 0:00:41.780 ********* ok: [/cache/rhel-7.qcow2] => { "storage_test_expected_size": "2147483648" } TASK [debug] ******************************************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:25 Thursday 21 July 2022 17:17:54 +0000 (0:00:00.036) 0:00:41.816 ********* skipping: [/cache/rhel-7.qcow2] => {} TASK [debug] ******************************************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:28 Thursday 21 July 2022 17:17:55 +0000 (0:00:00.035) 0:00:41.851 ********* skipping: [/cache/rhel-7.qcow2] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:31 Thursday 21 July 2022 17:17:55 +0000 (0:00:00.035) 0:00:41.887 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:36 Thursday 21 July 2022 17:17:55 +0000 (0:00:00.038) 0:00:41.926 ********* skipping: [/cache/rhel-7.qcow2] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:39 Thursday 21 July 2022 17:17:55 +0000 (0:00:00.037) 0:00:41.964 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:44 Thursday 21 July 2022 17:17:55 +0000 (0:00:00.038) 0:00:42.002 ********* ok: [/cache/rhel-7.qcow2] => { "storage_test_actual_size": { "bytes": 2147483648, "changed": false, "failed": false, "lvm": "2g", "parted": "2GiB", "size": "2 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:47 Thursday 21 July 2022 17:17:55 +0000 (0:00:00.036) 0:00:42.039 ********* ok: [/cache/rhel-7.qcow2] => { "storage_test_expected_size": "2147483648" } TASK [assert] ****************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:50 Thursday 21 July 2022 17:17:55 +0000 (0:00:00.034) 0:00:42.074 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-cache.yml:6 Thursday 21 July 2022 17:17:55 +0000 (0:00:00.055) 0:00:42.129 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "cmd": [ "lvs", "--noheadings", "--nameprefixes", "--units=b", "--nosuffix", "--unquoted", "-o", "name,attr,cache_total_blocks,chunk_size,segtype", "vg1/lv1" ], "delta": "0:00:00.024113", "end": "2022-07-21 13:17:55.031310", "rc": 0, "start": "2022-07-21 13:17:55.007197" } STDOUT: LVM2_LV_NAME=lv1 LVM2_LV_ATTR=-wi-ao---- LVM2_CACHE_TOTAL_BLOCKS= LVM2_CHUNK_SIZE=0 LVM2_SEGTYPE=linear TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-cache.yml:14 Thursday 21 July 2022 17:17:55 +0000 (0:00:00.334) 0:00:42.464 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_lv_segtype": [ "linear" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-cache.yml:17 Thursday 21 July 2022 17:17:55 +0000 (0:00:00.051) 0:00:42.516 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-cache.yml:22 Thursday 21 July 2022 17:17:55 +0000 (0:00:00.064) 0:00:42.580 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-cache.yml:26 Thursday 21 July 2022 17:17:55 +0000 (0:00:00.044) 0:00:42.625 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-cache.yml:32 Thursday 21 July 2022 17:17:55 +0000 (0:00:00.039) 0:00:42.665 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-cache.yml:36 Thursday 21 July 2022 17:17:55 +0000 (0:00:00.040) 0:00:42.706 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume.yml:16 Thursday 21 July 2022 17:17:55 +0000 (0:00:00.042) 0:00:42.748 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume.yml:2 Thursday 21 July 2022 17:17:56 +0000 (0:00:00.076) 0:00:42.824 ********* ok: [/cache/rhel-7.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/tmptomayb7j/tests/storage/test-verify-volume.yml:10 Thursday 21 July 2022 17:17:56 +0000 (0:00:00.049) 0:00:42.873 ********* included: /tmp/tmptomayb7j/tests/storage/test-verify-volume-mount.yml for /cache/rhel-7.qcow2 => (item=mount) included: /tmp/tmptomayb7j/tests/storage/test-verify-volume-fstab.yml for /cache/rhel-7.qcow2 => (item=fstab) included: /tmp/tmptomayb7j/tests/storage/test-verify-volume-fs.yml for /cache/rhel-7.qcow2 => (item=fs) included: /tmp/tmptomayb7j/tests/storage/test-verify-volume-device.yml for /cache/rhel-7.qcow2 => (item=device) included: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml for /cache/rhel-7.qcow2 => (item=encryption) included: /tmp/tmptomayb7j/tests/storage/test-verify-volume-md.yml for /cache/rhel-7.qcow2 => (item=md) included: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml for /cache/rhel-7.qcow2 => (item=size) included: /tmp/tmptomayb7j/tests/storage/test-verify-volume-cache.yml for /cache/rhel-7.qcow2 => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-mount.yml:6 Thursday 21 July 2022 17:17:56 +0000 (0:00:00.079) 0:00:42.953 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/vg1-lv2" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-mount.yml:10 Thursday 21 July 2022 17:17:56 +0000 (0:00:00.041) 0:00:42.994 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 774552, "block_size": 4096, "block_total": 782848, "block_used": 8296, "device": "/dev/mapper/vg1-lv2", "fstype": "xfs", "inode_available": 1570813, "inode_total": 1570816, "inode_used": 3, "mount": "/opt/test2", "options": "rw,seclabel,relatime,attr2,inode64,sunit=1024,swidth=2048,noquota", "size_available": 3172564992, "size_total": 3206545408, "uuid": "a6180de1-6f41-4653-ac61-d56d22205292" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 774552, "block_size": 4096, "block_total": 782848, "block_used": 8296, "device": "/dev/mapper/vg1-lv2", "fstype": "xfs", "inode_available": 1570813, "inode_total": 1570816, "inode_used": 3, "mount": "/opt/test2", "options": "rw,seclabel,relatime,attr2,inode64,sunit=1024,swidth=2048,noquota", "size_available": 3172564992, "size_total": 3206545408, "uuid": "a6180de1-6f41-4653-ac61-d56d22205292" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-mount.yml:20 Thursday 21 July 2022 17:17:56 +0000 (0:00:00.052) 0:00:43.047 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-mount.yml:29 Thursday 21 July 2022 17:17:56 +0000 (0:00:00.052) 0:00:43.099 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-mount.yml:37 Thursday 21 July 2022 17:17:56 +0000 (0:00:00.048) 0:00:43.148 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-mount.yml:46 Thursday 21 July 2022 17:17:56 +0000 (0:00:00.047) 0:00:43.196 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-mount.yml:50 Thursday 21 July 2022 17:17:56 +0000 (0:00:00.023) 0:00:43.219 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-mount.yml:55 Thursday 21 July 2022 17:17:56 +0000 (0:00:00.023) 0:00:43.242 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-mount.yml:65 Thursday 21 July 2022 17:17:56 +0000 (0:00:00.022) 0:00:43.265 ********* ok: [/cache/rhel-7.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/tmptomayb7j/tests/storage/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 17:17:56 +0000 (0:00:00.031) 0:00:43.296 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "1", "storage_test_fstab_expected_mount_options_matches": "1", "storage_test_fstab_expected_mount_point_matches": "1", "storage_test_fstab_id_matches": [ "/dev/mapper/vg1-lv2 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test2 xfs defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test2 " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-fstab.yml:12 Thursday 21 July 2022 17:17:56 +0000 (0:00:00.057) 0:00:43.354 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-fstab.yml:19 Thursday 21 July 2022 17:17:56 +0000 (0:00:00.052) 0:00:43.406 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 17:17:56 +0000 (0:00:00.048) 0:00:43.455 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-fstab.yml:34 Thursday 21 July 2022 17:17:56 +0000 (0:00:00.035) 0:00:43.491 ********* ok: [/cache/rhel-7.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/tmptomayb7j/tests/storage/test-verify-volume-fs.yml:4 Thursday 21 July 2022 17:17:56 +0000 (0:00:00.036) 0:00:43.527 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-fs.yml:10 Thursday 21 July 2022 17:17:56 +0000 (0:00:00.042) 0:00:43.570 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-device.yml:4 Thursday 21 July 2022 17:17:56 +0000 (0:00:00.037) 0:00:43.608 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "stat": { "atime": 1658423859.5310335, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658423859.5310335, "dev": 5, "device_type": 64513, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 35442, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1658423859.5310335, "nlink": 1, "path": "/dev/mapper/vg1-lv2", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-device.yml:10 Thursday 21 July 2022 17:17:57 +0000 (0:00:00.312) 0:00:43.920 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-device.yml:15 Thursday 21 July 2022 17:17:57 +0000 (0:00:00.036) 0:00:43.957 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-device.yml:21 Thursday 21 July 2022 17:17:57 +0000 (0:00:00.036) 0:00:43.994 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-device.yml:25 Thursday 21 July 2022 17:17:57 +0000 (0:00:00.039) 0:00:44.034 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-device.yml:30 Thursday 21 July 2022 17:17:57 +0000 (0:00:00.024) 0:00:44.059 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 17:17:57 +0000 (0:00:00.039) 0:00:44.098 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 17:17:57 +0000 (0:00:00.023) 0:00:44.122 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "rc": 0, "results": [ "cryptsetup-2.0.3-6.el7.x86_64 providing cryptsetup is already installed" ] } TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 17:17:57 +0000 (0:00:00.505) 0:00:44.628 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 17:17:57 +0000 (0:00:00.024) 0:00:44.652 ********* skipping: [/cache/rhel-7.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/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:27 Thursday 21 July 2022 17:17:57 +0000 (0:00:00.023) 0:00:44.675 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:33 Thursday 21 July 2022 17:17:57 +0000 (0:00:00.093) 0:00:44.769 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:39 Thursday 21 July 2022 17:17:57 +0000 (0:00:00.026) 0:00:44.795 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 17:17:58 +0000 (0:00:00.062) 0:00:44.858 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:50 Thursday 21 July 2022 17:17:58 +0000 (0:00:00.025) 0:00:44.884 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:56 Thursday 21 July 2022 17:17:58 +0000 (0:00:00.025) 0:00:44.909 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:62 Thursday 21 July 2022 17:17:58 +0000 (0:00:00.025) 0:00:44.935 ********* ok: [/cache/rhel-7.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/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 17:17:58 +0000 (0:00:00.053) 0:00:44.989 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:72 Thursday 21 July 2022 17:17:58 +0000 (0:00:00.046) 0:00:45.035 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:78 Thursday 21 July 2022 17:17:58 +0000 (0:00:00.033) 0:00:45.069 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:84 Thursday 21 July 2022 17:17:58 +0000 (0:00:00.035) 0:00:45.105 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:90 Thursday 21 July 2022 17:17:58 +0000 (0:00:00.033) 0:00:45.139 ********* ok: [/cache/rhel-7.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/tmptomayb7j/tests/storage/test-verify-volume-md.yml:7 Thursday 21 July 2022 17:17:58 +0000 (0:00:00.032) 0:00:45.172 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-md.yml:13 Thursday 21 July 2022 17:17:58 +0000 (0:00:00.038) 0:00:45.210 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-md.yml:17 Thursday 21 July 2022 17:17:58 +0000 (0:00:00.041) 0:00:45.251 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-md.yml:21 Thursday 21 July 2022 17:17:58 +0000 (0:00:00.040) 0:00:45.291 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-md.yml:25 Thursday 21 July 2022 17:17:58 +0000 (0:00:00.039) 0:00:45.331 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-md.yml:31 Thursday 21 July 2022 17:17:58 +0000 (0:00:00.038) 0:00:45.369 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-md.yml:37 Thursday 21 July 2022 17:17:58 +0000 (0:00:00.039) 0:00:45.409 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:3 Thursday 21 July 2022 17:17:58 +0000 (0:00:00.036) 0:00:45.445 ********* ok: [/cache/rhel-7.qcow2] => { "bytes": 3221225472, "changed": false, "lvm": "3g", "parted": "3GiB", "size": "3 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:9 Thursday 21 July 2022 17:17:58 +0000 (0:00:00.316) 0:00:45.762 ********* ok: [/cache/rhel-7.qcow2] => { "bytes": 3221225472, "changed": false, "lvm": "3g", "parted": "3GiB", "size": "3 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:15 Thursday 21 July 2022 17:17:59 +0000 (0:00:00.328) 0:00:46.090 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_expected_size": "3221225472" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:20 Thursday 21 July 2022 17:17:59 +0000 (0:00:00.048) 0:00:46.139 ********* ok: [/cache/rhel-7.qcow2] => { "storage_test_expected_size": "3221225472" } TASK [debug] ******************************************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:25 Thursday 21 July 2022 17:17:59 +0000 (0:00:00.033) 0:00:46.172 ********* skipping: [/cache/rhel-7.qcow2] => {} TASK [debug] ******************************************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:28 Thursday 21 July 2022 17:17:59 +0000 (0:00:00.035) 0:00:46.208 ********* skipping: [/cache/rhel-7.qcow2] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:31 Thursday 21 July 2022 17:17:59 +0000 (0:00:00.035) 0:00:46.244 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:36 Thursday 21 July 2022 17:17:59 +0000 (0:00:00.037) 0:00:46.281 ********* skipping: [/cache/rhel-7.qcow2] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:39 Thursday 21 July 2022 17:17:59 +0000 (0:00:00.038) 0:00:46.320 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:44 Thursday 21 July 2022 17:17:59 +0000 (0:00:00.036) 0:00:46.356 ********* ok: [/cache/rhel-7.qcow2] => { "storage_test_actual_size": { "bytes": 3221225472, "changed": false, "failed": false, "lvm": "3g", "parted": "3GiB", "size": "3 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:47 Thursday 21 July 2022 17:17:59 +0000 (0:00:00.037) 0:00:46.393 ********* ok: [/cache/rhel-7.qcow2] => { "storage_test_expected_size": "3221225472" } TASK [assert] ****************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:50 Thursday 21 July 2022 17:17:59 +0000 (0:00:00.039) 0:00:46.433 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-cache.yml:6 Thursday 21 July 2022 17:17:59 +0000 (0:00:00.051) 0:00:46.484 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "cmd": [ "lvs", "--noheadings", "--nameprefixes", "--units=b", "--nosuffix", "--unquoted", "-o", "name,attr,cache_total_blocks,chunk_size,segtype", "vg1/lv2" ], "delta": "0:00:00.023850", "end": "2022-07-21 13:17:59.378429", "rc": 0, "start": "2022-07-21 13:17:59.354579" } STDOUT: LVM2_LV_NAME=lv2 LVM2_LV_ATTR=-wi-ao---- LVM2_CACHE_TOTAL_BLOCKS= LVM2_CHUNK_SIZE=0 LVM2_SEGTYPE=linear TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-cache.yml:14 Thursday 21 July 2022 17:17:59 +0000 (0:00:00.331) 0:00:46.815 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_lv_segtype": [ "linear" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-cache.yml:17 Thursday 21 July 2022 17:18:00 +0000 (0:00:00.085) 0:00:46.901 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-cache.yml:22 Thursday 21 July 2022 17:18:00 +0000 (0:00:00.097) 0:00:46.998 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-cache.yml:26 Thursday 21 July 2022 17:18:00 +0000 (0:00:00.040) 0:00:47.038 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-cache.yml:32 Thursday 21 July 2022 17:18:00 +0000 (0:00:00.037) 0:00:47.076 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-cache.yml:36 Thursday 21 July 2022 17:18:00 +0000 (0:00:00.036) 0:00:47.112 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume.yml:16 Thursday 21 July 2022 17:18:00 +0000 (0:00:00.034) 0:00:47.147 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume.yml:2 Thursday 21 July 2022 17:18:00 +0000 (0:00:00.031) 0:00:47.179 ********* ok: [/cache/rhel-7.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/tmptomayb7j/tests/storage/test-verify-volume.yml:10 Thursday 21 July 2022 17:18:00 +0000 (0:00:00.049) 0:00:47.228 ********* included: /tmp/tmptomayb7j/tests/storage/test-verify-volume-mount.yml for /cache/rhel-7.qcow2 => (item=mount) included: /tmp/tmptomayb7j/tests/storage/test-verify-volume-fstab.yml for /cache/rhel-7.qcow2 => (item=fstab) included: /tmp/tmptomayb7j/tests/storage/test-verify-volume-fs.yml for /cache/rhel-7.qcow2 => (item=fs) included: /tmp/tmptomayb7j/tests/storage/test-verify-volume-device.yml for /cache/rhel-7.qcow2 => (item=device) included: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml for /cache/rhel-7.qcow2 => (item=encryption) included: /tmp/tmptomayb7j/tests/storage/test-verify-volume-md.yml for /cache/rhel-7.qcow2 => (item=md) included: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml for /cache/rhel-7.qcow2 => (item=size) included: /tmp/tmptomayb7j/tests/storage/test-verify-volume-cache.yml for /cache/rhel-7.qcow2 => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-mount.yml:6 Thursday 21 July 2022 17:18:00 +0000 (0:00:00.081) 0:00:47.309 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/vg1-lv3" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-mount.yml:10 Thursday 21 July 2022 17:18:00 +0000 (0:00:00.040) 0:00:47.350 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 774552, "block_size": 4096, "block_total": 782848, "block_used": 8296, "device": "/dev/mapper/vg1-lv3", "fstype": "xfs", "inode_available": 1570813, "inode_total": 1570816, "inode_used": 3, "mount": "/opt/test3", "options": "rw,seclabel,relatime,attr2,inode64,sunit=1024,swidth=2048,noquota", "size_available": 3172564992, "size_total": 3206545408, "uuid": "eeb79a8f-496f-41d4-b68b-a17eb39a65a5" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 774552, "block_size": 4096, "block_total": 782848, "block_used": 8296, "device": "/dev/mapper/vg1-lv3", "fstype": "xfs", "inode_available": 1570813, "inode_total": 1570816, "inode_used": 3, "mount": "/opt/test3", "options": "rw,seclabel,relatime,attr2,inode64,sunit=1024,swidth=2048,noquota", "size_available": 3172564992, "size_total": 3206545408, "uuid": "eeb79a8f-496f-41d4-b68b-a17eb39a65a5" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-mount.yml:20 Thursday 21 July 2022 17:18:00 +0000 (0:00:00.054) 0:00:47.405 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-mount.yml:29 Thursday 21 July 2022 17:18:00 +0000 (0:00:00.052) 0:00:47.457 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-mount.yml:37 Thursday 21 July 2022 17:18:00 +0000 (0:00:00.049) 0:00:47.507 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-mount.yml:46 Thursday 21 July 2022 17:18:00 +0000 (0:00:00.049) 0:00:47.556 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-mount.yml:50 Thursday 21 July 2022 17:18:00 +0000 (0:00:00.024) 0:00:47.581 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-mount.yml:55 Thursday 21 July 2022 17:18:00 +0000 (0:00:00.024) 0:00:47.605 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-mount.yml:65 Thursday 21 July 2022 17:18:00 +0000 (0:00:00.023) 0:00:47.629 ********* ok: [/cache/rhel-7.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/tmptomayb7j/tests/storage/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 17:18:00 +0000 (0:00:00.034) 0:00:47.663 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "1", "storage_test_fstab_expected_mount_options_matches": "1", "storage_test_fstab_expected_mount_point_matches": "1", "storage_test_fstab_id_matches": [ "/dev/mapper/vg1-lv3 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test3 xfs defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test3 " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-fstab.yml:12 Thursday 21 July 2022 17:18:00 +0000 (0:00:00.064) 0:00:47.728 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-fstab.yml:19 Thursday 21 July 2022 17:18:00 +0000 (0:00:00.051) 0:00:47.779 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 17:18:01 +0000 (0:00:00.049) 0:00:47.829 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-fstab.yml:34 Thursday 21 July 2022 17:18:01 +0000 (0:00:00.035) 0:00:47.864 ********* ok: [/cache/rhel-7.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/tmptomayb7j/tests/storage/test-verify-volume-fs.yml:4 Thursday 21 July 2022 17:18:01 +0000 (0:00:00.034) 0:00:47.899 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-fs.yml:10 Thursday 21 July 2022 17:18:01 +0000 (0:00:00.035) 0:00:47.934 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-device.yml:4 Thursday 21 July 2022 17:18:01 +0000 (0:00:00.036) 0:00:47.971 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "stat": { "atime": 1658423859.3530335, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658423859.3530335, "dev": 5, "device_type": 64512, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 35406, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1658423859.3530335, "nlink": 1, "path": "/dev/mapper/vg1-lv3", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-device.yml:10 Thursday 21 July 2022 17:18:01 +0000 (0:00:00.309) 0:00:48.280 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-device.yml:15 Thursday 21 July 2022 17:18:01 +0000 (0:00:00.039) 0:00:48.320 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-device.yml:21 Thursday 21 July 2022 17:18:01 +0000 (0:00:00.040) 0:00:48.360 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-device.yml:25 Thursday 21 July 2022 17:18:01 +0000 (0:00:00.038) 0:00:48.398 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-device.yml:30 Thursday 21 July 2022 17:18:01 +0000 (0:00:00.024) 0:00:48.423 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 17:18:01 +0000 (0:00:00.037) 0:00:48.461 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 17:18:01 +0000 (0:00:00.024) 0:00:48.485 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "rc": 0, "results": [ "cryptsetup-2.0.3-6.el7.x86_64 providing cryptsetup is already installed" ] } TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 17:18:02 +0000 (0:00:00.537) 0:00:49.023 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 17:18:02 +0000 (0:00:00.026) 0:00:49.050 ********* skipping: [/cache/rhel-7.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/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:27 Thursday 21 July 2022 17:18:02 +0000 (0:00:00.024) 0:00:49.074 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:33 Thursday 21 July 2022 17:18:02 +0000 (0:00:00.049) 0:00:49.124 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:39 Thursday 21 July 2022 17:18:02 +0000 (0:00:00.024) 0:00:49.148 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 17:18:02 +0000 (0:00:00.022) 0:00:49.170 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:50 Thursday 21 July 2022 17:18:02 +0000 (0:00:00.022) 0:00:49.192 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:56 Thursday 21 July 2022 17:18:02 +0000 (0:00:00.023) 0:00:49.216 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:62 Thursday 21 July 2022 17:18:02 +0000 (0:00:00.023) 0:00:49.239 ********* ok: [/cache/rhel-7.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/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 17:18:02 +0000 (0:00:00.048) 0:00:49.288 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:72 Thursday 21 July 2022 17:18:02 +0000 (0:00:00.060) 0:00:49.348 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:78 Thursday 21 July 2022 17:18:02 +0000 (0:00:00.036) 0:00:49.385 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:84 Thursday 21 July 2022 17:18:02 +0000 (0:00:00.038) 0:00:49.423 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:90 Thursday 21 July 2022 17:18:02 +0000 (0:00:00.034) 0:00:49.458 ********* ok: [/cache/rhel-7.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/tmptomayb7j/tests/storage/test-verify-volume-md.yml:7 Thursday 21 July 2022 17:18:02 +0000 (0:00:00.034) 0:00:49.492 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-md.yml:13 Thursday 21 July 2022 17:18:02 +0000 (0:00:00.039) 0:00:49.531 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-md.yml:17 Thursday 21 July 2022 17:18:02 +0000 (0:00:00.044) 0:00:49.576 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-md.yml:21 Thursday 21 July 2022 17:18:02 +0000 (0:00:00.036) 0:00:49.612 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-md.yml:25 Thursday 21 July 2022 17:18:02 +0000 (0:00:00.038) 0:00:49.651 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-md.yml:31 Thursday 21 July 2022 17:18:02 +0000 (0:00:00.035) 0:00:49.687 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-md.yml:37 Thursday 21 July 2022 17:18:02 +0000 (0:00:00.039) 0:00:49.726 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:3 Thursday 21 July 2022 17:18:02 +0000 (0:00:00.036) 0:00:49.762 ********* ok: [/cache/rhel-7.qcow2] => { "bytes": 3221225472, "changed": false, "lvm": "3g", "parted": "3GiB", "size": "3 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:9 Thursday 21 July 2022 17:18:03 +0000 (0:00:00.303) 0:00:50.066 ********* ok: [/cache/rhel-7.qcow2] => { "bytes": 3221225472, "changed": false, "lvm": "3g", "parted": "3GiB", "size": "3 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:15 Thursday 21 July 2022 17:18:03 +0000 (0:00:00.319) 0:00:50.385 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_expected_size": "3221225472" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:20 Thursday 21 July 2022 17:18:03 +0000 (0:00:00.053) 0:00:50.439 ********* ok: [/cache/rhel-7.qcow2] => { "storage_test_expected_size": "3221225472" } TASK [debug] ******************************************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:25 Thursday 21 July 2022 17:18:03 +0000 (0:00:00.036) 0:00:50.476 ********* skipping: [/cache/rhel-7.qcow2] => {} TASK [debug] ******************************************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:28 Thursday 21 July 2022 17:18:03 +0000 (0:00:00.036) 0:00:50.512 ********* skipping: [/cache/rhel-7.qcow2] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:31 Thursday 21 July 2022 17:18:03 +0000 (0:00:00.036) 0:00:50.549 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:36 Thursday 21 July 2022 17:18:03 +0000 (0:00:00.037) 0:00:50.586 ********* skipping: [/cache/rhel-7.qcow2] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:39 Thursday 21 July 2022 17:18:03 +0000 (0:00:00.040) 0:00:50.626 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:44 Thursday 21 July 2022 17:18:03 +0000 (0:00:00.043) 0:00:50.670 ********* ok: [/cache/rhel-7.qcow2] => { "storage_test_actual_size": { "bytes": 3221225472, "changed": false, "failed": false, "lvm": "3g", "parted": "3GiB", "size": "3 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:47 Thursday 21 July 2022 17:18:03 +0000 (0:00:00.075) 0:00:50.746 ********* ok: [/cache/rhel-7.qcow2] => { "storage_test_expected_size": "3221225472" } TASK [assert] ****************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:50 Thursday 21 July 2022 17:18:04 +0000 (0:00:00.109) 0:00:50.856 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-cache.yml:6 Thursday 21 July 2022 17:18:04 +0000 (0:00:00.054) 0:00:50.911 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "cmd": [ "lvs", "--noheadings", "--nameprefixes", "--units=b", "--nosuffix", "--unquoted", "-o", "name,attr,cache_total_blocks,chunk_size,segtype", "vg1/lv3" ], "delta": "0:00:00.029938", "end": "2022-07-21 13:18:03.815225", "rc": 0, "start": "2022-07-21 13:18:03.785287" } STDOUT: LVM2_LV_NAME=lv3 LVM2_LV_ATTR=-wi-ao---- LVM2_CACHE_TOTAL_BLOCKS= LVM2_CHUNK_SIZE=0 LVM2_SEGTYPE=linear TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-cache.yml:14 Thursday 21 July 2022 17:18:04 +0000 (0:00:00.335) 0:00:51.246 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_lv_segtype": [ "linear" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-cache.yml:17 Thursday 21 July 2022 17:18:04 +0000 (0:00:00.053) 0:00:51.300 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-cache.yml:22 Thursday 21 July 2022 17:18:04 +0000 (0:00:00.051) 0:00:51.351 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-cache.yml:26 Thursday 21 July 2022 17:18:04 +0000 (0:00:00.036) 0:00:51.388 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-cache.yml:32 Thursday 21 July 2022 17:18:04 +0000 (0:00:00.037) 0:00:51.425 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-cache.yml:36 Thursday 21 July 2022 17:18:04 +0000 (0:00:00.035) 0:00:51.461 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume.yml:16 Thursday 21 July 2022 17:18:04 +0000 (0:00:00.035) 0:00:51.496 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmptomayb7j/tests/storage/verify-role-results.yml:43 Thursday 21 July 2022 17:18:04 +0000 (0:00:00.033) 0:00:51.530 ********* TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmptomayb7j/tests/storage/verify-role-results.yml:53 Thursday 21 July 2022 17:18:04 +0000 (0:00:00.021) 0:00:51.552 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Repeat the previous invocation to verify idempotence] ******************** task path: /tmp/tmptomayb7j/tests/storage/tests_create_raid_pool_then_remove.yml:54 Thursday 21 July 2022 17:18:04 +0000 (0:00:00.031) 0:00:51.584 ********* TASK [fedora.linux_system_roles.storage : set platform/version specific variables] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Thursday 21 July 2022 17:18:04 +0000 (0:00:00.050) 0:00:51.634 ********* included: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for /cache/rhel-7.qcow2 TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Thursday 21 July 2022 17:18:04 +0000 (0:00:00.036) 0:00:51.671 ********* ok: [/cache/rhel-7.qcow2] TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Thursday 21 July 2022 17:18:05 +0000 (0:00:00.403) 0:00:52.074 ********* skipping: [/cache/rhel-7.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-7.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/rhel-7.qcow2] => (item=RedHat_7.yml) => { "ansible_facts": { "__storage_blivet_diskvolume_mkfs_option_map": { "ext2": "-F", "ext3": "-F", "ext4": "-F" }, "blivet_package_list": [ "python-enum34", "python-blivet3", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap" ] }, "ansible_included_var_files": [ "/tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/vars/RedHat_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_7.yml" } skipping: [/cache/rhel-7.qcow2] => (item=RedHat_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_7.9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Thursday 21 July 2022 17:18:05 +0000 (0:00:00.060) 0:00:52.134 ********* ok: [/cache/rhel-7.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/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Thursday 21 July 2022 17:18:05 +0000 (0:00:00.036) 0:00:52.170 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : include the appropriate provider tasks] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Thursday 21 July 2022 17:18:05 +0000 (0:00:00.038) 0:00:52.208 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for /cache/rhel-7.qcow2 TASK [fedora.linux_system_roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 17:18:05 +0000 (0:00:00.059) 0:00:52.268 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure blivet is available] ******* task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 17:18:05 +0000 (0:00:00.022) 0:00:52.290 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : show storage_pools] ****************** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:13 Thursday 21 July 2022 17:18:05 +0000 (0:00:00.028) 0:00:52.318 ********* ok: [/cache/rhel-7.qcow2] => { "storage_pools": [ { "disks": [ "sdb", "sdc" ], "name": "vg1", "raid_level": "raid0", "state": "present", "type": "lvm", "volumes": [ { "mount_point": "/opt/test1", "name": "lv1", "size": "2g" }, { "mount_point": "/opt/test2", "name": "lv2", "size": "3g" }, { "mount_point": "/opt/test3", "name": "lv3", "size": "3g" } ] } ] } TASK [fedora.linux_system_roles.storage : show storage_volumes] **************** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:18 Thursday 21 July 2022 17:18:05 +0000 (0:00:00.038) 0:00:52.357 ********* ok: [/cache/rhel-7.qcow2] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [fedora.linux_system_roles.storage : get required packages] *************** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:23 Thursday 21 July 2022 17:18:05 +0000 (0:00:00.035) 0:00:52.392 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : enable copr repositories if needed] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:35 Thursday 21 July 2022 17:18:05 +0000 (0:00:00.026) 0:00:52.419 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure required packages are installed] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:41 Thursday 21 July 2022 17:18:05 +0000 (0:00:00.027) 0:00:52.446 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : get service facts] ******************* task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 Thursday 21 July 2022 17:18:05 +0000 (0:00:00.029) 0:00:52.475 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:53 Thursday 21 July 2022 17:18:05 +0000 (0:00:00.029) 0:00:52.505 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 17:18:05 +0000 (0:00:00.096) 0:00:52.602 ********* TASK [fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Thursday 21 July 2022 17:18:05 +0000 (0:00:00.055) 0:00:52.658 ********* ok: [/cache/rhel-7.qcow2] => { "actions": [], "changed": false, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/sda", "/dev/mapper/vg1-lv1", "/dev/mapper/vg1-lv2", "/dev/mapper/vg1-lv3", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb", "/dev/vdc", "/dev/vdd" ], "mounts": [ { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/vg1-lv1", "state": "mounted" }, { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test2", "src": "/dev/mapper/vg1-lv2", "state": "mounted" }, { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test3", "src": "/dev/mapper/vg1-lv3", "state": "mounted" } ], "packages": [ "xfsprogs", "mdadm", "lvm2" ], "pools": [ { "disks": [ "sdb", "sdc" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": "512 KiB", "raid_device_count": 2, "raid_level": "raid0", "raid_metadata_version": "1.2", "raid_spare_count": 0, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_kernel_device": "/dev/dm-2", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "_raw_kernel_device": "/dev/dm-2", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sdb", "sdc" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "/dev/mapper/vg1-lv2", "_kernel_device": "/dev/dm-1", "_mount_id": "/dev/mapper/vg1-lv2", "_raw_device": "/dev/mapper/vg1-lv2", "_raw_kernel_device": "/dev/dm-1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sdb", "sdc" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "lv2", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "/dev/mapper/vg1-lv3", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/vg1-lv3", "_raw_device": "/dev/mapper/vg1-lv3", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sdb", "sdc" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test3", "name": "lv3", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } TASK [fedora.linux_system_roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:78 Thursday 21 July 2022 17:18:08 +0000 (0:00:02.249) 0:00:54.907 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Thursday 21 July 2022 17:18:08 +0000 (0:00:00.039) 0:00:54.947 ********* TASK [fedora.linux_system_roles.storage : show blivet_output] ****************** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:96 Thursday 21 July 2022 17:18:08 +0000 (0:00:00.023) 0:00:54.971 ********* ok: [/cache/rhel-7.qcow2] => { "blivet_output": { "actions": [], "changed": false, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/sda", "/dev/mapper/vg1-lv1", "/dev/mapper/vg1-lv2", "/dev/mapper/vg1-lv3", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb", "/dev/vdc", "/dev/vdd" ], "mounts": [ { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/vg1-lv1", "state": "mounted" }, { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test2", "src": "/dev/mapper/vg1-lv2", "state": "mounted" }, { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test3", "src": "/dev/mapper/vg1-lv3", "state": "mounted" } ], "packages": [ "xfsprogs", "mdadm", "lvm2" ], "pools": [ { "disks": [ "sdb", "sdc" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": "512 KiB", "raid_device_count": 2, "raid_level": "raid0", "raid_metadata_version": "1.2", "raid_spare_count": 0, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_kernel_device": "/dev/dm-2", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "_raw_kernel_device": "/dev/dm-2", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sdb", "sdc" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "/dev/mapper/vg1-lv2", "_kernel_device": "/dev/dm-1", "_mount_id": "/dev/mapper/vg1-lv2", "_raw_device": "/dev/mapper/vg1-lv2", "_raw_kernel_device": "/dev/dm-1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sdb", "sdc" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "lv2", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "/dev/mapper/vg1-lv3", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/vg1-lv3", "_raw_device": "/dev/mapper/vg1-lv3", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sdb", "sdc" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test3", "name": "lv3", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } } TASK [fedora.linux_system_roles.storage : set the list of pools for test verification] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:101 Thursday 21 July 2022 17:18:08 +0000 (0:00:00.043) 0:00:55.014 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sdb", "sdc" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": "512 KiB", "raid_device_count": 2, "raid_level": "raid0", "raid_metadata_version": "1.2", "raid_spare_count": 0, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_kernel_device": "/dev/dm-2", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "_raw_kernel_device": "/dev/dm-2", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sdb", "sdc" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "/dev/mapper/vg1-lv2", "_kernel_device": "/dev/dm-1", "_mount_id": "/dev/mapper/vg1-lv2", "_raw_device": "/dev/mapper/vg1-lv2", "_raw_kernel_device": "/dev/dm-1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sdb", "sdc" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "lv2", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "/dev/mapper/vg1-lv3", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/vg1-lv3", "_raw_device": "/dev/mapper/vg1-lv3", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sdb", "sdc" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test3", "name": "lv3", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] }, "changed": false } TASK [fedora.linux_system_roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:105 Thursday 21 July 2022 17:18:08 +0000 (0:00:00.040) 0:00:55.054 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : remove obsolete mounts] ************** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:121 Thursday 21 July 2022 17:18:08 +0000 (0:00:00.042) 0:00:55.096 ********* TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 Thursday 21 July 2022 17:18:08 +0000 (0:00:00.040) 0:00:55.137 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : set up new/current mounts] *********** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:137 Thursday 21 July 2022 17:18:08 +0000 (0:00:00.527) 0:00:55.665 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount ok: [/cache/rhel-7.qcow2] => (item={'src': '/dev/mapper/vg1-lv1', 'dump': 0, 'passno': 0, 'fstype': 'xfs', 'state': 'mounted', 'path': '/opt/test1', 'opts': 'defaults'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": false, "dump": "0", "fstab": "/etc/fstab", "fstype": "xfs", "mount_info": { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/vg1-lv1", "state": "mounted" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "/dev/mapper/vg1-lv1" } redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount ok: [/cache/rhel-7.qcow2] => (item={'src': '/dev/mapper/vg1-lv2', 'dump': 0, 'passno': 0, 'fstype': 'xfs', 'state': 'mounted', 'path': '/opt/test2', 'opts': 'defaults'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": false, "dump": "0", "fstab": "/etc/fstab", "fstype": "xfs", "mount_info": { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test2", "src": "/dev/mapper/vg1-lv2", "state": "mounted" }, "name": "/opt/test2", "opts": "defaults", "passno": "0", "src": "/dev/mapper/vg1-lv2" } redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount ok: [/cache/rhel-7.qcow2] => (item={'src': '/dev/mapper/vg1-lv3', 'dump': 0, 'passno': 0, 'fstype': 'xfs', 'state': 'mounted', 'path': '/opt/test3', 'opts': 'defaults'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": false, "dump": "0", "fstab": "/etc/fstab", "fstype": "xfs", "mount_info": { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test3", "src": "/dev/mapper/vg1-lv3", "state": "mounted" }, "name": "/opt/test3", "opts": "defaults", "passno": "0", "src": "/dev/mapper/vg1-lv3" } TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:148 Thursday 21 July 2022 17:18:09 +0000 (0:00:00.911) 0:00:56.576 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:156 Thursday 21 July 2022 17:18:10 +0000 (0:00:00.457) 0:00:57.034 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "stat": { "atime": 1658423843.2670336, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1658201031.524, "dev": 64769, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 70, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "inode/x-empty", "mode": "0600", "mtime": 1658200515.884, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "18446744071677828413", "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/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:161 Thursday 21 July 2022 17:18:10 +0000 (0:00:00.313) 0:00:57.348 ********* TASK [fedora.linux_system_roles.storage : Update facts] ************************ task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 Thursday 21 July 2022 17:18:10 +0000 (0:00:00.024) 0:00:57.372 ********* ok: [/cache/rhel-7.qcow2] META: role_complete for /cache/rhel-7.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmptomayb7j/tests/storage/tests_create_raid_pool_then_remove.yml:75 Thursday 21 July 2022 17:18:12 +0000 (0:00:01.870) 0:00:59.243 ********* included: /tmp/tmptomayb7j/tests/storage/verify-role-results.yml for /cache/rhel-7.qcow2 TASK [Print out pool information] ********************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-role-results.yml:1 Thursday 21 July 2022 17:18:12 +0000 (0:00:00.076) 0:00:59.319 ********* ok: [/cache/rhel-7.qcow2] => { "_storage_pools_list": [ { "disks": [ "sdb", "sdc" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": "512 KiB", "raid_device_count": 2, "raid_level": "raid0", "raid_metadata_version": "1.2", "raid_spare_count": 0, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_kernel_device": "/dev/dm-2", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "_raw_kernel_device": "/dev/dm-2", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sdb", "sdc" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "/dev/mapper/vg1-lv2", "_kernel_device": "/dev/dm-1", "_mount_id": "/dev/mapper/vg1-lv2", "_raw_device": "/dev/mapper/vg1-lv2", "_raw_kernel_device": "/dev/dm-1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sdb", "sdc" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "lv2", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "/dev/mapper/vg1-lv3", "_kernel_device": "/dev/dm-0", "_mount_id": "/dev/mapper/vg1-lv3", "_raw_device": "/dev/mapper/vg1-lv3", "_raw_kernel_device": "/dev/dm-0", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sdb", "sdc" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test3", "name": "lv3", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] } TASK [Print out volume information] ******************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-role-results.yml:6 Thursday 21 July 2022 17:18:12 +0000 (0:00:00.055) 0:00:59.375 ********* skipping: [/cache/rhel-7.qcow2] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-role-results.yml:14 Thursday 21 July 2022 17:18:12 +0000 (0:00:00.036) 0:00:59.411 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "info": { "/dev/fd0": { "fstype": "", "label": "", "name": "/dev/fd0", "size": "4K", "type": "disk", "uuid": "" }, "/dev/mapper/vg1-lv1": { "fstype": "xfs", "label": "", "name": "/dev/mapper/vg1-lv1", "size": "2G", "type": "lvm", "uuid": "fcf240de-eae8-45aa-8ef4-a1854847b650" }, "/dev/mapper/vg1-lv2": { "fstype": "xfs", "label": "", "name": "/dev/mapper/vg1-lv2", "size": "3G", "type": "lvm", "uuid": "a6180de1-6f41-4653-ac61-d56d22205292" }, "/dev/mapper/vg1-lv3": { "fstype": "xfs", "label": "", "name": "/dev/mapper/vg1-lv3", "size": "3G", "type": "lvm", "uuid": "eeb79a8f-496f-41d4-b68b-a17eb39a65a5" }, "/dev/md/vg1-1": { "fstype": "LVM2_member", "label": "", "name": "/dev/md/vg1-1", "size": "20G", "type": "raid0", "uuid": "HOBtUr-mzNw-HhUL-5PAc-LgPp-4lTB-YvPTLI" }, "/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/sdb1": { "fstype": "linux_raid_member", "label": "vg1-1", "name": "/dev/sdb1", "size": "10G", "type": "partition", "uuid": "f8bebd8e-652e-2941-0905-f25302b0ff63" }, "/dev/sdc": { "fstype": "", "label": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdc1": { "fstype": "linux_raid_member", "label": "vg1-1", "name": "/dev/sdc1", "size": "10G", "type": "partition", "uuid": "f8bebd8e-652e-2941-0905-f25302b0ff63" }, "/dev/sr0": { "fstype": "iso9660", "label": "cidata", "name": "/dev/sr0", "size": "364K", "type": "rom", "uuid": "2022-07-21-17-17-00-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": "21864ae1-1c29-4009-a1c2-151e41d0e053" }, "/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/tmptomayb7j/tests/storage/verify-role-results.yml:19 Thursday 21 July 2022 17:18:12 +0000 (0:00:00.326) 0:00:59.738 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.003498", "end": "2022-07-21 13:18:12.618557", "rc": 0, "start": "2022-07-21 13:18:12.615059" } STDOUT: # # /etc/fstab # Created by anaconda on Tue Jul 19 03:15:15 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 # UUID=21864ae1-1c29-4009-a1c2-151e41d0e053 / xfs defaults 0 0 /dev/mapper/vg1-lv1 /opt/test1 xfs defaults 0 0 /dev/mapper/vg1-lv2 /opt/test2 xfs defaults 0 0 /dev/mapper/vg1-lv3 /opt/test3 xfs defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmptomayb7j/tests/storage/verify-role-results.yml:24 Thursday 21 July 2022 17:18:13 +0000 (0:00:00.314) 0:01:00.053 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.003298", "end": "2022-07-21 13:18:12.946097", "failed_when_result": false, "rc": 0, "start": "2022-07-21 13:18:12.942799" } TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmptomayb7j/tests/storage/verify-role-results.yml:33 Thursday 21 July 2022 17:18:13 +0000 (0:00:00.326) 0:01:00.379 ********* included: /tmp/tmptomayb7j/tests/storage/test-verify-pool.yml for /cache/rhel-7.qcow2 => (item={'name': 'vg1', 'encryption_password': None, 'state': 'present', 'raid_metadata_version': '1.2', 'encryption': False, 'encryption_key_size': None, 'disks': ['sdb', 'sdc'], 'raid_level': 'raid0', 'encryption_luks_version': None, 'raid_device_count': 2, 'encryption_key': None, 'volumes': [{'_raw_device': '/dev/mapper/vg1-lv1', 'raid_metadata_version': None, 'raid_level': None, 'fs_type': 'xfs', 'mount_options': 'defaults', 'type': 'lvm', '_device': '/dev/mapper/vg1-lv1', 'size': '2g', 'mount_point': '/opt/test1', 'compression': None, 'encryption_password': None, '_kernel_device': '/dev/dm-2', 'encryption': False, 'mount_device_identifier': 'uuid', 'name': 'lv1', 'raid_device_count': None, 'state': 'present', 'vdo_pool_size': None, 'thin_pool_name': None, 'thin_pool_size': None, 'encryption_key_size': None, 'encryption_cipher': None, 'encryption_key': None, 'fs_label': '', 'encryption_luks_version': None, 'cache_size': 0, '_mount_id': '/dev/mapper/vg1-lv1', 'raid_spare_count': None, 'raid_disks': [], '_raw_kernel_device': '/dev/dm-2', 'cache_mode': None, 'deduplication': None, 'cached': False, 'fs_overwrite_existing': True, 'disks': ['sdb', 'sdc'], 'thin': False, 'mount_check': 0, 'mount_passno': 0, 'raid_chunk_size': None, 'cache_devices': [], 'fs_create_options': ''}, {'_raw_device': '/dev/mapper/vg1-lv2', 'raid_metadata_version': None, 'raid_level': None, 'fs_type': 'xfs', 'mount_options': 'defaults', 'type': 'lvm', '_device': '/dev/mapper/vg1-lv2', 'size': '3g', 'mount_point': '/opt/test2', 'compression': None, 'encryption_password': None, '_kernel_device': '/dev/dm-1', 'encryption': False, 'mount_device_identifier': 'uuid', 'name': 'lv2', 'raid_device_count': None, 'state': 'present', 'vdo_pool_size': None, 'thin_pool_name': None, 'thin_pool_size': None, 'encryption_key_size': None, 'encryption_cipher': None, 'encryption_key': None, 'fs_label': '', 'encryption_luks_version': None, 'cache_size': 0, '_mount_id': '/dev/mapper/vg1-lv2', 'raid_spare_count': None, 'raid_disks': [], '_raw_kernel_device': '/dev/dm-1', 'cache_mode': None, 'deduplication': None, 'cached': False, 'fs_overwrite_existing': True, 'disks': ['sdb', 'sdc'], 'thin': False, 'mount_check': 0, 'mount_passno': 0, 'raid_chunk_size': None, 'cache_devices': [], 'fs_create_options': ''}, {'_raw_device': '/dev/mapper/vg1-lv3', 'raid_metadata_version': None, 'raid_level': None, 'fs_type': 'xfs', 'mount_options': 'defaults', 'type': 'lvm', '_device': '/dev/mapper/vg1-lv3', 'size': '3g', 'mount_point': '/opt/test3', 'compression': None, 'encryption_password': None, '_kernel_device': '/dev/dm-0', 'encryption': False, 'mount_device_identifier': 'uuid', 'name': 'lv3', 'raid_device_count': None, 'state': 'present', 'vdo_pool_size': None, 'thin_pool_name': None, 'thin_pool_size': None, 'encryption_key_size': None, 'encryption_cipher': None, 'encryption_key': None, 'fs_label': '', 'encryption_luks_version': None, 'cache_size': 0, '_mount_id': '/dev/mapper/vg1-lv3', 'raid_spare_count': None, 'raid_disks': [], '_raw_kernel_device': '/dev/dm-0', 'cache_mode': None, 'deduplication': None, 'cached': False, 'fs_overwrite_existing': True, 'disks': ['sdb', 'sdc'], 'thin': False, 'mount_check': 0, 'mount_passno': 0, 'raid_chunk_size': None, 'cache_devices': [], 'fs_create_options': ''}], 'raid_chunk_size': '512 KiB', 'type': 'lvm', 'encryption_cipher': None, 'raid_spare_count': 0}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-pool.yml:5 Thursday 21 July 2022 17:18:13 +0000 (0:00:00.062) 0:01:00.441 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-pool.yml:18 Thursday 21 July 2022 17:18:13 +0000 (0:00:00.033) 0:01:00.474 ********* included: /tmp/tmptomayb7j/tests/storage/test-verify-pool-members.yml for /cache/rhel-7.qcow2 => (item=members) included: /tmp/tmptomayb7j/tests/storage/test-verify-pool-volumes.yml for /cache/rhel-7.qcow2 => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-pool-members.yml:1 Thursday 21 July 2022 17:18:13 +0000 (0:00:00.048) 0:01:00.523 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_count": "1", "_storage_test_pool_pvs_lvm": [ "/dev/md127" ] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-pool-members.yml:6 Thursday 21 July 2022 17:18:13 +0000 (0:00:00.056) 0:01:00.579 ********* ok: [/cache/rhel-7.qcow2] => (item=/dev/md127) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/md/vg1-1", "pv": "/dev/md127" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-pool-members.yml:15 Thursday 21 July 2022 17:18:14 +0000 (0:00:00.313) 0:01:00.893 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "__pvs_lvm_len": "1" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-pool-members.yml:19 Thursday 21 July 2022 17:18:14 +0000 (0:00:00.051) 0:01:00.944 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/md/vg1-1" ] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-pool-members.yml:23 Thursday 21 July 2022 17:18:14 +0000 (0:00:00.051) 0:01:00.996 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-pool-members.yml:29 Thursday 21 July 2022 17:18:14 +0000 (0:00:00.052) 0:01:01.048 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-pool-members.yml:33 Thursday 21 July 2022 17:18:14 +0000 (0:00:00.040) 0:01:01.089 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_type": "partition" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-pool-members.yml:37 Thursday 21 July 2022 17:18:14 +0000 (0:00:00.053) 0:01:01.142 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_type": "raid0" }, "changed": false } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-pool-members.yml:41 Thursday 21 July 2022 17:18:14 +0000 (0:00:00.036) 0:01:01.179 ********* ok: [/cache/rhel-7.qcow2] => (item=/dev/md/vg1-1) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/md/vg1-1" } MSG: All assertions passed TASK [Check MD RAID] *********************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-pool-members.yml:50 Thursday 21 July 2022 17:18:14 +0000 (0:00:00.042) 0:01:01.222 ********* included: /tmp/tmptomayb7j/tests/storage/verify-pool-md.yml for /cache/rhel-7.qcow2 TASK [get information about RAID] ********************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-md.yml:6 Thursday 21 July 2022 17:18:14 +0000 (0:00:00.044) 0:01:01.267 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "cmd": [ "mdadm", "--detail", "/dev/md/vg1-1" ], "delta": "0:00:00.010885", "end": "2022-07-21 13:18:14.156573", "rc": 0, "start": "2022-07-21 13:18:14.145688" } STDOUT: /dev/md/vg1-1: Version : 1.2 Creation Time : Thu Jul 21 13:17:33 2022 Raid Level : raid0 Array Size : 20951040 (19.98 GiB 21.45 GB) Raid Devices : 2 Total Devices : 2 Persistence : Superblock is persistent Update Time : Thu Jul 21 13:17:33 2022 State : clean Active Devices : 2 Working Devices : 2 Failed Devices : 0 Spare Devices : 0 Chunk Size : 512K Consistency Policy : none Name : vg1-1 UUID : f8bebd8e:652e2941:0905f253:02b0ff63 Events : 0 Number Major Minor RaidDevice State 0 8 17 0 active sync /dev/sdb1 1 8 33 1 active sync /dev/sdc1 TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-md.yml:12 Thursday 21 July 2022 17:18:14 +0000 (0:00:00.331) 0:01:01.599 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_md_active_devices_re": "Active\\ Devices\\ :\\ 2\\\n" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-md.yml:16 Thursday 21 July 2022 17:18:14 +0000 (0:00:00.056) 0:01:01.655 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_md_spare_devices_re": "Spare\\ Devices\\ :\\ 0\\\n" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-md.yml:20 Thursday 21 July 2022 17:18:14 +0000 (0:00:00.057) 0:01:01.712 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_md_metadata_version_re": "Version\\ :\\ 1\\.2\\\n" }, "changed": false } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-md.yml:24 Thursday 21 July 2022 17:18:14 +0000 (0:00:00.054) 0:01:01.767 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-md.yml:30 Thursday 21 July 2022 17:18:14 +0000 (0:00:00.045) 0:01:01.812 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [check RAID metadata version] ********************************************* task path: /tmp/tmptomayb7j/tests/storage/verify-pool-md.yml:36 Thursday 21 July 2022 17:18:15 +0000 (0:00:00.045) 0:01:01.858 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-md.yml:44 Thursday 21 July 2022 17:18:15 +0000 (0:00:00.044) 0:01:01.902 ********* ok: [/cache/rhel-7.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/tmptomayb7j/tests/storage/test-verify-pool-members.yml:53 Thursday 21 July 2022 17:18:15 +0000 (0:00:00.036) 0:01:01.939 ********* included: /tmp/tmptomayb7j/tests/storage/verify-pool-members-lvmraid.yml for /cache/rhel-7.qcow2 TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-members-lvmraid.yml:1 Thursday 21 July 2022 17:18:15 +0000 (0:00:00.045) 0:01:01.984 ********* included: /tmp/tmptomayb7j/tests/storage/verify-pool-member-lvmraid.yml for /cache/rhel-7.qcow2 => (item={'_raw_device': '/dev/mapper/vg1-lv1', 'raid_metadata_version': None, 'raid_level': None, 'fs_type': 'xfs', 'mount_options': 'defaults', 'type': 'lvm', '_device': '/dev/mapper/vg1-lv1', 'size': '2g', 'mount_point': '/opt/test1', 'compression': None, 'encryption_password': None, '_kernel_device': '/dev/dm-2', 'encryption': False, 'mount_device_identifier': 'uuid', 'name': 'lv1', 'raid_device_count': None, 'state': 'present', 'vdo_pool_size': None, 'thin_pool_name': None, 'thin_pool_size': None, 'encryption_key_size': None, 'encryption_cipher': None, 'encryption_key': None, 'fs_label': '', 'encryption_luks_version': None, 'cache_size': 0, '_mount_id': '/dev/mapper/vg1-lv1', 'raid_spare_count': None, 'raid_disks': [], '_raw_kernel_device': '/dev/dm-2', 'cache_mode': None, 'deduplication': None, 'cached': False, 'fs_overwrite_existing': True, 'disks': ['sdb', 'sdc'], 'thin': False, 'mount_check': 0, 'mount_passno': 0, 'raid_chunk_size': None, 'cache_devices': [], 'fs_create_options': ''}) included: /tmp/tmptomayb7j/tests/storage/verify-pool-member-lvmraid.yml for /cache/rhel-7.qcow2 => (item={'_raw_device': '/dev/mapper/vg1-lv2', 'raid_metadata_version': None, 'raid_level': None, 'fs_type': 'xfs', 'mount_options': 'defaults', 'type': 'lvm', '_device': '/dev/mapper/vg1-lv2', 'size': '3g', 'mount_point': '/opt/test2', 'compression': None, 'encryption_password': None, '_kernel_device': '/dev/dm-1', 'encryption': False, 'mount_device_identifier': 'uuid', 'name': 'lv2', 'raid_device_count': None, 'state': 'present', 'vdo_pool_size': None, 'thin_pool_name': None, 'thin_pool_size': None, 'encryption_key_size': None, 'encryption_cipher': None, 'encryption_key': None, 'fs_label': '', 'encryption_luks_version': None, 'cache_size': 0, '_mount_id': '/dev/mapper/vg1-lv2', 'raid_spare_count': None, 'raid_disks': [], '_raw_kernel_device': '/dev/dm-1', 'cache_mode': None, 'deduplication': None, 'cached': False, 'fs_overwrite_existing': True, 'disks': ['sdb', 'sdc'], 'thin': False, 'mount_check': 0, 'mount_passno': 0, 'raid_chunk_size': None, 'cache_devices': [], 'fs_create_options': ''}) included: /tmp/tmptomayb7j/tests/storage/verify-pool-member-lvmraid.yml for /cache/rhel-7.qcow2 => (item={'_raw_device': '/dev/mapper/vg1-lv3', 'raid_metadata_version': None, 'raid_level': None, 'fs_type': 'xfs', 'mount_options': 'defaults', 'type': 'lvm', '_device': '/dev/mapper/vg1-lv3', 'size': '3g', 'mount_point': '/opt/test3', 'compression': None, 'encryption_password': None, '_kernel_device': '/dev/dm-0', 'encryption': False, 'mount_device_identifier': 'uuid', 'name': 'lv3', 'raid_device_count': None, 'state': 'present', 'vdo_pool_size': None, 'thin_pool_name': None, 'thin_pool_size': None, 'encryption_key_size': None, 'encryption_cipher': None, 'encryption_key': None, 'fs_label': '', 'encryption_luks_version': None, 'cache_size': 0, '_mount_id': '/dev/mapper/vg1-lv3', 'raid_spare_count': None, 'raid_disks': [], '_raw_kernel_device': '/dev/dm-0', 'cache_mode': None, 'deduplication': None, 'cached': False, 'fs_overwrite_existing': True, 'disks': ['sdb', 'sdc'], 'thin': False, 'mount_check': 0, 'mount_passno': 0, 'raid_chunk_size': None, 'cache_devices': [], 'fs_create_options': ''}) TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-lvmraid.yml:3 Thursday 21 July 2022 17:18:15 +0000 (0:00:00.055) 0:01:02.039 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-lvmraid.yml:8 Thursday 21 July 2022 17:18:15 +0000 (0:00:00.028) 0:01:02.068 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-lvmraid.yml:12 Thursday 21 July 2022 17:18:15 +0000 (0:00:00.030) 0:01:02.098 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-lvmraid.yml:3 Thursday 21 July 2022 17:18:15 +0000 (0:00:00.029) 0:01:02.128 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-lvmraid.yml:8 Thursday 21 July 2022 17:18:15 +0000 (0:00:00.029) 0:01:02.158 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-lvmraid.yml:12 Thursday 21 July 2022 17:18:15 +0000 (0:00:00.031) 0:01:02.189 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-lvmraid.yml:3 Thursday 21 July 2022 17:18:15 +0000 (0:00:00.033) 0:01:02.223 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-lvmraid.yml:8 Thursday 21 July 2022 17:18:15 +0000 (0:00:00.028) 0:01:02.252 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-lvmraid.yml:12 Thursday 21 July 2022 17:18:15 +0000 (0:00:00.027) 0:01:02.280 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-pool-members.yml:56 Thursday 21 July 2022 17:18:15 +0000 (0:00:00.028) 0:01:02.308 ********* included: /tmp/tmptomayb7j/tests/storage/verify-pool-members-thin.yml for /cache/rhel-7.qcow2 TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-members-thin.yml:1 Thursday 21 July 2022 17:18:15 +0000 (0:00:00.047) 0:01:02.356 ********* included: /tmp/tmptomayb7j/tests/storage/verify-pool-member-thin.yml for /cache/rhel-7.qcow2 => (item={'_raw_device': '/dev/mapper/vg1-lv1', 'raid_metadata_version': None, 'raid_level': None, 'fs_type': 'xfs', 'mount_options': 'defaults', 'type': 'lvm', '_device': '/dev/mapper/vg1-lv1', 'size': '2g', 'mount_point': '/opt/test1', 'compression': None, 'encryption_password': None, '_kernel_device': '/dev/dm-2', 'encryption': False, 'mount_device_identifier': 'uuid', 'name': 'lv1', 'raid_device_count': None, 'state': 'present', 'vdo_pool_size': None, 'thin_pool_name': None, 'thin_pool_size': None, 'encryption_key_size': None, 'encryption_cipher': None, 'encryption_key': None, 'fs_label': '', 'encryption_luks_version': None, 'cache_size': 0, '_mount_id': '/dev/mapper/vg1-lv1', 'raid_spare_count': None, 'raid_disks': [], '_raw_kernel_device': '/dev/dm-2', 'cache_mode': None, 'deduplication': None, 'cached': False, 'fs_overwrite_existing': True, 'disks': ['sdb', 'sdc'], 'thin': False, 'mount_check': 0, 'mount_passno': 0, 'raid_chunk_size': None, 'cache_devices': [], 'fs_create_options': ''}) included: /tmp/tmptomayb7j/tests/storage/verify-pool-member-thin.yml for /cache/rhel-7.qcow2 => (item={'_raw_device': '/dev/mapper/vg1-lv2', 'raid_metadata_version': None, 'raid_level': None, 'fs_type': 'xfs', 'mount_options': 'defaults', 'type': 'lvm', '_device': '/dev/mapper/vg1-lv2', 'size': '3g', 'mount_point': '/opt/test2', 'compression': None, 'encryption_password': None, '_kernel_device': '/dev/dm-1', 'encryption': False, 'mount_device_identifier': 'uuid', 'name': 'lv2', 'raid_device_count': None, 'state': 'present', 'vdo_pool_size': None, 'thin_pool_name': None, 'thin_pool_size': None, 'encryption_key_size': None, 'encryption_cipher': None, 'encryption_key': None, 'fs_label': '', 'encryption_luks_version': None, 'cache_size': 0, '_mount_id': '/dev/mapper/vg1-lv2', 'raid_spare_count': None, 'raid_disks': [], '_raw_kernel_device': '/dev/dm-1', 'cache_mode': None, 'deduplication': None, 'cached': False, 'fs_overwrite_existing': True, 'disks': ['sdb', 'sdc'], 'thin': False, 'mount_check': 0, 'mount_passno': 0, 'raid_chunk_size': None, 'cache_devices': [], 'fs_create_options': ''}) included: /tmp/tmptomayb7j/tests/storage/verify-pool-member-thin.yml for /cache/rhel-7.qcow2 => (item={'_raw_device': '/dev/mapper/vg1-lv3', 'raid_metadata_version': None, 'raid_level': None, 'fs_type': 'xfs', 'mount_options': 'defaults', 'type': 'lvm', '_device': '/dev/mapper/vg1-lv3', 'size': '3g', 'mount_point': '/opt/test3', 'compression': None, 'encryption_password': None, '_kernel_device': '/dev/dm-0', 'encryption': False, 'mount_device_identifier': 'uuid', 'name': 'lv3', 'raid_device_count': None, 'state': 'present', 'vdo_pool_size': None, 'thin_pool_name': None, 'thin_pool_size': None, 'encryption_key_size': None, 'encryption_cipher': None, 'encryption_key': None, 'fs_label': '', 'encryption_luks_version': None, 'cache_size': 0, '_mount_id': '/dev/mapper/vg1-lv3', 'raid_spare_count': None, 'raid_disks': [], '_raw_kernel_device': '/dev/dm-0', 'cache_mode': None, 'deduplication': None, 'cached': False, 'fs_overwrite_existing': True, 'disks': ['sdb', 'sdc'], 'thin': False, 'mount_check': 0, 'mount_passno': 0, 'raid_chunk_size': None, 'cache_devices': [], 'fs_create_options': ''}) TASK [Get information about thinpool] ****************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-thin.yml:3 Thursday 21 July 2022 17:18:15 +0000 (0:00:00.058) 0:01:02.414 ********* skipping: [/cache/rhel-7.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/tmptomayb7j/tests/storage/verify-pool-member-thin.yml:8 Thursday 21 July 2022 17:18:15 +0000 (0:00:00.025) 0:01:02.440 ********* skipping: [/cache/rhel-7.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/tmptomayb7j/tests/storage/verify-pool-member-thin.yml:13 Thursday 21 July 2022 17:18:15 +0000 (0:00:00.025) 0:01:02.466 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-thin.yml:17 Thursday 21 July 2022 17:18:15 +0000 (0:00:00.027) 0:01:02.493 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about thinpool] ****************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-thin.yml:3 Thursday 21 July 2022 17:18:15 +0000 (0:00:00.026) 0:01:02.519 ********* skipping: [/cache/rhel-7.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/tmptomayb7j/tests/storage/verify-pool-member-thin.yml:8 Thursday 21 July 2022 17:18:15 +0000 (0:00:00.029) 0:01:02.549 ********* skipping: [/cache/rhel-7.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/tmptomayb7j/tests/storage/verify-pool-member-thin.yml:13 Thursday 21 July 2022 17:18:15 +0000 (0:00:00.026) 0:01:02.575 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-thin.yml:17 Thursday 21 July 2022 17:18:15 +0000 (0:00:00.023) 0:01:02.598 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about thinpool] ****************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-thin.yml:3 Thursday 21 July 2022 17:18:15 +0000 (0:00:00.023) 0:01:02.622 ********* skipping: [/cache/rhel-7.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/tmptomayb7j/tests/storage/verify-pool-member-thin.yml:8 Thursday 21 July 2022 17:18:15 +0000 (0:00:00.022) 0:01:02.644 ********* skipping: [/cache/rhel-7.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/tmptomayb7j/tests/storage/verify-pool-member-thin.yml:13 Thursday 21 July 2022 17:18:15 +0000 (0:00:00.022) 0:01:02.667 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-thin.yml:17 Thursday 21 July 2022 17:18:15 +0000 (0:00:00.021) 0:01:02.688 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-pool-members.yml:59 Thursday 21 July 2022 17:18:15 +0000 (0:00:00.023) 0:01:02.712 ********* included: /tmp/tmptomayb7j/tests/storage/verify-pool-members-encryption.yml for /cache/rhel-7.qcow2 TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-members-encryption.yml:4 Thursday 21 July 2022 17:18:15 +0000 (0:00:00.045) 0:01:02.757 ********* ok: [/cache/rhel-7.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/tmptomayb7j/tests/storage/verify-pool-members-encryption.yml:8 Thursday 21 July 2022 17:18:16 +0000 (0:00:00.116) 0:01:02.874 ********* skipping: [/cache/rhel-7.qcow2] => (item=/dev/md/vg1-1) => { "_storage_test_pool_member_path": "/dev/md/vg1-1", "ansible_loop_var": "_storage_test_pool_member_path", "changed": false, "skip_reason": "Conditional result was False" } TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-members-encryption.yml:15 Thursday 21 July 2022 17:18:16 +0000 (0:00:00.030) 0:01:02.904 ********* included: /tmp/tmptomayb7j/tests/storage/verify-pool-member-crypttab.yml for /cache/rhel-7.qcow2 => (item=/dev/md/vg1-1) TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-crypttab.yml:1 Thursday 21 July 2022 17:18:16 +0000 (0:00:00.045) 0:01:02.949 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": [] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-crypttab.yml:4 Thursday 21 July 2022 17:18:16 +0000 (0:00:00.051) 0:01:03.001 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-crypttab.yml:9 Thursday 21 July 2022 17:18:16 +0000 (0:00:00.047) 0:01:03.048 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-crypttab.yml:15 Thursday 21 July 2022 17:18:16 +0000 (0:00:00.034) 0:01:03.082 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-crypttab.yml:21 Thursday 21 July 2022 17:18:16 +0000 (0:00:00.039) 0:01:03.122 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-crypttab.yml:27 Thursday 21 July 2022 17:18:16 +0000 (0:00:00.036) 0:01:03.159 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-members-encryption.yml:22 Thursday 21 July 2022 17:18:16 +0000 (0:00:00.037) 0:01:03.196 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-pool-members.yml:62 Thursday 21 July 2022 17:18:16 +0000 (0:00:00.038) 0:01:03.234 ********* included: /tmp/tmptomayb7j/tests/storage/verify-pool-members-vdo.yml for /cache/rhel-7.qcow2 TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-members-vdo.yml:1 Thursday 21 July 2022 17:18:16 +0000 (0:00:00.050) 0:01:03.285 ********* included: /tmp/tmptomayb7j/tests/storage/verify-pool-member-vdo.yml for /cache/rhel-7.qcow2 => (item={'_raw_device': '/dev/mapper/vg1-lv1', 'raid_metadata_version': None, 'raid_level': None, 'fs_type': 'xfs', 'mount_options': 'defaults', 'type': 'lvm', '_device': '/dev/mapper/vg1-lv1', 'size': '2g', 'mount_point': '/opt/test1', 'compression': None, 'encryption_password': None, '_kernel_device': '/dev/dm-2', 'encryption': False, 'mount_device_identifier': 'uuid', 'name': 'lv1', 'raid_device_count': None, 'state': 'present', 'vdo_pool_size': None, 'thin_pool_name': None, 'thin_pool_size': None, 'encryption_key_size': None, 'encryption_cipher': None, 'encryption_key': None, 'fs_label': '', 'encryption_luks_version': None, 'cache_size': 0, '_mount_id': '/dev/mapper/vg1-lv1', 'raid_spare_count': None, 'raid_disks': [], '_raw_kernel_device': '/dev/dm-2', 'cache_mode': None, 'deduplication': None, 'cached': False, 'fs_overwrite_existing': True, 'disks': ['sdb', 'sdc'], 'thin': False, 'mount_check': 0, 'mount_passno': 0, 'raid_chunk_size': None, 'cache_devices': [], 'fs_create_options': ''}) included: /tmp/tmptomayb7j/tests/storage/verify-pool-member-vdo.yml for /cache/rhel-7.qcow2 => (item={'_raw_device': '/dev/mapper/vg1-lv2', 'raid_metadata_version': None, 'raid_level': None, 'fs_type': 'xfs', 'mount_options': 'defaults', 'type': 'lvm', '_device': '/dev/mapper/vg1-lv2', 'size': '3g', 'mount_point': '/opt/test2', 'compression': None, 'encryption_password': None, '_kernel_device': '/dev/dm-1', 'encryption': False, 'mount_device_identifier': 'uuid', 'name': 'lv2', 'raid_device_count': None, 'state': 'present', 'vdo_pool_size': None, 'thin_pool_name': None, 'thin_pool_size': None, 'encryption_key_size': None, 'encryption_cipher': None, 'encryption_key': None, 'fs_label': '', 'encryption_luks_version': None, 'cache_size': 0, '_mount_id': '/dev/mapper/vg1-lv2', 'raid_spare_count': None, 'raid_disks': [], '_raw_kernel_device': '/dev/dm-1', 'cache_mode': None, 'deduplication': None, 'cached': False, 'fs_overwrite_existing': True, 'disks': ['sdb', 'sdc'], 'thin': False, 'mount_check': 0, 'mount_passno': 0, 'raid_chunk_size': None, 'cache_devices': [], 'fs_create_options': ''}) included: /tmp/tmptomayb7j/tests/storage/verify-pool-member-vdo.yml for /cache/rhel-7.qcow2 => (item={'_raw_device': '/dev/mapper/vg1-lv3', 'raid_metadata_version': None, 'raid_level': None, 'fs_type': 'xfs', 'mount_options': 'defaults', 'type': 'lvm', '_device': '/dev/mapper/vg1-lv3', 'size': '3g', 'mount_point': '/opt/test3', 'compression': None, 'encryption_password': None, '_kernel_device': '/dev/dm-0', 'encryption': False, 'mount_device_identifier': 'uuid', 'name': 'lv3', 'raid_device_count': None, 'state': 'present', 'vdo_pool_size': None, 'thin_pool_name': None, 'thin_pool_size': None, 'encryption_key_size': None, 'encryption_cipher': None, 'encryption_key': None, 'fs_label': '', 'encryption_luks_version': None, 'cache_size': 0, '_mount_id': '/dev/mapper/vg1-lv3', 'raid_spare_count': None, 'raid_disks': [], '_raw_kernel_device': '/dev/dm-0', 'cache_mode': None, 'deduplication': None, 'cached': False, 'fs_overwrite_existing': True, 'disks': ['sdb', 'sdc'], 'thin': False, 'mount_check': 0, 'mount_passno': 0, 'raid_chunk_size': None, 'cache_devices': [], 'fs_create_options': ''}) TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-vdo.yml:3 Thursday 21 July 2022 17:18:16 +0000 (0:00:00.062) 0:01:03.347 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-vdo.yml:8 Thursday 21 July 2022 17:18:16 +0000 (0:00:00.027) 0:01:03.375 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-vdo.yml:11 Thursday 21 July 2022 17:18:16 +0000 (0:00:00.025) 0:01:03.401 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-vdo.yml:16 Thursday 21 July 2022 17:18:16 +0000 (0:00:00.025) 0:01:03.426 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-vdo.yml:21 Thursday 21 July 2022 17:18:16 +0000 (0:00:00.026) 0:01:03.453 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-vdo.yml:24 Thursday 21 July 2022 17:18:16 +0000 (0:00:00.023) 0:01:03.476 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-vdo.yml:29 Thursday 21 July 2022 17:18:16 +0000 (0:00:00.024) 0:01:03.501 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-vdo.yml:39 Thursday 21 July 2022 17:18:16 +0000 (0:00:00.025) 0:01:03.526 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-vdo.yml:3 Thursday 21 July 2022 17:18:16 +0000 (0:00:00.039) 0:01:03.566 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-vdo.yml:8 Thursday 21 July 2022 17:18:16 +0000 (0:00:00.026) 0:01:03.592 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-vdo.yml:11 Thursday 21 July 2022 17:18:16 +0000 (0:00:00.026) 0:01:03.619 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-vdo.yml:16 Thursday 21 July 2022 17:18:16 +0000 (0:00:00.028) 0:01:03.647 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-vdo.yml:21 Thursday 21 July 2022 17:18:16 +0000 (0:00:00.029) 0:01:03.677 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-vdo.yml:24 Thursday 21 July 2022 17:18:16 +0000 (0:00:00.034) 0:01:03.711 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-vdo.yml:29 Thursday 21 July 2022 17:18:16 +0000 (0:00:00.035) 0:01:03.747 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-vdo.yml:39 Thursday 21 July 2022 17:18:16 +0000 (0:00:00.034) 0:01:03.781 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-vdo.yml:3 Thursday 21 July 2022 17:18:17 +0000 (0:00:00.045) 0:01:03.827 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-vdo.yml:8 Thursday 21 July 2022 17:18:17 +0000 (0:00:00.026) 0:01:03.854 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-vdo.yml:11 Thursday 21 July 2022 17:18:17 +0000 (0:00:00.024) 0:01:03.878 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-vdo.yml:16 Thursday 21 July 2022 17:18:17 +0000 (0:00:00.025) 0:01:03.904 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-vdo.yml:21 Thursday 21 July 2022 17:18:17 +0000 (0:00:00.027) 0:01:03.931 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-vdo.yml:24 Thursday 21 July 2022 17:18:17 +0000 (0:00:00.025) 0:01:03.957 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-vdo.yml:29 Thursday 21 July 2022 17:18:17 +0000 (0:00:00.027) 0:01:03.985 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-vdo.yml:39 Thursday 21 July 2022 17:18:17 +0000 (0:00:00.025) 0:01:04.010 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-pool-members.yml:65 Thursday 21 July 2022 17:18:17 +0000 (0:00:00.035) 0:01:04.046 ********* ok: [/cache/rhel-7.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/tmptomayb7j/tests/storage/test-verify-pool-volumes.yml:3 Thursday 21 July 2022 17:18:17 +0000 (0:00:00.032) 0:01:04.078 ********* included: /tmp/tmptomayb7j/tests/storage/test-verify-volume.yml for /cache/rhel-7.qcow2 => (item={'_raw_device': '/dev/mapper/vg1-lv1', 'raid_metadata_version': None, 'raid_level': None, 'fs_type': 'xfs', 'mount_options': 'defaults', 'type': 'lvm', '_device': '/dev/mapper/vg1-lv1', 'size': '2g', 'mount_point': '/opt/test1', 'compression': None, 'encryption_password': None, '_kernel_device': '/dev/dm-2', 'encryption': False, 'mount_device_identifier': 'uuid', 'name': 'lv1', 'raid_device_count': None, 'state': 'present', 'vdo_pool_size': None, 'thin_pool_name': None, 'thin_pool_size': None, 'encryption_key_size': None, 'encryption_cipher': None, 'encryption_key': None, 'fs_label': '', 'encryption_luks_version': None, 'cache_size': 0, '_mount_id': '/dev/mapper/vg1-lv1', 'raid_spare_count': None, 'raid_disks': [], '_raw_kernel_device': '/dev/dm-2', 'cache_mode': None, 'deduplication': None, 'cached': False, 'fs_overwrite_existing': True, 'disks': ['sdb', 'sdc'], 'thin': False, 'mount_check': 0, 'mount_passno': 0, 'raid_chunk_size': None, 'cache_devices': [], 'fs_create_options': ''}) included: /tmp/tmptomayb7j/tests/storage/test-verify-volume.yml for /cache/rhel-7.qcow2 => (item={'_raw_device': '/dev/mapper/vg1-lv2', 'raid_metadata_version': None, 'raid_level': None, 'fs_type': 'xfs', 'mount_options': 'defaults', 'type': 'lvm', '_device': '/dev/mapper/vg1-lv2', 'size': '3g', 'mount_point': '/opt/test2', 'compression': None, 'encryption_password': None, '_kernel_device': '/dev/dm-1', 'encryption': False, 'mount_device_identifier': 'uuid', 'name': 'lv2', 'raid_device_count': None, 'state': 'present', 'vdo_pool_size': None, 'thin_pool_name': None, 'thin_pool_size': None, 'encryption_key_size': None, 'encryption_cipher': None, 'encryption_key': None, 'fs_label': '', 'encryption_luks_version': None, 'cache_size': 0, '_mount_id': '/dev/mapper/vg1-lv2', 'raid_spare_count': None, 'raid_disks': [], '_raw_kernel_device': '/dev/dm-1', 'cache_mode': None, 'deduplication': None, 'cached': False, 'fs_overwrite_existing': True, 'disks': ['sdb', 'sdc'], 'thin': False, 'mount_check': 0, 'mount_passno': 0, 'raid_chunk_size': None, 'cache_devices': [], 'fs_create_options': ''}) included: /tmp/tmptomayb7j/tests/storage/test-verify-volume.yml for /cache/rhel-7.qcow2 => (item={'_raw_device': '/dev/mapper/vg1-lv3', 'raid_metadata_version': None, 'raid_level': None, 'fs_type': 'xfs', 'mount_options': 'defaults', 'type': 'lvm', '_device': '/dev/mapper/vg1-lv3', 'size': '3g', 'mount_point': '/opt/test3', 'compression': None, 'encryption_password': None, '_kernel_device': '/dev/dm-0', 'encryption': False, 'mount_device_identifier': 'uuid', 'name': 'lv3', 'raid_device_count': None, 'state': 'present', 'vdo_pool_size': None, 'thin_pool_name': None, 'thin_pool_size': None, 'encryption_key_size': None, 'encryption_cipher': None, 'encryption_key': None, 'fs_label': '', 'encryption_luks_version': None, 'cache_size': 0, '_mount_id': '/dev/mapper/vg1-lv3', 'raid_spare_count': None, 'raid_disks': [], '_raw_kernel_device': '/dev/dm-0', 'cache_mode': None, 'deduplication': None, 'cached': False, 'fs_overwrite_existing': True, 'disks': ['sdb', 'sdc'], 'thin': False, 'mount_check': 0, 'mount_passno': 0, 'raid_chunk_size': None, 'cache_devices': [], 'fs_create_options': ''}) TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume.yml:2 Thursday 21 July 2022 17:18:17 +0000 (0:00:00.055) 0:01:04.134 ********* ok: [/cache/rhel-7.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/tmptomayb7j/tests/storage/test-verify-volume.yml:10 Thursday 21 July 2022 17:18:17 +0000 (0:00:00.086) 0:01:04.220 ********* included: /tmp/tmptomayb7j/tests/storage/test-verify-volume-mount.yml for /cache/rhel-7.qcow2 => (item=mount) included: /tmp/tmptomayb7j/tests/storage/test-verify-volume-fstab.yml for /cache/rhel-7.qcow2 => (item=fstab) included: /tmp/tmptomayb7j/tests/storage/test-verify-volume-fs.yml for /cache/rhel-7.qcow2 => (item=fs) included: /tmp/tmptomayb7j/tests/storage/test-verify-volume-device.yml for /cache/rhel-7.qcow2 => (item=device) included: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml for /cache/rhel-7.qcow2 => (item=encryption) included: /tmp/tmptomayb7j/tests/storage/test-verify-volume-md.yml for /cache/rhel-7.qcow2 => (item=md) included: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml for /cache/rhel-7.qcow2 => (item=size) included: /tmp/tmptomayb7j/tests/storage/test-verify-volume-cache.yml for /cache/rhel-7.qcow2 => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-mount.yml:6 Thursday 21 July 2022 17:18:17 +0000 (0:00:00.078) 0:01:04.299 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/vg1-lv1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-mount.yml:10 Thursday 21 July 2022 17:18:17 +0000 (0:00:00.039) 0:01:04.339 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 512408, "block_size": 4096, "block_total": 520704, "block_used": 8296, "device": "/dev/mapper/vg1-lv1", "fstype": "xfs", "inode_available": 1046525, "inode_total": 1046528, "inode_used": 3, "mount": "/opt/test1", "options": "rw,seclabel,relatime,attr2,inode64,sunit=1024,swidth=2048,noquota", "size_available": 2098823168, "size_total": 2132803584, "uuid": "fcf240de-eae8-45aa-8ef4-a1854847b650" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 512408, "block_size": 4096, "block_total": 520704, "block_used": 8296, "device": "/dev/mapper/vg1-lv1", "fstype": "xfs", "inode_available": 1046525, "inode_total": 1046528, "inode_used": 3, "mount": "/opt/test1", "options": "rw,seclabel,relatime,attr2,inode64,sunit=1024,swidth=2048,noquota", "size_available": 2098823168, "size_total": 2132803584, "uuid": "fcf240de-eae8-45aa-8ef4-a1854847b650" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-mount.yml:20 Thursday 21 July 2022 17:18:17 +0000 (0:00:00.054) 0:01:04.393 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-mount.yml:29 Thursday 21 July 2022 17:18:17 +0000 (0:00:00.047) 0:01:04.440 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-mount.yml:37 Thursday 21 July 2022 17:18:17 +0000 (0:00:00.048) 0:01:04.489 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-mount.yml:46 Thursday 21 July 2022 17:18:17 +0000 (0:00:00.052) 0:01:04.541 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-mount.yml:50 Thursday 21 July 2022 17:18:17 +0000 (0:00:00.026) 0:01:04.568 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-mount.yml:55 Thursday 21 July 2022 17:18:17 +0000 (0:00:00.025) 0:01:04.593 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-mount.yml:65 Thursday 21 July 2022 17:18:17 +0000 (0:00:00.022) 0:01:04.616 ********* ok: [/cache/rhel-7.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/tmptomayb7j/tests/storage/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 17:18:17 +0000 (0:00:00.032) 0:01:04.649 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "1", "storage_test_fstab_expected_mount_options_matches": "1", "storage_test_fstab_expected_mount_point_matches": "1", "storage_test_fstab_id_matches": [ "/dev/mapper/vg1-lv1 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test1 xfs defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test1 " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-fstab.yml:12 Thursday 21 July 2022 17:18:17 +0000 (0:00:00.069) 0:01:04.718 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-fstab.yml:19 Thursday 21 July 2022 17:18:17 +0000 (0:00:00.048) 0:01:04.766 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 17:18:17 +0000 (0:00:00.047) 0:01:04.814 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-fstab.yml:34 Thursday 21 July 2022 17:18:18 +0000 (0:00:00.037) 0:01:04.852 ********* ok: [/cache/rhel-7.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/tmptomayb7j/tests/storage/test-verify-volume-fs.yml:4 Thursday 21 July 2022 17:18:18 +0000 (0:00:00.033) 0:01:04.885 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-fs.yml:10 Thursday 21 July 2022 17:18:18 +0000 (0:00:00.041) 0:01:04.927 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-device.yml:4 Thursday 21 July 2022 17:18:18 +0000 (0:00:00.040) 0:01:04.967 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "stat": { "atime": 1658423859.7130337, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658423859.7130337, "dev": 5, "device_type": 64514, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 35483, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1658423859.7130337, "nlink": 1, "path": "/dev/mapper/vg1-lv1", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-device.yml:10 Thursday 21 July 2022 17:18:18 +0000 (0:00:00.316) 0:01:05.283 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-device.yml:15 Thursday 21 July 2022 17:18:18 +0000 (0:00:00.037) 0:01:05.321 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-device.yml:21 Thursday 21 July 2022 17:18:18 +0000 (0:00:00.040) 0:01:05.362 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-device.yml:25 Thursday 21 July 2022 17:18:18 +0000 (0:00:00.036) 0:01:05.398 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-device.yml:30 Thursday 21 July 2022 17:18:18 +0000 (0:00:00.025) 0:01:05.423 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 17:18:18 +0000 (0:00:00.035) 0:01:05.459 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 17:18:18 +0000 (0:00:00.021) 0:01:05.481 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "rc": 0, "results": [ "cryptsetup-2.0.3-6.el7.x86_64 providing cryptsetup is already installed" ] } TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 17:18:19 +0000 (0:00:00.516) 0:01:05.997 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 17:18:19 +0000 (0:00:00.023) 0:01:06.020 ********* skipping: [/cache/rhel-7.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/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:27 Thursday 21 July 2022 17:18:19 +0000 (0:00:00.024) 0:01:06.045 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:33 Thursday 21 July 2022 17:18:19 +0000 (0:00:00.050) 0:01:06.096 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:39 Thursday 21 July 2022 17:18:19 +0000 (0:00:00.025) 0:01:06.121 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 17:18:19 +0000 (0:00:00.025) 0:01:06.146 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:50 Thursday 21 July 2022 17:18:19 +0000 (0:00:00.028) 0:01:06.175 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:56 Thursday 21 July 2022 17:18:19 +0000 (0:00:00.027) 0:01:06.202 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:62 Thursday 21 July 2022 17:18:19 +0000 (0:00:00.025) 0:01:06.228 ********* ok: [/cache/rhel-7.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/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 17:18:19 +0000 (0:00:00.083) 0:01:06.312 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:72 Thursday 21 July 2022 17:18:19 +0000 (0:00:00.099) 0:01:06.411 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:78 Thursday 21 July 2022 17:18:19 +0000 (0:00:00.036) 0:01:06.447 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:84 Thursday 21 July 2022 17:18:19 +0000 (0:00:00.034) 0:01:06.482 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:90 Thursday 21 July 2022 17:18:19 +0000 (0:00:00.035) 0:01:06.517 ********* ok: [/cache/rhel-7.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/tmptomayb7j/tests/storage/test-verify-volume-md.yml:7 Thursday 21 July 2022 17:18:19 +0000 (0:00:00.032) 0:01:06.549 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-md.yml:13 Thursday 21 July 2022 17:18:19 +0000 (0:00:00.035) 0:01:06.585 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-md.yml:17 Thursday 21 July 2022 17:18:19 +0000 (0:00:00.035) 0:01:06.620 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-md.yml:21 Thursday 21 July 2022 17:18:19 +0000 (0:00:00.039) 0:01:06.659 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-md.yml:25 Thursday 21 July 2022 17:18:19 +0000 (0:00:00.037) 0:01:06.697 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-md.yml:31 Thursday 21 July 2022 17:18:19 +0000 (0:00:00.039) 0:01:06.736 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-md.yml:37 Thursday 21 July 2022 17:18:19 +0000 (0:00:00.038) 0:01:06.775 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:3 Thursday 21 July 2022 17:18:19 +0000 (0:00:00.041) 0:01:06.816 ********* ok: [/cache/rhel-7.qcow2] => { "bytes": 2147483648, "changed": false, "lvm": "2g", "parted": "2GiB", "size": "2 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:9 Thursday 21 July 2022 17:18:20 +0000 (0:00:00.310) 0:01:07.126 ********* ok: [/cache/rhel-7.qcow2] => { "bytes": 2147483648, "changed": false, "lvm": "2g", "parted": "2GiB", "size": "2 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:15 Thursday 21 July 2022 17:18:20 +0000 (0:00:00.316) 0:01:07.443 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_expected_size": "2147483648" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:20 Thursday 21 July 2022 17:18:20 +0000 (0:00:00.049) 0:01:07.493 ********* ok: [/cache/rhel-7.qcow2] => { "storage_test_expected_size": "2147483648" } TASK [debug] ******************************************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:25 Thursday 21 July 2022 17:18:20 +0000 (0:00:00.039) 0:01:07.532 ********* skipping: [/cache/rhel-7.qcow2] => {} TASK [debug] ******************************************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:28 Thursday 21 July 2022 17:18:20 +0000 (0:00:00.041) 0:01:07.573 ********* skipping: [/cache/rhel-7.qcow2] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:31 Thursday 21 July 2022 17:18:20 +0000 (0:00:00.039) 0:01:07.613 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:36 Thursday 21 July 2022 17:18:20 +0000 (0:00:00.041) 0:01:07.655 ********* skipping: [/cache/rhel-7.qcow2] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:39 Thursday 21 July 2022 17:18:20 +0000 (0:00:00.038) 0:01:07.693 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:44 Thursday 21 July 2022 17:18:20 +0000 (0:00:00.039) 0:01:07.733 ********* ok: [/cache/rhel-7.qcow2] => { "storage_test_actual_size": { "bytes": 2147483648, "changed": false, "failed": false, "lvm": "2g", "parted": "2GiB", "size": "2 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:47 Thursday 21 July 2022 17:18:20 +0000 (0:00:00.035) 0:01:07.768 ********* ok: [/cache/rhel-7.qcow2] => { "storage_test_expected_size": "2147483648" } TASK [assert] ****************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:50 Thursday 21 July 2022 17:18:20 +0000 (0:00:00.034) 0:01:07.803 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-cache.yml:6 Thursday 21 July 2022 17:18:21 +0000 (0:00:00.051) 0:01:07.854 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "cmd": [ "lvs", "--noheadings", "--nameprefixes", "--units=b", "--nosuffix", "--unquoted", "-o", "name,attr,cache_total_blocks,chunk_size,segtype", "vg1/lv1" ], "delta": "0:00:00.021235", "end": "2022-07-21 13:18:20.751097", "rc": 0, "start": "2022-07-21 13:18:20.729862" } STDOUT: LVM2_LV_NAME=lv1 LVM2_LV_ATTR=-wi-ao---- LVM2_CACHE_TOTAL_BLOCKS= LVM2_CHUNK_SIZE=0 LVM2_SEGTYPE=linear TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-cache.yml:14 Thursday 21 July 2022 17:18:21 +0000 (0:00:00.328) 0:01:08.182 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_lv_segtype": [ "linear" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-cache.yml:17 Thursday 21 July 2022 17:18:21 +0000 (0:00:00.049) 0:01:08.232 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-cache.yml:22 Thursday 21 July 2022 17:18:21 +0000 (0:00:00.049) 0:01:08.282 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-cache.yml:26 Thursday 21 July 2022 17:18:21 +0000 (0:00:00.039) 0:01:08.321 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-cache.yml:32 Thursday 21 July 2022 17:18:21 +0000 (0:00:00.035) 0:01:08.357 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-cache.yml:36 Thursday 21 July 2022 17:18:21 +0000 (0:00:00.036) 0:01:08.393 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume.yml:16 Thursday 21 July 2022 17:18:21 +0000 (0:00:00.036) 0:01:08.430 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume.yml:2 Thursday 21 July 2022 17:18:21 +0000 (0:00:00.035) 0:01:08.465 ********* ok: [/cache/rhel-7.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/tmptomayb7j/tests/storage/test-verify-volume.yml:10 Thursday 21 July 2022 17:18:21 +0000 (0:00:00.103) 0:01:08.569 ********* included: /tmp/tmptomayb7j/tests/storage/test-verify-volume-mount.yml for /cache/rhel-7.qcow2 => (item=mount) included: /tmp/tmptomayb7j/tests/storage/test-verify-volume-fstab.yml for /cache/rhel-7.qcow2 => (item=fstab) included: /tmp/tmptomayb7j/tests/storage/test-verify-volume-fs.yml for /cache/rhel-7.qcow2 => (item=fs) included: /tmp/tmptomayb7j/tests/storage/test-verify-volume-device.yml for /cache/rhel-7.qcow2 => (item=device) included: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml for /cache/rhel-7.qcow2 => (item=encryption) included: /tmp/tmptomayb7j/tests/storage/test-verify-volume-md.yml for /cache/rhel-7.qcow2 => (item=md) included: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml for /cache/rhel-7.qcow2 => (item=size) included: /tmp/tmptomayb7j/tests/storage/test-verify-volume-cache.yml for /cache/rhel-7.qcow2 => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-mount.yml:6 Thursday 21 July 2022 17:18:21 +0000 (0:00:00.083) 0:01:08.652 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/vg1-lv2" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-mount.yml:10 Thursday 21 July 2022 17:18:21 +0000 (0:00:00.131) 0:01:08.784 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 774552, "block_size": 4096, "block_total": 782848, "block_used": 8296, "device": "/dev/mapper/vg1-lv2", "fstype": "xfs", "inode_available": 1570813, "inode_total": 1570816, "inode_used": 3, "mount": "/opt/test2", "options": "rw,seclabel,relatime,attr2,inode64,sunit=1024,swidth=2048,noquota", "size_available": 3172564992, "size_total": 3206545408, "uuid": "a6180de1-6f41-4653-ac61-d56d22205292" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 774552, "block_size": 4096, "block_total": 782848, "block_used": 8296, "device": "/dev/mapper/vg1-lv2", "fstype": "xfs", "inode_available": 1570813, "inode_total": 1570816, "inode_used": 3, "mount": "/opt/test2", "options": "rw,seclabel,relatime,attr2,inode64,sunit=1024,swidth=2048,noquota", "size_available": 3172564992, "size_total": 3206545408, "uuid": "a6180de1-6f41-4653-ac61-d56d22205292" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-mount.yml:20 Thursday 21 July 2022 17:18:22 +0000 (0:00:00.059) 0:01:08.843 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-mount.yml:29 Thursday 21 July 2022 17:18:22 +0000 (0:00:00.055) 0:01:08.899 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-mount.yml:37 Thursday 21 July 2022 17:18:22 +0000 (0:00:00.057) 0:01:08.956 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-mount.yml:46 Thursday 21 July 2022 17:18:22 +0000 (0:00:00.052) 0:01:09.009 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-mount.yml:50 Thursday 21 July 2022 17:18:22 +0000 (0:00:00.025) 0:01:09.034 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-mount.yml:55 Thursday 21 July 2022 17:18:22 +0000 (0:00:00.025) 0:01:09.059 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-mount.yml:65 Thursday 21 July 2022 17:18:22 +0000 (0:00:00.027) 0:01:09.087 ********* ok: [/cache/rhel-7.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/tmptomayb7j/tests/storage/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 17:18:22 +0000 (0:00:00.035) 0:01:09.123 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "1", "storage_test_fstab_expected_mount_options_matches": "1", "storage_test_fstab_expected_mount_point_matches": "1", "storage_test_fstab_id_matches": [ "/dev/mapper/vg1-lv2 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test2 xfs defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test2 " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-fstab.yml:12 Thursday 21 July 2022 17:18:22 +0000 (0:00:00.063) 0:01:09.186 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-fstab.yml:19 Thursday 21 July 2022 17:18:22 +0000 (0:00:00.049) 0:01:09.235 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 17:18:22 +0000 (0:00:00.046) 0:01:09.281 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-fstab.yml:34 Thursday 21 July 2022 17:18:22 +0000 (0:00:00.033) 0:01:09.315 ********* ok: [/cache/rhel-7.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/tmptomayb7j/tests/storage/test-verify-volume-fs.yml:4 Thursday 21 July 2022 17:18:22 +0000 (0:00:00.035) 0:01:09.351 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-fs.yml:10 Thursday 21 July 2022 17:18:22 +0000 (0:00:00.040) 0:01:09.391 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-device.yml:4 Thursday 21 July 2022 17:18:22 +0000 (0:00:00.042) 0:01:09.434 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "stat": { "atime": 1658423859.5310335, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658423859.5310335, "dev": 5, "device_type": 64513, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 35442, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1658423859.5310335, "nlink": 1, "path": "/dev/mapper/vg1-lv2", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-device.yml:10 Thursday 21 July 2022 17:18:22 +0000 (0:00:00.315) 0:01:09.750 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-device.yml:15 Thursday 21 July 2022 17:18:22 +0000 (0:00:00.040) 0:01:09.790 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-device.yml:21 Thursday 21 July 2022 17:18:23 +0000 (0:00:00.040) 0:01:09.831 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-device.yml:25 Thursday 21 July 2022 17:18:23 +0000 (0:00:00.037) 0:01:09.869 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-device.yml:30 Thursday 21 July 2022 17:18:23 +0000 (0:00:00.026) 0:01:09.895 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 17:18:23 +0000 (0:00:00.041) 0:01:09.936 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 17:18:23 +0000 (0:00:00.026) 0:01:09.963 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "rc": 0, "results": [ "cryptsetup-2.0.3-6.el7.x86_64 providing cryptsetup is already installed" ] } TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 17:18:23 +0000 (0:00:00.526) 0:01:10.489 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 17:18:23 +0000 (0:00:00.024) 0:01:10.514 ********* skipping: [/cache/rhel-7.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/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:27 Thursday 21 July 2022 17:18:23 +0000 (0:00:00.023) 0:01:10.537 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:33 Thursday 21 July 2022 17:18:23 +0000 (0:00:00.052) 0:01:10.589 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:39 Thursday 21 July 2022 17:18:23 +0000 (0:00:00.024) 0:01:10.614 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 17:18:23 +0000 (0:00:00.023) 0:01:10.637 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:50 Thursday 21 July 2022 17:18:23 +0000 (0:00:00.022) 0:01:10.660 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:56 Thursday 21 July 2022 17:18:23 +0000 (0:00:00.022) 0:01:10.682 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:62 Thursday 21 July 2022 17:18:23 +0000 (0:00:00.023) 0:01:10.706 ********* ok: [/cache/rhel-7.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/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 17:18:23 +0000 (0:00:00.081) 0:01:10.787 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:72 Thursday 21 July 2022 17:18:24 +0000 (0:00:00.047) 0:01:10.835 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:78 Thursday 21 July 2022 17:18:24 +0000 (0:00:00.038) 0:01:10.873 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:84 Thursday 21 July 2022 17:18:24 +0000 (0:00:00.038) 0:01:10.911 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:90 Thursday 21 July 2022 17:18:24 +0000 (0:00:00.036) 0:01:10.948 ********* ok: [/cache/rhel-7.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/tmptomayb7j/tests/storage/test-verify-volume-md.yml:7 Thursday 21 July 2022 17:18:24 +0000 (0:00:00.035) 0:01:10.983 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-md.yml:13 Thursday 21 July 2022 17:18:24 +0000 (0:00:00.035) 0:01:11.018 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-md.yml:17 Thursday 21 July 2022 17:18:24 +0000 (0:00:00.038) 0:01:11.057 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-md.yml:21 Thursday 21 July 2022 17:18:24 +0000 (0:00:00.035) 0:01:11.092 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-md.yml:25 Thursday 21 July 2022 17:18:24 +0000 (0:00:00.036) 0:01:11.129 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-md.yml:31 Thursday 21 July 2022 17:18:24 +0000 (0:00:00.039) 0:01:11.168 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-md.yml:37 Thursday 21 July 2022 17:18:24 +0000 (0:00:00.040) 0:01:11.208 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:3 Thursday 21 July 2022 17:18:24 +0000 (0:00:00.035) 0:01:11.244 ********* ok: [/cache/rhel-7.qcow2] => { "bytes": 3221225472, "changed": false, "lvm": "3g", "parted": "3GiB", "size": "3 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:9 Thursday 21 July 2022 17:18:24 +0000 (0:00:00.309) 0:01:11.553 ********* ok: [/cache/rhel-7.qcow2] => { "bytes": 3221225472, "changed": false, "lvm": "3g", "parted": "3GiB", "size": "3 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:15 Thursday 21 July 2022 17:18:25 +0000 (0:00:00.316) 0:01:11.870 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_expected_size": "3221225472" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:20 Thursday 21 July 2022 17:18:25 +0000 (0:00:00.052) 0:01:11.922 ********* ok: [/cache/rhel-7.qcow2] => { "storage_test_expected_size": "3221225472" } TASK [debug] ******************************************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:25 Thursday 21 July 2022 17:18:25 +0000 (0:00:00.034) 0:01:11.956 ********* skipping: [/cache/rhel-7.qcow2] => {} TASK [debug] ******************************************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:28 Thursday 21 July 2022 17:18:25 +0000 (0:00:00.038) 0:01:11.995 ********* skipping: [/cache/rhel-7.qcow2] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:31 Thursday 21 July 2022 17:18:25 +0000 (0:00:00.036) 0:01:12.032 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:36 Thursday 21 July 2022 17:18:25 +0000 (0:00:00.043) 0:01:12.075 ********* skipping: [/cache/rhel-7.qcow2] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:39 Thursday 21 July 2022 17:18:25 +0000 (0:00:00.035) 0:01:12.110 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:44 Thursday 21 July 2022 17:18:25 +0000 (0:00:00.035) 0:01:12.146 ********* ok: [/cache/rhel-7.qcow2] => { "storage_test_actual_size": { "bytes": 3221225472, "changed": false, "failed": false, "lvm": "3g", "parted": "3GiB", "size": "3 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:47 Thursday 21 July 2022 17:18:25 +0000 (0:00:00.045) 0:01:12.192 ********* ok: [/cache/rhel-7.qcow2] => { "storage_test_expected_size": "3221225472" } TASK [assert] ****************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:50 Thursday 21 July 2022 17:18:25 +0000 (0:00:00.037) 0:01:12.230 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-cache.yml:6 Thursday 21 July 2022 17:18:25 +0000 (0:00:00.049) 0:01:12.279 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "cmd": [ "lvs", "--noheadings", "--nameprefixes", "--units=b", "--nosuffix", "--unquoted", "-o", "name,attr,cache_total_blocks,chunk_size,segtype", "vg1/lv2" ], "delta": "0:00:00.023050", "end": "2022-07-21 13:18:25.165163", "rc": 0, "start": "2022-07-21 13:18:25.142113" } STDOUT: LVM2_LV_NAME=lv2 LVM2_LV_ATTR=-wi-ao---- LVM2_CACHE_TOTAL_BLOCKS= LVM2_CHUNK_SIZE=0 LVM2_SEGTYPE=linear TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-cache.yml:14 Thursday 21 July 2022 17:18:25 +0000 (0:00:00.316) 0:01:12.596 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_lv_segtype": [ "linear" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-cache.yml:17 Thursday 21 July 2022 17:18:25 +0000 (0:00:00.052) 0:01:12.649 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-cache.yml:22 Thursday 21 July 2022 17:18:25 +0000 (0:00:00.051) 0:01:12.700 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-cache.yml:26 Thursday 21 July 2022 17:18:25 +0000 (0:00:00.037) 0:01:12.738 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-cache.yml:32 Thursday 21 July 2022 17:18:25 +0000 (0:00:00.037) 0:01:12.776 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-cache.yml:36 Thursday 21 July 2022 17:18:25 +0000 (0:00:00.038) 0:01:12.814 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume.yml:16 Thursday 21 July 2022 17:18:26 +0000 (0:00:00.075) 0:01:12.889 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume.yml:2 Thursday 21 July 2022 17:18:26 +0000 (0:00:00.036) 0:01:12.925 ********* ok: [/cache/rhel-7.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/tmptomayb7j/tests/storage/test-verify-volume.yml:10 Thursday 21 July 2022 17:18:26 +0000 (0:00:00.048) 0:01:12.974 ********* included: /tmp/tmptomayb7j/tests/storage/test-verify-volume-mount.yml for /cache/rhel-7.qcow2 => (item=mount) included: /tmp/tmptomayb7j/tests/storage/test-verify-volume-fstab.yml for /cache/rhel-7.qcow2 => (item=fstab) included: /tmp/tmptomayb7j/tests/storage/test-verify-volume-fs.yml for /cache/rhel-7.qcow2 => (item=fs) included: /tmp/tmptomayb7j/tests/storage/test-verify-volume-device.yml for /cache/rhel-7.qcow2 => (item=device) included: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml for /cache/rhel-7.qcow2 => (item=encryption) included: /tmp/tmptomayb7j/tests/storage/test-verify-volume-md.yml for /cache/rhel-7.qcow2 => (item=md) included: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml for /cache/rhel-7.qcow2 => (item=size) included: /tmp/tmptomayb7j/tests/storage/test-verify-volume-cache.yml for /cache/rhel-7.qcow2 => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-mount.yml:6 Thursday 21 July 2022 17:18:26 +0000 (0:00:00.080) 0:01:13.054 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/vg1-lv3" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-mount.yml:10 Thursday 21 July 2022 17:18:26 +0000 (0:00:00.039) 0:01:13.094 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 774552, "block_size": 4096, "block_total": 782848, "block_used": 8296, "device": "/dev/mapper/vg1-lv3", "fstype": "xfs", "inode_available": 1570813, "inode_total": 1570816, "inode_used": 3, "mount": "/opt/test3", "options": "rw,seclabel,relatime,attr2,inode64,sunit=1024,swidth=2048,noquota", "size_available": 3172564992, "size_total": 3206545408, "uuid": "eeb79a8f-496f-41d4-b68b-a17eb39a65a5" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 774552, "block_size": 4096, "block_total": 782848, "block_used": 8296, "device": "/dev/mapper/vg1-lv3", "fstype": "xfs", "inode_available": 1570813, "inode_total": 1570816, "inode_used": 3, "mount": "/opt/test3", "options": "rw,seclabel,relatime,attr2,inode64,sunit=1024,swidth=2048,noquota", "size_available": 3172564992, "size_total": 3206545408, "uuid": "eeb79a8f-496f-41d4-b68b-a17eb39a65a5" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-mount.yml:20 Thursday 21 July 2022 17:18:26 +0000 (0:00:00.058) 0:01:13.153 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-mount.yml:29 Thursday 21 July 2022 17:18:26 +0000 (0:00:00.049) 0:01:13.202 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-mount.yml:37 Thursday 21 July 2022 17:18:26 +0000 (0:00:00.053) 0:01:13.256 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-mount.yml:46 Thursday 21 July 2022 17:18:26 +0000 (0:00:00.052) 0:01:13.308 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-mount.yml:50 Thursday 21 July 2022 17:18:26 +0000 (0:00:00.025) 0:01:13.334 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-mount.yml:55 Thursday 21 July 2022 17:18:26 +0000 (0:00:00.027) 0:01:13.361 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-mount.yml:65 Thursday 21 July 2022 17:18:26 +0000 (0:00:00.025) 0:01:13.387 ********* ok: [/cache/rhel-7.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/tmptomayb7j/tests/storage/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 17:18:26 +0000 (0:00:00.036) 0:01:13.424 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "1", "storage_test_fstab_expected_mount_options_matches": "1", "storage_test_fstab_expected_mount_point_matches": "1", "storage_test_fstab_id_matches": [ "/dev/mapper/vg1-lv3 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test3 xfs defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test3 " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-fstab.yml:12 Thursday 21 July 2022 17:18:26 +0000 (0:00:00.062) 0:01:13.486 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-fstab.yml:19 Thursday 21 July 2022 17:18:26 +0000 (0:00:00.053) 0:01:13.540 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 17:18:26 +0000 (0:00:00.050) 0:01:13.591 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-fstab.yml:34 Thursday 21 July 2022 17:18:26 +0000 (0:00:00.038) 0:01:13.630 ********* ok: [/cache/rhel-7.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/tmptomayb7j/tests/storage/test-verify-volume-fs.yml:4 Thursday 21 July 2022 17:18:26 +0000 (0:00:00.037) 0:01:13.668 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-fs.yml:10 Thursday 21 July 2022 17:18:26 +0000 (0:00:00.037) 0:01:13.705 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-device.yml:4 Thursday 21 July 2022 17:18:26 +0000 (0:00:00.041) 0:01:13.747 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "stat": { "atime": 1658423859.3530335, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658423859.3530335, "dev": 5, "device_type": 64512, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 35406, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1658423859.3530335, "nlink": 1, "path": "/dev/mapper/vg1-lv3", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-device.yml:10 Thursday 21 July 2022 17:18:27 +0000 (0:00:00.317) 0:01:14.065 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-device.yml:15 Thursday 21 July 2022 17:18:27 +0000 (0:00:00.040) 0:01:14.105 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-device.yml:21 Thursday 21 July 2022 17:18:27 +0000 (0:00:00.040) 0:01:14.145 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-device.yml:25 Thursday 21 July 2022 17:18:27 +0000 (0:00:00.036) 0:01:14.182 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-device.yml:30 Thursday 21 July 2022 17:18:27 +0000 (0:00:00.026) 0:01:14.208 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 17:18:27 +0000 (0:00:00.039) 0:01:14.247 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 17:18:27 +0000 (0:00:00.024) 0:01:14.272 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "rc": 0, "results": [ "cryptsetup-2.0.3-6.el7.x86_64 providing cryptsetup is already installed" ] } TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 17:18:27 +0000 (0:00:00.525) 0:01:14.798 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 17:18:28 +0000 (0:00:00.055) 0:01:14.853 ********* skipping: [/cache/rhel-7.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/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:27 Thursday 21 July 2022 17:18:28 +0000 (0:00:00.026) 0:01:14.880 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:33 Thursday 21 July 2022 17:18:28 +0000 (0:00:00.055) 0:01:14.935 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:39 Thursday 21 July 2022 17:18:28 +0000 (0:00:00.027) 0:01:14.962 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 17:18:28 +0000 (0:00:00.023) 0:01:14.986 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:50 Thursday 21 July 2022 17:18:28 +0000 (0:00:00.024) 0:01:15.010 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:56 Thursday 21 July 2022 17:18:28 +0000 (0:00:00.024) 0:01:15.034 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:62 Thursday 21 July 2022 17:18:28 +0000 (0:00:00.026) 0:01:15.061 ********* ok: [/cache/rhel-7.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/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 17:18:28 +0000 (0:00:00.053) 0:01:15.114 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:72 Thursday 21 July 2022 17:18:28 +0000 (0:00:00.051) 0:01:15.166 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:78 Thursday 21 July 2022 17:18:28 +0000 (0:00:00.038) 0:01:15.205 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:84 Thursday 21 July 2022 17:18:28 +0000 (0:00:00.044) 0:01:15.250 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:90 Thursday 21 July 2022 17:18:28 +0000 (0:00:00.046) 0:01:15.296 ********* ok: [/cache/rhel-7.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/tmptomayb7j/tests/storage/test-verify-volume-md.yml:7 Thursday 21 July 2022 17:18:28 +0000 (0:00:00.039) 0:01:15.335 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-md.yml:13 Thursday 21 July 2022 17:18:28 +0000 (0:00:00.039) 0:01:15.375 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-md.yml:17 Thursday 21 July 2022 17:18:28 +0000 (0:00:00.041) 0:01:15.416 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-md.yml:21 Thursday 21 July 2022 17:18:28 +0000 (0:00:00.040) 0:01:15.457 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-md.yml:25 Thursday 21 July 2022 17:18:28 +0000 (0:00:00.038) 0:01:15.495 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-md.yml:31 Thursday 21 July 2022 17:18:28 +0000 (0:00:00.037) 0:01:15.533 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-md.yml:37 Thursday 21 July 2022 17:18:28 +0000 (0:00:00.039) 0:01:15.572 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:3 Thursday 21 July 2022 17:18:28 +0000 (0:00:00.035) 0:01:15.608 ********* ok: [/cache/rhel-7.qcow2] => { "bytes": 3221225472, "changed": false, "lvm": "3g", "parted": "3GiB", "size": "3 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:9 Thursday 21 July 2022 17:18:29 +0000 (0:00:00.310) 0:01:15.918 ********* ok: [/cache/rhel-7.qcow2] => { "bytes": 3221225472, "changed": false, "lvm": "3g", "parted": "3GiB", "size": "3 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:15 Thursday 21 July 2022 17:18:29 +0000 (0:00:00.330) 0:01:16.249 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_expected_size": "3221225472" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:20 Thursday 21 July 2022 17:18:29 +0000 (0:00:00.054) 0:01:16.303 ********* ok: [/cache/rhel-7.qcow2] => { "storage_test_expected_size": "3221225472" } TASK [debug] ******************************************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:25 Thursday 21 July 2022 17:18:29 +0000 (0:00:00.037) 0:01:16.341 ********* skipping: [/cache/rhel-7.qcow2] => {} TASK [debug] ******************************************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:28 Thursday 21 July 2022 17:18:29 +0000 (0:00:00.038) 0:01:16.380 ********* skipping: [/cache/rhel-7.qcow2] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:31 Thursday 21 July 2022 17:18:29 +0000 (0:00:00.038) 0:01:16.419 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:36 Thursday 21 July 2022 17:18:29 +0000 (0:00:00.041) 0:01:16.460 ********* skipping: [/cache/rhel-7.qcow2] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:39 Thursday 21 July 2022 17:18:29 +0000 (0:00:00.039) 0:01:16.500 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:44 Thursday 21 July 2022 17:18:29 +0000 (0:00:00.036) 0:01:16.537 ********* ok: [/cache/rhel-7.qcow2] => { "storage_test_actual_size": { "bytes": 3221225472, "changed": false, "failed": false, "lvm": "3g", "parted": "3GiB", "size": "3 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:47 Thursday 21 July 2022 17:18:29 +0000 (0:00:00.036) 0:01:16.574 ********* ok: [/cache/rhel-7.qcow2] => { "storage_test_expected_size": "3221225472" } TASK [assert] ****************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:50 Thursday 21 July 2022 17:18:29 +0000 (0:00:00.039) 0:01:16.613 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-cache.yml:6 Thursday 21 July 2022 17:18:29 +0000 (0:00:00.050) 0:01:16.664 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "cmd": [ "lvs", "--noheadings", "--nameprefixes", "--units=b", "--nosuffix", "--unquoted", "-o", "name,attr,cache_total_blocks,chunk_size,segtype", "vg1/lv3" ], "delta": "0:00:00.023801", "end": "2022-07-21 13:18:29.617212", "rc": 0, "start": "2022-07-21 13:18:29.593411" } STDOUT: LVM2_LV_NAME=lv3 LVM2_LV_ATTR=-wi-ao---- LVM2_CACHE_TOTAL_BLOCKS= LVM2_CHUNK_SIZE=0 LVM2_SEGTYPE=linear TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-cache.yml:14 Thursday 21 July 2022 17:18:30 +0000 (0:00:00.382) 0:01:17.047 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_lv_segtype": [ "linear" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-cache.yml:17 Thursday 21 July 2022 17:18:30 +0000 (0:00:00.049) 0:01:17.096 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-cache.yml:22 Thursday 21 July 2022 17:18:30 +0000 (0:00:00.087) 0:01:17.184 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-cache.yml:26 Thursday 21 July 2022 17:18:30 +0000 (0:00:00.037) 0:01:17.222 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-cache.yml:32 Thursday 21 July 2022 17:18:30 +0000 (0:00:00.039) 0:01:17.261 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-cache.yml:36 Thursday 21 July 2022 17:18:30 +0000 (0:00:00.037) 0:01:17.299 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume.yml:16 Thursday 21 July 2022 17:18:30 +0000 (0:00:00.039) 0:01:17.338 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmptomayb7j/tests/storage/verify-role-results.yml:43 Thursday 21 July 2022 17:18:30 +0000 (0:00:00.115) 0:01:17.453 ********* TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmptomayb7j/tests/storage/verify-role-results.yml:53 Thursday 21 July 2022 17:18:30 +0000 (0:00:00.021) 0:01:17.475 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Remove the device created above] ***************************************** task path: /tmp/tmptomayb7j/tests/storage/tests_create_raid_pool_then_remove.yml:77 Thursday 21 July 2022 17:18:30 +0000 (0:00:00.034) 0:01:17.510 ********* TASK [fedora.linux_system_roles.storage : set platform/version specific variables] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Thursday 21 July 2022 17:18:30 +0000 (0:00:00.058) 0:01:17.568 ********* included: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for /cache/rhel-7.qcow2 TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Thursday 21 July 2022 17:18:30 +0000 (0:00:00.035) 0:01:17.604 ********* ok: [/cache/rhel-7.qcow2] TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Thursday 21 July 2022 17:18:31 +0000 (0:00:00.414) 0:01:18.019 ********* skipping: [/cache/rhel-7.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-7.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/rhel-7.qcow2] => (item=RedHat_7.yml) => { "ansible_facts": { "__storage_blivet_diskvolume_mkfs_option_map": { "ext2": "-F", "ext3": "-F", "ext4": "-F" }, "blivet_package_list": [ "python-enum34", "python-blivet3", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap" ] }, "ansible_included_var_files": [ "/tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/vars/RedHat_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_7.yml" } skipping: [/cache/rhel-7.qcow2] => (item=RedHat_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_7.9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Thursday 21 July 2022 17:18:31 +0000 (0:00:00.079) 0:01:18.098 ********* ok: [/cache/rhel-7.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/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Thursday 21 July 2022 17:18:31 +0000 (0:00:00.040) 0:01:18.139 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : include the appropriate provider tasks] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Thursday 21 July 2022 17:18:31 +0000 (0:00:00.037) 0:01:18.176 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for /cache/rhel-7.qcow2 TASK [fedora.linux_system_roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 17:18:31 +0000 (0:00:00.060) 0:01:18.237 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure blivet is available] ******* task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 17:18:31 +0000 (0:00:00.021) 0:01:18.258 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : show storage_pools] ****************** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:13 Thursday 21 July 2022 17:18:31 +0000 (0:00:00.028) 0:01:18.286 ********* ok: [/cache/rhel-7.qcow2] => { "storage_pools": [ { "disks": [ "sdb", "sdc" ], "name": "vg1", "raid_level": "raid0", "state": "absent", "type": "lvm", "volumes": [ { "mount_point": "/opt/test1", "name": "lv1", "size": "2g" }, { "mount_point": "/opt/test2", "name": "lv2", "size": "3g" }, { "mount_point": "/opt/test3", "name": "lv3", "size": "3g" } ] } ] } TASK [fedora.linux_system_roles.storage : show storage_volumes] **************** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:18 Thursday 21 July 2022 17:18:31 +0000 (0:00:00.040) 0:01:18.327 ********* ok: [/cache/rhel-7.qcow2] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [fedora.linux_system_roles.storage : get required packages] *************** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:23 Thursday 21 July 2022 17:18:31 +0000 (0:00:00.038) 0:01:18.366 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : enable copr repositories if needed] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:35 Thursday 21 July 2022 17:18:31 +0000 (0:00:00.027) 0:01:18.393 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure required packages are installed] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:41 Thursday 21 July 2022 17:18:31 +0000 (0:00:00.027) 0:01:18.421 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : get service facts] ******************* task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 Thursday 21 July 2022 17:18:31 +0000 (0:00:00.034) 0:01:18.455 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:53 Thursday 21 July 2022 17:18:31 +0000 (0:00:00.034) 0:01:18.490 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 17:18:31 +0000 (0:00:00.061) 0:01:18.551 ********* TASK [fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Thursday 21 July 2022 17:18:31 +0000 (0:00:00.022) 0:01:18.573 ********* changed: [/cache/rhel-7.qcow2] => { "actions": [ { "action": "destroy format", "device": "/dev/mapper/vg1-lv3", "fs_type": "xfs" }, { "action": "destroy device", "device": "/dev/mapper/vg1-lv3", "fs_type": null }, { "action": "destroy format", "device": "/dev/mapper/vg1-lv2", "fs_type": "xfs" }, { "action": "destroy device", "device": "/dev/mapper/vg1-lv2", "fs_type": null }, { "action": "destroy format", "device": "/dev/mapper/vg1-lv1", "fs_type": "xfs" }, { "action": "destroy device", "device": "/dev/mapper/vg1-lv1", "fs_type": null }, { "action": "destroy device", "device": "/dev/vg1", "fs_type": null }, { "action": "destroy format", "device": "/dev/md/vg1-1", "fs_type": "lvmpv" }, { "action": "destroy device", "device": "/dev/md/vg1-1", "fs_type": null }, { "action": "destroy format", "device": "/dev/sdb1", "fs_type": "mdmember" }, { "action": "destroy device", "device": "/dev/sdb1", "fs_type": null }, { "action": "destroy format", "device": "/dev/sdb", "fs_type": "disklabel" }, { "action": "destroy format", "device": "/dev/sdc1", "fs_type": "mdmember" }, { "action": "destroy device", "device": "/dev/sdc1", "fs_type": null }, { "action": "destroy format", "device": "/dev/sdc", "fs_type": "disklabel" } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb", "/dev/vdc", "/dev/vdd" ], "mounts": [ { "fstype": "xfs", "path": "/opt/test3", "src": "/dev/mapper/vg1-lv3", "state": "absent" }, { "fstype": "xfs", "path": "/opt/test2", "src": "/dev/mapper/vg1-lv2", "state": "absent" }, { "fstype": "xfs", "path": "/opt/test1", "src": "/dev/mapper/vg1-lv1", "state": "absent" } ], "packages": [ "xfsprogs" ], "pools": [ { "disks": [ "sdb", "sdc" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": "512 KiB", "raid_device_count": 2, "raid_level": "raid0", "raid_metadata_version": "1.2", "raid_spare_count": 0, "state": "absent", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sdb", "sdc" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "/dev/mapper/vg1-lv2", "_mount_id": "/dev/mapper/vg1-lv2", "_raw_device": "/dev/mapper/vg1-lv2", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sdb", "sdc" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "lv2", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "/dev/mapper/vg1-lv3", "_mount_id": "/dev/mapper/vg1-lv3", "_raw_device": "/dev/mapper/vg1-lv3", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sdb", "sdc" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test3", "name": "lv3", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } TASK [fedora.linux_system_roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:78 Thursday 21 July 2022 17:18:35 +0000 (0:00:03.696) 0:01:22.269 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Thursday 21 July 2022 17:18:35 +0000 (0:00:00.100) 0:01:22.370 ********* TASK [fedora.linux_system_roles.storage : show blivet_output] ****************** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:96 Thursday 21 July 2022 17:18:35 +0000 (0:00:00.023) 0:01:22.394 ********* ok: [/cache/rhel-7.qcow2] => { "blivet_output": { "actions": [ { "action": "destroy format", "device": "/dev/mapper/vg1-lv3", "fs_type": "xfs" }, { "action": "destroy device", "device": "/dev/mapper/vg1-lv3", "fs_type": null }, { "action": "destroy format", "device": "/dev/mapper/vg1-lv2", "fs_type": "xfs" }, { "action": "destroy device", "device": "/dev/mapper/vg1-lv2", "fs_type": null }, { "action": "destroy format", "device": "/dev/mapper/vg1-lv1", "fs_type": "xfs" }, { "action": "destroy device", "device": "/dev/mapper/vg1-lv1", "fs_type": null }, { "action": "destroy device", "device": "/dev/vg1", "fs_type": null }, { "action": "destroy format", "device": "/dev/md/vg1-1", "fs_type": "lvmpv" }, { "action": "destroy device", "device": "/dev/md/vg1-1", "fs_type": null }, { "action": "destroy format", "device": "/dev/sdb1", "fs_type": "mdmember" }, { "action": "destroy device", "device": "/dev/sdb1", "fs_type": null }, { "action": "destroy format", "device": "/dev/sdb", "fs_type": "disklabel" }, { "action": "destroy format", "device": "/dev/sdc1", "fs_type": "mdmember" }, { "action": "destroy device", "device": "/dev/sdc1", "fs_type": null }, { "action": "destroy format", "device": "/dev/sdc", "fs_type": "disklabel" } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb", "/dev/vdc", "/dev/vdd" ], "mounts": [ { "fstype": "xfs", "path": "/opt/test3", "src": "/dev/mapper/vg1-lv3", "state": "absent" }, { "fstype": "xfs", "path": "/opt/test2", "src": "/dev/mapper/vg1-lv2", "state": "absent" }, { "fstype": "xfs", "path": "/opt/test1", "src": "/dev/mapper/vg1-lv1", "state": "absent" } ], "packages": [ "xfsprogs" ], "pools": [ { "disks": [ "sdb", "sdc" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": "512 KiB", "raid_device_count": 2, "raid_level": "raid0", "raid_metadata_version": "1.2", "raid_spare_count": 0, "state": "absent", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sdb", "sdc" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "/dev/mapper/vg1-lv2", "_mount_id": "/dev/mapper/vg1-lv2", "_raw_device": "/dev/mapper/vg1-lv2", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sdb", "sdc" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "lv2", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "/dev/mapper/vg1-lv3", "_mount_id": "/dev/mapper/vg1-lv3", "_raw_device": "/dev/mapper/vg1-lv3", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sdb", "sdc" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test3", "name": "lv3", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } } TASK [fedora.linux_system_roles.storage : set the list of pools for test verification] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:101 Thursday 21 July 2022 17:18:35 +0000 (0:00:00.042) 0:01:22.437 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sdb", "sdc" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": "512 KiB", "raid_device_count": 2, "raid_level": "raid0", "raid_metadata_version": "1.2", "raid_spare_count": 0, "state": "absent", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sdb", "sdc" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "/dev/mapper/vg1-lv2", "_mount_id": "/dev/mapper/vg1-lv2", "_raw_device": "/dev/mapper/vg1-lv2", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sdb", "sdc" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "lv2", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "/dev/mapper/vg1-lv3", "_mount_id": "/dev/mapper/vg1-lv3", "_raw_device": "/dev/mapper/vg1-lv3", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sdb", "sdc" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test3", "name": "lv3", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] }, "changed": false } TASK [fedora.linux_system_roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:105 Thursday 21 July 2022 17:18:35 +0000 (0:00:00.042) 0:01:22.479 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : remove obsolete mounts] ************** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:121 Thursday 21 July 2022 17:18:35 +0000 (0:00:00.035) 0:01:22.515 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/rhel-7.qcow2] => (item={'src': '/dev/mapper/vg1-lv3', 'state': 'absent', 'path': '/opt/test3', 'fstype': 'xfs'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "xfs", "mount_info": { "fstype": "xfs", "path": "/opt/test3", "src": "/dev/mapper/vg1-lv3", "state": "absent" }, "name": "/opt/test3", "opts": "defaults", "passno": "0", "src": "/dev/mapper/vg1-lv3" } redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/rhel-7.qcow2] => (item={'src': '/dev/mapper/vg1-lv2', 'state': 'absent', 'path': '/opt/test2', 'fstype': 'xfs'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "xfs", "mount_info": { "fstype": "xfs", "path": "/opt/test2", "src": "/dev/mapper/vg1-lv2", "state": "absent" }, "name": "/opt/test2", "opts": "defaults", "passno": "0", "src": "/dev/mapper/vg1-lv2" } redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/rhel-7.qcow2] => (item={'src': '/dev/mapper/vg1-lv1', 'state': 'absent', 'path': '/opt/test1', 'fstype': 'xfs'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "xfs", "mount_info": { "fstype": "xfs", "path": "/opt/test1", "src": "/dev/mapper/vg1-lv1", "state": "absent" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "/dev/mapper/vg1-lv1" } TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 Thursday 21 July 2022 17:18:36 +0000 (0:00:00.940) 0:01:23.456 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : set up new/current mounts] *********** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:137 Thursday 21 July 2022 17:18:37 +0000 (0:00:00.493) 0:01:23.949 ********* TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:148 Thursday 21 July 2022 17:18:37 +0000 (0:00:00.037) 0:01:23.987 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:156 Thursday 21 July 2022 17:18:37 +0000 (0:00:00.460) 0:01:24.448 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "stat": { "atime": 1658423843.2670336, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1658201031.524, "dev": 64769, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 70, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "inode/x-empty", "mode": "0600", "mtime": 1658200515.884, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "18446744071677828413", "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/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:161 Thursday 21 July 2022 17:18:37 +0000 (0:00:00.319) 0:01:24.768 ********* TASK [fedora.linux_system_roles.storage : Update facts] ************************ task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 Thursday 21 July 2022 17:18:37 +0000 (0:00:00.024) 0:01:24.793 ********* ok: [/cache/rhel-7.qcow2] META: role_complete for /cache/rhel-7.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmptomayb7j/tests/storage/tests_create_raid_pool_then_remove.yml:98 Thursday 21 July 2022 17:18:38 +0000 (0:00:00.852) 0:01:25.645 ********* included: /tmp/tmptomayb7j/tests/storage/verify-role-results.yml for /cache/rhel-7.qcow2 TASK [Print out pool information] ********************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-role-results.yml:1 Thursday 21 July 2022 17:18:38 +0000 (0:00:00.048) 0:01:25.694 ********* ok: [/cache/rhel-7.qcow2] => { "_storage_pools_list": [ { "disks": [ "sdb", "sdc" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": "512 KiB", "raid_device_count": 2, "raid_level": "raid0", "raid_metadata_version": "1.2", "raid_spare_count": 0, "state": "absent", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sdb", "sdc" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "/dev/mapper/vg1-lv2", "_mount_id": "/dev/mapper/vg1-lv2", "_raw_device": "/dev/mapper/vg1-lv2", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sdb", "sdc" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test2", "name": "lv2", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null }, { "_device": "/dev/mapper/vg1-lv3", "_mount_id": "/dev/mapper/vg1-lv3", "_raw_device": "/dev/mapper/vg1-lv3", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sdb", "sdc" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test3", "name": "lv3", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [], "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "size": "3g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] } TASK [Print out volume information] ******************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-role-results.yml:6 Thursday 21 July 2022 17:18:38 +0000 (0:00:00.081) 0:01:25.776 ********* skipping: [/cache/rhel-7.qcow2] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-role-results.yml:14 Thursday 21 July 2022 17:18:38 +0000 (0:00:00.042) 0:01:25.819 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "info": { "/dev/fd0": { "fstype": "", "label": "", "name": "/dev/fd0", "size": "4K", "type": "disk", "uuid": "" }, "/dev/nvme0n1": { "fstype": "", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme1n1": { "fstype": "", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme2n1": { "fstype": "", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda": { "fstype": "", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdb": { "fstype": "", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdc": { "fstype": "", "label": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sr0": { "fstype": "iso9660", "label": "cidata", "name": "/dev/sr0", "size": "364K", "type": "rom", "uuid": "2022-07-21-17-17-00-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": "21864ae1-1c29-4009-a1c2-151e41d0e053" }, "/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/tmptomayb7j/tests/storage/verify-role-results.yml:19 Thursday 21 July 2022 17:18:40 +0000 (0:00:01.319) 0:01:27.138 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.003589", "end": "2022-07-21 13:18:40.058556", "rc": 0, "start": "2022-07-21 13:18:40.054967" } STDOUT: # # /etc/fstab # Created by anaconda on Tue Jul 19 03:15:15 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 # UUID=21864ae1-1c29-4009-a1c2-151e41d0e053 / xfs defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmptomayb7j/tests/storage/verify-role-results.yml:24 Thursday 21 July 2022 17:18:40 +0000 (0:00:00.351) 0:01:27.489 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.003815", "end": "2022-07-21 13:18:40.375199", "failed_when_result": false, "rc": 0, "start": "2022-07-21 13:18:40.371384" } TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmptomayb7j/tests/storage/verify-role-results.yml:33 Thursday 21 July 2022 17:18:40 +0000 (0:00:00.320) 0:01:27.809 ********* included: /tmp/tmptomayb7j/tests/storage/test-verify-pool.yml for /cache/rhel-7.qcow2 => (item={'name': 'vg1', 'encryption_password': None, 'state': 'absent', 'raid_metadata_version': '1.2', 'encryption': False, 'encryption_key_size': None, 'disks': ['sdb', 'sdc'], 'raid_level': 'raid0', 'encryption_luks_version': None, 'raid_device_count': 2, 'encryption_key': None, 'volumes': [{'_raw_device': '/dev/mapper/vg1-lv1', 'raid_metadata_version': None, 'raid_level': None, 'fs_type': 'xfs', 'mount_options': 'defaults', 'type': 'lvm', '_device': '/dev/mapper/vg1-lv1', 'size': '2g', 'mount_point': '/opt/test1', 'compression': None, 'encryption_password': None, 'encryption': False, 'mount_device_identifier': 'uuid', 'name': 'lv1', 'raid_device_count': None, 'state': 'present', 'vdo_pool_size': None, 'thin_pool_name': None, 'thin_pool_size': None, 'encryption_key_size': None, 'encryption_cipher': None, 'encryption_key': None, 'fs_label': '', 'encryption_luks_version': None, 'cache_size': 0, '_mount_id': '/dev/mapper/vg1-lv1', 'raid_spare_count': None, 'raid_disks': [], 'cache_mode': None, 'deduplication': None, 'cached': False, 'fs_overwrite_existing': True, 'disks': ['sdb', 'sdc'], 'thin': False, 'mount_check': 0, 'mount_passno': 0, 'raid_chunk_size': None, 'cache_devices': [], 'fs_create_options': ''}, {'_raw_device': '/dev/mapper/vg1-lv2', 'raid_metadata_version': None, 'raid_level': None, 'fs_type': 'xfs', 'mount_options': 'defaults', 'type': 'lvm', '_device': '/dev/mapper/vg1-lv2', 'size': '3g', 'mount_point': '/opt/test2', 'compression': None, 'encryption_password': None, 'encryption': False, 'mount_device_identifier': 'uuid', 'name': 'lv2', 'raid_device_count': None, 'state': 'present', 'vdo_pool_size': None, 'thin_pool_name': None, 'thin_pool_size': None, 'encryption_key_size': None, 'encryption_cipher': None, 'encryption_key': None, 'fs_label': '', 'encryption_luks_version': None, 'cache_size': 0, '_mount_id': '/dev/mapper/vg1-lv2', 'raid_spare_count': None, 'raid_disks': [], 'cache_mode': None, 'deduplication': None, 'cached': False, 'fs_overwrite_existing': True, 'disks': ['sdb', 'sdc'], 'thin': False, 'mount_check': 0, 'mount_passno': 0, 'raid_chunk_size': None, 'cache_devices': [], 'fs_create_options': ''}, {'_raw_device': '/dev/mapper/vg1-lv3', 'raid_metadata_version': None, 'raid_level': None, 'fs_type': 'xfs', 'mount_options': 'defaults', 'type': 'lvm', '_device': '/dev/mapper/vg1-lv3', 'size': '3g', 'mount_point': '/opt/test3', 'compression': None, 'encryption_password': None, 'encryption': False, 'mount_device_identifier': 'uuid', 'name': 'lv3', 'raid_device_count': None, 'state': 'present', 'vdo_pool_size': None, 'thin_pool_name': None, 'thin_pool_size': None, 'encryption_key_size': None, 'encryption_cipher': None, 'encryption_key': None, 'fs_label': '', 'encryption_luks_version': None, 'cache_size': 0, '_mount_id': '/dev/mapper/vg1-lv3', 'raid_spare_count': None, 'raid_disks': [], 'cache_mode': None, 'deduplication': None, 'cached': False, 'fs_overwrite_existing': True, 'disks': ['sdb', 'sdc'], 'thin': False, 'mount_check': 0, 'mount_passno': 0, 'raid_chunk_size': None, 'cache_devices': [], 'fs_create_options': ''}], 'raid_chunk_size': '512 KiB', 'type': 'lvm', 'encryption_cipher': None, 'raid_spare_count': 0}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-pool.yml:5 Thursday 21 July 2022 17:18:41 +0000 (0:00:00.062) 0:01:27.872 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-pool.yml:18 Thursday 21 July 2022 17:18:41 +0000 (0:00:00.038) 0:01:27.911 ********* included: /tmp/tmptomayb7j/tests/storage/test-verify-pool-members.yml for /cache/rhel-7.qcow2 => (item=members) included: /tmp/tmptomayb7j/tests/storage/test-verify-pool-volumes.yml for /cache/rhel-7.qcow2 => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-pool-members.yml:1 Thursday 21 July 2022 17:18:41 +0000 (0:00:00.048) 0:01:27.959 ********* ok: [/cache/rhel-7.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/tmptomayb7j/tests/storage/test-verify-pool-members.yml:6 Thursday 21 July 2022 17:18:41 +0000 (0:00:00.053) 0:01:28.013 ********* TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-pool-members.yml:15 Thursday 21 July 2022 17:18:41 +0000 (0:00:00.021) 0:01:28.034 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "__pvs_lvm_len": "0" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-pool-members.yml:19 Thursday 21 July 2022 17:18:41 +0000 (0:00:00.050) 0:01:28.085 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_test_pool_pvs": [] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-pool-members.yml:23 Thursday 21 July 2022 17:18:41 +0000 (0:00:00.048) 0:01:28.134 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-pool-members.yml:29 Thursday 21 July 2022 17:18:41 +0000 (0:00:00.049) 0:01:28.183 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-pool-members.yml:33 Thursday 21 July 2022 17:18:41 +0000 (0:00:00.039) 0:01:28.222 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_type": "partition" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-pool-members.yml:37 Thursday 21 July 2022 17:18:41 +0000 (0:00:00.049) 0:01:28.272 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_type": "raid0" }, "changed": false } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-pool-members.yml:41 Thursday 21 July 2022 17:18:41 +0000 (0:00:00.038) 0:01:28.310 ********* TASK [Check MD RAID] *********************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-pool-members.yml:50 Thursday 21 July 2022 17:18:41 +0000 (0:00:00.027) 0:01:28.337 ********* included: /tmp/tmptomayb7j/tests/storage/verify-pool-md.yml for /cache/rhel-7.qcow2 TASK [get information about RAID] ********************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-md.yml:6 Thursday 21 July 2022 17:18:41 +0000 (0:00:00.044) 0:01:28.381 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-md.yml:12 Thursday 21 July 2022 17:18:41 +0000 (0:00:00.023) 0:01:28.405 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-md.yml:16 Thursday 21 July 2022 17:18:41 +0000 (0:00:00.024) 0:01:28.430 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-md.yml:20 Thursday 21 July 2022 17:18:41 +0000 (0:00:00.024) 0:01:28.455 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-md.yml:24 Thursday 21 July 2022 17:18:41 +0000 (0:00:00.022) 0:01:28.477 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-md.yml:30 Thursday 21 July 2022 17:18:41 +0000 (0:00:00.024) 0:01:28.502 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmptomayb7j/tests/storage/verify-pool-md.yml:36 Thursday 21 July 2022 17:18:41 +0000 (0:00:00.024) 0:01:28.526 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-md.yml:44 Thursday 21 July 2022 17:18:41 +0000 (0:00:00.026) 0:01:28.553 ********* ok: [/cache/rhel-7.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/tmptomayb7j/tests/storage/test-verify-pool-members.yml:53 Thursday 21 July 2022 17:18:41 +0000 (0:00:00.034) 0:01:28.588 ********* included: /tmp/tmptomayb7j/tests/storage/verify-pool-members-lvmraid.yml for /cache/rhel-7.qcow2 TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-members-lvmraid.yml:1 Thursday 21 July 2022 17:18:41 +0000 (0:00:00.041) 0:01:28.630 ********* included: /tmp/tmptomayb7j/tests/storage/verify-pool-member-lvmraid.yml for /cache/rhel-7.qcow2 => (item={'_raw_device': '/dev/mapper/vg1-lv1', 'raid_metadata_version': None, 'raid_level': None, 'fs_type': 'xfs', 'mount_options': 'defaults', 'type': 'lvm', '_device': '/dev/mapper/vg1-lv1', 'size': '2g', 'mount_point': '/opt/test1', 'compression': None, 'encryption_password': None, 'encryption': False, 'mount_device_identifier': 'uuid', 'name': 'lv1', 'raid_device_count': None, 'state': 'present', 'vdo_pool_size': None, 'thin_pool_name': None, 'thin_pool_size': None, 'encryption_key_size': None, 'encryption_cipher': None, 'encryption_key': None, 'fs_label': '', 'encryption_luks_version': None, 'cache_size': 0, '_mount_id': '/dev/mapper/vg1-lv1', 'raid_spare_count': None, 'raid_disks': [], 'cache_mode': None, 'deduplication': None, 'cached': False, 'fs_overwrite_existing': True, 'disks': ['sdb', 'sdc'], 'thin': False, 'mount_check': 0, 'mount_passno': 0, 'raid_chunk_size': None, 'cache_devices': [], 'fs_create_options': ''}) included: /tmp/tmptomayb7j/tests/storage/verify-pool-member-lvmraid.yml for /cache/rhel-7.qcow2 => (item={'_raw_device': '/dev/mapper/vg1-lv2', 'raid_metadata_version': None, 'raid_level': None, 'fs_type': 'xfs', 'mount_options': 'defaults', 'type': 'lvm', '_device': '/dev/mapper/vg1-lv2', 'size': '3g', 'mount_point': '/opt/test2', 'compression': None, 'encryption_password': None, 'encryption': False, 'mount_device_identifier': 'uuid', 'name': 'lv2', 'raid_device_count': None, 'state': 'present', 'vdo_pool_size': None, 'thin_pool_name': None, 'thin_pool_size': None, 'encryption_key_size': None, 'encryption_cipher': None, 'encryption_key': None, 'fs_label': '', 'encryption_luks_version': None, 'cache_size': 0, '_mount_id': '/dev/mapper/vg1-lv2', 'raid_spare_count': None, 'raid_disks': [], 'cache_mode': None, 'deduplication': None, 'cached': False, 'fs_overwrite_existing': True, 'disks': ['sdb', 'sdc'], 'thin': False, 'mount_check': 0, 'mount_passno': 0, 'raid_chunk_size': None, 'cache_devices': [], 'fs_create_options': ''}) included: /tmp/tmptomayb7j/tests/storage/verify-pool-member-lvmraid.yml for /cache/rhel-7.qcow2 => (item={'_raw_device': '/dev/mapper/vg1-lv3', 'raid_metadata_version': None, 'raid_level': None, 'fs_type': 'xfs', 'mount_options': 'defaults', 'type': 'lvm', '_device': '/dev/mapper/vg1-lv3', 'size': '3g', 'mount_point': '/opt/test3', 'compression': None, 'encryption_password': None, 'encryption': False, 'mount_device_identifier': 'uuid', 'name': 'lv3', 'raid_device_count': None, 'state': 'present', 'vdo_pool_size': None, 'thin_pool_name': None, 'thin_pool_size': None, 'encryption_key_size': None, 'encryption_cipher': None, 'encryption_key': None, 'fs_label': '', 'encryption_luks_version': None, 'cache_size': 0, '_mount_id': '/dev/mapper/vg1-lv3', 'raid_spare_count': None, 'raid_disks': [], 'cache_mode': None, 'deduplication': None, 'cached': False, 'fs_overwrite_existing': True, 'disks': ['sdb', 'sdc'], 'thin': False, 'mount_check': 0, 'mount_passno': 0, 'raid_chunk_size': None, 'cache_devices': [], 'fs_create_options': ''}) TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-lvmraid.yml:3 Thursday 21 July 2022 17:18:41 +0000 (0:00:00.052) 0:01:28.682 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-lvmraid.yml:8 Thursday 21 July 2022 17:18:41 +0000 (0:00:00.025) 0:01:28.708 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-lvmraid.yml:12 Thursday 21 July 2022 17:18:41 +0000 (0:00:00.028) 0:01:28.736 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-lvmraid.yml:3 Thursday 21 July 2022 17:18:41 +0000 (0:00:00.027) 0:01:28.763 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-lvmraid.yml:8 Thursday 21 July 2022 17:18:41 +0000 (0:00:00.029) 0:01:28.793 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-lvmraid.yml:12 Thursday 21 July 2022 17:18:41 +0000 (0:00:00.027) 0:01:28.820 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-lvmraid.yml:3 Thursday 21 July 2022 17:18:42 +0000 (0:00:00.026) 0:01:28.846 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-lvmraid.yml:8 Thursday 21 July 2022 17:18:42 +0000 (0:00:00.026) 0:01:28.873 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-lvmraid.yml:12 Thursday 21 July 2022 17:18:42 +0000 (0:00:00.059) 0:01:28.932 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-pool-members.yml:56 Thursday 21 July 2022 17:18:42 +0000 (0:00:00.026) 0:01:28.959 ********* included: /tmp/tmptomayb7j/tests/storage/verify-pool-members-thin.yml for /cache/rhel-7.qcow2 TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-members-thin.yml:1 Thursday 21 July 2022 17:18:42 +0000 (0:00:00.043) 0:01:29.002 ********* included: /tmp/tmptomayb7j/tests/storage/verify-pool-member-thin.yml for /cache/rhel-7.qcow2 => (item={'_raw_device': '/dev/mapper/vg1-lv1', 'raid_metadata_version': None, 'raid_level': None, 'fs_type': 'xfs', 'mount_options': 'defaults', 'type': 'lvm', '_device': '/dev/mapper/vg1-lv1', 'size': '2g', 'mount_point': '/opt/test1', 'compression': None, 'encryption_password': None, 'encryption': False, 'mount_device_identifier': 'uuid', 'name': 'lv1', 'raid_device_count': None, 'state': 'present', 'vdo_pool_size': None, 'thin_pool_name': None, 'thin_pool_size': None, 'encryption_key_size': None, 'encryption_cipher': None, 'encryption_key': None, 'fs_label': '', 'encryption_luks_version': None, 'cache_size': 0, '_mount_id': '/dev/mapper/vg1-lv1', 'raid_spare_count': None, 'raid_disks': [], 'cache_mode': None, 'deduplication': None, 'cached': False, 'fs_overwrite_existing': True, 'disks': ['sdb', 'sdc'], 'thin': False, 'mount_check': 0, 'mount_passno': 0, 'raid_chunk_size': None, 'cache_devices': [], 'fs_create_options': ''}) included: /tmp/tmptomayb7j/tests/storage/verify-pool-member-thin.yml for /cache/rhel-7.qcow2 => (item={'_raw_device': '/dev/mapper/vg1-lv2', 'raid_metadata_version': None, 'raid_level': None, 'fs_type': 'xfs', 'mount_options': 'defaults', 'type': 'lvm', '_device': '/dev/mapper/vg1-lv2', 'size': '3g', 'mount_point': '/opt/test2', 'compression': None, 'encryption_password': None, 'encryption': False, 'mount_device_identifier': 'uuid', 'name': 'lv2', 'raid_device_count': None, 'state': 'present', 'vdo_pool_size': None, 'thin_pool_name': None, 'thin_pool_size': None, 'encryption_key_size': None, 'encryption_cipher': None, 'encryption_key': None, 'fs_label': '', 'encryption_luks_version': None, 'cache_size': 0, '_mount_id': '/dev/mapper/vg1-lv2', 'raid_spare_count': None, 'raid_disks': [], 'cache_mode': None, 'deduplication': None, 'cached': False, 'fs_overwrite_existing': True, 'disks': ['sdb', 'sdc'], 'thin': False, 'mount_check': 0, 'mount_passno': 0, 'raid_chunk_size': None, 'cache_devices': [], 'fs_create_options': ''}) included: /tmp/tmptomayb7j/tests/storage/verify-pool-member-thin.yml for /cache/rhel-7.qcow2 => (item={'_raw_device': '/dev/mapper/vg1-lv3', 'raid_metadata_version': None, 'raid_level': None, 'fs_type': 'xfs', 'mount_options': 'defaults', 'type': 'lvm', '_device': '/dev/mapper/vg1-lv3', 'size': '3g', 'mount_point': '/opt/test3', 'compression': None, 'encryption_password': None, 'encryption': False, 'mount_device_identifier': 'uuid', 'name': 'lv3', 'raid_device_count': None, 'state': 'present', 'vdo_pool_size': None, 'thin_pool_name': None, 'thin_pool_size': None, 'encryption_key_size': None, 'encryption_cipher': None, 'encryption_key': None, 'fs_label': '', 'encryption_luks_version': None, 'cache_size': 0, '_mount_id': '/dev/mapper/vg1-lv3', 'raid_spare_count': None, 'raid_disks': [], 'cache_mode': None, 'deduplication': None, 'cached': False, 'fs_overwrite_existing': True, 'disks': ['sdb', 'sdc'], 'thin': False, 'mount_check': 0, 'mount_passno': 0, 'raid_chunk_size': None, 'cache_devices': [], 'fs_create_options': ''}) TASK [Get information about thinpool] ****************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-thin.yml:3 Thursday 21 July 2022 17:18:42 +0000 (0:00:00.053) 0:01:29.056 ********* skipping: [/cache/rhel-7.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/tmptomayb7j/tests/storage/verify-pool-member-thin.yml:8 Thursday 21 July 2022 17:18:42 +0000 (0:00:00.022) 0:01:29.078 ********* skipping: [/cache/rhel-7.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/tmptomayb7j/tests/storage/verify-pool-member-thin.yml:13 Thursday 21 July 2022 17:18:42 +0000 (0:00:00.023) 0:01:29.101 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-thin.yml:17 Thursday 21 July 2022 17:18:42 +0000 (0:00:00.021) 0:01:29.123 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about thinpool] ****************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-thin.yml:3 Thursday 21 July 2022 17:18:42 +0000 (0:00:00.022) 0:01:29.145 ********* skipping: [/cache/rhel-7.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/tmptomayb7j/tests/storage/verify-pool-member-thin.yml:8 Thursday 21 July 2022 17:18:42 +0000 (0:00:00.023) 0:01:29.169 ********* skipping: [/cache/rhel-7.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/tmptomayb7j/tests/storage/verify-pool-member-thin.yml:13 Thursday 21 July 2022 17:18:42 +0000 (0:00:00.022) 0:01:29.192 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-thin.yml:17 Thursday 21 July 2022 17:18:42 +0000 (0:00:00.023) 0:01:29.216 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about thinpool] ****************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-thin.yml:3 Thursday 21 July 2022 17:18:42 +0000 (0:00:00.023) 0:01:29.240 ********* skipping: [/cache/rhel-7.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/tmptomayb7j/tests/storage/verify-pool-member-thin.yml:8 Thursday 21 July 2022 17:18:42 +0000 (0:00:00.024) 0:01:29.264 ********* skipping: [/cache/rhel-7.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/tmptomayb7j/tests/storage/verify-pool-member-thin.yml:13 Thursday 21 July 2022 17:18:42 +0000 (0:00:00.024) 0:01:29.289 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-thin.yml:17 Thursday 21 July 2022 17:18:42 +0000 (0:00:00.024) 0:01:29.313 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-pool-members.yml:59 Thursday 21 July 2022 17:18:42 +0000 (0:00:00.024) 0:01:29.338 ********* included: /tmp/tmptomayb7j/tests/storage/verify-pool-members-encryption.yml for /cache/rhel-7.qcow2 TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-members-encryption.yml:4 Thursday 21 July 2022 17:18:42 +0000 (0:00:00.045) 0:01:29.383 ********* ok: [/cache/rhel-7.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/tmptomayb7j/tests/storage/verify-pool-members-encryption.yml:8 Thursday 21 July 2022 17:18:42 +0000 (0:00:00.046) 0:01:29.430 ********* TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-members-encryption.yml:15 Thursday 21 July 2022 17:18:42 +0000 (0:00:00.020) 0:01:29.450 ********* TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-members-encryption.yml:22 Thursday 21 July 2022 17:18:42 +0000 (0:00:00.022) 0:01:29.472 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-pool-members.yml:62 Thursday 21 July 2022 17:18:42 +0000 (0:00:00.035) 0:01:29.507 ********* included: /tmp/tmptomayb7j/tests/storage/verify-pool-members-vdo.yml for /cache/rhel-7.qcow2 TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-members-vdo.yml:1 Thursday 21 July 2022 17:18:42 +0000 (0:00:00.050) 0:01:29.558 ********* included: /tmp/tmptomayb7j/tests/storage/verify-pool-member-vdo.yml for /cache/rhel-7.qcow2 => (item={'_raw_device': '/dev/mapper/vg1-lv1', 'raid_metadata_version': None, 'raid_level': None, 'fs_type': 'xfs', 'mount_options': 'defaults', 'type': 'lvm', '_device': '/dev/mapper/vg1-lv1', 'size': '2g', 'mount_point': '/opt/test1', 'compression': None, 'encryption_password': None, 'encryption': False, 'mount_device_identifier': 'uuid', 'name': 'lv1', 'raid_device_count': None, 'state': 'present', 'vdo_pool_size': None, 'thin_pool_name': None, 'thin_pool_size': None, 'encryption_key_size': None, 'encryption_cipher': None, 'encryption_key': None, 'fs_label': '', 'encryption_luks_version': None, 'cache_size': 0, '_mount_id': '/dev/mapper/vg1-lv1', 'raid_spare_count': None, 'raid_disks': [], 'cache_mode': None, 'deduplication': None, 'cached': False, 'fs_overwrite_existing': True, 'disks': ['sdb', 'sdc'], 'thin': False, 'mount_check': 0, 'mount_passno': 0, 'raid_chunk_size': None, 'cache_devices': [], 'fs_create_options': ''}) included: /tmp/tmptomayb7j/tests/storage/verify-pool-member-vdo.yml for /cache/rhel-7.qcow2 => (item={'_raw_device': '/dev/mapper/vg1-lv2', 'raid_metadata_version': None, 'raid_level': None, 'fs_type': 'xfs', 'mount_options': 'defaults', 'type': 'lvm', '_device': '/dev/mapper/vg1-lv2', 'size': '3g', 'mount_point': '/opt/test2', 'compression': None, 'encryption_password': None, 'encryption': False, 'mount_device_identifier': 'uuid', 'name': 'lv2', 'raid_device_count': None, 'state': 'present', 'vdo_pool_size': None, 'thin_pool_name': None, 'thin_pool_size': None, 'encryption_key_size': None, 'encryption_cipher': None, 'encryption_key': None, 'fs_label': '', 'encryption_luks_version': None, 'cache_size': 0, '_mount_id': '/dev/mapper/vg1-lv2', 'raid_spare_count': None, 'raid_disks': [], 'cache_mode': None, 'deduplication': None, 'cached': False, 'fs_overwrite_existing': True, 'disks': ['sdb', 'sdc'], 'thin': False, 'mount_check': 0, 'mount_passno': 0, 'raid_chunk_size': None, 'cache_devices': [], 'fs_create_options': ''}) included: /tmp/tmptomayb7j/tests/storage/verify-pool-member-vdo.yml for /cache/rhel-7.qcow2 => (item={'_raw_device': '/dev/mapper/vg1-lv3', 'raid_metadata_version': None, 'raid_level': None, 'fs_type': 'xfs', 'mount_options': 'defaults', 'type': 'lvm', '_device': '/dev/mapper/vg1-lv3', 'size': '3g', 'mount_point': '/opt/test3', 'compression': None, 'encryption_password': None, 'encryption': False, 'mount_device_identifier': 'uuid', 'name': 'lv3', 'raid_device_count': None, 'state': 'present', 'vdo_pool_size': None, 'thin_pool_name': None, 'thin_pool_size': None, 'encryption_key_size': None, 'encryption_cipher': None, 'encryption_key': None, 'fs_label': '', 'encryption_luks_version': None, 'cache_size': 0, '_mount_id': '/dev/mapper/vg1-lv3', 'raid_spare_count': None, 'raid_disks': [], 'cache_mode': None, 'deduplication': None, 'cached': False, 'fs_overwrite_existing': True, 'disks': ['sdb', 'sdc'], 'thin': False, 'mount_check': 0, 'mount_passno': 0, 'raid_chunk_size': None, 'cache_devices': [], 'fs_create_options': ''}) TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-vdo.yml:3 Thursday 21 July 2022 17:18:42 +0000 (0:00:00.062) 0:01:29.620 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-vdo.yml:8 Thursday 21 July 2022 17:18:42 +0000 (0:00:00.025) 0:01:29.645 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-vdo.yml:11 Thursday 21 July 2022 17:18:42 +0000 (0:00:00.023) 0:01:29.669 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-vdo.yml:16 Thursday 21 July 2022 17:18:42 +0000 (0:00:00.022) 0:01:29.691 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-vdo.yml:21 Thursday 21 July 2022 17:18:42 +0000 (0:00:00.021) 0:01:29.713 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-vdo.yml:24 Thursday 21 July 2022 17:18:42 +0000 (0:00:00.022) 0:01:29.735 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-vdo.yml:29 Thursday 21 July 2022 17:18:42 +0000 (0:00:00.023) 0:01:29.758 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-vdo.yml:39 Thursday 21 July 2022 17:18:42 +0000 (0:00:00.025) 0:01:29.784 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-vdo.yml:3 Thursday 21 July 2022 17:18:42 +0000 (0:00:00.038) 0:01:29.822 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-vdo.yml:8 Thursday 21 July 2022 17:18:43 +0000 (0:00:00.022) 0:01:29.845 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-vdo.yml:11 Thursday 21 July 2022 17:18:43 +0000 (0:00:00.026) 0:01:29.871 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-vdo.yml:16 Thursday 21 July 2022 17:18:43 +0000 (0:00:00.027) 0:01:29.899 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-vdo.yml:21 Thursday 21 July 2022 17:18:43 +0000 (0:00:00.023) 0:01:29.923 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-vdo.yml:24 Thursday 21 July 2022 17:18:43 +0000 (0:00:00.022) 0:01:29.945 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-vdo.yml:29 Thursday 21 July 2022 17:18:43 +0000 (0:00:00.023) 0:01:29.969 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-vdo.yml:39 Thursday 21 July 2022 17:18:43 +0000 (0:00:00.058) 0:01:30.028 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-vdo.yml:3 Thursday 21 July 2022 17:18:43 +0000 (0:00:00.032) 0:01:30.061 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-vdo.yml:8 Thursday 21 July 2022 17:18:43 +0000 (0:00:00.024) 0:01:30.085 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-vdo.yml:11 Thursday 21 July 2022 17:18:43 +0000 (0:00:00.023) 0:01:30.109 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-vdo.yml:16 Thursday 21 July 2022 17:18:43 +0000 (0:00:00.023) 0:01:30.132 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-vdo.yml:21 Thursday 21 July 2022 17:18:43 +0000 (0:00:00.024) 0:01:30.156 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-vdo.yml:24 Thursday 21 July 2022 17:18:43 +0000 (0:00:00.023) 0:01:30.180 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-vdo.yml:29 Thursday 21 July 2022 17:18:43 +0000 (0:00:00.022) 0:01:30.202 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-vdo.yml:39 Thursday 21 July 2022 17:18:43 +0000 (0:00:00.025) 0:01:30.228 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-pool-members.yml:65 Thursday 21 July 2022 17:18:43 +0000 (0:00:00.033) 0:01:30.262 ********* ok: [/cache/rhel-7.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/tmptomayb7j/tests/storage/test-verify-pool-volumes.yml:3 Thursday 21 July 2022 17:18:43 +0000 (0:00:00.035) 0:01:30.298 ********* included: /tmp/tmptomayb7j/tests/storage/test-verify-volume.yml for /cache/rhel-7.qcow2 => (item={'_raw_device': '/dev/mapper/vg1-lv1', 'raid_metadata_version': None, 'raid_level': None, 'fs_type': 'xfs', 'mount_options': 'defaults', 'type': 'lvm', '_device': '/dev/mapper/vg1-lv1', 'size': '2g', 'mount_point': '/opt/test1', 'compression': None, 'encryption_password': None, 'encryption': False, 'mount_device_identifier': 'uuid', 'name': 'lv1', 'raid_device_count': None, 'state': 'present', 'vdo_pool_size': None, 'thin_pool_name': None, 'thin_pool_size': None, 'encryption_key_size': None, 'encryption_cipher': None, 'encryption_key': None, 'fs_label': '', 'encryption_luks_version': None, 'cache_size': 0, '_mount_id': '/dev/mapper/vg1-lv1', 'raid_spare_count': None, 'raid_disks': [], 'cache_mode': None, 'deduplication': None, 'cached': False, 'fs_overwrite_existing': True, 'disks': ['sdb', 'sdc'], 'thin': False, 'mount_check': 0, 'mount_passno': 0, 'raid_chunk_size': None, 'cache_devices': [], 'fs_create_options': ''}) included: /tmp/tmptomayb7j/tests/storage/test-verify-volume.yml for /cache/rhel-7.qcow2 => (item={'_raw_device': '/dev/mapper/vg1-lv2', 'raid_metadata_version': None, 'raid_level': None, 'fs_type': 'xfs', 'mount_options': 'defaults', 'type': 'lvm', '_device': '/dev/mapper/vg1-lv2', 'size': '3g', 'mount_point': '/opt/test2', 'compression': None, 'encryption_password': None, 'encryption': False, 'mount_device_identifier': 'uuid', 'name': 'lv2', 'raid_device_count': None, 'state': 'present', 'vdo_pool_size': None, 'thin_pool_name': None, 'thin_pool_size': None, 'encryption_key_size': None, 'encryption_cipher': None, 'encryption_key': None, 'fs_label': '', 'encryption_luks_version': None, 'cache_size': 0, '_mount_id': '/dev/mapper/vg1-lv2', 'raid_spare_count': None, 'raid_disks': [], 'cache_mode': None, 'deduplication': None, 'cached': False, 'fs_overwrite_existing': True, 'disks': ['sdb', 'sdc'], 'thin': False, 'mount_check': 0, 'mount_passno': 0, 'raid_chunk_size': None, 'cache_devices': [], 'fs_create_options': ''}) included: /tmp/tmptomayb7j/tests/storage/test-verify-volume.yml for /cache/rhel-7.qcow2 => (item={'_raw_device': '/dev/mapper/vg1-lv3', 'raid_metadata_version': None, 'raid_level': None, 'fs_type': 'xfs', 'mount_options': 'defaults', 'type': 'lvm', '_device': '/dev/mapper/vg1-lv3', 'size': '3g', 'mount_point': '/opt/test3', 'compression': None, 'encryption_password': None, 'encryption': False, 'mount_device_identifier': 'uuid', 'name': 'lv3', 'raid_device_count': None, 'state': 'present', 'vdo_pool_size': None, 'thin_pool_name': None, 'thin_pool_size': None, 'encryption_key_size': None, 'encryption_cipher': None, 'encryption_key': None, 'fs_label': '', 'encryption_luks_version': None, 'cache_size': 0, '_mount_id': '/dev/mapper/vg1-lv3', 'raid_spare_count': None, 'raid_disks': [], 'cache_mode': None, 'deduplication': None, 'cached': False, 'fs_overwrite_existing': True, 'disks': ['sdb', 'sdc'], 'thin': False, 'mount_check': 0, 'mount_passno': 0, 'raid_chunk_size': None, 'cache_devices': [], 'fs_create_options': ''}) TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume.yml:2 Thursday 21 July 2022 17:18:43 +0000 (0:00:00.052) 0:01:30.350 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_test_volume_present": false, "_storage_volume_tests": [ "mount", "fstab", "fs", "device", "encryption", "md", "size", "cache" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume.yml:10 Thursday 21 July 2022 17:18:43 +0000 (0:00:00.051) 0:01:30.401 ********* included: /tmp/tmptomayb7j/tests/storage/test-verify-volume-mount.yml for /cache/rhel-7.qcow2 => (item=mount) included: /tmp/tmptomayb7j/tests/storage/test-verify-volume-fstab.yml for /cache/rhel-7.qcow2 => (item=fstab) included: /tmp/tmptomayb7j/tests/storage/test-verify-volume-fs.yml for /cache/rhel-7.qcow2 => (item=fs) included: /tmp/tmptomayb7j/tests/storage/test-verify-volume-device.yml for /cache/rhel-7.qcow2 => (item=device) included: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml for /cache/rhel-7.qcow2 => (item=encryption) included: /tmp/tmptomayb7j/tests/storage/test-verify-volume-md.yml for /cache/rhel-7.qcow2 => (item=md) included: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml for /cache/rhel-7.qcow2 => (item=size) included: /tmp/tmptomayb7j/tests/storage/test-verify-volume-cache.yml for /cache/rhel-7.qcow2 => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-mount.yml:6 Thursday 21 July 2022 17:18:43 +0000 (0:00:00.082) 0:01:30.483 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/vg1-lv1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-mount.yml:10 Thursday 21 July 2022 17:18:43 +0000 (0:00:00.044) 0:01:30.527 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_mount_device_matches": [], "storage_test_mount_expected_match_count": "0", "storage_test_mount_point_matches": [], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-mount.yml:20 Thursday 21 July 2022 17:18:43 +0000 (0:00:00.054) 0:01:30.582 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-mount.yml:29 Thursday 21 July 2022 17:18:43 +0000 (0:00:00.024) 0:01:30.606 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-mount.yml:37 Thursday 21 July 2022 17:18:43 +0000 (0:00:00.051) 0:01:30.657 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [command] ***************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-mount.yml:46 Thursday 21 July 2022 17:18:43 +0000 (0:00:00.039) 0:01:30.697 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-mount.yml:50 Thursday 21 July 2022 17:18:43 +0000 (0:00:00.022) 0:01:30.719 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-mount.yml:55 Thursday 21 July 2022 17:18:43 +0000 (0:00:00.023) 0:01:30.743 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-mount.yml:65 Thursday 21 July 2022 17:18:43 +0000 (0:00:00.023) 0:01:30.767 ********* ok: [/cache/rhel-7.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/tmptomayb7j/tests/storage/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 17:18:43 +0000 (0:00:00.036) 0:01:30.804 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "0", "storage_test_fstab_expected_mount_options_matches": "0", "storage_test_fstab_expected_mount_point_matches": "0", "storage_test_fstab_id_matches": [], "storage_test_fstab_mount_options_matches": [], "storage_test_fstab_mount_point_matches": [] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-fstab.yml:12 Thursday 21 July 2022 17:18:44 +0000 (0:00:00.063) 0:01:30.867 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-fstab.yml:19 Thursday 21 July 2022 17:18:44 +0000 (0:00:00.025) 0:01:30.893 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 17:18:44 +0000 (0:00:00.054) 0:01:30.947 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-fstab.yml:34 Thursday 21 July 2022 17:18:44 +0000 (0:00:00.037) 0:01:30.984 ********* ok: [/cache/rhel-7.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/tmptomayb7j/tests/storage/test-verify-volume-fs.yml:4 Thursday 21 July 2022 17:18:44 +0000 (0:00:00.034) 0:01:31.019 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify fs label] ********************************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-fs.yml:10 Thursday 21 July 2022 17:18:44 +0000 (0:00:00.024) 0:01:31.043 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [See whether the device node is present] ********************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-device.yml:4 Thursday 21 July 2022 17:18:44 +0000 (0:00:00.027) 0:01:31.071 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "stat": { "exists": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-device.yml:10 Thursday 21 July 2022 17:18:44 +0000 (0:00:00.308) 0:01:31.379 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-device.yml:15 Thursday 21 July 2022 17:18:44 +0000 (0:00:00.041) 0:01:31.420 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-device.yml:21 Thursday 21 July 2022 17:18:44 +0000 (0:00:00.024) 0:01:31.444 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-device.yml:25 Thursday 21 July 2022 17:18:44 +0000 (0:00:00.080) 0:01:31.525 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-device.yml:30 Thursday 21 July 2022 17:18:44 +0000 (0:00:00.061) 0:01:31.586 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 17:18:44 +0000 (0:00:00.025) 0:01:31.612 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 17:18:44 +0000 (0:00:00.024) 0:01:31.637 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "rc": 0, "results": [ "cryptsetup-2.0.3-6.el7.x86_64 providing cryptsetup is already installed" ] } TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 17:18:45 +0000 (0:00:00.533) 0:01:32.171 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 17:18:45 +0000 (0:00:00.025) 0:01:32.196 ********* skipping: [/cache/rhel-7.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/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:27 Thursday 21 July 2022 17:18:45 +0000 (0:00:00.024) 0:01:32.221 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:33 Thursday 21 July 2022 17:18:45 +0000 (0:00:00.024) 0:01:32.246 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:39 Thursday 21 July 2022 17:18:45 +0000 (0:00:00.024) 0:01:32.271 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 17:18:45 +0000 (0:00:00.023) 0:01:32.294 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:50 Thursday 21 July 2022 17:18:45 +0000 (0:00:00.025) 0:01:32.320 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:56 Thursday 21 July 2022 17:18:45 +0000 (0:00:00.023) 0:01:32.344 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:62 Thursday 21 July 2022 17:18:45 +0000 (0:00:00.032) 0:01:32.376 ********* ok: [/cache/rhel-7.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/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 17:18:45 +0000 (0:00:00.053) 0:01:32.430 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:72 Thursday 21 July 2022 17:18:45 +0000 (0:00:00.051) 0:01:32.481 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:78 Thursday 21 July 2022 17:18:45 +0000 (0:00:00.036) 0:01:32.518 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:84 Thursday 21 July 2022 17:18:45 +0000 (0:00:00.035) 0:01:32.553 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:90 Thursday 21 July 2022 17:18:45 +0000 (0:00:00.035) 0:01:32.589 ********* ok: [/cache/rhel-7.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/tmptomayb7j/tests/storage/test-verify-volume-md.yml:7 Thursday 21 July 2022 17:18:45 +0000 (0:00:00.037) 0:01:32.626 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-md.yml:13 Thursday 21 July 2022 17:18:45 +0000 (0:00:00.034) 0:01:32.661 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-md.yml:17 Thursday 21 July 2022 17:18:45 +0000 (0:00:00.035) 0:01:32.697 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-md.yml:21 Thursday 21 July 2022 17:18:45 +0000 (0:00:00.036) 0:01:32.733 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-md.yml:25 Thursday 21 July 2022 17:18:45 +0000 (0:00:00.042) 0:01:32.776 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-md.yml:31 Thursday 21 July 2022 17:18:45 +0000 (0:00:00.038) 0:01:32.814 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-md.yml:37 Thursday 21 July 2022 17:18:46 +0000 (0:00:00.035) 0:01:32.850 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:3 Thursday 21 July 2022 17:18:46 +0000 (0:00:00.035) 0:01:32.885 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:9 Thursday 21 July 2022 17:18:46 +0000 (0:00:00.026) 0:01:32.911 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:15 Thursday 21 July 2022 17:18:46 +0000 (0:00:00.035) 0:01:32.947 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:20 Thursday 21 July 2022 17:18:46 +0000 (0:00:00.034) 0:01:32.982 ********* ok: [/cache/rhel-7.qcow2] => { "storage_test_expected_size": "3221225472" } TASK [debug] ******************************************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:25 Thursday 21 July 2022 17:18:46 +0000 (0:00:00.034) 0:01:33.016 ********* skipping: [/cache/rhel-7.qcow2] => {} TASK [debug] ******************************************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:28 Thursday 21 July 2022 17:18:46 +0000 (0:00:00.037) 0:01:33.053 ********* skipping: [/cache/rhel-7.qcow2] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:31 Thursday 21 July 2022 17:18:46 +0000 (0:00:00.034) 0:01:33.088 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:36 Thursday 21 July 2022 17:18:46 +0000 (0:00:00.037) 0:01:33.126 ********* skipping: [/cache/rhel-7.qcow2] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:39 Thursday 21 July 2022 17:18:46 +0000 (0:00:00.035) 0:01:33.162 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:44 Thursday 21 July 2022 17:18:46 +0000 (0:00:00.038) 0:01:33.200 ********* ok: [/cache/rhel-7.qcow2] => { "storage_test_actual_size": { "changed": false, "skip_reason": "Conditional result was False", "skipped": true } } TASK [debug] ******************************************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:47 Thursday 21 July 2022 17:18:46 +0000 (0:00:00.035) 0:01:33.236 ********* ok: [/cache/rhel-7.qcow2] => { "storage_test_expected_size": "3221225472" } TASK [assert] ****************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:50 Thursday 21 July 2022 17:18:46 +0000 (0:00:00.034) 0:01:33.270 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about the LV] ******************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-cache.yml:6 Thursday 21 July 2022 17:18:46 +0000 (0:00:00.023) 0:01:33.294 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-cache.yml:14 Thursday 21 July 2022 17:18:46 +0000 (0:00:00.025) 0:01:33.320 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check segment type] ****************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-cache.yml:17 Thursday 21 July 2022 17:18:46 +0000 (0:00:00.027) 0:01:33.348 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-cache.yml:22 Thursday 21 July 2022 17:18:46 +0000 (0:00:00.027) 0:01:33.375 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-cache.yml:26 Thursday 21 July 2022 17:18:46 +0000 (0:00:00.024) 0:01:33.400 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-cache.yml:32 Thursday 21 July 2022 17:18:46 +0000 (0:00:00.026) 0:01:33.426 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-cache.yml:36 Thursday 21 July 2022 17:18:46 +0000 (0:00:00.022) 0:01:33.449 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume.yml:16 Thursday 21 July 2022 17:18:46 +0000 (0:00:00.022) 0:01:33.471 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume.yml:2 Thursday 21 July 2022 17:18:46 +0000 (0:00:00.037) 0:01:33.508 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_test_volume_present": false, "_storage_volume_tests": [ "mount", "fstab", "fs", "device", "encryption", "md", "size", "cache" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume.yml:10 Thursday 21 July 2022 17:18:46 +0000 (0:00:00.053) 0:01:33.561 ********* included: /tmp/tmptomayb7j/tests/storage/test-verify-volume-mount.yml for /cache/rhel-7.qcow2 => (item=mount) included: /tmp/tmptomayb7j/tests/storage/test-verify-volume-fstab.yml for /cache/rhel-7.qcow2 => (item=fstab) included: /tmp/tmptomayb7j/tests/storage/test-verify-volume-fs.yml for /cache/rhel-7.qcow2 => (item=fs) included: /tmp/tmptomayb7j/tests/storage/test-verify-volume-device.yml for /cache/rhel-7.qcow2 => (item=device) included: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml for /cache/rhel-7.qcow2 => (item=encryption) included: /tmp/tmptomayb7j/tests/storage/test-verify-volume-md.yml for /cache/rhel-7.qcow2 => (item=md) included: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml for /cache/rhel-7.qcow2 => (item=size) included: /tmp/tmptomayb7j/tests/storage/test-verify-volume-cache.yml for /cache/rhel-7.qcow2 => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-mount.yml:6 Thursday 21 July 2022 17:18:46 +0000 (0:00:00.083) 0:01:33.645 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/vg1-lv2" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-mount.yml:10 Thursday 21 July 2022 17:18:46 +0000 (0:00:00.084) 0:01:33.730 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_mount_device_matches": [], "storage_test_mount_expected_match_count": "0", "storage_test_mount_point_matches": [], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-mount.yml:20 Thursday 21 July 2022 17:18:47 +0000 (0:00:00.141) 0:01:33.871 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-mount.yml:29 Thursday 21 July 2022 17:18:47 +0000 (0:00:00.025) 0:01:33.897 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-mount.yml:37 Thursday 21 July 2022 17:18:47 +0000 (0:00:00.049) 0:01:33.947 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [command] ***************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-mount.yml:46 Thursday 21 July 2022 17:18:47 +0000 (0:00:00.034) 0:01:33.982 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-mount.yml:50 Thursday 21 July 2022 17:18:47 +0000 (0:00:00.025) 0:01:34.007 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-mount.yml:55 Thursday 21 July 2022 17:18:47 +0000 (0:00:00.025) 0:01:34.033 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-mount.yml:65 Thursday 21 July 2022 17:18:47 +0000 (0:00:00.022) 0:01:34.056 ********* ok: [/cache/rhel-7.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/tmptomayb7j/tests/storage/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 17:18:47 +0000 (0:00:00.039) 0:01:34.096 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "0", "storage_test_fstab_expected_mount_options_matches": "0", "storage_test_fstab_expected_mount_point_matches": "0", "storage_test_fstab_id_matches": [], "storage_test_fstab_mount_options_matches": [], "storage_test_fstab_mount_point_matches": [] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-fstab.yml:12 Thursday 21 July 2022 17:18:47 +0000 (0:00:00.061) 0:01:34.157 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-fstab.yml:19 Thursday 21 July 2022 17:18:47 +0000 (0:00:00.022) 0:01:34.180 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 17:18:47 +0000 (0:00:00.049) 0:01:34.229 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-fstab.yml:34 Thursday 21 July 2022 17:18:47 +0000 (0:00:00.042) 0:01:34.271 ********* ok: [/cache/rhel-7.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/tmptomayb7j/tests/storage/test-verify-volume-fs.yml:4 Thursday 21 July 2022 17:18:47 +0000 (0:00:00.033) 0:01:34.305 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify fs label] ********************************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-fs.yml:10 Thursday 21 July 2022 17:18:47 +0000 (0:00:00.024) 0:01:34.330 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [See whether the device node is present] ********************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-device.yml:4 Thursday 21 July 2022 17:18:47 +0000 (0:00:00.024) 0:01:34.354 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "stat": { "exists": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-device.yml:10 Thursday 21 July 2022 17:18:47 +0000 (0:00:00.307) 0:01:34.662 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-device.yml:15 Thursday 21 July 2022 17:18:47 +0000 (0:00:00.038) 0:01:34.701 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-device.yml:21 Thursday 21 July 2022 17:18:47 +0000 (0:00:00.023) 0:01:34.724 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-device.yml:25 Thursday 21 July 2022 17:18:47 +0000 (0:00:00.038) 0:01:34.762 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-device.yml:30 Thursday 21 July 2022 17:18:47 +0000 (0:00:00.024) 0:01:34.787 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 17:18:47 +0000 (0:00:00.024) 0:01:34.811 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 17:18:48 +0000 (0:00:00.023) 0:01:34.834 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "rc": 0, "results": [ "cryptsetup-2.0.3-6.el7.x86_64 providing cryptsetup is already installed" ] } TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 17:18:48 +0000 (0:00:00.512) 0:01:35.347 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 17:18:48 +0000 (0:00:00.025) 0:01:35.372 ********* skipping: [/cache/rhel-7.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/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:27 Thursday 21 July 2022 17:18:48 +0000 (0:00:00.023) 0:01:35.396 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:33 Thursday 21 July 2022 17:18:48 +0000 (0:00:00.025) 0:01:35.421 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:39 Thursday 21 July 2022 17:18:48 +0000 (0:00:00.023) 0:01:35.445 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 17:18:48 +0000 (0:00:00.022) 0:01:35.468 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:50 Thursday 21 July 2022 17:18:48 +0000 (0:00:00.022) 0:01:35.490 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:56 Thursday 21 July 2022 17:18:48 +0000 (0:00:00.023) 0:01:35.513 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:62 Thursday 21 July 2022 17:18:48 +0000 (0:00:00.022) 0:01:35.535 ********* ok: [/cache/rhel-7.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/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 17:18:48 +0000 (0:00:00.088) 0:01:35.624 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:72 Thursday 21 July 2022 17:18:48 +0000 (0:00:00.050) 0:01:35.674 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:78 Thursday 21 July 2022 17:18:48 +0000 (0:00:00.033) 0:01:35.708 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:84 Thursday 21 July 2022 17:18:48 +0000 (0:00:00.034) 0:01:35.743 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:90 Thursday 21 July 2022 17:18:48 +0000 (0:00:00.034) 0:01:35.778 ********* ok: [/cache/rhel-7.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/tmptomayb7j/tests/storage/test-verify-volume-md.yml:7 Thursday 21 July 2022 17:18:49 +0000 (0:00:00.077) 0:01:35.856 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-md.yml:13 Thursday 21 July 2022 17:18:49 +0000 (0:00:00.037) 0:01:35.893 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-md.yml:17 Thursday 21 July 2022 17:18:49 +0000 (0:00:00.037) 0:01:35.931 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-md.yml:21 Thursday 21 July 2022 17:18:49 +0000 (0:00:00.038) 0:01:35.969 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-md.yml:25 Thursday 21 July 2022 17:18:49 +0000 (0:00:00.071) 0:01:36.040 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-md.yml:31 Thursday 21 July 2022 17:18:49 +0000 (0:00:00.036) 0:01:36.076 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-md.yml:37 Thursday 21 July 2022 17:18:49 +0000 (0:00:00.034) 0:01:36.111 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:3 Thursday 21 July 2022 17:18:49 +0000 (0:00:00.041) 0:01:36.153 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:9 Thursday 21 July 2022 17:18:49 +0000 (0:00:00.026) 0:01:36.179 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:15 Thursday 21 July 2022 17:18:49 +0000 (0:00:00.038) 0:01:36.218 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:20 Thursday 21 July 2022 17:18:49 +0000 (0:00:00.039) 0:01:36.257 ********* ok: [/cache/rhel-7.qcow2] => { "storage_test_expected_size": "3221225472" } TASK [debug] ******************************************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:25 Thursday 21 July 2022 17:18:49 +0000 (0:00:00.038) 0:01:36.296 ********* skipping: [/cache/rhel-7.qcow2] => {} TASK [debug] ******************************************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:28 Thursday 21 July 2022 17:18:49 +0000 (0:00:00.039) 0:01:36.335 ********* skipping: [/cache/rhel-7.qcow2] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:31 Thursday 21 July 2022 17:18:49 +0000 (0:00:00.037) 0:01:36.373 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:36 Thursday 21 July 2022 17:18:49 +0000 (0:00:00.036) 0:01:36.410 ********* skipping: [/cache/rhel-7.qcow2] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:39 Thursday 21 July 2022 17:18:49 +0000 (0:00:00.035) 0:01:36.445 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:44 Thursday 21 July 2022 17:18:49 +0000 (0:00:00.038) 0:01:36.483 ********* ok: [/cache/rhel-7.qcow2] => { "storage_test_actual_size": { "changed": false, "skip_reason": "Conditional result was False", "skipped": true } } TASK [debug] ******************************************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:47 Thursday 21 July 2022 17:18:49 +0000 (0:00:00.036) 0:01:36.520 ********* ok: [/cache/rhel-7.qcow2] => { "storage_test_expected_size": "3221225472" } TASK [assert] ****************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:50 Thursday 21 July 2022 17:18:49 +0000 (0:00:00.038) 0:01:36.558 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about the LV] ******************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-cache.yml:6 Thursday 21 July 2022 17:18:49 +0000 (0:00:00.024) 0:01:36.583 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-cache.yml:14 Thursday 21 July 2022 17:18:49 +0000 (0:00:00.027) 0:01:36.610 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check segment type] ****************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-cache.yml:17 Thursday 21 July 2022 17:18:49 +0000 (0:00:00.024) 0:01:36.635 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-cache.yml:22 Thursday 21 July 2022 17:18:49 +0000 (0:00:00.023) 0:01:36.658 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-cache.yml:26 Thursday 21 July 2022 17:18:49 +0000 (0:00:00.024) 0:01:36.683 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-cache.yml:32 Thursday 21 July 2022 17:18:49 +0000 (0:00:00.026) 0:01:36.709 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-cache.yml:36 Thursday 21 July 2022 17:18:49 +0000 (0:00:00.024) 0:01:36.734 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume.yml:16 Thursday 21 July 2022 17:18:49 +0000 (0:00:00.022) 0:01:36.757 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume.yml:2 Thursday 21 July 2022 17:18:49 +0000 (0:00:00.037) 0:01:36.794 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_test_volume_present": false, "_storage_volume_tests": [ "mount", "fstab", "fs", "device", "encryption", "md", "size", "cache" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume.yml:10 Thursday 21 July 2022 17:18:50 +0000 (0:00:00.055) 0:01:36.850 ********* included: /tmp/tmptomayb7j/tests/storage/test-verify-volume-mount.yml for /cache/rhel-7.qcow2 => (item=mount) included: /tmp/tmptomayb7j/tests/storage/test-verify-volume-fstab.yml for /cache/rhel-7.qcow2 => (item=fstab) included: /tmp/tmptomayb7j/tests/storage/test-verify-volume-fs.yml for /cache/rhel-7.qcow2 => (item=fs) included: /tmp/tmptomayb7j/tests/storage/test-verify-volume-device.yml for /cache/rhel-7.qcow2 => (item=device) included: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml for /cache/rhel-7.qcow2 => (item=encryption) included: /tmp/tmptomayb7j/tests/storage/test-verify-volume-md.yml for /cache/rhel-7.qcow2 => (item=md) included: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml for /cache/rhel-7.qcow2 => (item=size) included: /tmp/tmptomayb7j/tests/storage/test-verify-volume-cache.yml for /cache/rhel-7.qcow2 => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-mount.yml:6 Thursday 21 July 2022 17:18:50 +0000 (0:00:00.080) 0:01:36.930 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/vg1-lv3" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-mount.yml:10 Thursday 21 July 2022 17:18:50 +0000 (0:00:00.041) 0:01:36.972 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_mount_device_matches": [], "storage_test_mount_expected_match_count": "0", "storage_test_mount_point_matches": [], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-mount.yml:20 Thursday 21 July 2022 17:18:50 +0000 (0:00:00.056) 0:01:37.028 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-mount.yml:29 Thursday 21 July 2022 17:18:50 +0000 (0:00:00.022) 0:01:37.051 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-mount.yml:37 Thursday 21 July 2022 17:18:50 +0000 (0:00:00.048) 0:01:37.099 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [command] ***************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-mount.yml:46 Thursday 21 July 2022 17:18:50 +0000 (0:00:00.035) 0:01:37.135 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-mount.yml:50 Thursday 21 July 2022 17:18:50 +0000 (0:00:00.022) 0:01:37.158 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-mount.yml:55 Thursday 21 July 2022 17:18:50 +0000 (0:00:00.023) 0:01:37.181 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-mount.yml:65 Thursday 21 July 2022 17:18:50 +0000 (0:00:00.023) 0:01:37.205 ********* ok: [/cache/rhel-7.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/tmptomayb7j/tests/storage/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 17:18:50 +0000 (0:00:00.035) 0:01:37.240 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "0", "storage_test_fstab_expected_mount_options_matches": "0", "storage_test_fstab_expected_mount_point_matches": "0", "storage_test_fstab_id_matches": [], "storage_test_fstab_mount_options_matches": [], "storage_test_fstab_mount_point_matches": [] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-fstab.yml:12 Thursday 21 July 2022 17:18:50 +0000 (0:00:00.062) 0:01:37.303 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-fstab.yml:19 Thursday 21 July 2022 17:18:50 +0000 (0:00:00.026) 0:01:37.329 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 17:18:50 +0000 (0:00:00.050) 0:01:37.379 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-fstab.yml:34 Thursday 21 July 2022 17:18:50 +0000 (0:00:00.036) 0:01:37.415 ********* ok: [/cache/rhel-7.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/tmptomayb7j/tests/storage/test-verify-volume-fs.yml:4 Thursday 21 July 2022 17:18:50 +0000 (0:00:00.069) 0:01:37.485 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify fs label] ********************************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-fs.yml:10 Thursday 21 July 2022 17:18:50 +0000 (0:00:00.055) 0:01:37.540 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [See whether the device node is present] ********************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-device.yml:4 Thursday 21 July 2022 17:18:50 +0000 (0:00:00.024) 0:01:37.564 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "stat": { "exists": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-device.yml:10 Thursday 21 July 2022 17:18:51 +0000 (0:00:00.297) 0:01:37.862 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-device.yml:15 Thursday 21 July 2022 17:18:51 +0000 (0:00:00.040) 0:01:37.902 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-device.yml:21 Thursday 21 July 2022 17:18:51 +0000 (0:00:00.025) 0:01:37.927 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-device.yml:25 Thursday 21 July 2022 17:18:51 +0000 (0:00:00.039) 0:01:37.966 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-device.yml:30 Thursday 21 July 2022 17:18:51 +0000 (0:00:00.023) 0:01:37.989 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 17:18:51 +0000 (0:00:00.022) 0:01:38.012 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 17:18:51 +0000 (0:00:00.024) 0:01:38.036 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "rc": 0, "results": [ "cryptsetup-2.0.3-6.el7.x86_64 providing cryptsetup is already installed" ] } TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 17:18:51 +0000 (0:00:00.543) 0:01:38.579 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 17:18:51 +0000 (0:00:00.025) 0:01:38.605 ********* skipping: [/cache/rhel-7.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/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:27 Thursday 21 July 2022 17:18:51 +0000 (0:00:00.024) 0:01:38.630 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:33 Thursday 21 July 2022 17:18:51 +0000 (0:00:00.024) 0:01:38.654 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:39 Thursday 21 July 2022 17:18:51 +0000 (0:00:00.025) 0:01:38.680 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 17:18:51 +0000 (0:00:00.026) 0:01:38.707 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:50 Thursday 21 July 2022 17:18:51 +0000 (0:00:00.026) 0:01:38.733 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:56 Thursday 21 July 2022 17:18:51 +0000 (0:00:00.025) 0:01:38.758 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:62 Thursday 21 July 2022 17:18:51 +0000 (0:00:00.028) 0:01:38.787 ********* ok: [/cache/rhel-7.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/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 17:18:52 +0000 (0:00:00.057) 0:01:38.844 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:72 Thursday 21 July 2022 17:18:52 +0000 (0:00:00.049) 0:01:38.894 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:78 Thursday 21 July 2022 17:18:52 +0000 (0:00:00.037) 0:01:38.932 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:84 Thursday 21 July 2022 17:18:52 +0000 (0:00:00.035) 0:01:38.967 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:90 Thursday 21 July 2022 17:18:52 +0000 (0:00:00.038) 0:01:39.005 ********* ok: [/cache/rhel-7.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/tmptomayb7j/tests/storage/test-verify-volume-md.yml:7 Thursday 21 July 2022 17:18:52 +0000 (0:00:00.032) 0:01:39.038 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-md.yml:13 Thursday 21 July 2022 17:18:52 +0000 (0:00:00.035) 0:01:39.073 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-md.yml:17 Thursday 21 July 2022 17:18:52 +0000 (0:00:00.035) 0:01:39.109 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-md.yml:21 Thursday 21 July 2022 17:18:52 +0000 (0:00:00.041) 0:01:39.151 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-md.yml:25 Thursday 21 July 2022 17:18:52 +0000 (0:00:00.038) 0:01:39.190 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-md.yml:31 Thursday 21 July 2022 17:18:52 +0000 (0:00:00.036) 0:01:39.226 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-md.yml:37 Thursday 21 July 2022 17:18:52 +0000 (0:00:00.040) 0:01:39.267 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:3 Thursday 21 July 2022 17:18:52 +0000 (0:00:00.044) 0:01:39.311 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:9 Thursday 21 July 2022 17:18:52 +0000 (0:00:00.025) 0:01:39.337 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:15 Thursday 21 July 2022 17:18:52 +0000 (0:00:00.036) 0:01:39.373 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:20 Thursday 21 July 2022 17:18:52 +0000 (0:00:00.038) 0:01:39.411 ********* ok: [/cache/rhel-7.qcow2] => { "storage_test_expected_size": "3221225472" } TASK [debug] ******************************************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:25 Thursday 21 July 2022 17:18:52 +0000 (0:00:00.041) 0:01:39.453 ********* skipping: [/cache/rhel-7.qcow2] => {} TASK [debug] ******************************************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:28 Thursday 21 July 2022 17:18:52 +0000 (0:00:00.049) 0:01:39.502 ********* skipping: [/cache/rhel-7.qcow2] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:31 Thursday 21 July 2022 17:18:52 +0000 (0:00:00.041) 0:01:39.543 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:36 Thursday 21 July 2022 17:18:52 +0000 (0:00:00.038) 0:01:39.582 ********* skipping: [/cache/rhel-7.qcow2] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:39 Thursday 21 July 2022 17:18:52 +0000 (0:00:00.039) 0:01:39.622 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:44 Thursday 21 July 2022 17:18:52 +0000 (0:00:00.039) 0:01:39.661 ********* ok: [/cache/rhel-7.qcow2] => { "storage_test_actual_size": { "changed": false, "skip_reason": "Conditional result was False", "skipped": true } } TASK [debug] ******************************************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:47 Thursday 21 July 2022 17:18:52 +0000 (0:00:00.088) 0:01:39.750 ********* ok: [/cache/rhel-7.qcow2] => { "storage_test_expected_size": "3221225472" } TASK [assert] ****************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:50 Thursday 21 July 2022 17:18:53 +0000 (0:00:00.079) 0:01:39.830 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about the LV] ******************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-cache.yml:6 Thursday 21 July 2022 17:18:53 +0000 (0:00:00.026) 0:01:39.856 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-cache.yml:14 Thursday 21 July 2022 17:18:53 +0000 (0:00:00.024) 0:01:39.881 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check segment type] ****************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-cache.yml:17 Thursday 21 July 2022 17:18:53 +0000 (0:00:00.026) 0:01:39.908 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-cache.yml:22 Thursday 21 July 2022 17:18:53 +0000 (0:00:00.068) 0:01:39.977 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-cache.yml:26 Thursday 21 July 2022 17:18:53 +0000 (0:00:00.025) 0:01:40.002 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-cache.yml:32 Thursday 21 July 2022 17:18:53 +0000 (0:00:00.024) 0:01:40.027 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-cache.yml:36 Thursday 21 July 2022 17:18:53 +0000 (0:00:00.023) 0:01:40.051 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume.yml:16 Thursday 21 July 2022 17:18:53 +0000 (0:00:00.026) 0:01:40.077 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmptomayb7j/tests/storage/verify-role-results.yml:43 Thursday 21 July 2022 17:18:53 +0000 (0:00:00.032) 0:01:40.109 ********* TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmptomayb7j/tests/storage/verify-role-results.yml:53 Thursday 21 July 2022 17:18:53 +0000 (0:00:00.020) 0:01:40.129 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Create a RAID1 lvm raid device] ****************************************** task path: /tmp/tmptomayb7j/tests/storage/tests_create_raid_pool_then_remove.yml:100 Thursday 21 July 2022 17:18:53 +0000 (0:00:00.034) 0:01:40.164 ********* TASK [fedora.linux_system_roles.storage : set platform/version specific variables] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Thursday 21 July 2022 17:18:53 +0000 (0:00:00.063) 0:01:40.227 ********* included: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for /cache/rhel-7.qcow2 TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Thursday 21 July 2022 17:18:53 +0000 (0:00:00.036) 0:01:40.263 ********* ok: [/cache/rhel-7.qcow2] TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Thursday 21 July 2022 17:18:53 +0000 (0:00:00.424) 0:01:40.688 ********* skipping: [/cache/rhel-7.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-7.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/rhel-7.qcow2] => (item=RedHat_7.yml) => { "ansible_facts": { "__storage_blivet_diskvolume_mkfs_option_map": { "ext2": "-F", "ext3": "-F", "ext4": "-F" }, "blivet_package_list": [ "python-enum34", "python-blivet3", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap" ] }, "ansible_included_var_files": [ "/tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/vars/RedHat_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_7.yml" } skipping: [/cache/rhel-7.qcow2] => (item=RedHat_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_7.9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Thursday 21 July 2022 17:18:53 +0000 (0:00:00.064) 0:01:40.753 ********* ok: [/cache/rhel-7.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/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Thursday 21 July 2022 17:18:53 +0000 (0:00:00.037) 0:01:40.791 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : include the appropriate provider tasks] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Thursday 21 July 2022 17:18:54 +0000 (0:00:00.037) 0:01:40.828 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for /cache/rhel-7.qcow2 TASK [fedora.linux_system_roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 17:18:54 +0000 (0:00:00.056) 0:01:40.884 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure blivet is available] ******* task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 17:18:54 +0000 (0:00:00.022) 0:01:40.907 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : show storage_pools] ****************** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:13 Thursday 21 July 2022 17:18:54 +0000 (0:00:00.028) 0:01:40.935 ********* ok: [/cache/rhel-7.qcow2] => { "storage_pools": [ { "disks": [ "sdb", "sdc" ], "name": "vg1", "state": "present", "type": "lvm", "volumes": [ { "mount_point": "/opt/test1", "name": "lv1", "raid_disks": [ "sdb", "sdc" ], "raid_level": "raid1", "size": "2g" } ] } ] } TASK [fedora.linux_system_roles.storage : show storage_volumes] **************** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:18 Thursday 21 July 2022 17:18:54 +0000 (0:00:00.044) 0:01:40.980 ********* ok: [/cache/rhel-7.qcow2] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [fedora.linux_system_roles.storage : get required packages] *************** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:23 Thursday 21 July 2022 17:18:54 +0000 (0:00:00.035) 0:01:41.016 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : enable copr repositories if needed] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:35 Thursday 21 July 2022 17:18:54 +0000 (0:00:00.029) 0:01:41.045 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure required packages are installed] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:41 Thursday 21 July 2022 17:18:54 +0000 (0:00:00.027) 0:01:41.073 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : get service facts] ******************* task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 Thursday 21 July 2022 17:18:54 +0000 (0:00:00.031) 0:01:41.104 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:53 Thursday 21 July 2022 17:18:54 +0000 (0:00:00.029) 0:01:41.134 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 17:18:54 +0000 (0:00:00.058) 0:01:41.192 ********* TASK [fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Thursday 21 July 2022 17:18:54 +0000 (0:00:00.022) 0:01:41.215 ********* changed: [/cache/rhel-7.qcow2] => { "actions": [ { "action": "create format", "device": "/dev/sdc", "fs_type": "disklabel" }, { "action": "create device", "device": "/dev/sdc1", "fs_type": null }, { "action": "create format", "device": "/dev/sdc1", "fs_type": "lvmpv" }, { "action": "create format", "device": "/dev/sdb", "fs_type": "disklabel" }, { "action": "create device", "device": "/dev/sdb1", "fs_type": null }, { "action": "create format", "device": "/dev/sdb1", "fs_type": "lvmpv" }, { "action": "create device", "device": "/dev/vg1", "fs_type": null }, { "action": "create device", "device": "/dev/mapper/vg1-lv1", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/vg1-lv1", "fs_type": "xfs" } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/sda", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb", "/dev/vdc", "/dev/vdd", "/dev/mapper/vg1-lv1" ], "mounts": [ { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/vg1-lv1", "state": "mounted" } ], "packages": [ "xfsprogs", "lvm2" ], "pools": [ { "disks": [ "sdb", "sdc" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_kernel_device": "/dev/dm-4", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "_raw_kernel_device": "/dev/dm-4", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [ "sdb", "sdc" ], "raid_level": "raid1", "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } TASK [fedora.linux_system_roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:78 Thursday 21 July 2022 17:18:56 +0000 (0:00:02.511) 0:01:43.726 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Thursday 21 July 2022 17:18:56 +0000 (0:00:00.035) 0:01:43.762 ********* TASK [fedora.linux_system_roles.storage : show blivet_output] ****************** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:96 Thursday 21 July 2022 17:18:56 +0000 (0:00:00.022) 0:01:43.784 ********* ok: [/cache/rhel-7.qcow2] => { "blivet_output": { "actions": [ { "action": "create format", "device": "/dev/sdc", "fs_type": "disklabel" }, { "action": "create device", "device": "/dev/sdc1", "fs_type": null }, { "action": "create format", "device": "/dev/sdc1", "fs_type": "lvmpv" }, { "action": "create format", "device": "/dev/sdb", "fs_type": "disklabel" }, { "action": "create device", "device": "/dev/sdb1", "fs_type": null }, { "action": "create format", "device": "/dev/sdb1", "fs_type": "lvmpv" }, { "action": "create device", "device": "/dev/vg1", "fs_type": null }, { "action": "create device", "device": "/dev/mapper/vg1-lv1", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/vg1-lv1", "fs_type": "xfs" } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/sda", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb", "/dev/vdc", "/dev/vdd", "/dev/mapper/vg1-lv1" ], "mounts": [ { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/vg1-lv1", "state": "mounted" } ], "packages": [ "xfsprogs", "lvm2" ], "pools": [ { "disks": [ "sdb", "sdc" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_kernel_device": "/dev/dm-4", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "_raw_kernel_device": "/dev/dm-4", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [ "sdb", "sdc" ], "raid_level": "raid1", "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } } TASK [fedora.linux_system_roles.storage : set the list of pools for test verification] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:101 Thursday 21 July 2022 17:18:57 +0000 (0:00:00.041) 0:01:43.825 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sdb", "sdc" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_kernel_device": "/dev/dm-4", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "_raw_kernel_device": "/dev/dm-4", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [ "sdb", "sdc" ], "raid_level": "raid1", "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] }, "changed": false } TASK [fedora.linux_system_roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:105 Thursday 21 July 2022 17:18:57 +0000 (0:00:00.040) 0:01:43.865 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : remove obsolete mounts] ************** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:121 Thursday 21 July 2022 17:18:57 +0000 (0:00:00.038) 0:01:43.904 ********* TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 Thursday 21 July 2022 17:18:57 +0000 (0:00:00.036) 0:01:43.941 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : set up new/current mounts] *********** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:137 Thursday 21 July 2022 17:18:57 +0000 (0:00:00.492) 0:01:44.434 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/rhel-7.qcow2] => (item={'src': '/dev/mapper/vg1-lv1', 'dump': 0, 'passno': 0, 'fstype': 'xfs', 'state': 'mounted', 'path': '/opt/test1', 'opts': 'defaults'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "xfs", "mount_info": { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/vg1-lv1", "state": "mounted" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "/dev/mapper/vg1-lv1" } TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:148 Thursday 21 July 2022 17:18:57 +0000 (0:00:00.375) 0:01:44.809 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:156 Thursday 21 July 2022 17:18:58 +0000 (0:00:00.471) 0:01:45.280 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "stat": { "atime": 1658423843.2670336, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1658201031.524, "dev": 64769, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 70, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "inode/x-empty", "mode": "0600", "mtime": 1658200515.884, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "18446744071677828413", "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/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:161 Thursday 21 July 2022 17:18:58 +0000 (0:00:00.329) 0:01:45.610 ********* TASK [fedora.linux_system_roles.storage : Update facts] ************************ task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 Thursday 21 July 2022 17:18:58 +0000 (0:00:00.023) 0:01:45.634 ********* ok: [/cache/rhel-7.qcow2] META: role_complete for /cache/rhel-7.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmptomayb7j/tests/storage/tests_create_raid_pool_then_remove.yml:116 Thursday 21 July 2022 17:18:59 +0000 (0:00:00.893) 0:01:46.527 ********* included: /tmp/tmptomayb7j/tests/storage/verify-role-results.yml for /cache/rhel-7.qcow2 TASK [Print out pool information] ********************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-role-results.yml:1 Thursday 21 July 2022 17:18:59 +0000 (0:00:00.052) 0:01:46.580 ********* ok: [/cache/rhel-7.qcow2] => { "_storage_pools_list": [ { "disks": [ "sdb", "sdc" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_kernel_device": "/dev/dm-4", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "_raw_kernel_device": "/dev/dm-4", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [ "sdb", "sdc" ], "raid_level": "raid1", "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] } TASK [Print out volume information] ******************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-role-results.yml:6 Thursday 21 July 2022 17:18:59 +0000 (0:00:00.069) 0:01:46.650 ********* skipping: [/cache/rhel-7.qcow2] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-role-results.yml:14 Thursday 21 July 2022 17:18:59 +0000 (0:00:00.038) 0:01:46.688 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "info": { "/dev/fd0": { "fstype": "", "label": "", "name": "/dev/fd0", "size": "4K", "type": "disk", "uuid": "" }, "/dev/mapper/vg1-lv1": { "fstype": "xfs", "label": "", "name": "/dev/mapper/vg1-lv1", "size": "2G", "type": "lvm", "uuid": "20959ef8-f4d6-4054-ae0e-3a033b836b2a" }, "/dev/mapper/vg1-lv1_rimage_0": { "fstype": "", "label": "", "name": "/dev/mapper/vg1-lv1_rimage_0", "size": "2G", "type": "lvm", "uuid": "" }, "/dev/mapper/vg1-lv1_rimage_1": { "fstype": "", "label": "", "name": "/dev/mapper/vg1-lv1_rimage_1", "size": "2G", "type": "lvm", "uuid": "" }, "/dev/mapper/vg1-lv1_rmeta_0": { "fstype": "", "label": "", "name": "/dev/mapper/vg1-lv1_rmeta_0", "size": "4M", "type": "lvm", "uuid": "" }, "/dev/mapper/vg1-lv1_rmeta_1": { "fstype": "", "label": "", "name": "/dev/mapper/vg1-lv1_rmeta_1", "size": "4M", "type": "lvm", "uuid": "" }, "/dev/nvme0n1": { "fstype": "", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme1n1": { "fstype": "", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme2n1": { "fstype": "", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda": { "fstype": "", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdb": { "fstype": "", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdb1": { "fstype": "LVM2_member", "label": "", "name": "/dev/sdb1", "size": "10G", "type": "partition", "uuid": "VY4JYq-zaox-UUsU-kOr6-ODCs-ZLvd-mX6uaF" }, "/dev/sdc": { "fstype": "", "label": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdc1": { "fstype": "LVM2_member", "label": "", "name": "/dev/sdc1", "size": "10G", "type": "partition", "uuid": "sMPHfo-T7ax-HFJ0-YHIr-EwIa-Ev2i-ReYxjF" }, "/dev/sr0": { "fstype": "iso9660", "label": "cidata", "name": "/dev/sr0", "size": "364K", "type": "rom", "uuid": "2022-07-21-17-17-00-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": "21864ae1-1c29-4009-a1c2-151e41d0e053" }, "/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/tmptomayb7j/tests/storage/verify-role-results.yml:19 Thursday 21 July 2022 17:19:00 +0000 (0:00:00.373) 0:01:47.062 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.004092", "end": "2022-07-21 13:18:59.932798", "rc": 0, "start": "2022-07-21 13:18:59.928706" } STDOUT: # # /etc/fstab # Created by anaconda on Tue Jul 19 03:15:15 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 # UUID=21864ae1-1c29-4009-a1c2-151e41d0e053 / xfs defaults 0 0 /dev/mapper/vg1-lv1 /opt/test1 xfs defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmptomayb7j/tests/storage/verify-role-results.yml:24 Thursday 21 July 2022 17:19:00 +0000 (0:00:00.348) 0:01:47.410 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.003393", "end": "2022-07-21 13:19:00.290961", "failed_when_result": false, "rc": 0, "start": "2022-07-21 13:19:00.287568" } TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmptomayb7j/tests/storage/verify-role-results.yml:33 Thursday 21 July 2022 17:19:00 +0000 (0:00:00.313) 0:01:47.724 ********* included: /tmp/tmptomayb7j/tests/storage/test-verify-pool.yml for /cache/rhel-7.qcow2 => (item={'name': 'vg1', 'encryption_password': None, 'state': 'present', 'raid_metadata_version': None, 'encryption': False, 'encryption_key_size': None, 'disks': ['sdb', 'sdc'], 'raid_level': None, 'encryption_luks_version': None, 'raid_device_count': None, 'encryption_key': None, 'volumes': [{'_raw_device': '/dev/mapper/vg1-lv1', 'raid_metadata_version': None, 'raid_level': 'raid1', 'fs_type': 'xfs', 'mount_options': 'defaults', 'type': 'lvm', '_device': '/dev/mapper/vg1-lv1', 'size': '2g', 'mount_point': '/opt/test1', 'compression': None, 'encryption_password': None, '_kernel_device': '/dev/dm-4', 'encryption': False, 'mount_device_identifier': 'uuid', 'name': 'lv1', 'raid_device_count': None, 'state': 'present', 'vdo_pool_size': None, 'thin_pool_name': None, 'thin_pool_size': None, 'encryption_key_size': None, 'encryption_cipher': None, 'encryption_key': None, 'fs_label': '', 'encryption_luks_version': None, 'cache_size': 0, '_mount_id': '/dev/mapper/vg1-lv1', 'raid_spare_count': None, 'raid_disks': ['sdb', 'sdc'], '_raw_kernel_device': '/dev/dm-4', 'cache_mode': None, 'deduplication': None, 'cached': False, 'fs_overwrite_existing': True, 'disks': [], 'thin': False, 'mount_check': 0, 'mount_passno': 0, 'raid_chunk_size': None, 'cache_devices': [], 'fs_create_options': ''}], 'raid_chunk_size': None, 'type': 'lvm', 'encryption_cipher': None, 'raid_spare_count': None}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-pool.yml:5 Thursday 21 July 2022 17:19:00 +0000 (0:00:00.061) 0:01:47.785 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-pool.yml:18 Thursday 21 July 2022 17:19:01 +0000 (0:00:00.038) 0:01:47.824 ********* included: /tmp/tmptomayb7j/tests/storage/test-verify-pool-members.yml for /cache/rhel-7.qcow2 => (item=members) included: /tmp/tmptomayb7j/tests/storage/test-verify-pool-volumes.yml for /cache/rhel-7.qcow2 => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-pool-members.yml:1 Thursday 21 July 2022 17:19:01 +0000 (0:00:00.047) 0:01:47.872 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_count": "2", "_storage_test_pool_pvs_lvm": [ "/dev/sdb1", "/dev/sdc1" ] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-pool-members.yml:6 Thursday 21 July 2022 17:19:01 +0000 (0:00:00.057) 0:01:47.929 ********* ok: [/cache/rhel-7.qcow2] => (item=/dev/sdb1) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/sdb1", "pv": "/dev/sdb1" } ok: [/cache/rhel-7.qcow2] => (item=/dev/sdc1) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/sdc1", "pv": "/dev/sdc1" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-pool-members.yml:15 Thursday 21 July 2022 17:19:01 +0000 (0:00:00.590) 0:01:48.520 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "__pvs_lvm_len": "2" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-pool-members.yml:19 Thursday 21 July 2022 17:19:01 +0000 (0:00:00.057) 0:01:48.577 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/sdb1", "/dev/sdc1" ] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-pool-members.yml:23 Thursday 21 July 2022 17:19:01 +0000 (0:00:00.059) 0:01:48.636 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-pool-members.yml:29 Thursday 21 July 2022 17:19:01 +0000 (0:00:00.055) 0:01:48.692 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-pool-members.yml:33 Thursday 21 July 2022 17:19:01 +0000 (0:00:00.039) 0:01:48.732 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_type": "partition" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-pool-members.yml:37 Thursday 21 July 2022 17:19:01 +0000 (0:00:00.050) 0:01:48.782 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-pool-members.yml:41 Thursday 21 July 2022 17:19:01 +0000 (0:00:00.025) 0:01:48.808 ********* ok: [/cache/rhel-7.qcow2] => (item=/dev/sdb1) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/sdb1" } MSG: All assertions passed ok: [/cache/rhel-7.qcow2] => (item=/dev/sdc1) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/sdc1" } MSG: All assertions passed TASK [Check MD RAID] *********************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-pool-members.yml:50 Thursday 21 July 2022 17:19:02 +0000 (0:00:00.058) 0:01:48.866 ********* included: /tmp/tmptomayb7j/tests/storage/verify-pool-md.yml for /cache/rhel-7.qcow2 TASK [get information about RAID] ********************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-md.yml:6 Thursday 21 July 2022 17:19:02 +0000 (0:00:00.045) 0:01:48.912 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-md.yml:12 Thursday 21 July 2022 17:19:02 +0000 (0:00:00.026) 0:01:48.938 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-md.yml:16 Thursday 21 July 2022 17:19:02 +0000 (0:00:00.026) 0:01:48.964 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-md.yml:20 Thursday 21 July 2022 17:19:02 +0000 (0:00:00.024) 0:01:48.989 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-md.yml:24 Thursday 21 July 2022 17:19:02 +0000 (0:00:00.022) 0:01:49.012 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-md.yml:30 Thursday 21 July 2022 17:19:02 +0000 (0:00:00.024) 0:01:49.036 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmptomayb7j/tests/storage/verify-pool-md.yml:36 Thursday 21 July 2022 17:19:02 +0000 (0:00:00.023) 0:01:49.060 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-md.yml:44 Thursday 21 July 2022 17:19:02 +0000 (0:00:00.025) 0:01:49.086 ********* ok: [/cache/rhel-7.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/tmptomayb7j/tests/storage/test-verify-pool-members.yml:53 Thursday 21 July 2022 17:19:02 +0000 (0:00:00.037) 0:01:49.123 ********* included: /tmp/tmptomayb7j/tests/storage/verify-pool-members-lvmraid.yml for /cache/rhel-7.qcow2 TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-members-lvmraid.yml:1 Thursday 21 July 2022 17:19:02 +0000 (0:00:00.047) 0:01:49.171 ********* included: /tmp/tmptomayb7j/tests/storage/verify-pool-member-lvmraid.yml for /cache/rhel-7.qcow2 => (item={'_raw_device': '/dev/mapper/vg1-lv1', 'raid_metadata_version': None, 'raid_level': 'raid1', 'fs_type': 'xfs', 'mount_options': 'defaults', 'type': 'lvm', '_device': '/dev/mapper/vg1-lv1', 'size': '2g', 'mount_point': '/opt/test1', 'compression': None, 'encryption_password': None, '_kernel_device': '/dev/dm-4', 'encryption': False, 'mount_device_identifier': 'uuid', 'name': 'lv1', 'raid_device_count': None, 'state': 'present', 'vdo_pool_size': None, 'thin_pool_name': None, 'thin_pool_size': None, 'encryption_key_size': None, 'encryption_cipher': None, 'encryption_key': None, 'fs_label': '', 'encryption_luks_version': None, 'cache_size': 0, '_mount_id': '/dev/mapper/vg1-lv1', 'raid_spare_count': None, 'raid_disks': ['sdb', 'sdc'], '_raw_kernel_device': '/dev/dm-4', 'cache_mode': None, 'deduplication': None, 'cached': False, 'fs_overwrite_existing': True, 'disks': [], 'thin': False, 'mount_check': 0, 'mount_passno': 0, 'raid_chunk_size': None, 'cache_devices': [], 'fs_create_options': ''}) TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-lvmraid.yml:3 Thursday 21 July 2022 17:19:02 +0000 (0:00:00.044) 0:01:49.215 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "cmd": [ "lvs", "--noheading", "-o", "lv_name", "--select", "lv_name=lv1&&lv_layout=raid1", "vg1" ], "delta": "0:00:00.026800", "end": "2022-07-21 13:19:02.172255", "rc": 0, "start": "2022-07-21 13:19:02.145455" } STDOUT: lv1 TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-lvmraid.yml:8 Thursday 21 July 2022 17:19:02 +0000 (0:00:00.390) 0:01:49.606 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-lvmraid.yml:12 Thursday 21 July 2022 17:19:02 +0000 (0:00:00.063) 0:01:49.669 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_lvmraid_status": null }, "changed": false } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-pool-members.yml:56 Thursday 21 July 2022 17:19:02 +0000 (0:00:00.048) 0:01:49.717 ********* included: /tmp/tmptomayb7j/tests/storage/verify-pool-members-thin.yml for /cache/rhel-7.qcow2 TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-members-thin.yml:1 Thursday 21 July 2022 17:19:02 +0000 (0:00:00.049) 0:01:49.767 ********* included: /tmp/tmptomayb7j/tests/storage/verify-pool-member-thin.yml for /cache/rhel-7.qcow2 => (item={'_raw_device': '/dev/mapper/vg1-lv1', 'raid_metadata_version': None, 'raid_level': 'raid1', 'fs_type': 'xfs', 'mount_options': 'defaults', 'type': 'lvm', '_device': '/dev/mapper/vg1-lv1', 'size': '2g', 'mount_point': '/opt/test1', 'compression': None, 'encryption_password': None, '_kernel_device': '/dev/dm-4', 'encryption': False, 'mount_device_identifier': 'uuid', 'name': 'lv1', 'raid_device_count': None, 'state': 'present', 'vdo_pool_size': None, 'thin_pool_name': None, 'thin_pool_size': None, 'encryption_key_size': None, 'encryption_cipher': None, 'encryption_key': None, 'fs_label': '', 'encryption_luks_version': None, 'cache_size': 0, '_mount_id': '/dev/mapper/vg1-lv1', 'raid_spare_count': None, 'raid_disks': ['sdb', 'sdc'], '_raw_kernel_device': '/dev/dm-4', 'cache_mode': None, 'deduplication': None, 'cached': False, 'fs_overwrite_existing': True, 'disks': [], 'thin': False, 'mount_check': 0, 'mount_passno': 0, 'raid_chunk_size': None, 'cache_devices': [], 'fs_create_options': ''}) TASK [Get information about thinpool] ****************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-thin.yml:3 Thursday 21 July 2022 17:19:02 +0000 (0:00:00.046) 0:01:49.813 ********* skipping: [/cache/rhel-7.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/tmptomayb7j/tests/storage/verify-pool-member-thin.yml:8 Thursday 21 July 2022 17:19:03 +0000 (0:00:00.027) 0:01:49.840 ********* skipping: [/cache/rhel-7.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/tmptomayb7j/tests/storage/verify-pool-member-thin.yml:13 Thursday 21 July 2022 17:19:03 +0000 (0:00:00.024) 0:01:49.865 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-thin.yml:17 Thursday 21 July 2022 17:19:03 +0000 (0:00:00.024) 0:01:49.889 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-pool-members.yml:59 Thursday 21 July 2022 17:19:03 +0000 (0:00:00.023) 0:01:49.912 ********* included: /tmp/tmptomayb7j/tests/storage/verify-pool-members-encryption.yml for /cache/rhel-7.qcow2 TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-members-encryption.yml:4 Thursday 21 July 2022 17:19:03 +0000 (0:00:00.048) 0:01:49.961 ********* ok: [/cache/rhel-7.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/tmptomayb7j/tests/storage/verify-pool-members-encryption.yml:8 Thursday 21 July 2022 17:19:03 +0000 (0:00:00.054) 0:01:50.016 ********* skipping: [/cache/rhel-7.qcow2] => (item=/dev/sdb1) => { "_storage_test_pool_member_path": "/dev/sdb1", "ansible_loop_var": "_storage_test_pool_member_path", "changed": false, "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-7.qcow2] => (item=/dev/sdc1) => { "_storage_test_pool_member_path": "/dev/sdc1", "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/tmptomayb7j/tests/storage/verify-pool-members-encryption.yml:15 Thursday 21 July 2022 17:19:03 +0000 (0:00:00.034) 0:01:50.050 ********* included: /tmp/tmptomayb7j/tests/storage/verify-pool-member-crypttab.yml for /cache/rhel-7.qcow2 => (item=/dev/sdb1) included: /tmp/tmptomayb7j/tests/storage/verify-pool-member-crypttab.yml for /cache/rhel-7.qcow2 => (item=/dev/sdc1) TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-crypttab.yml:1 Thursday 21 July 2022 17:19:03 +0000 (0:00:00.050) 0:01:50.101 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": [] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-crypttab.yml:4 Thursday 21 July 2022 17:19:03 +0000 (0:00:00.053) 0:01:50.154 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-crypttab.yml:9 Thursday 21 July 2022 17:19:03 +0000 (0:00:00.049) 0:01:50.204 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-crypttab.yml:15 Thursday 21 July 2022 17:19:03 +0000 (0:00:00.037) 0:01:50.242 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-crypttab.yml:21 Thursday 21 July 2022 17:19:03 +0000 (0:00:00.038) 0:01:50.280 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-crypttab.yml:27 Thursday 21 July 2022 17:19:03 +0000 (0:00:00.039) 0:01:50.320 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-crypttab.yml:1 Thursday 21 July 2022 17:19:03 +0000 (0:00:00.036) 0:01:50.357 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": [] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-crypttab.yml:4 Thursday 21 July 2022 17:19:03 +0000 (0:00:00.050) 0:01:50.407 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-crypttab.yml:9 Thursday 21 July 2022 17:19:03 +0000 (0:00:00.052) 0:01:50.459 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-crypttab.yml:15 Thursday 21 July 2022 17:19:03 +0000 (0:00:00.041) 0:01:50.500 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-crypttab.yml:21 Thursday 21 July 2022 17:19:03 +0000 (0:00:00.036) 0:01:50.537 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-crypttab.yml:27 Thursday 21 July 2022 17:19:03 +0000 (0:00:00.035) 0:01:50.572 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-members-encryption.yml:22 Thursday 21 July 2022 17:19:03 +0000 (0:00:00.035) 0:01:50.607 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-pool-members.yml:62 Thursday 21 July 2022 17:19:03 +0000 (0:00:00.035) 0:01:50.642 ********* included: /tmp/tmptomayb7j/tests/storage/verify-pool-members-vdo.yml for /cache/rhel-7.qcow2 TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-members-vdo.yml:1 Thursday 21 July 2022 17:19:03 +0000 (0:00:00.046) 0:01:50.689 ********* included: /tmp/tmptomayb7j/tests/storage/verify-pool-member-vdo.yml for /cache/rhel-7.qcow2 => (item={'_raw_device': '/dev/mapper/vg1-lv1', 'raid_metadata_version': None, 'raid_level': 'raid1', 'fs_type': 'xfs', 'mount_options': 'defaults', 'type': 'lvm', '_device': '/dev/mapper/vg1-lv1', 'size': '2g', 'mount_point': '/opt/test1', 'compression': None, 'encryption_password': None, '_kernel_device': '/dev/dm-4', 'encryption': False, 'mount_device_identifier': 'uuid', 'name': 'lv1', 'raid_device_count': None, 'state': 'present', 'vdo_pool_size': None, 'thin_pool_name': None, 'thin_pool_size': None, 'encryption_key_size': None, 'encryption_cipher': None, 'encryption_key': None, 'fs_label': '', 'encryption_luks_version': None, 'cache_size': 0, '_mount_id': '/dev/mapper/vg1-lv1', 'raid_spare_count': None, 'raid_disks': ['sdb', 'sdc'], '_raw_kernel_device': '/dev/dm-4', 'cache_mode': None, 'deduplication': None, 'cached': False, 'fs_overwrite_existing': True, 'disks': [], 'thin': False, 'mount_check': 0, 'mount_passno': 0, 'raid_chunk_size': None, 'cache_devices': [], 'fs_create_options': ''}) TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-vdo.yml:3 Thursday 21 July 2022 17:19:03 +0000 (0:00:00.045) 0:01:50.735 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-vdo.yml:8 Thursday 21 July 2022 17:19:03 +0000 (0:00:00.024) 0:01:50.759 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-vdo.yml:11 Thursday 21 July 2022 17:19:03 +0000 (0:00:00.023) 0:01:50.783 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-vdo.yml:16 Thursday 21 July 2022 17:19:03 +0000 (0:00:00.026) 0:01:50.809 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-vdo.yml:21 Thursday 21 July 2022 17:19:04 +0000 (0:00:00.071) 0:01:50.881 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-vdo.yml:24 Thursday 21 July 2022 17:19:04 +0000 (0:00:00.025) 0:01:50.907 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-vdo.yml:29 Thursday 21 July 2022 17:19:04 +0000 (0:00:00.027) 0:01:50.934 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-vdo.yml:39 Thursday 21 July 2022 17:19:04 +0000 (0:00:00.026) 0:01:50.961 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-pool-members.yml:65 Thursday 21 July 2022 17:19:04 +0000 (0:00:00.041) 0:01:51.002 ********* ok: [/cache/rhel-7.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/tmptomayb7j/tests/storage/test-verify-pool-volumes.yml:3 Thursday 21 July 2022 17:19:04 +0000 (0:00:00.038) 0:01:51.040 ********* included: /tmp/tmptomayb7j/tests/storage/test-verify-volume.yml for /cache/rhel-7.qcow2 => (item={'_raw_device': '/dev/mapper/vg1-lv1', 'raid_metadata_version': None, 'raid_level': 'raid1', 'fs_type': 'xfs', 'mount_options': 'defaults', 'type': 'lvm', '_device': '/dev/mapper/vg1-lv1', 'size': '2g', 'mount_point': '/opt/test1', 'compression': None, 'encryption_password': None, '_kernel_device': '/dev/dm-4', 'encryption': False, 'mount_device_identifier': 'uuid', 'name': 'lv1', 'raid_device_count': None, 'state': 'present', 'vdo_pool_size': None, 'thin_pool_name': None, 'thin_pool_size': None, 'encryption_key_size': None, 'encryption_cipher': None, 'encryption_key': None, 'fs_label': '', 'encryption_luks_version': None, 'cache_size': 0, '_mount_id': '/dev/mapper/vg1-lv1', 'raid_spare_count': None, 'raid_disks': ['sdb', 'sdc'], '_raw_kernel_device': '/dev/dm-4', 'cache_mode': None, 'deduplication': None, 'cached': False, 'fs_overwrite_existing': True, 'disks': [], 'thin': False, 'mount_check': 0, 'mount_passno': 0, 'raid_chunk_size': None, 'cache_devices': [], 'fs_create_options': ''}) TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume.yml:2 Thursday 21 July 2022 17:19:04 +0000 (0:00:00.046) 0:01:51.087 ********* ok: [/cache/rhel-7.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/tmptomayb7j/tests/storage/test-verify-volume.yml:10 Thursday 21 July 2022 17:19:04 +0000 (0:00:00.052) 0:01:51.140 ********* included: /tmp/tmptomayb7j/tests/storage/test-verify-volume-mount.yml for /cache/rhel-7.qcow2 => (item=mount) included: /tmp/tmptomayb7j/tests/storage/test-verify-volume-fstab.yml for /cache/rhel-7.qcow2 => (item=fstab) included: /tmp/tmptomayb7j/tests/storage/test-verify-volume-fs.yml for /cache/rhel-7.qcow2 => (item=fs) included: /tmp/tmptomayb7j/tests/storage/test-verify-volume-device.yml for /cache/rhel-7.qcow2 => (item=device) included: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml for /cache/rhel-7.qcow2 => (item=encryption) included: /tmp/tmptomayb7j/tests/storage/test-verify-volume-md.yml for /cache/rhel-7.qcow2 => (item=md) included: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml for /cache/rhel-7.qcow2 => (item=size) included: /tmp/tmptomayb7j/tests/storage/test-verify-volume-cache.yml for /cache/rhel-7.qcow2 => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-mount.yml:6 Thursday 21 July 2022 17:19:04 +0000 (0:00:00.089) 0:01:51.229 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/vg1-lv1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-mount.yml:10 Thursday 21 July 2022 17:19:04 +0000 (0:00:00.046) 0:01:51.276 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 512456, "block_size": 4096, "block_total": 520704, "block_used": 8248, "device": "/dev/mapper/vg1-lv1", "fstype": "xfs", "inode_available": 1046525, "inode_total": 1046528, "inode_used": 3, "mount": "/opt/test1", "options": "rw,seclabel,relatime,attr2,inode64,noquota", "size_available": 2099019776, "size_total": 2132803584, "uuid": "20959ef8-f4d6-4054-ae0e-3a033b836b2a" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 512456, "block_size": 4096, "block_total": 520704, "block_used": 8248, "device": "/dev/mapper/vg1-lv1", "fstype": "xfs", "inode_available": 1046525, "inode_total": 1046528, "inode_used": 3, "mount": "/opt/test1", "options": "rw,seclabel,relatime,attr2,inode64,noquota", "size_available": 2099019776, "size_total": 2132803584, "uuid": "20959ef8-f4d6-4054-ae0e-3a033b836b2a" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-mount.yml:20 Thursday 21 July 2022 17:19:04 +0000 (0:00:00.058) 0:01:51.335 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-mount.yml:29 Thursday 21 July 2022 17:19:04 +0000 (0:00:00.053) 0:01:51.388 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-mount.yml:37 Thursday 21 July 2022 17:19:04 +0000 (0:00:00.049) 0:01:51.438 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-mount.yml:46 Thursday 21 July 2022 17:19:04 +0000 (0:00:00.053) 0:01:51.491 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-mount.yml:50 Thursday 21 July 2022 17:19:04 +0000 (0:00:00.026) 0:01:51.517 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-mount.yml:55 Thursday 21 July 2022 17:19:04 +0000 (0:00:00.023) 0:01:51.541 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-mount.yml:65 Thursday 21 July 2022 17:19:04 +0000 (0:00:00.023) 0:01:51.564 ********* ok: [/cache/rhel-7.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/tmptomayb7j/tests/storage/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 17:19:04 +0000 (0:00:00.037) 0:01:51.602 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "1", "storage_test_fstab_expected_mount_options_matches": "1", "storage_test_fstab_expected_mount_point_matches": "1", "storage_test_fstab_id_matches": [ "/dev/mapper/vg1-lv1 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test1 xfs defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test1 " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-fstab.yml:12 Thursday 21 July 2022 17:19:04 +0000 (0:00:00.062) 0:01:51.664 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-fstab.yml:19 Thursday 21 July 2022 17:19:04 +0000 (0:00:00.065) 0:01:51.730 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 17:19:04 +0000 (0:00:00.050) 0:01:51.780 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-fstab.yml:34 Thursday 21 July 2022 17:19:04 +0000 (0:00:00.041) 0:01:51.821 ********* ok: [/cache/rhel-7.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/tmptomayb7j/tests/storage/test-verify-volume-fs.yml:4 Thursday 21 July 2022 17:19:05 +0000 (0:00:00.036) 0:01:51.858 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-fs.yml:10 Thursday 21 July 2022 17:19:05 +0000 (0:00:00.042) 0:01:51.901 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-device.yml:4 Thursday 21 July 2022 17:19:05 +0000 (0:00:00.045) 0:01:51.946 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "stat": { "atime": 1658423936.2410336, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658423936.2410336, "dev": 5, "device_type": 64516, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 53055, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1658423936.2410336, "nlink": 1, "path": "/dev/mapper/vg1-lv1", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-device.yml:10 Thursday 21 July 2022 17:19:05 +0000 (0:00:00.354) 0:01:52.301 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-device.yml:15 Thursday 21 July 2022 17:19:05 +0000 (0:00:00.041) 0:01:52.343 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-device.yml:21 Thursday 21 July 2022 17:19:05 +0000 (0:00:00.045) 0:01:52.388 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-device.yml:25 Thursday 21 July 2022 17:19:05 +0000 (0:00:00.040) 0:01:52.428 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-device.yml:30 Thursday 21 July 2022 17:19:05 +0000 (0:00:00.027) 0:01:52.455 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 17:19:05 +0000 (0:00:00.039) 0:01:52.495 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 17:19:05 +0000 (0:00:00.025) 0:01:52.521 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "rc": 0, "results": [ "cryptsetup-2.0.3-6.el7.x86_64 providing cryptsetup is already installed" ] } TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 17:19:06 +0000 (0:00:00.577) 0:01:53.098 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 17:19:06 +0000 (0:00:00.026) 0:01:53.125 ********* skipping: [/cache/rhel-7.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/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:27 Thursday 21 July 2022 17:19:06 +0000 (0:00:00.025) 0:01:53.151 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:33 Thursday 21 July 2022 17:19:06 +0000 (0:00:00.118) 0:01:53.269 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:39 Thursday 21 July 2022 17:19:06 +0000 (0:00:00.026) 0:01:53.295 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 17:19:06 +0000 (0:00:00.026) 0:01:53.321 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:50 Thursday 21 July 2022 17:19:06 +0000 (0:00:00.026) 0:01:53.347 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:56 Thursday 21 July 2022 17:19:06 +0000 (0:00:00.025) 0:01:53.373 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:62 Thursday 21 July 2022 17:19:06 +0000 (0:00:00.026) 0:01:53.400 ********* ok: [/cache/rhel-7.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/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 17:19:06 +0000 (0:00:00.051) 0:01:53.451 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:72 Thursday 21 July 2022 17:19:06 +0000 (0:00:00.094) 0:01:53.545 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:78 Thursday 21 July 2022 17:19:06 +0000 (0:00:00.038) 0:01:53.584 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:84 Thursday 21 July 2022 17:19:06 +0000 (0:00:00.106) 0:01:53.690 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:90 Thursday 21 July 2022 17:19:06 +0000 (0:00:00.038) 0:01:53.728 ********* ok: [/cache/rhel-7.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/tmptomayb7j/tests/storage/test-verify-volume-md.yml:7 Thursday 21 July 2022 17:19:06 +0000 (0:00:00.038) 0:01:53.767 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-md.yml:13 Thursday 21 July 2022 17:19:06 +0000 (0:00:00.040) 0:01:53.807 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-md.yml:17 Thursday 21 July 2022 17:19:07 +0000 (0:00:00.040) 0:01:53.848 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-md.yml:21 Thursday 21 July 2022 17:19:07 +0000 (0:00:00.041) 0:01:53.889 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-md.yml:25 Thursday 21 July 2022 17:19:07 +0000 (0:00:00.040) 0:01:53.929 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-md.yml:31 Thursday 21 July 2022 17:19:07 +0000 (0:00:00.042) 0:01:53.972 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-md.yml:37 Thursday 21 July 2022 17:19:07 +0000 (0:00:00.038) 0:01:54.010 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:3 Thursday 21 July 2022 17:19:07 +0000 (0:00:00.039) 0:01:54.049 ********* ok: [/cache/rhel-7.qcow2] => { "bytes": 2147483648, "changed": false, "lvm": "2g", "parted": "2GiB", "size": "2 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:9 Thursday 21 July 2022 17:19:07 +0000 (0:00:00.312) 0:01:54.362 ********* ok: [/cache/rhel-7.qcow2] => { "bytes": 2147483648, "changed": false, "lvm": "2g", "parted": "2GiB", "size": "2 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:15 Thursday 21 July 2022 17:19:07 +0000 (0:00:00.333) 0:01:54.696 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_expected_size": "2147483648" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:20 Thursday 21 July 2022 17:19:07 +0000 (0:00:00.049) 0:01:54.745 ********* ok: [/cache/rhel-7.qcow2] => { "storage_test_expected_size": "2147483648" } TASK [debug] ******************************************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:25 Thursday 21 July 2022 17:19:07 +0000 (0:00:00.035) 0:01:54.781 ********* skipping: [/cache/rhel-7.qcow2] => {} TASK [debug] ******************************************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:28 Thursday 21 July 2022 17:19:07 +0000 (0:00:00.039) 0:01:54.821 ********* skipping: [/cache/rhel-7.qcow2] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:31 Thursday 21 July 2022 17:19:08 +0000 (0:00:00.040) 0:01:54.861 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:36 Thursday 21 July 2022 17:19:08 +0000 (0:00:00.043) 0:01:54.905 ********* skipping: [/cache/rhel-7.qcow2] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:39 Thursday 21 July 2022 17:19:08 +0000 (0:00:00.041) 0:01:54.946 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:44 Thursday 21 July 2022 17:19:08 +0000 (0:00:00.039) 0:01:54.985 ********* ok: [/cache/rhel-7.qcow2] => { "storage_test_actual_size": { "bytes": 2147483648, "changed": false, "failed": false, "lvm": "2g", "parted": "2GiB", "size": "2 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:47 Thursday 21 July 2022 17:19:08 +0000 (0:00:00.039) 0:01:55.025 ********* ok: [/cache/rhel-7.qcow2] => { "storage_test_expected_size": "2147483648" } TASK [assert] ****************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:50 Thursday 21 July 2022 17:19:08 +0000 (0:00:00.034) 0:01:55.059 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-cache.yml:6 Thursday 21 July 2022 17:19:08 +0000 (0:00:00.056) 0:01:55.115 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "cmd": [ "lvs", "--noheadings", "--nameprefixes", "--units=b", "--nosuffix", "--unquoted", "-o", "name,attr,cache_total_blocks,chunk_size,segtype", "vg1/lv1" ], "delta": "0:00:00.031216", "end": "2022-07-21 13:19:08.048260", "rc": 0, "start": "2022-07-21 13:19:08.017044" } STDOUT: LVM2_LV_NAME=lv1 LVM2_LV_ATTR=rwi-aor--- LVM2_CACHE_TOTAL_BLOCKS= LVM2_CHUNK_SIZE=0 LVM2_SEGTYPE=raid1 TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-cache.yml:14 Thursday 21 July 2022 17:19:08 +0000 (0:00:00.368) 0:01:55.484 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_lv_segtype": [ "raid1" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-cache.yml:17 Thursday 21 July 2022 17:19:08 +0000 (0:00:00.053) 0:01:55.538 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-cache.yml:22 Thursday 21 July 2022 17:19:08 +0000 (0:00:00.052) 0:01:55.591 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-cache.yml:26 Thursday 21 July 2022 17:19:08 +0000 (0:00:00.041) 0:01:55.632 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-cache.yml:32 Thursday 21 July 2022 17:19:08 +0000 (0:00:00.044) 0:01:55.676 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-cache.yml:36 Thursday 21 July 2022 17:19:08 +0000 (0:00:00.038) 0:01:55.715 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume.yml:16 Thursday 21 July 2022 17:19:08 +0000 (0:00:00.039) 0:01:55.755 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmptomayb7j/tests/storage/verify-role-results.yml:43 Thursday 21 July 2022 17:19:09 +0000 (0:00:00.076) 0:01:55.831 ********* TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmptomayb7j/tests/storage/verify-role-results.yml:53 Thursday 21 July 2022 17:19:09 +0000 (0:00:00.064) 0:01:55.896 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Repeat the previous invocation to verify idempotence] ******************** task path: /tmp/tmptomayb7j/tests/storage/tests_create_raid_pool_then_remove.yml:118 Thursday 21 July 2022 17:19:09 +0000 (0:00:00.036) 0:01:55.932 ********* TASK [fedora.linux_system_roles.storage : set platform/version specific variables] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Thursday 21 July 2022 17:19:09 +0000 (0:00:00.066) 0:01:55.999 ********* included: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for /cache/rhel-7.qcow2 TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Thursday 21 July 2022 17:19:09 +0000 (0:00:00.038) 0:01:56.038 ********* ok: [/cache/rhel-7.qcow2] TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Thursday 21 July 2022 17:19:09 +0000 (0:00:00.417) 0:01:56.456 ********* skipping: [/cache/rhel-7.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-7.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/rhel-7.qcow2] => (item=RedHat_7.yml) => { "ansible_facts": { "__storage_blivet_diskvolume_mkfs_option_map": { "ext2": "-F", "ext3": "-F", "ext4": "-F" }, "blivet_package_list": [ "python-enum34", "python-blivet3", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap" ] }, "ansible_included_var_files": [ "/tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/vars/RedHat_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_7.yml" } skipping: [/cache/rhel-7.qcow2] => (item=RedHat_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_7.9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Thursday 21 July 2022 17:19:09 +0000 (0:00:00.067) 0:01:56.523 ********* ok: [/cache/rhel-7.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/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Thursday 21 July 2022 17:19:09 +0000 (0:00:00.040) 0:01:56.563 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : include the appropriate provider tasks] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Thursday 21 July 2022 17:19:09 +0000 (0:00:00.037) 0:01:56.600 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for /cache/rhel-7.qcow2 TASK [fedora.linux_system_roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 17:19:09 +0000 (0:00:00.060) 0:01:56.660 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure blivet is available] ******* task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 17:19:09 +0000 (0:00:00.021) 0:01:56.682 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : show storage_pools] ****************** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:13 Thursday 21 July 2022 17:19:09 +0000 (0:00:00.030) 0:01:56.712 ********* ok: [/cache/rhel-7.qcow2] => { "storage_pools": [ { "disks": [ "sdb", "sdc" ], "name": "vg1", "state": "present", "type": "lvm", "volumes": [ { "mount_point": "/opt/test1", "name": "lv1", "raid_disks": [ "sdb", "sdc" ], "raid_level": "raid1", "size": "2g" } ] } ] } TASK [fedora.linux_system_roles.storage : show storage_volumes] **************** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:18 Thursday 21 July 2022 17:19:09 +0000 (0:00:00.042) 0:01:56.755 ********* ok: [/cache/rhel-7.qcow2] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [fedora.linux_system_roles.storage : get required packages] *************** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:23 Thursday 21 July 2022 17:19:09 +0000 (0:00:00.041) 0:01:56.796 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : enable copr repositories if needed] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:35 Thursday 21 July 2022 17:19:10 +0000 (0:00:00.030) 0:01:56.826 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure required packages are installed] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:41 Thursday 21 July 2022 17:19:10 +0000 (0:00:00.031) 0:01:56.858 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : get service facts] ******************* task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 Thursday 21 July 2022 17:19:10 +0000 (0:00:00.029) 0:01:56.888 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:53 Thursday 21 July 2022 17:19:10 +0000 (0:00:00.043) 0:01:56.932 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 17:19:10 +0000 (0:00:00.063) 0:01:56.995 ********* TASK [fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Thursday 21 July 2022 17:19:10 +0000 (0:00:00.025) 0:01:57.020 ********* ok: [/cache/rhel-7.qcow2] => { "actions": [], "changed": false, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/sda", "/dev/mapper/vg1-lv1", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb", "/dev/vdc", "/dev/vdd" ], "mounts": [ { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/vg1-lv1", "state": "mounted" } ], "packages": [ "xfsprogs", "lvm2" ], "pools": [ { "disks": [ "sdb", "sdc" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_kernel_device": "/dev/dm-4", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "_raw_kernel_device": "/dev/dm-4", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sdb", "sdc" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [ "sdb", "sdc" ], "raid_level": "raid1", "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } TASK [fedora.linux_system_roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:78 Thursday 21 July 2022 17:19:12 +0000 (0:00:01.985) 0:01:59.005 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Thursday 21 July 2022 17:19:12 +0000 (0:00:00.037) 0:01:59.043 ********* TASK [fedora.linux_system_roles.storage : show blivet_output] ****************** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:96 Thursday 21 July 2022 17:19:12 +0000 (0:00:00.024) 0:01:59.067 ********* ok: [/cache/rhel-7.qcow2] => { "blivet_output": { "actions": [], "changed": false, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/sda", "/dev/mapper/vg1-lv1", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb", "/dev/vdc", "/dev/vdd" ], "mounts": [ { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/vg1-lv1", "state": "mounted" } ], "packages": [ "xfsprogs", "lvm2" ], "pools": [ { "disks": [ "sdb", "sdc" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_kernel_device": "/dev/dm-4", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "_raw_kernel_device": "/dev/dm-4", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sdb", "sdc" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [ "sdb", "sdc" ], "raid_level": "raid1", "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } } TASK [fedora.linux_system_roles.storage : set the list of pools for test verification] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:101 Thursday 21 July 2022 17:19:12 +0000 (0:00:00.045) 0:01:59.113 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sdb", "sdc" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_kernel_device": "/dev/dm-4", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "_raw_kernel_device": "/dev/dm-4", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sdb", "sdc" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [ "sdb", "sdc" ], "raid_level": "raid1", "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] }, "changed": false } TASK [fedora.linux_system_roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:105 Thursday 21 July 2022 17:19:12 +0000 (0:00:00.043) 0:01:59.157 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : remove obsolete mounts] ************** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:121 Thursday 21 July 2022 17:19:12 +0000 (0:00:00.040) 0:01:59.197 ********* TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 Thursday 21 July 2022 17:19:12 +0000 (0:00:00.039) 0:01:59.236 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : set up new/current mounts] *********** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:137 Thursday 21 July 2022 17:19:12 +0000 (0:00:00.477) 0:01:59.713 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount ok: [/cache/rhel-7.qcow2] => (item={'src': '/dev/mapper/vg1-lv1', 'dump': 0, 'passno': 0, 'fstype': 'xfs', 'state': 'mounted', 'path': '/opt/test1', 'opts': 'defaults'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": false, "dump": "0", "fstab": "/etc/fstab", "fstype": "xfs", "mount_info": { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/vg1-lv1", "state": "mounted" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "/dev/mapper/vg1-lv1" } TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:148 Thursday 21 July 2022 17:19:13 +0000 (0:00:00.337) 0:02:00.051 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:156 Thursday 21 July 2022 17:19:13 +0000 (0:00:00.448) 0:02:00.499 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "stat": { "atime": 1658423843.2670336, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1658201031.524, "dev": 64769, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 70, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "inode/x-empty", "mode": "0600", "mtime": 1658200515.884, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "18446744071677828413", "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/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:161 Thursday 21 July 2022 17:19:13 +0000 (0:00:00.314) 0:02:00.814 ********* TASK [fedora.linux_system_roles.storage : Update facts] ************************ task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 Thursday 21 July 2022 17:19:14 +0000 (0:00:00.025) 0:02:00.839 ********* ok: [/cache/rhel-7.qcow2] META: role_complete for /cache/rhel-7.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmptomayb7j/tests/storage/tests_create_raid_pool_then_remove.yml:134 Thursday 21 July 2022 17:19:14 +0000 (0:00:00.881) 0:02:01.720 ********* included: /tmp/tmptomayb7j/tests/storage/verify-role-results.yml for /cache/rhel-7.qcow2 TASK [Print out pool information] ********************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-role-results.yml:1 Thursday 21 July 2022 17:19:14 +0000 (0:00:00.057) 0:02:01.778 ********* ok: [/cache/rhel-7.qcow2] => { "_storage_pools_list": [ { "disks": [ "sdb", "sdc" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_kernel_device": "/dev/dm-4", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "_raw_kernel_device": "/dev/dm-4", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sdb", "sdc" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [ "sdb", "sdc" ], "raid_level": "raid1", "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] } TASK [Print out volume information] ******************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-role-results.yml:6 Thursday 21 July 2022 17:19:15 +0000 (0:00:00.057) 0:02:01.835 ********* skipping: [/cache/rhel-7.qcow2] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-role-results.yml:14 Thursday 21 July 2022 17:19:15 +0000 (0:00:00.038) 0:02:01.874 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "info": { "/dev/fd0": { "fstype": "", "label": "", "name": "/dev/fd0", "size": "4K", "type": "disk", "uuid": "" }, "/dev/mapper/vg1-lv1": { "fstype": "xfs", "label": "", "name": "/dev/mapper/vg1-lv1", "size": "2G", "type": "lvm", "uuid": "20959ef8-f4d6-4054-ae0e-3a033b836b2a" }, "/dev/mapper/vg1-lv1_rimage_0": { "fstype": "", "label": "", "name": "/dev/mapper/vg1-lv1_rimage_0", "size": "2G", "type": "lvm", "uuid": "" }, "/dev/mapper/vg1-lv1_rimage_1": { "fstype": "", "label": "", "name": "/dev/mapper/vg1-lv1_rimage_1", "size": "2G", "type": "lvm", "uuid": "" }, "/dev/mapper/vg1-lv1_rmeta_0": { "fstype": "", "label": "", "name": "/dev/mapper/vg1-lv1_rmeta_0", "size": "4M", "type": "lvm", "uuid": "" }, "/dev/mapper/vg1-lv1_rmeta_1": { "fstype": "", "label": "", "name": "/dev/mapper/vg1-lv1_rmeta_1", "size": "4M", "type": "lvm", "uuid": "" }, "/dev/nvme0n1": { "fstype": "", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme1n1": { "fstype": "", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme2n1": { "fstype": "", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda": { "fstype": "", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdb": { "fstype": "", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdb1": { "fstype": "LVM2_member", "label": "", "name": "/dev/sdb1", "size": "10G", "type": "partition", "uuid": "VY4JYq-zaox-UUsU-kOr6-ODCs-ZLvd-mX6uaF" }, "/dev/sdc": { "fstype": "", "label": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdc1": { "fstype": "LVM2_member", "label": "", "name": "/dev/sdc1", "size": "10G", "type": "partition", "uuid": "sMPHfo-T7ax-HFJ0-YHIr-EwIa-Ev2i-ReYxjF" }, "/dev/sr0": { "fstype": "iso9660", "label": "cidata", "name": "/dev/sr0", "size": "364K", "type": "rom", "uuid": "2022-07-21-17-17-00-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": "21864ae1-1c29-4009-a1c2-151e41d0e053" }, "/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/tmptomayb7j/tests/storage/verify-role-results.yml:19 Thursday 21 July 2022 17:19:15 +0000 (0:00:00.372) 0:02:02.247 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.003838", "end": "2022-07-21 13:19:15.186443", "rc": 0, "start": "2022-07-21 13:19:15.182605" } STDOUT: # # /etc/fstab # Created by anaconda on Tue Jul 19 03:15:15 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 # UUID=21864ae1-1c29-4009-a1c2-151e41d0e053 / xfs defaults 0 0 /dev/mapper/vg1-lv1 /opt/test1 xfs defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmptomayb7j/tests/storage/verify-role-results.yml:24 Thursday 21 July 2022 17:19:15 +0000 (0:00:00.373) 0:02:02.620 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.003333", "end": "2022-07-21 13:19:15.496906", "failed_when_result": false, "rc": 0, "start": "2022-07-21 13:19:15.493573" } TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmptomayb7j/tests/storage/verify-role-results.yml:33 Thursday 21 July 2022 17:19:16 +0000 (0:00:00.310) 0:02:02.930 ********* included: /tmp/tmptomayb7j/tests/storage/test-verify-pool.yml for /cache/rhel-7.qcow2 => (item={'name': 'vg1', 'encryption_password': None, 'state': 'present', 'raid_metadata_version': None, 'encryption': False, 'encryption_key_size': None, 'disks': ['sdb', 'sdc'], 'raid_level': None, 'encryption_luks_version': None, 'raid_device_count': None, 'encryption_key': None, 'volumes': [{'_raw_device': '/dev/mapper/vg1-lv1', 'raid_metadata_version': None, 'raid_level': 'raid1', 'fs_type': 'xfs', 'mount_options': 'defaults', 'type': 'lvm', '_device': '/dev/mapper/vg1-lv1', 'size': '2g', 'mount_point': '/opt/test1', 'compression': None, 'encryption_password': None, '_kernel_device': '/dev/dm-4', 'encryption': False, 'mount_device_identifier': 'uuid', 'name': 'lv1', 'raid_device_count': None, 'state': 'present', 'vdo_pool_size': None, 'thin_pool_name': None, 'thin_pool_size': None, 'encryption_key_size': None, 'encryption_cipher': None, 'encryption_key': None, 'fs_label': '', 'encryption_luks_version': None, 'cache_size': 0, '_mount_id': '/dev/mapper/vg1-lv1', 'raid_spare_count': None, 'raid_disks': ['sdb', 'sdc'], '_raw_kernel_device': '/dev/dm-4', 'cache_mode': None, 'deduplication': None, 'cached': False, 'fs_overwrite_existing': True, 'disks': ['sdb', 'sdc'], 'thin': False, 'mount_check': 0, 'mount_passno': 0, 'raid_chunk_size': None, 'cache_devices': [], 'fs_create_options': ''}], 'raid_chunk_size': None, 'type': 'lvm', 'encryption_cipher': None, 'raid_spare_count': None}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-pool.yml:5 Thursday 21 July 2022 17:19:16 +0000 (0:00:00.061) 0:02:02.992 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-pool.yml:18 Thursday 21 July 2022 17:19:16 +0000 (0:00:00.037) 0:02:03.029 ********* included: /tmp/tmptomayb7j/tests/storage/test-verify-pool-members.yml for /cache/rhel-7.qcow2 => (item=members) included: /tmp/tmptomayb7j/tests/storage/test-verify-pool-volumes.yml for /cache/rhel-7.qcow2 => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-pool-members.yml:1 Thursday 21 July 2022 17:19:16 +0000 (0:00:00.049) 0:02:03.079 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_count": "2", "_storage_test_pool_pvs_lvm": [ "/dev/sdb1", "/dev/sdc1" ] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-pool-members.yml:6 Thursday 21 July 2022 17:19:16 +0000 (0:00:00.057) 0:02:03.136 ********* ok: [/cache/rhel-7.qcow2] => (item=/dev/sdb1) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/sdb1", "pv": "/dev/sdb1" } ok: [/cache/rhel-7.qcow2] => (item=/dev/sdc1) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/sdc1", "pv": "/dev/sdc1" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-pool-members.yml:15 Thursday 21 July 2022 17:19:16 +0000 (0:00:00.614) 0:02:03.750 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "__pvs_lvm_len": "2" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-pool-members.yml:19 Thursday 21 July 2022 17:19:16 +0000 (0:00:00.050) 0:02:03.800 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/sdb1", "/dev/sdc1" ] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-pool-members.yml:23 Thursday 21 July 2022 17:19:17 +0000 (0:00:00.051) 0:02:03.852 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-pool-members.yml:29 Thursday 21 July 2022 17:19:17 +0000 (0:00:00.053) 0:02:03.906 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-pool-members.yml:33 Thursday 21 July 2022 17:19:17 +0000 (0:00:00.040) 0:02:03.947 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_type": "partition" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-pool-members.yml:37 Thursday 21 July 2022 17:19:17 +0000 (0:00:00.050) 0:02:03.997 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-pool-members.yml:41 Thursday 21 July 2022 17:19:17 +0000 (0:00:00.027) 0:02:04.024 ********* ok: [/cache/rhel-7.qcow2] => (item=/dev/sdb1) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/sdb1" } MSG: All assertions passed ok: [/cache/rhel-7.qcow2] => (item=/dev/sdc1) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/sdc1" } MSG: All assertions passed TASK [Check MD RAID] *********************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-pool-members.yml:50 Thursday 21 July 2022 17:19:17 +0000 (0:00:00.062) 0:02:04.087 ********* included: /tmp/tmptomayb7j/tests/storage/verify-pool-md.yml for /cache/rhel-7.qcow2 TASK [get information about RAID] ********************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-md.yml:6 Thursday 21 July 2022 17:19:17 +0000 (0:00:00.042) 0:02:04.129 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-md.yml:12 Thursday 21 July 2022 17:19:17 +0000 (0:00:00.024) 0:02:04.153 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-md.yml:16 Thursday 21 July 2022 17:19:17 +0000 (0:00:00.026) 0:02:04.180 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-md.yml:20 Thursday 21 July 2022 17:19:17 +0000 (0:00:00.024) 0:02:04.204 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-md.yml:24 Thursday 21 July 2022 17:19:17 +0000 (0:00:00.023) 0:02:04.228 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-md.yml:30 Thursday 21 July 2022 17:19:17 +0000 (0:00:00.023) 0:02:04.251 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmptomayb7j/tests/storage/verify-pool-md.yml:36 Thursday 21 July 2022 17:19:17 +0000 (0:00:00.024) 0:02:04.276 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-md.yml:44 Thursday 21 July 2022 17:19:17 +0000 (0:00:00.029) 0:02:04.305 ********* ok: [/cache/rhel-7.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/tmptomayb7j/tests/storage/test-verify-pool-members.yml:53 Thursday 21 July 2022 17:19:17 +0000 (0:00:00.072) 0:02:04.378 ********* included: /tmp/tmptomayb7j/tests/storage/verify-pool-members-lvmraid.yml for /cache/rhel-7.qcow2 TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-members-lvmraid.yml:1 Thursday 21 July 2022 17:19:17 +0000 (0:00:00.047) 0:02:04.426 ********* included: /tmp/tmptomayb7j/tests/storage/verify-pool-member-lvmraid.yml for /cache/rhel-7.qcow2 => (item={'_raw_device': '/dev/mapper/vg1-lv1', 'raid_metadata_version': None, 'raid_level': 'raid1', 'fs_type': 'xfs', 'mount_options': 'defaults', 'type': 'lvm', '_device': '/dev/mapper/vg1-lv1', 'size': '2g', 'mount_point': '/opt/test1', 'compression': None, 'encryption_password': None, '_kernel_device': '/dev/dm-4', 'encryption': False, 'mount_device_identifier': 'uuid', 'name': 'lv1', 'raid_device_count': None, 'state': 'present', 'vdo_pool_size': None, 'thin_pool_name': None, 'thin_pool_size': None, 'encryption_key_size': None, 'encryption_cipher': None, 'encryption_key': None, 'fs_label': '', 'encryption_luks_version': None, 'cache_size': 0, '_mount_id': '/dev/mapper/vg1-lv1', 'raid_spare_count': None, 'raid_disks': ['sdb', 'sdc'], '_raw_kernel_device': '/dev/dm-4', 'cache_mode': None, 'deduplication': None, 'cached': False, 'fs_overwrite_existing': True, 'disks': ['sdb', 'sdc'], 'thin': False, 'mount_check': 0, 'mount_passno': 0, 'raid_chunk_size': None, 'cache_devices': [], 'fs_create_options': ''}) TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-lvmraid.yml:3 Thursday 21 July 2022 17:19:17 +0000 (0:00:00.046) 0:02:04.472 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "cmd": [ "lvs", "--noheading", "-o", "lv_name", "--select", "lv_name=lv1&&lv_layout=raid1", "vg1" ], "delta": "0:00:00.023545", "end": "2022-07-21 13:19:17.414264", "rc": 0, "start": "2022-07-21 13:19:17.390719" } STDOUT: lv1 TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-lvmraid.yml:8 Thursday 21 July 2022 17:19:18 +0000 (0:00:00.376) 0:02:04.848 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-lvmraid.yml:12 Thursday 21 July 2022 17:19:18 +0000 (0:00:00.056) 0:02:04.904 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_lvmraid_status": null }, "changed": false } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-pool-members.yml:56 Thursday 21 July 2022 17:19:18 +0000 (0:00:00.044) 0:02:04.949 ********* included: /tmp/tmptomayb7j/tests/storage/verify-pool-members-thin.yml for /cache/rhel-7.qcow2 TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-members-thin.yml:1 Thursday 21 July 2022 17:19:18 +0000 (0:00:00.046) 0:02:04.995 ********* included: /tmp/tmptomayb7j/tests/storage/verify-pool-member-thin.yml for /cache/rhel-7.qcow2 => (item={'_raw_device': '/dev/mapper/vg1-lv1', 'raid_metadata_version': None, 'raid_level': 'raid1', 'fs_type': 'xfs', 'mount_options': 'defaults', 'type': 'lvm', '_device': '/dev/mapper/vg1-lv1', 'size': '2g', 'mount_point': '/opt/test1', 'compression': None, 'encryption_password': None, '_kernel_device': '/dev/dm-4', 'encryption': False, 'mount_device_identifier': 'uuid', 'name': 'lv1', 'raid_device_count': None, 'state': 'present', 'vdo_pool_size': None, 'thin_pool_name': None, 'thin_pool_size': None, 'encryption_key_size': None, 'encryption_cipher': None, 'encryption_key': None, 'fs_label': '', 'encryption_luks_version': None, 'cache_size': 0, '_mount_id': '/dev/mapper/vg1-lv1', 'raid_spare_count': None, 'raid_disks': ['sdb', 'sdc'], '_raw_kernel_device': '/dev/dm-4', 'cache_mode': None, 'deduplication': None, 'cached': False, 'fs_overwrite_existing': True, 'disks': ['sdb', 'sdc'], 'thin': False, 'mount_check': 0, 'mount_passno': 0, 'raid_chunk_size': None, 'cache_devices': [], 'fs_create_options': ''}) TASK [Get information about thinpool] ****************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-thin.yml:3 Thursday 21 July 2022 17:19:18 +0000 (0:00:00.043) 0:02:05.039 ********* skipping: [/cache/rhel-7.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/tmptomayb7j/tests/storage/verify-pool-member-thin.yml:8 Thursday 21 July 2022 17:19:18 +0000 (0:00:00.022) 0:02:05.062 ********* skipping: [/cache/rhel-7.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/tmptomayb7j/tests/storage/verify-pool-member-thin.yml:13 Thursday 21 July 2022 17:19:18 +0000 (0:00:00.023) 0:02:05.085 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-thin.yml:17 Thursday 21 July 2022 17:19:18 +0000 (0:00:00.022) 0:02:05.108 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-pool-members.yml:59 Thursday 21 July 2022 17:19:18 +0000 (0:00:00.022) 0:02:05.130 ********* included: /tmp/tmptomayb7j/tests/storage/verify-pool-members-encryption.yml for /cache/rhel-7.qcow2 TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-members-encryption.yml:4 Thursday 21 July 2022 17:19:18 +0000 (0:00:00.049) 0:02:05.180 ********* ok: [/cache/rhel-7.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/tmptomayb7j/tests/storage/verify-pool-members-encryption.yml:8 Thursday 21 July 2022 17:19:18 +0000 (0:00:00.052) 0:02:05.233 ********* skipping: [/cache/rhel-7.qcow2] => (item=/dev/sdb1) => { "_storage_test_pool_member_path": "/dev/sdb1", "ansible_loop_var": "_storage_test_pool_member_path", "changed": false, "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-7.qcow2] => (item=/dev/sdc1) => { "_storage_test_pool_member_path": "/dev/sdc1", "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/tmptomayb7j/tests/storage/verify-pool-members-encryption.yml:15 Thursday 21 July 2022 17:19:18 +0000 (0:00:00.033) 0:02:05.266 ********* included: /tmp/tmptomayb7j/tests/storage/verify-pool-member-crypttab.yml for /cache/rhel-7.qcow2 => (item=/dev/sdb1) included: /tmp/tmptomayb7j/tests/storage/verify-pool-member-crypttab.yml for /cache/rhel-7.qcow2 => (item=/dev/sdc1) TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-crypttab.yml:1 Thursday 21 July 2022 17:19:18 +0000 (0:00:00.058) 0:02:05.325 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": [] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-crypttab.yml:4 Thursday 21 July 2022 17:19:18 +0000 (0:00:00.055) 0:02:05.381 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-crypttab.yml:9 Thursday 21 July 2022 17:19:18 +0000 (0:00:00.055) 0:02:05.436 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-crypttab.yml:15 Thursday 21 July 2022 17:19:18 +0000 (0:00:00.039) 0:02:05.475 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-crypttab.yml:21 Thursday 21 July 2022 17:19:18 +0000 (0:00:00.039) 0:02:05.515 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-crypttab.yml:27 Thursday 21 July 2022 17:19:18 +0000 (0:00:00.039) 0:02:05.554 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-crypttab.yml:1 Thursday 21 July 2022 17:19:18 +0000 (0:00:00.041) 0:02:05.596 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": [] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-crypttab.yml:4 Thursday 21 July 2022 17:19:18 +0000 (0:00:00.053) 0:02:05.649 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-crypttab.yml:9 Thursday 21 July 2022 17:19:18 +0000 (0:00:00.052) 0:02:05.702 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-crypttab.yml:15 Thursday 21 July 2022 17:19:18 +0000 (0:00:00.040) 0:02:05.742 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-crypttab.yml:21 Thursday 21 July 2022 17:19:18 +0000 (0:00:00.040) 0:02:05.783 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-crypttab.yml:27 Thursday 21 July 2022 17:19:18 +0000 (0:00:00.039) 0:02:05.822 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-members-encryption.yml:22 Thursday 21 July 2022 17:19:19 +0000 (0:00:00.037) 0:02:05.859 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-pool-members.yml:62 Thursday 21 July 2022 17:19:19 +0000 (0:00:00.041) 0:02:05.901 ********* included: /tmp/tmptomayb7j/tests/storage/verify-pool-members-vdo.yml for /cache/rhel-7.qcow2 TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-members-vdo.yml:1 Thursday 21 July 2022 17:19:19 +0000 (0:00:00.051) 0:02:05.952 ********* included: /tmp/tmptomayb7j/tests/storage/verify-pool-member-vdo.yml for /cache/rhel-7.qcow2 => (item={'_raw_device': '/dev/mapper/vg1-lv1', 'raid_metadata_version': None, 'raid_level': 'raid1', 'fs_type': 'xfs', 'mount_options': 'defaults', 'type': 'lvm', '_device': '/dev/mapper/vg1-lv1', 'size': '2g', 'mount_point': '/opt/test1', 'compression': None, 'encryption_password': None, '_kernel_device': '/dev/dm-4', 'encryption': False, 'mount_device_identifier': 'uuid', 'name': 'lv1', 'raid_device_count': None, 'state': 'present', 'vdo_pool_size': None, 'thin_pool_name': None, 'thin_pool_size': None, 'encryption_key_size': None, 'encryption_cipher': None, 'encryption_key': None, 'fs_label': '', 'encryption_luks_version': None, 'cache_size': 0, '_mount_id': '/dev/mapper/vg1-lv1', 'raid_spare_count': None, 'raid_disks': ['sdb', 'sdc'], '_raw_kernel_device': '/dev/dm-4', 'cache_mode': None, 'deduplication': None, 'cached': False, 'fs_overwrite_existing': True, 'disks': ['sdb', 'sdc'], 'thin': False, 'mount_check': 0, 'mount_passno': 0, 'raid_chunk_size': None, 'cache_devices': [], 'fs_create_options': ''}) TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-vdo.yml:3 Thursday 21 July 2022 17:19:19 +0000 (0:00:00.046) 0:02:05.999 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-vdo.yml:8 Thursday 21 July 2022 17:19:19 +0000 (0:00:00.025) 0:02:06.025 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-vdo.yml:11 Thursday 21 July 2022 17:19:19 +0000 (0:00:00.024) 0:02:06.050 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-vdo.yml:16 Thursday 21 July 2022 17:19:19 +0000 (0:00:00.023) 0:02:06.074 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-vdo.yml:21 Thursday 21 July 2022 17:19:19 +0000 (0:00:00.064) 0:02:06.139 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-vdo.yml:24 Thursday 21 July 2022 17:19:19 +0000 (0:00:00.025) 0:02:06.164 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-vdo.yml:29 Thursday 21 July 2022 17:19:19 +0000 (0:00:00.024) 0:02:06.189 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-vdo.yml:39 Thursday 21 July 2022 17:19:19 +0000 (0:00:00.024) 0:02:06.213 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-pool-members.yml:65 Thursday 21 July 2022 17:19:19 +0000 (0:00:00.039) 0:02:06.252 ********* ok: [/cache/rhel-7.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/tmptomayb7j/tests/storage/test-verify-pool-volumes.yml:3 Thursday 21 July 2022 17:19:19 +0000 (0:00:00.034) 0:02:06.287 ********* included: /tmp/tmptomayb7j/tests/storage/test-verify-volume.yml for /cache/rhel-7.qcow2 => (item={'_raw_device': '/dev/mapper/vg1-lv1', 'raid_metadata_version': None, 'raid_level': 'raid1', 'fs_type': 'xfs', 'mount_options': 'defaults', 'type': 'lvm', '_device': '/dev/mapper/vg1-lv1', 'size': '2g', 'mount_point': '/opt/test1', 'compression': None, 'encryption_password': None, '_kernel_device': '/dev/dm-4', 'encryption': False, 'mount_device_identifier': 'uuid', 'name': 'lv1', 'raid_device_count': None, 'state': 'present', 'vdo_pool_size': None, 'thin_pool_name': None, 'thin_pool_size': None, 'encryption_key_size': None, 'encryption_cipher': None, 'encryption_key': None, 'fs_label': '', 'encryption_luks_version': None, 'cache_size': 0, '_mount_id': '/dev/mapper/vg1-lv1', 'raid_spare_count': None, 'raid_disks': ['sdb', 'sdc'], '_raw_kernel_device': '/dev/dm-4', 'cache_mode': None, 'deduplication': None, 'cached': False, 'fs_overwrite_existing': True, 'disks': ['sdb', 'sdc'], 'thin': False, 'mount_check': 0, 'mount_passno': 0, 'raid_chunk_size': None, 'cache_devices': [], 'fs_create_options': ''}) TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume.yml:2 Thursday 21 July 2022 17:19:19 +0000 (0:00:00.044) 0:02:06.332 ********* ok: [/cache/rhel-7.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/tmptomayb7j/tests/storage/test-verify-volume.yml:10 Thursday 21 July 2022 17:19:19 +0000 (0:00:00.053) 0:02:06.385 ********* included: /tmp/tmptomayb7j/tests/storage/test-verify-volume-mount.yml for /cache/rhel-7.qcow2 => (item=mount) included: /tmp/tmptomayb7j/tests/storage/test-verify-volume-fstab.yml for /cache/rhel-7.qcow2 => (item=fstab) included: /tmp/tmptomayb7j/tests/storage/test-verify-volume-fs.yml for /cache/rhel-7.qcow2 => (item=fs) included: /tmp/tmptomayb7j/tests/storage/test-verify-volume-device.yml for /cache/rhel-7.qcow2 => (item=device) included: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml for /cache/rhel-7.qcow2 => (item=encryption) included: /tmp/tmptomayb7j/tests/storage/test-verify-volume-md.yml for /cache/rhel-7.qcow2 => (item=md) included: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml for /cache/rhel-7.qcow2 => (item=size) included: /tmp/tmptomayb7j/tests/storage/test-verify-volume-cache.yml for /cache/rhel-7.qcow2 => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-mount.yml:6 Thursday 21 July 2022 17:19:19 +0000 (0:00:00.083) 0:02:06.468 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/vg1-lv1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-mount.yml:10 Thursday 21 July 2022 17:19:19 +0000 (0:00:00.044) 0:02:06.512 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 512456, "block_size": 4096, "block_total": 520704, "block_used": 8248, "device": "/dev/mapper/vg1-lv1", "fstype": "xfs", "inode_available": 1046525, "inode_total": 1046528, "inode_used": 3, "mount": "/opt/test1", "options": "rw,seclabel,relatime,attr2,inode64,noquota", "size_available": 2099019776, "size_total": 2132803584, "uuid": "20959ef8-f4d6-4054-ae0e-3a033b836b2a" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 512456, "block_size": 4096, "block_total": 520704, "block_used": 8248, "device": "/dev/mapper/vg1-lv1", "fstype": "xfs", "inode_available": 1046525, "inode_total": 1046528, "inode_used": 3, "mount": "/opt/test1", "options": "rw,seclabel,relatime,attr2,inode64,noquota", "size_available": 2099019776, "size_total": 2132803584, "uuid": "20959ef8-f4d6-4054-ae0e-3a033b836b2a" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-mount.yml:20 Thursday 21 July 2022 17:19:19 +0000 (0:00:00.059) 0:02:06.572 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-mount.yml:29 Thursday 21 July 2022 17:19:19 +0000 (0:00:00.055) 0:02:06.628 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-mount.yml:37 Thursday 21 July 2022 17:19:19 +0000 (0:00:00.051) 0:02:06.679 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-mount.yml:46 Thursday 21 July 2022 17:19:19 +0000 (0:00:00.053) 0:02:06.733 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-mount.yml:50 Thursday 21 July 2022 17:19:19 +0000 (0:00:00.026) 0:02:06.759 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-mount.yml:55 Thursday 21 July 2022 17:19:19 +0000 (0:00:00.026) 0:02:06.786 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-mount.yml:65 Thursday 21 July 2022 17:19:19 +0000 (0:00:00.026) 0:02:06.812 ********* ok: [/cache/rhel-7.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/tmptomayb7j/tests/storage/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 17:19:20 +0000 (0:00:00.038) 0:02:06.851 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "1", "storage_test_fstab_expected_mount_options_matches": "1", "storage_test_fstab_expected_mount_point_matches": "1", "storage_test_fstab_id_matches": [ "/dev/mapper/vg1-lv1 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test1 xfs defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test1 " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-fstab.yml:12 Thursday 21 July 2022 17:19:20 +0000 (0:00:00.068) 0:02:06.919 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-fstab.yml:19 Thursday 21 July 2022 17:19:20 +0000 (0:00:00.052) 0:02:06.972 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 17:19:20 +0000 (0:00:00.053) 0:02:07.025 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-fstab.yml:34 Thursday 21 July 2022 17:19:20 +0000 (0:00:00.039) 0:02:07.064 ********* ok: [/cache/rhel-7.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/tmptomayb7j/tests/storage/test-verify-volume-fs.yml:4 Thursday 21 July 2022 17:19:20 +0000 (0:00:00.033) 0:02:07.097 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-fs.yml:10 Thursday 21 July 2022 17:19:20 +0000 (0:00:00.036) 0:02:07.134 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-device.yml:4 Thursday 21 July 2022 17:19:20 +0000 (0:00:00.043) 0:02:07.178 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "stat": { "atime": 1658423936.2410336, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658423936.2410336, "dev": 5, "device_type": 64516, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 53055, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1658423936.2410336, "nlink": 1, "path": "/dev/mapper/vg1-lv1", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-device.yml:10 Thursday 21 July 2022 17:19:20 +0000 (0:00:00.333) 0:02:07.512 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-device.yml:15 Thursday 21 July 2022 17:19:20 +0000 (0:00:00.041) 0:02:07.554 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-device.yml:21 Thursday 21 July 2022 17:19:20 +0000 (0:00:00.049) 0:02:07.603 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-device.yml:25 Thursday 21 July 2022 17:19:20 +0000 (0:00:00.043) 0:02:07.646 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-device.yml:30 Thursday 21 July 2022 17:19:20 +0000 (0:00:00.028) 0:02:07.675 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 17:19:20 +0000 (0:00:00.042) 0:02:07.717 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 17:19:20 +0000 (0:00:00.024) 0:02:07.741 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "rc": 0, "results": [ "cryptsetup-2.0.3-6.el7.x86_64 providing cryptsetup is already installed" ] } TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 17:19:21 +0000 (0:00:00.599) 0:02:08.341 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 17:19:21 +0000 (0:00:00.024) 0:02:08.366 ********* skipping: [/cache/rhel-7.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/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:27 Thursday 21 July 2022 17:19:21 +0000 (0:00:00.023) 0:02:08.389 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:33 Thursday 21 July 2022 17:19:21 +0000 (0:00:00.051) 0:02:08.441 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:39 Thursday 21 July 2022 17:19:21 +0000 (0:00:00.027) 0:02:08.468 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 17:19:21 +0000 (0:00:00.024) 0:02:08.493 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:50 Thursday 21 July 2022 17:19:21 +0000 (0:00:00.027) 0:02:08.520 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:56 Thursday 21 July 2022 17:19:21 +0000 (0:00:00.027) 0:02:08.548 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:62 Thursday 21 July 2022 17:19:21 +0000 (0:00:00.026) 0:02:08.574 ********* ok: [/cache/rhel-7.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/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 17:19:21 +0000 (0:00:00.053) 0:02:08.628 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:72 Thursday 21 July 2022 17:19:21 +0000 (0:00:00.051) 0:02:08.680 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:78 Thursday 21 July 2022 17:19:21 +0000 (0:00:00.036) 0:02:08.716 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:84 Thursday 21 July 2022 17:19:21 +0000 (0:00:00.037) 0:02:08.754 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:90 Thursday 21 July 2022 17:19:21 +0000 (0:00:00.036) 0:02:08.790 ********* ok: [/cache/rhel-7.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/tmptomayb7j/tests/storage/test-verify-volume-md.yml:7 Thursday 21 July 2022 17:19:22 +0000 (0:00:00.040) 0:02:08.831 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-md.yml:13 Thursday 21 July 2022 17:19:22 +0000 (0:00:00.037) 0:02:08.868 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-md.yml:17 Thursday 21 July 2022 17:19:22 +0000 (0:00:00.039) 0:02:08.908 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-md.yml:21 Thursday 21 July 2022 17:19:22 +0000 (0:00:00.039) 0:02:08.948 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-md.yml:25 Thursday 21 July 2022 17:19:22 +0000 (0:00:00.040) 0:02:08.988 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-md.yml:31 Thursday 21 July 2022 17:19:22 +0000 (0:00:00.038) 0:02:09.027 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-md.yml:37 Thursday 21 July 2022 17:19:22 +0000 (0:00:00.037) 0:02:09.065 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:3 Thursday 21 July 2022 17:19:22 +0000 (0:00:00.039) 0:02:09.104 ********* ok: [/cache/rhel-7.qcow2] => { "bytes": 2147483648, "changed": false, "lvm": "2g", "parted": "2GiB", "size": "2 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:9 Thursday 21 July 2022 17:19:22 +0000 (0:00:00.318) 0:02:09.423 ********* ok: [/cache/rhel-7.qcow2] => { "bytes": 2147483648, "changed": false, "lvm": "2g", "parted": "2GiB", "size": "2 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:15 Thursday 21 July 2022 17:19:22 +0000 (0:00:00.343) 0:02:09.767 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_expected_size": "2147483648" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:20 Thursday 21 July 2022 17:19:22 +0000 (0:00:00.053) 0:02:09.820 ********* ok: [/cache/rhel-7.qcow2] => { "storage_test_expected_size": "2147483648" } TASK [debug] ******************************************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:25 Thursday 21 July 2022 17:19:23 +0000 (0:00:00.037) 0:02:09.858 ********* skipping: [/cache/rhel-7.qcow2] => {} TASK [debug] ******************************************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:28 Thursday 21 July 2022 17:19:23 +0000 (0:00:00.039) 0:02:09.897 ********* skipping: [/cache/rhel-7.qcow2] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:31 Thursday 21 July 2022 17:19:23 +0000 (0:00:00.039) 0:02:09.937 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:36 Thursday 21 July 2022 17:19:23 +0000 (0:00:00.039) 0:02:09.976 ********* skipping: [/cache/rhel-7.qcow2] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:39 Thursday 21 July 2022 17:19:23 +0000 (0:00:00.037) 0:02:10.013 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:44 Thursday 21 July 2022 17:19:23 +0000 (0:00:00.039) 0:02:10.053 ********* ok: [/cache/rhel-7.qcow2] => { "storage_test_actual_size": { "bytes": 2147483648, "changed": false, "failed": false, "lvm": "2g", "parted": "2GiB", "size": "2 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:47 Thursday 21 July 2022 17:19:23 +0000 (0:00:00.041) 0:02:10.095 ********* ok: [/cache/rhel-7.qcow2] => { "storage_test_expected_size": "2147483648" } TASK [assert] ****************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:50 Thursday 21 July 2022 17:19:23 +0000 (0:00:00.037) 0:02:10.132 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-cache.yml:6 Thursday 21 July 2022 17:19:23 +0000 (0:00:00.057) 0:02:10.189 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "cmd": [ "lvs", "--noheadings", "--nameprefixes", "--units=b", "--nosuffix", "--unquoted", "-o", "name,attr,cache_total_blocks,chunk_size,segtype", "vg1/lv1" ], "delta": "0:00:00.026498", "end": "2022-07-21 13:19:23.094162", "rc": 0, "start": "2022-07-21 13:19:23.067664" } STDOUT: LVM2_LV_NAME=lv1 LVM2_LV_ATTR=rwi-aor--- LVM2_CACHE_TOTAL_BLOCKS= LVM2_CHUNK_SIZE=0 LVM2_SEGTYPE=raid1 TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-cache.yml:14 Thursday 21 July 2022 17:19:23 +0000 (0:00:00.338) 0:02:10.527 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_lv_segtype": [ "raid1" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-cache.yml:17 Thursday 21 July 2022 17:19:23 +0000 (0:00:00.089) 0:02:10.616 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-cache.yml:22 Thursday 21 July 2022 17:19:23 +0000 (0:00:00.086) 0:02:10.703 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-cache.yml:26 Thursday 21 July 2022 17:19:23 +0000 (0:00:00.039) 0:02:10.742 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-cache.yml:32 Thursday 21 July 2022 17:19:23 +0000 (0:00:00.039) 0:02:10.782 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-cache.yml:36 Thursday 21 July 2022 17:19:23 +0000 (0:00:00.036) 0:02:10.818 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume.yml:16 Thursday 21 July 2022 17:19:24 +0000 (0:00:00.041) 0:02:10.859 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmptomayb7j/tests/storage/verify-role-results.yml:43 Thursday 21 July 2022 17:19:24 +0000 (0:00:00.034) 0:02:10.894 ********* TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmptomayb7j/tests/storage/verify-role-results.yml:53 Thursday 21 July 2022 17:19:24 +0000 (0:00:00.020) 0:02:10.915 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Remove the device created above] ***************************************** task path: /tmp/tmptomayb7j/tests/storage/tests_create_raid_pool_then_remove.yml:136 Thursday 21 July 2022 17:19:24 +0000 (0:00:00.072) 0:02:10.987 ********* TASK [fedora.linux_system_roles.storage : set platform/version specific variables] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Thursday 21 July 2022 17:19:24 +0000 (0:00:00.120) 0:02:11.107 ********* included: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for /cache/rhel-7.qcow2 TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Thursday 21 July 2022 17:19:24 +0000 (0:00:00.035) 0:02:11.142 ********* ok: [/cache/rhel-7.qcow2] TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Thursday 21 July 2022 17:19:24 +0000 (0:00:00.414) 0:02:11.557 ********* skipping: [/cache/rhel-7.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-7.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/rhel-7.qcow2] => (item=RedHat_7.yml) => { "ansible_facts": { "__storage_blivet_diskvolume_mkfs_option_map": { "ext2": "-F", "ext3": "-F", "ext4": "-F" }, "blivet_package_list": [ "python-enum34", "python-blivet3", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap" ] }, "ansible_included_var_files": [ "/tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/vars/RedHat_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_7.yml" } skipping: [/cache/rhel-7.qcow2] => (item=RedHat_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_7.9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Thursday 21 July 2022 17:19:24 +0000 (0:00:00.061) 0:02:11.618 ********* ok: [/cache/rhel-7.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/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Thursday 21 July 2022 17:19:24 +0000 (0:00:00.036) 0:02:11.654 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : include the appropriate provider tasks] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Thursday 21 July 2022 17:19:24 +0000 (0:00:00.037) 0:02:11.692 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for /cache/rhel-7.qcow2 TASK [fedora.linux_system_roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 17:19:24 +0000 (0:00:00.056) 0:02:11.749 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure blivet is available] ******* task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 17:19:24 +0000 (0:00:00.021) 0:02:11.770 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : show storage_pools] ****************** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:13 Thursday 21 July 2022 17:19:24 +0000 (0:00:00.031) 0:02:11.801 ********* ok: [/cache/rhel-7.qcow2] => { "storage_pools": [ { "disks": [ "sdb", "sdc" ], "name": "vg1", "state": "absent", "type": "lvm", "volumes": [ { "mount_point": "/opt/test1", "name": "lv1", "raid_disks": [ "sdb", "sdc" ], "raid_level": "raid1", "size": "2g" } ] } ] } TASK [fedora.linux_system_roles.storage : show storage_volumes] **************** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:18 Thursday 21 July 2022 17:19:25 +0000 (0:00:00.040) 0:02:11.842 ********* ok: [/cache/rhel-7.qcow2] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [fedora.linux_system_roles.storage : get required packages] *************** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:23 Thursday 21 July 2022 17:19:25 +0000 (0:00:00.041) 0:02:11.884 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : enable copr repositories if needed] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:35 Thursday 21 July 2022 17:19:25 +0000 (0:00:00.033) 0:02:11.917 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure required packages are installed] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:41 Thursday 21 July 2022 17:19:25 +0000 (0:00:00.035) 0:02:11.952 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : get service facts] ******************* task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 Thursday 21 July 2022 17:19:25 +0000 (0:00:00.028) 0:02:11.980 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:53 Thursday 21 July 2022 17:19:25 +0000 (0:00:00.030) 0:02:12.011 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 17:19:25 +0000 (0:00:00.063) 0:02:12.075 ********* TASK [fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Thursday 21 July 2022 17:19:25 +0000 (0:00:00.023) 0:02:12.098 ********* changed: [/cache/rhel-7.qcow2] => { "actions": [ { "action": "destroy format", "device": "/dev/mapper/vg1-lv1", "fs_type": "xfs" }, { "action": "destroy device", "device": "/dev/mapper/vg1-lv1", "fs_type": null }, { "action": "destroy device", "device": "/dev/vg1", "fs_type": null }, { "action": "destroy format", "device": "/dev/sdb1", "fs_type": "lvmpv" }, { "action": "destroy device", "device": "/dev/sdb1", "fs_type": null }, { "action": "destroy format", "device": "/dev/sdb", "fs_type": "disklabel" }, { "action": "destroy format", "device": "/dev/sdc1", "fs_type": "lvmpv" }, { "action": "destroy device", "device": "/dev/sdc1", "fs_type": null }, { "action": "destroy format", "device": "/dev/sdc", "fs_type": "disklabel" } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb", "/dev/vdc", "/dev/vdd" ], "mounts": [ { "fstype": "xfs", "path": "/opt/test1", "src": "/dev/mapper/vg1-lv1", "state": "absent" } ], "packages": [ "xfsprogs" ], "pools": [ { "disks": [ "sdb", "sdc" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sdb", "sdc" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [ "sdb", "sdc" ], "raid_level": "raid1", "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } TASK [fedora.linux_system_roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:78 Thursday 21 July 2022 17:19:28 +0000 (0:00:02.764) 0:02:14.863 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Thursday 21 July 2022 17:19:28 +0000 (0:00:00.039) 0:02:14.902 ********* TASK [fedora.linux_system_roles.storage : show blivet_output] ****************** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:96 Thursday 21 July 2022 17:19:28 +0000 (0:00:00.025) 0:02:14.928 ********* ok: [/cache/rhel-7.qcow2] => { "blivet_output": { "actions": [ { "action": "destroy format", "device": "/dev/mapper/vg1-lv1", "fs_type": "xfs" }, { "action": "destroy device", "device": "/dev/mapper/vg1-lv1", "fs_type": null }, { "action": "destroy device", "device": "/dev/vg1", "fs_type": null }, { "action": "destroy format", "device": "/dev/sdb1", "fs_type": "lvmpv" }, { "action": "destroy device", "device": "/dev/sdb1", "fs_type": null }, { "action": "destroy format", "device": "/dev/sdb", "fs_type": "disklabel" }, { "action": "destroy format", "device": "/dev/sdc1", "fs_type": "lvmpv" }, { "action": "destroy device", "device": "/dev/sdc1", "fs_type": null }, { "action": "destroy format", "device": "/dev/sdc", "fs_type": "disklabel" } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb", "/dev/vdc", "/dev/vdd" ], "mounts": [ { "fstype": "xfs", "path": "/opt/test1", "src": "/dev/mapper/vg1-lv1", "state": "absent" } ], "packages": [ "xfsprogs" ], "pools": [ { "disks": [ "sdb", "sdc" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sdb", "sdc" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [ "sdb", "sdc" ], "raid_level": "raid1", "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } } TASK [fedora.linux_system_roles.storage : set the list of pools for test verification] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:101 Thursday 21 July 2022 17:19:28 +0000 (0:00:00.077) 0:02:15.005 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sdb", "sdc" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sdb", "sdc" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [ "sdb", "sdc" ], "raid_level": "raid1", "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] }, "changed": false } TASK [fedora.linux_system_roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:105 Thursday 21 July 2022 17:19:28 +0000 (0:00:00.038) 0:02:15.043 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : remove obsolete mounts] ************** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:121 Thursday 21 July 2022 17:19:28 +0000 (0:00:00.036) 0:02:15.080 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/rhel-7.qcow2] => (item={'src': '/dev/mapper/vg1-lv1', 'state': 'absent', 'path': '/opt/test1', 'fstype': 'xfs'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "xfs", "mount_info": { "fstype": "xfs", "path": "/opt/test1", "src": "/dev/mapper/vg1-lv1", "state": "absent" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "/dev/mapper/vg1-lv1" } TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 Thursday 21 July 2022 17:19:28 +0000 (0:00:00.344) 0:02:15.425 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : set up new/current mounts] *********** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:137 Thursday 21 July 2022 17:19:29 +0000 (0:00:00.473) 0:02:15.899 ********* TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:148 Thursday 21 July 2022 17:19:29 +0000 (0:00:00.038) 0:02:15.938 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:156 Thursday 21 July 2022 17:19:29 +0000 (0:00:00.462) 0:02:16.400 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "stat": { "atime": 1658423843.2670336, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1658201031.524, "dev": 64769, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 70, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "inode/x-empty", "mode": "0600", "mtime": 1658200515.884, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "18446744071677828413", "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/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:161 Thursday 21 July 2022 17:19:29 +0000 (0:00:00.320) 0:02:16.720 ********* TASK [fedora.linux_system_roles.storage : Update facts] ************************ task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 Thursday 21 July 2022 17:19:29 +0000 (0:00:00.024) 0:02:16.744 ********* ok: [/cache/rhel-7.qcow2] META: role_complete for /cache/rhel-7.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmptomayb7j/tests/storage/tests_create_raid_pool_then_remove.yml:152 Thursday 21 July 2022 17:19:30 +0000 (0:00:00.822) 0:02:17.567 ********* included: /tmp/tmptomayb7j/tests/storage/verify-role-results.yml for /cache/rhel-7.qcow2 TASK [Print out pool information] ********************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-role-results.yml:1 Thursday 21 July 2022 17:19:30 +0000 (0:00:00.056) 0:02:17.624 ********* ok: [/cache/rhel-7.qcow2] => { "_storage_pools_list": [ { "disks": [ "sdb", "sdc" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sdb", "sdc" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [ "sdb", "sdc" ], "raid_level": "raid1", "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] } TASK [Print out volume information] ******************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-role-results.yml:6 Thursday 21 July 2022 17:19:30 +0000 (0:00:00.050) 0:02:17.674 ********* skipping: [/cache/rhel-7.qcow2] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-role-results.yml:14 Thursday 21 July 2022 17:19:30 +0000 (0:00:00.034) 0:02:17.709 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "info": { "/dev/fd0": { "fstype": "", "label": "", "name": "/dev/fd0", "size": "4K", "type": "disk", "uuid": "" }, "/dev/nvme0n1": { "fstype": "", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme1n1": { "fstype": "", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme2n1": { "fstype": "", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda": { "fstype": "", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdb": { "fstype": "", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdc": { "fstype": "", "label": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sr0": { "fstype": "iso9660", "label": "cidata", "name": "/dev/sr0", "size": "364K", "type": "rom", "uuid": "2022-07-21-17-17-00-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": "21864ae1-1c29-4009-a1c2-151e41d0e053" }, "/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/tmptomayb7j/tests/storage/verify-role-results.yml:19 Thursday 21 July 2022 17:19:31 +0000 (0:00:00.347) 0:02:18.057 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.004271", "end": "2022-07-21 13:19:30.967752", "rc": 0, "start": "2022-07-21 13:19:30.963481" } STDOUT: # # /etc/fstab # Created by anaconda on Tue Jul 19 03:15:15 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 # UUID=21864ae1-1c29-4009-a1c2-151e41d0e053 / xfs defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmptomayb7j/tests/storage/verify-role-results.yml:24 Thursday 21 July 2022 17:19:31 +0000 (0:00:00.349) 0:02:18.406 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.003691", "end": "2022-07-21 13:19:31.288695", "failed_when_result": false, "rc": 0, "start": "2022-07-21 13:19:31.285004" } TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmptomayb7j/tests/storage/verify-role-results.yml:33 Thursday 21 July 2022 17:19:31 +0000 (0:00:00.354) 0:02:18.760 ********* included: /tmp/tmptomayb7j/tests/storage/test-verify-pool.yml for /cache/rhel-7.qcow2 => (item={'name': 'vg1', 'encryption_password': None, 'state': 'absent', 'raid_metadata_version': None, 'encryption': False, 'encryption_key_size': None, 'disks': ['sdb', 'sdc'], 'raid_level': None, 'encryption_luks_version': None, 'raid_device_count': None, 'encryption_key': None, 'volumes': [{'_raw_device': '/dev/mapper/vg1-lv1', 'raid_metadata_version': None, 'raid_level': 'raid1', 'fs_type': 'xfs', 'mount_options': 'defaults', 'type': 'lvm', '_device': '/dev/mapper/vg1-lv1', 'size': '2g', 'mount_point': '/opt/test1', 'compression': None, 'encryption_password': None, 'encryption': False, 'mount_device_identifier': 'uuid', 'name': 'lv1', 'raid_device_count': None, 'state': 'present', 'vdo_pool_size': None, 'thin_pool_name': None, 'thin_pool_size': None, 'encryption_key_size': None, 'encryption_cipher': None, 'encryption_key': None, 'fs_label': '', 'encryption_luks_version': None, 'cache_size': 0, '_mount_id': '/dev/mapper/vg1-lv1', 'raid_spare_count': None, 'raid_disks': ['sdb', 'sdc'], 'cache_mode': None, 'deduplication': None, 'cached': False, 'fs_overwrite_existing': True, 'disks': ['sdb', 'sdc'], 'thin': False, 'mount_check': 0, 'mount_passno': 0, 'raid_chunk_size': None, 'cache_devices': [], 'fs_create_options': ''}], 'raid_chunk_size': None, 'type': 'lvm', 'encryption_cipher': None, 'raid_spare_count': None}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-pool.yml:5 Thursday 21 July 2022 17:19:31 +0000 (0:00:00.056) 0:02:18.817 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-pool.yml:18 Thursday 21 July 2022 17:19:32 +0000 (0:00:00.045) 0:02:18.863 ********* included: /tmp/tmptomayb7j/tests/storage/test-verify-pool-members.yml for /cache/rhel-7.qcow2 => (item=members) included: /tmp/tmptomayb7j/tests/storage/test-verify-pool-volumes.yml for /cache/rhel-7.qcow2 => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-pool-members.yml:1 Thursday 21 July 2022 17:19:32 +0000 (0:00:00.048) 0:02:18.911 ********* ok: [/cache/rhel-7.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/tmptomayb7j/tests/storage/test-verify-pool-members.yml:6 Thursday 21 July 2022 17:19:32 +0000 (0:00:00.056) 0:02:18.967 ********* TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-pool-members.yml:15 Thursday 21 July 2022 17:19:32 +0000 (0:00:00.022) 0:02:18.990 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "__pvs_lvm_len": "0" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-pool-members.yml:19 Thursday 21 July 2022 17:19:32 +0000 (0:00:00.050) 0:02:19.040 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_test_pool_pvs": [] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-pool-members.yml:23 Thursday 21 July 2022 17:19:32 +0000 (0:00:00.049) 0:02:19.090 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-pool-members.yml:29 Thursday 21 July 2022 17:19:32 +0000 (0:00:00.048) 0:02:19.138 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-pool-members.yml:33 Thursday 21 July 2022 17:19:32 +0000 (0:00:00.035) 0:02:19.174 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_type": "partition" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-pool-members.yml:37 Thursday 21 July 2022 17:19:32 +0000 (0:00:00.047) 0:02:19.221 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-pool-members.yml:41 Thursday 21 July 2022 17:19:32 +0000 (0:00:00.026) 0:02:19.248 ********* TASK [Check MD RAID] *********************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-pool-members.yml:50 Thursday 21 July 2022 17:19:32 +0000 (0:00:00.022) 0:02:19.270 ********* included: /tmp/tmptomayb7j/tests/storage/verify-pool-md.yml for /cache/rhel-7.qcow2 TASK [get information about RAID] ********************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-md.yml:6 Thursday 21 July 2022 17:19:32 +0000 (0:00:00.040) 0:02:19.311 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-md.yml:12 Thursday 21 July 2022 17:19:32 +0000 (0:00:00.023) 0:02:19.335 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-md.yml:16 Thursday 21 July 2022 17:19:32 +0000 (0:00:00.022) 0:02:19.357 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-md.yml:20 Thursday 21 July 2022 17:19:32 +0000 (0:00:00.022) 0:02:19.380 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-md.yml:24 Thursday 21 July 2022 17:19:32 +0000 (0:00:00.022) 0:02:19.402 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-md.yml:30 Thursday 21 July 2022 17:19:32 +0000 (0:00:00.024) 0:02:19.426 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmptomayb7j/tests/storage/verify-pool-md.yml:36 Thursday 21 July 2022 17:19:32 +0000 (0:00:00.022) 0:02:19.449 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-md.yml:44 Thursday 21 July 2022 17:19:32 +0000 (0:00:00.022) 0:02:19.472 ********* ok: [/cache/rhel-7.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/tmptomayb7j/tests/storage/test-verify-pool-members.yml:53 Thursday 21 July 2022 17:19:32 +0000 (0:00:00.036) 0:02:19.508 ********* included: /tmp/tmptomayb7j/tests/storage/verify-pool-members-lvmraid.yml for /cache/rhel-7.qcow2 TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-members-lvmraid.yml:1 Thursday 21 July 2022 17:19:32 +0000 (0:00:00.046) 0:02:19.554 ********* included: /tmp/tmptomayb7j/tests/storage/verify-pool-member-lvmraid.yml for /cache/rhel-7.qcow2 => (item={'_raw_device': '/dev/mapper/vg1-lv1', 'raid_metadata_version': None, 'raid_level': 'raid1', 'fs_type': 'xfs', 'mount_options': 'defaults', 'type': 'lvm', '_device': '/dev/mapper/vg1-lv1', 'size': '2g', 'mount_point': '/opt/test1', 'compression': None, 'encryption_password': None, 'encryption': False, 'mount_device_identifier': 'uuid', 'name': 'lv1', 'raid_device_count': None, 'state': 'present', 'vdo_pool_size': None, 'thin_pool_name': None, 'thin_pool_size': None, 'encryption_key_size': None, 'encryption_cipher': None, 'encryption_key': None, 'fs_label': '', 'encryption_luks_version': None, 'cache_size': 0, '_mount_id': '/dev/mapper/vg1-lv1', 'raid_spare_count': None, 'raid_disks': ['sdb', 'sdc'], 'cache_mode': None, 'deduplication': None, 'cached': False, 'fs_overwrite_existing': True, 'disks': ['sdb', 'sdc'], 'thin': False, 'mount_check': 0, 'mount_passno': 0, 'raid_chunk_size': None, 'cache_devices': [], 'fs_create_options': ''}) TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-lvmraid.yml:3 Thursday 21 July 2022 17:19:32 +0000 (0:00:00.042) 0:02:19.596 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-lvmraid.yml:8 Thursday 21 July 2022 17:19:32 +0000 (0:00:00.027) 0:02:19.624 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-lvmraid.yml:12 Thursday 21 July 2022 17:19:32 +0000 (0:00:00.030) 0:02:19.654 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-pool-members.yml:56 Thursday 21 July 2022 17:19:32 +0000 (0:00:00.030) 0:02:19.685 ********* included: /tmp/tmptomayb7j/tests/storage/verify-pool-members-thin.yml for /cache/rhel-7.qcow2 TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-members-thin.yml:1 Thursday 21 July 2022 17:19:32 +0000 (0:00:00.047) 0:02:19.732 ********* included: /tmp/tmptomayb7j/tests/storage/verify-pool-member-thin.yml for /cache/rhel-7.qcow2 => (item={'_raw_device': '/dev/mapper/vg1-lv1', 'raid_metadata_version': None, 'raid_level': 'raid1', 'fs_type': 'xfs', 'mount_options': 'defaults', 'type': 'lvm', '_device': '/dev/mapper/vg1-lv1', 'size': '2g', 'mount_point': '/opt/test1', 'compression': None, 'encryption_password': None, 'encryption': False, 'mount_device_identifier': 'uuid', 'name': 'lv1', 'raid_device_count': None, 'state': 'present', 'vdo_pool_size': None, 'thin_pool_name': None, 'thin_pool_size': None, 'encryption_key_size': None, 'encryption_cipher': None, 'encryption_key': None, 'fs_label': '', 'encryption_luks_version': None, 'cache_size': 0, '_mount_id': '/dev/mapper/vg1-lv1', 'raid_spare_count': None, 'raid_disks': ['sdb', 'sdc'], 'cache_mode': None, 'deduplication': None, 'cached': False, 'fs_overwrite_existing': True, 'disks': ['sdb', 'sdc'], 'thin': False, 'mount_check': 0, 'mount_passno': 0, 'raid_chunk_size': None, 'cache_devices': [], 'fs_create_options': ''}) TASK [Get information about thinpool] ****************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-thin.yml:3 Thursday 21 July 2022 17:19:32 +0000 (0:00:00.044) 0:02:19.777 ********* skipping: [/cache/rhel-7.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/tmptomayb7j/tests/storage/verify-pool-member-thin.yml:8 Thursday 21 July 2022 17:19:32 +0000 (0:00:00.023) 0:02:19.801 ********* skipping: [/cache/rhel-7.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/tmptomayb7j/tests/storage/verify-pool-member-thin.yml:13 Thursday 21 July 2022 17:19:33 +0000 (0:00:00.024) 0:02:19.825 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-thin.yml:17 Thursday 21 July 2022 17:19:33 +0000 (0:00:00.021) 0:02:19.846 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-pool-members.yml:59 Thursday 21 July 2022 17:19:33 +0000 (0:00:00.021) 0:02:19.868 ********* included: /tmp/tmptomayb7j/tests/storage/verify-pool-members-encryption.yml for /cache/rhel-7.qcow2 TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-members-encryption.yml:4 Thursday 21 July 2022 17:19:33 +0000 (0:00:00.045) 0:02:19.913 ********* ok: [/cache/rhel-7.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/tmptomayb7j/tests/storage/verify-pool-members-encryption.yml:8 Thursday 21 July 2022 17:19:33 +0000 (0:00:00.086) 0:02:19.999 ********* TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-members-encryption.yml:15 Thursday 21 July 2022 17:19:33 +0000 (0:00:00.023) 0:02:20.022 ********* TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-members-encryption.yml:22 Thursday 21 July 2022 17:19:33 +0000 (0:00:00.021) 0:02:20.044 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-pool-members.yml:62 Thursday 21 July 2022 17:19:33 +0000 (0:00:00.037) 0:02:20.082 ********* included: /tmp/tmptomayb7j/tests/storage/verify-pool-members-vdo.yml for /cache/rhel-7.qcow2 TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-members-vdo.yml:1 Thursday 21 July 2022 17:19:33 +0000 (0:00:00.049) 0:02:20.131 ********* included: /tmp/tmptomayb7j/tests/storage/verify-pool-member-vdo.yml for /cache/rhel-7.qcow2 => (item={'_raw_device': '/dev/mapper/vg1-lv1', 'raid_metadata_version': None, 'raid_level': 'raid1', 'fs_type': 'xfs', 'mount_options': 'defaults', 'type': 'lvm', '_device': '/dev/mapper/vg1-lv1', 'size': '2g', 'mount_point': '/opt/test1', 'compression': None, 'encryption_password': None, 'encryption': False, 'mount_device_identifier': 'uuid', 'name': 'lv1', 'raid_device_count': None, 'state': 'present', 'vdo_pool_size': None, 'thin_pool_name': None, 'thin_pool_size': None, 'encryption_key_size': None, 'encryption_cipher': None, 'encryption_key': None, 'fs_label': '', 'encryption_luks_version': None, 'cache_size': 0, '_mount_id': '/dev/mapper/vg1-lv1', 'raid_spare_count': None, 'raid_disks': ['sdb', 'sdc'], 'cache_mode': None, 'deduplication': None, 'cached': False, 'fs_overwrite_existing': True, 'disks': ['sdb', 'sdc'], 'thin': False, 'mount_check': 0, 'mount_passno': 0, 'raid_chunk_size': None, 'cache_devices': [], 'fs_create_options': ''}) TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-vdo.yml:3 Thursday 21 July 2022 17:19:33 +0000 (0:00:00.048) 0:02:20.180 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-vdo.yml:8 Thursday 21 July 2022 17:19:33 +0000 (0:00:00.025) 0:02:20.206 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-vdo.yml:11 Thursday 21 July 2022 17:19:33 +0000 (0:00:00.030) 0:02:20.236 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-vdo.yml:16 Thursday 21 July 2022 17:19:33 +0000 (0:00:00.031) 0:02:20.267 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-vdo.yml:21 Thursday 21 July 2022 17:19:33 +0000 (0:00:00.028) 0:02:20.296 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-vdo.yml:24 Thursday 21 July 2022 17:19:33 +0000 (0:00:00.026) 0:02:20.322 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-vdo.yml:29 Thursday 21 July 2022 17:19:33 +0000 (0:00:00.024) 0:02:20.347 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-vdo.yml:39 Thursday 21 July 2022 17:19:33 +0000 (0:00:00.025) 0:02:20.372 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-pool-members.yml:65 Thursday 21 July 2022 17:19:33 +0000 (0:00:00.041) 0:02:20.413 ********* ok: [/cache/rhel-7.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/tmptomayb7j/tests/storage/test-verify-pool-volumes.yml:3 Thursday 21 July 2022 17:19:33 +0000 (0:00:00.033) 0:02:20.447 ********* included: /tmp/tmptomayb7j/tests/storage/test-verify-volume.yml for /cache/rhel-7.qcow2 => (item={'_raw_device': '/dev/mapper/vg1-lv1', 'raid_metadata_version': None, 'raid_level': 'raid1', 'fs_type': 'xfs', 'mount_options': 'defaults', 'type': 'lvm', '_device': '/dev/mapper/vg1-lv1', 'size': '2g', 'mount_point': '/opt/test1', 'compression': None, 'encryption_password': None, 'encryption': False, 'mount_device_identifier': 'uuid', 'name': 'lv1', 'raid_device_count': None, 'state': 'present', 'vdo_pool_size': None, 'thin_pool_name': None, 'thin_pool_size': None, 'encryption_key_size': None, 'encryption_cipher': None, 'encryption_key': None, 'fs_label': '', 'encryption_luks_version': None, 'cache_size': 0, '_mount_id': '/dev/mapper/vg1-lv1', 'raid_spare_count': None, 'raid_disks': ['sdb', 'sdc'], 'cache_mode': None, 'deduplication': None, 'cached': False, 'fs_overwrite_existing': True, 'disks': ['sdb', 'sdc'], 'thin': False, 'mount_check': 0, 'mount_passno': 0, 'raid_chunk_size': None, 'cache_devices': [], 'fs_create_options': ''}) TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume.yml:2 Thursday 21 July 2022 17:19:33 +0000 (0:00:00.043) 0:02:20.491 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_test_volume_present": false, "_storage_volume_tests": [ "mount", "fstab", "fs", "device", "encryption", "md", "size", "cache" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume.yml:10 Thursday 21 July 2022 17:19:33 +0000 (0:00:00.052) 0:02:20.544 ********* included: /tmp/tmptomayb7j/tests/storage/test-verify-volume-mount.yml for /cache/rhel-7.qcow2 => (item=mount) included: /tmp/tmptomayb7j/tests/storage/test-verify-volume-fstab.yml for /cache/rhel-7.qcow2 => (item=fstab) included: /tmp/tmptomayb7j/tests/storage/test-verify-volume-fs.yml for /cache/rhel-7.qcow2 => (item=fs) included: /tmp/tmptomayb7j/tests/storage/test-verify-volume-device.yml for /cache/rhel-7.qcow2 => (item=device) included: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml for /cache/rhel-7.qcow2 => (item=encryption) included: /tmp/tmptomayb7j/tests/storage/test-verify-volume-md.yml for /cache/rhel-7.qcow2 => (item=md) included: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml for /cache/rhel-7.qcow2 => (item=size) included: /tmp/tmptomayb7j/tests/storage/test-verify-volume-cache.yml for /cache/rhel-7.qcow2 => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-mount.yml:6 Thursday 21 July 2022 17:19:33 +0000 (0:00:00.082) 0:02:20.627 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/vg1-lv1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-mount.yml:10 Thursday 21 July 2022 17:19:33 +0000 (0:00:00.041) 0:02:20.669 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_mount_device_matches": [], "storage_test_mount_expected_match_count": "0", "storage_test_mount_point_matches": [], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-mount.yml:20 Thursday 21 July 2022 17:19:33 +0000 (0:00:00.055) 0:02:20.724 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-mount.yml:29 Thursday 21 July 2022 17:19:33 +0000 (0:00:00.022) 0:02:20.746 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-mount.yml:37 Thursday 21 July 2022 17:19:33 +0000 (0:00:00.051) 0:02:20.798 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [command] ***************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-mount.yml:46 Thursday 21 July 2022 17:19:34 +0000 (0:00:00.047) 0:02:20.845 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-mount.yml:50 Thursday 21 July 2022 17:19:34 +0000 (0:00:00.031) 0:02:20.877 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-mount.yml:55 Thursday 21 July 2022 17:19:34 +0000 (0:00:00.025) 0:02:20.902 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-mount.yml:65 Thursday 21 July 2022 17:19:34 +0000 (0:00:00.023) 0:02:20.926 ********* ok: [/cache/rhel-7.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/tmptomayb7j/tests/storage/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 17:19:34 +0000 (0:00:00.033) 0:02:20.960 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "0", "storage_test_fstab_expected_mount_options_matches": "0", "storage_test_fstab_expected_mount_point_matches": "0", "storage_test_fstab_id_matches": [], "storage_test_fstab_mount_options_matches": [], "storage_test_fstab_mount_point_matches": [] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-fstab.yml:12 Thursday 21 July 2022 17:19:34 +0000 (0:00:00.059) 0:02:21.019 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-fstab.yml:19 Thursday 21 July 2022 17:19:34 +0000 (0:00:00.023) 0:02:21.043 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 17:19:34 +0000 (0:00:00.047) 0:02:21.090 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-fstab.yml:34 Thursday 21 July 2022 17:19:34 +0000 (0:00:00.034) 0:02:21.125 ********* ok: [/cache/rhel-7.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/tmptomayb7j/tests/storage/test-verify-volume-fs.yml:4 Thursday 21 July 2022 17:19:34 +0000 (0:00:00.034) 0:02:21.159 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify fs label] ********************************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-fs.yml:10 Thursday 21 July 2022 17:19:34 +0000 (0:00:00.023) 0:02:21.183 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [See whether the device node is present] ********************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-device.yml:4 Thursday 21 July 2022 17:19:34 +0000 (0:00:00.022) 0:02:21.205 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "stat": { "exists": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-device.yml:10 Thursday 21 July 2022 17:19:34 +0000 (0:00:00.364) 0:02:21.570 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-device.yml:15 Thursday 21 July 2022 17:19:34 +0000 (0:00:00.041) 0:02:21.611 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-device.yml:21 Thursday 21 July 2022 17:19:34 +0000 (0:00:00.024) 0:02:21.636 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-device.yml:25 Thursday 21 July 2022 17:19:34 +0000 (0:00:00.038) 0:02:21.675 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-device.yml:30 Thursday 21 July 2022 17:19:34 +0000 (0:00:00.022) 0:02:21.697 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 17:19:34 +0000 (0:00:00.023) 0:02:21.721 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 17:19:34 +0000 (0:00:00.022) 0:02:21.744 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "rc": 0, "results": [ "cryptsetup-2.0.3-6.el7.x86_64 providing cryptsetup is already installed" ] } TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 17:19:35 +0000 (0:00:00.558) 0:02:22.302 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 17:19:35 +0000 (0:00:00.025) 0:02:22.328 ********* skipping: [/cache/rhel-7.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/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:27 Thursday 21 July 2022 17:19:35 +0000 (0:00:00.023) 0:02:22.352 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:33 Thursday 21 July 2022 17:19:35 +0000 (0:00:00.023) 0:02:22.375 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:39 Thursday 21 July 2022 17:19:35 +0000 (0:00:00.024) 0:02:22.399 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 17:19:35 +0000 (0:00:00.027) 0:02:22.426 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:50 Thursday 21 July 2022 17:19:35 +0000 (0:00:00.024) 0:02:22.451 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:56 Thursday 21 July 2022 17:19:35 +0000 (0:00:00.023) 0:02:22.474 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:62 Thursday 21 July 2022 17:19:35 +0000 (0:00:00.024) 0:02:22.498 ********* ok: [/cache/rhel-7.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/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 17:19:35 +0000 (0:00:00.051) 0:02:22.549 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:72 Thursday 21 July 2022 17:19:35 +0000 (0:00:00.049) 0:02:22.599 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:78 Thursday 21 July 2022 17:19:35 +0000 (0:00:00.035) 0:02:22.634 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:84 Thursday 21 July 2022 17:19:35 +0000 (0:00:00.038) 0:02:22.673 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:90 Thursday 21 July 2022 17:19:35 +0000 (0:00:00.035) 0:02:22.708 ********* ok: [/cache/rhel-7.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/tmptomayb7j/tests/storage/test-verify-volume-md.yml:7 Thursday 21 July 2022 17:19:35 +0000 (0:00:00.034) 0:02:22.742 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-md.yml:13 Thursday 21 July 2022 17:19:35 +0000 (0:00:00.036) 0:02:22.779 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-md.yml:17 Thursday 21 July 2022 17:19:35 +0000 (0:00:00.040) 0:02:22.819 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-md.yml:21 Thursday 21 July 2022 17:19:36 +0000 (0:00:00.036) 0:02:22.856 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-md.yml:25 Thursday 21 July 2022 17:19:36 +0000 (0:00:00.036) 0:02:22.892 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-md.yml:31 Thursday 21 July 2022 17:19:36 +0000 (0:00:00.036) 0:02:22.929 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-md.yml:37 Thursday 21 July 2022 17:19:36 +0000 (0:00:00.040) 0:02:22.969 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:3 Thursday 21 July 2022 17:19:36 +0000 (0:00:00.036) 0:02:23.006 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:9 Thursday 21 July 2022 17:19:36 +0000 (0:00:00.023) 0:02:23.030 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:15 Thursday 21 July 2022 17:19:36 +0000 (0:00:00.034) 0:02:23.064 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:20 Thursday 21 July 2022 17:19:36 +0000 (0:00:00.039) 0:02:23.103 ********* ok: [/cache/rhel-7.qcow2] => { "storage_test_expected_size": "2147483648" } TASK [debug] ******************************************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:25 Thursday 21 July 2022 17:19:36 +0000 (0:00:00.037) 0:02:23.141 ********* skipping: [/cache/rhel-7.qcow2] => {} TASK [debug] ******************************************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:28 Thursday 21 July 2022 17:19:36 +0000 (0:00:00.037) 0:02:23.179 ********* skipping: [/cache/rhel-7.qcow2] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:31 Thursday 21 July 2022 17:19:36 +0000 (0:00:00.034) 0:02:23.214 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:36 Thursday 21 July 2022 17:19:36 +0000 (0:00:00.037) 0:02:23.252 ********* skipping: [/cache/rhel-7.qcow2] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:39 Thursday 21 July 2022 17:19:36 +0000 (0:00:00.034) 0:02:23.287 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:44 Thursday 21 July 2022 17:19:36 +0000 (0:00:00.033) 0:02:23.320 ********* ok: [/cache/rhel-7.qcow2] => { "storage_test_actual_size": { "changed": false, "skip_reason": "Conditional result was False", "skipped": true } } TASK [debug] ******************************************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:47 Thursday 21 July 2022 17:19:36 +0000 (0:00:00.036) 0:02:23.357 ********* ok: [/cache/rhel-7.qcow2] => { "storage_test_expected_size": "2147483648" } TASK [assert] ****************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:50 Thursday 21 July 2022 17:19:36 +0000 (0:00:00.035) 0:02:23.392 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about the LV] ******************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-cache.yml:6 Thursday 21 July 2022 17:19:36 +0000 (0:00:00.021) 0:02:23.414 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-cache.yml:14 Thursday 21 July 2022 17:19:36 +0000 (0:00:00.021) 0:02:23.435 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check segment type] ****************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-cache.yml:17 Thursday 21 July 2022 17:19:36 +0000 (0:00:00.022) 0:02:23.458 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-cache.yml:22 Thursday 21 July 2022 17:19:36 +0000 (0:00:00.023) 0:02:23.481 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-cache.yml:26 Thursday 21 July 2022 17:19:36 +0000 (0:00:00.022) 0:02:23.504 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-cache.yml:32 Thursday 21 July 2022 17:19:36 +0000 (0:00:00.022) 0:02:23.527 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-cache.yml:36 Thursday 21 July 2022 17:19:36 +0000 (0:00:00.024) 0:02:23.552 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume.yml:16 Thursday 21 July 2022 17:19:36 +0000 (0:00:00.025) 0:02:23.578 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmptomayb7j/tests/storage/verify-role-results.yml:43 Thursday 21 July 2022 17:19:36 +0000 (0:00:00.079) 0:02:23.657 ********* TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmptomayb7j/tests/storage/verify-role-results.yml:53 Thursday 21 July 2022 17:19:36 +0000 (0:00:00.023) 0:02:23.681 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Create a RAID0 lvm raid device] ****************************************** task path: /tmp/tmptomayb7j/tests/storage/tests_create_raid_pool_then_remove.yml:154 Thursday 21 July 2022 17:19:36 +0000 (0:00:00.034) 0:02:23.716 ********* TASK [fedora.linux_system_roles.storage : set platform/version specific variables] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Thursday 21 July 2022 17:19:36 +0000 (0:00:00.084) 0:02:23.800 ********* included: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for /cache/rhel-7.qcow2 TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Thursday 21 July 2022 17:19:37 +0000 (0:00:00.036) 0:02:23.837 ********* ok: [/cache/rhel-7.qcow2] TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Thursday 21 July 2022 17:19:37 +0000 (0:00:00.555) 0:02:24.393 ********* skipping: [/cache/rhel-7.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-7.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/rhel-7.qcow2] => (item=RedHat_7.yml) => { "ansible_facts": { "__storage_blivet_diskvolume_mkfs_option_map": { "ext2": "-F", "ext3": "-F", "ext4": "-F" }, "blivet_package_list": [ "python-enum34", "python-blivet3", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap" ] }, "ansible_included_var_files": [ "/tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/vars/RedHat_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_7.yml" } skipping: [/cache/rhel-7.qcow2] => (item=RedHat_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_7.9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Thursday 21 July 2022 17:19:37 +0000 (0:00:00.064) 0:02:24.458 ********* ok: [/cache/rhel-7.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/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Thursday 21 July 2022 17:19:37 +0000 (0:00:00.038) 0:02:24.496 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : include the appropriate provider tasks] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Thursday 21 July 2022 17:19:37 +0000 (0:00:00.037) 0:02:24.533 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for /cache/rhel-7.qcow2 TASK [fedora.linux_system_roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 17:19:37 +0000 (0:00:00.057) 0:02:24.591 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure blivet is available] ******* task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 17:19:37 +0000 (0:00:00.023) 0:02:24.614 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : show storage_pools] ****************** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:13 Thursday 21 July 2022 17:19:37 +0000 (0:00:00.030) 0:02:24.644 ********* ok: [/cache/rhel-7.qcow2] => { "storage_pools": [ { "disks": [ "sdb", "sdc" ], "name": "vg1", "state": "present", "type": "lvm", "volumes": [ { "mount_point": "/opt/test1", "name": "lv1", "raid_disks": [ "sdb", "sdc" ], "raid_level": "raid0", "size": "2g" } ] } ] } TASK [fedora.linux_system_roles.storage : show storage_volumes] **************** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:18 Thursday 21 July 2022 17:19:37 +0000 (0:00:00.042) 0:02:24.686 ********* ok: [/cache/rhel-7.qcow2] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [fedora.linux_system_roles.storage : get required packages] *************** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:23 Thursday 21 July 2022 17:19:37 +0000 (0:00:00.041) 0:02:24.727 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : enable copr repositories if needed] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:35 Thursday 21 July 2022 17:19:37 +0000 (0:00:00.034) 0:02:24.762 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure required packages are installed] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:41 Thursday 21 July 2022 17:19:37 +0000 (0:00:00.031) 0:02:24.793 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : get service facts] ******************* task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 Thursday 21 July 2022 17:19:38 +0000 (0:00:00.031) 0:02:24.824 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:53 Thursday 21 July 2022 17:19:38 +0000 (0:00:00.032) 0:02:24.857 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 17:19:38 +0000 (0:00:00.060) 0:02:24.918 ********* TASK [fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Thursday 21 July 2022 17:19:38 +0000 (0:00:00.023) 0:02:24.941 ********* changed: [/cache/rhel-7.qcow2] => { "actions": [ { "action": "create format", "device": "/dev/sdc", "fs_type": "disklabel" }, { "action": "create device", "device": "/dev/sdc1", "fs_type": null }, { "action": "create format", "device": "/dev/sdc1", "fs_type": "lvmpv" }, { "action": "create format", "device": "/dev/sdb", "fs_type": "disklabel" }, { "action": "create device", "device": "/dev/sdb1", "fs_type": null }, { "action": "create format", "device": "/dev/sdb1", "fs_type": "lvmpv" }, { "action": "create device", "device": "/dev/vg1", "fs_type": null }, { "action": "create device", "device": "/dev/mapper/vg1-lv1", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/vg1-lv1", "fs_type": "xfs" } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/sda", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb", "/dev/vdc", "/dev/vdd", "/dev/mapper/vg1-lv1" ], "mounts": [ { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/vg1-lv1", "state": "mounted" } ], "packages": [ "xfsprogs", "lvm2" ], "pools": [ { "disks": [ "sdb", "sdc" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_kernel_device": "/dev/dm-2", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "_raw_kernel_device": "/dev/dm-2", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [ "sdb", "sdc" ], "raid_level": "raid0", "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } TASK [fedora.linux_system_roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:78 Thursday 21 July 2022 17:19:40 +0000 (0:00:02.164) 0:02:27.106 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Thursday 21 July 2022 17:19:40 +0000 (0:00:00.039) 0:02:27.146 ********* TASK [fedora.linux_system_roles.storage : show blivet_output] ****************** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:96 Thursday 21 July 2022 17:19:40 +0000 (0:00:00.066) 0:02:27.212 ********* ok: [/cache/rhel-7.qcow2] => { "blivet_output": { "actions": [ { "action": "create format", "device": "/dev/sdc", "fs_type": "disklabel" }, { "action": "create device", "device": "/dev/sdc1", "fs_type": null }, { "action": "create format", "device": "/dev/sdc1", "fs_type": "lvmpv" }, { "action": "create format", "device": "/dev/sdb", "fs_type": "disklabel" }, { "action": "create device", "device": "/dev/sdb1", "fs_type": null }, { "action": "create format", "device": "/dev/sdb1", "fs_type": "lvmpv" }, { "action": "create device", "device": "/dev/vg1", "fs_type": null }, { "action": "create device", "device": "/dev/mapper/vg1-lv1", "fs_type": null }, { "action": "create format", "device": "/dev/mapper/vg1-lv1", "fs_type": "xfs" } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/sda", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb", "/dev/vdc", "/dev/vdd", "/dev/mapper/vg1-lv1" ], "mounts": [ { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/vg1-lv1", "state": "mounted" } ], "packages": [ "xfsprogs", "lvm2" ], "pools": [ { "disks": [ "sdb", "sdc" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_kernel_device": "/dev/dm-2", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "_raw_kernel_device": "/dev/dm-2", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [ "sdb", "sdc" ], "raid_level": "raid0", "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } } TASK [fedora.linux_system_roles.storage : set the list of pools for test verification] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:101 Thursday 21 July 2022 17:19:40 +0000 (0:00:00.039) 0:02:27.252 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sdb", "sdc" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_kernel_device": "/dev/dm-2", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "_raw_kernel_device": "/dev/dm-2", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [ "sdb", "sdc" ], "raid_level": "raid0", "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] }, "changed": false } TASK [fedora.linux_system_roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:105 Thursday 21 July 2022 17:19:40 +0000 (0:00:00.042) 0:02:27.294 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : remove obsolete mounts] ************** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:121 Thursday 21 July 2022 17:19:40 +0000 (0:00:00.040) 0:02:27.335 ********* TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 Thursday 21 July 2022 17:19:40 +0000 (0:00:00.039) 0:02:27.374 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : set up new/current mounts] *********** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:137 Thursday 21 July 2022 17:19:41 +0000 (0:00:00.468) 0:02:27.843 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/rhel-7.qcow2] => (item={'src': '/dev/mapper/vg1-lv1', 'dump': 0, 'passno': 0, 'fstype': 'xfs', 'state': 'mounted', 'path': '/opt/test1', 'opts': 'defaults'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "xfs", "mount_info": { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/vg1-lv1", "state": "mounted" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "/dev/mapper/vg1-lv1" } TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:148 Thursday 21 July 2022 17:19:41 +0000 (0:00:00.387) 0:02:28.231 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:156 Thursday 21 July 2022 17:19:41 +0000 (0:00:00.456) 0:02:28.688 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "stat": { "atime": 1658423843.2670336, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1658201031.524, "dev": 64769, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 70, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "inode/x-empty", "mode": "0600", "mtime": 1658200515.884, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "18446744071677828413", "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/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:161 Thursday 21 July 2022 17:19:42 +0000 (0:00:00.308) 0:02:28.996 ********* TASK [fedora.linux_system_roles.storage : Update facts] ************************ task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 Thursday 21 July 2022 17:19:42 +0000 (0:00:00.022) 0:02:29.018 ********* ok: [/cache/rhel-7.qcow2] META: role_complete for /cache/rhel-7.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmptomayb7j/tests/storage/tests_create_raid_pool_then_remove.yml:170 Thursday 21 July 2022 17:19:43 +0000 (0:00:00.853) 0:02:29.872 ********* included: /tmp/tmptomayb7j/tests/storage/verify-role-results.yml for /cache/rhel-7.qcow2 TASK [Print out pool information] ********************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-role-results.yml:1 Thursday 21 July 2022 17:19:43 +0000 (0:00:00.058) 0:02:29.930 ********* ok: [/cache/rhel-7.qcow2] => { "_storage_pools_list": [ { "disks": [ "sdb", "sdc" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_kernel_device": "/dev/dm-2", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "_raw_kernel_device": "/dev/dm-2", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [ "sdb", "sdc" ], "raid_level": "raid0", "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] } TASK [Print out volume information] ******************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-role-results.yml:6 Thursday 21 July 2022 17:19:43 +0000 (0:00:00.088) 0:02:30.018 ********* skipping: [/cache/rhel-7.qcow2] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-role-results.yml:14 Thursday 21 July 2022 17:19:43 +0000 (0:00:00.042) 0:02:30.060 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "info": { "/dev/fd0": { "fstype": "", "label": "", "name": "/dev/fd0", "size": "4K", "type": "disk", "uuid": "" }, "/dev/mapper/vg1-lv1": { "fstype": "xfs", "label": "", "name": "/dev/mapper/vg1-lv1", "size": "2G", "type": "lvm", "uuid": "b897875d-5998-49f2-b9fc-60f8df5ed8e4" }, "/dev/mapper/vg1-lv1_rimage_0": { "fstype": "", "label": "", "name": "/dev/mapper/vg1-lv1_rimage_0", "size": "1G", "type": "lvm", "uuid": "" }, "/dev/mapper/vg1-lv1_rimage_1": { "fstype": "", "label": "", "name": "/dev/mapper/vg1-lv1_rimage_1", "size": "1G", "type": "lvm", "uuid": "" }, "/dev/nvme0n1": { "fstype": "", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme1n1": { "fstype": "", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme2n1": { "fstype": "", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda": { "fstype": "", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdb": { "fstype": "", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdb1": { "fstype": "LVM2_member", "label": "", "name": "/dev/sdb1", "size": "10G", "type": "partition", "uuid": "tJUaSK-uY8G-j7FI-ul2b-YVhW-oN8l-BoBILr" }, "/dev/sdc": { "fstype": "", "label": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdc1": { "fstype": "LVM2_member", "label": "", "name": "/dev/sdc1", "size": "10G", "type": "partition", "uuid": "ep36zB-2gv9-gLf9-XmUe-yzKs-EbZ0-qEobGh" }, "/dev/sr0": { "fstype": "iso9660", "label": "cidata", "name": "/dev/sr0", "size": "364K", "type": "rom", "uuid": "2022-07-21-17-17-00-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": "21864ae1-1c29-4009-a1c2-151e41d0e053" }, "/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/tmptomayb7j/tests/storage/verify-role-results.yml:19 Thursday 21 July 2022 17:19:43 +0000 (0:00:00.331) 0:02:30.392 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.003408", "end": "2022-07-21 13:19:43.314982", "rc": 0, "start": "2022-07-21 13:19:43.311574" } STDOUT: # # /etc/fstab # Created by anaconda on Tue Jul 19 03:15:15 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 # UUID=21864ae1-1c29-4009-a1c2-151e41d0e053 / xfs defaults 0 0 /dev/mapper/vg1-lv1 /opt/test1 xfs defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmptomayb7j/tests/storage/verify-role-results.yml:24 Thursday 21 July 2022 17:19:43 +0000 (0:00:00.357) 0:02:30.749 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.003553", "end": "2022-07-21 13:19:43.655358", "failed_when_result": false, "rc": 0, "start": "2022-07-21 13:19:43.651805" } TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmptomayb7j/tests/storage/verify-role-results.yml:33 Thursday 21 July 2022 17:19:44 +0000 (0:00:00.339) 0:02:31.088 ********* included: /tmp/tmptomayb7j/tests/storage/test-verify-pool.yml for /cache/rhel-7.qcow2 => (item={'name': 'vg1', 'encryption_password': None, 'state': 'present', 'raid_metadata_version': None, 'encryption': False, 'encryption_key_size': None, 'disks': ['sdb', 'sdc'], 'raid_level': None, 'encryption_luks_version': None, 'raid_device_count': None, 'encryption_key': None, 'volumes': [{'_raw_device': '/dev/mapper/vg1-lv1', 'raid_metadata_version': None, 'raid_level': 'raid0', 'fs_type': 'xfs', 'mount_options': 'defaults', 'type': 'lvm', '_device': '/dev/mapper/vg1-lv1', 'size': '2g', 'mount_point': '/opt/test1', 'compression': None, 'encryption_password': None, '_kernel_device': '/dev/dm-2', 'encryption': False, 'mount_device_identifier': 'uuid', 'name': 'lv1', 'raid_device_count': None, 'state': 'present', 'vdo_pool_size': None, 'thin_pool_name': None, 'thin_pool_size': None, 'encryption_key_size': None, 'encryption_cipher': None, 'encryption_key': None, 'fs_label': '', 'encryption_luks_version': None, 'cache_size': 0, '_mount_id': '/dev/mapper/vg1-lv1', 'raid_spare_count': None, 'raid_disks': ['sdb', 'sdc'], '_raw_kernel_device': '/dev/dm-2', 'cache_mode': None, 'deduplication': None, 'cached': False, 'fs_overwrite_existing': True, 'disks': [], 'thin': False, 'mount_check': 0, 'mount_passno': 0, 'raid_chunk_size': None, 'cache_devices': [], 'fs_create_options': ''}], 'raid_chunk_size': None, 'type': 'lvm', 'encryption_cipher': None, 'raid_spare_count': None}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-pool.yml:5 Thursday 21 July 2022 17:19:44 +0000 (0:00:00.068) 0:02:31.157 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-pool.yml:18 Thursday 21 July 2022 17:19:44 +0000 (0:00:00.035) 0:02:31.193 ********* included: /tmp/tmptomayb7j/tests/storage/test-verify-pool-members.yml for /cache/rhel-7.qcow2 => (item=members) included: /tmp/tmptomayb7j/tests/storage/test-verify-pool-volumes.yml for /cache/rhel-7.qcow2 => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-pool-members.yml:1 Thursday 21 July 2022 17:19:44 +0000 (0:00:00.048) 0:02:31.241 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_count": "2", "_storage_test_pool_pvs_lvm": [ "/dev/sdb1", "/dev/sdc1" ] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-pool-members.yml:6 Thursday 21 July 2022 17:19:44 +0000 (0:00:00.057) 0:02:31.298 ********* ok: [/cache/rhel-7.qcow2] => (item=/dev/sdb1) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/sdb1", "pv": "/dev/sdb1" } ok: [/cache/rhel-7.qcow2] => (item=/dev/sdc1) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/sdc1", "pv": "/dev/sdc1" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-pool-members.yml:15 Thursday 21 July 2022 17:19:45 +0000 (0:00:00.610) 0:02:31.908 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "__pvs_lvm_len": "2" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-pool-members.yml:19 Thursday 21 July 2022 17:19:45 +0000 (0:00:00.049) 0:02:31.958 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/sdb1", "/dev/sdc1" ] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-pool-members.yml:23 Thursday 21 July 2022 17:19:45 +0000 (0:00:00.049) 0:02:32.008 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-pool-members.yml:29 Thursday 21 July 2022 17:19:45 +0000 (0:00:00.051) 0:02:32.059 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-pool-members.yml:33 Thursday 21 July 2022 17:19:45 +0000 (0:00:00.039) 0:02:32.098 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_type": "partition" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-pool-members.yml:37 Thursday 21 July 2022 17:19:45 +0000 (0:00:00.048) 0:02:32.147 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-pool-members.yml:41 Thursday 21 July 2022 17:19:45 +0000 (0:00:00.023) 0:02:32.171 ********* ok: [/cache/rhel-7.qcow2] => (item=/dev/sdb1) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/sdb1" } MSG: All assertions passed ok: [/cache/rhel-7.qcow2] => (item=/dev/sdc1) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/sdc1" } MSG: All assertions passed TASK [Check MD RAID] *********************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-pool-members.yml:50 Thursday 21 July 2022 17:19:45 +0000 (0:00:00.055) 0:02:32.227 ********* included: /tmp/tmptomayb7j/tests/storage/verify-pool-md.yml for /cache/rhel-7.qcow2 TASK [get information about RAID] ********************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-md.yml:6 Thursday 21 July 2022 17:19:45 +0000 (0:00:00.042) 0:02:32.270 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-md.yml:12 Thursday 21 July 2022 17:19:45 +0000 (0:00:00.024) 0:02:32.295 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-md.yml:16 Thursday 21 July 2022 17:19:45 +0000 (0:00:00.025) 0:02:32.320 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-md.yml:20 Thursday 21 July 2022 17:19:45 +0000 (0:00:00.025) 0:02:32.346 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-md.yml:24 Thursday 21 July 2022 17:19:45 +0000 (0:00:00.024) 0:02:32.370 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-md.yml:30 Thursday 21 July 2022 17:19:45 +0000 (0:00:00.025) 0:02:32.396 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmptomayb7j/tests/storage/verify-pool-md.yml:36 Thursday 21 July 2022 17:19:45 +0000 (0:00:00.027) 0:02:32.424 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-md.yml:44 Thursday 21 July 2022 17:19:45 +0000 (0:00:00.027) 0:02:32.451 ********* ok: [/cache/rhel-7.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/tmptomayb7j/tests/storage/test-verify-pool-members.yml:53 Thursday 21 July 2022 17:19:45 +0000 (0:00:00.036) 0:02:32.487 ********* included: /tmp/tmptomayb7j/tests/storage/verify-pool-members-lvmraid.yml for /cache/rhel-7.qcow2 TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-members-lvmraid.yml:1 Thursday 21 July 2022 17:19:45 +0000 (0:00:00.045) 0:02:32.533 ********* included: /tmp/tmptomayb7j/tests/storage/verify-pool-member-lvmraid.yml for /cache/rhel-7.qcow2 => (item={'_raw_device': '/dev/mapper/vg1-lv1', 'raid_metadata_version': None, 'raid_level': 'raid0', 'fs_type': 'xfs', 'mount_options': 'defaults', 'type': 'lvm', '_device': '/dev/mapper/vg1-lv1', 'size': '2g', 'mount_point': '/opt/test1', 'compression': None, 'encryption_password': None, '_kernel_device': '/dev/dm-2', 'encryption': False, 'mount_device_identifier': 'uuid', 'name': 'lv1', 'raid_device_count': None, 'state': 'present', 'vdo_pool_size': None, 'thin_pool_name': None, 'thin_pool_size': None, 'encryption_key_size': None, 'encryption_cipher': None, 'encryption_key': None, 'fs_label': '', 'encryption_luks_version': None, 'cache_size': 0, '_mount_id': '/dev/mapper/vg1-lv1', 'raid_spare_count': None, 'raid_disks': ['sdb', 'sdc'], '_raw_kernel_device': '/dev/dm-2', 'cache_mode': None, 'deduplication': None, 'cached': False, 'fs_overwrite_existing': True, 'disks': [], 'thin': False, 'mount_check': 0, 'mount_passno': 0, 'raid_chunk_size': None, 'cache_devices': [], 'fs_create_options': ''}) TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-lvmraid.yml:3 Thursday 21 July 2022 17:19:45 +0000 (0:00:00.043) 0:02:32.576 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "cmd": [ "lvs", "--noheading", "-o", "lv_name", "--select", "lv_name=lv1&&lv_layout=raid0", "vg1" ], "delta": "0:00:00.028745", "end": "2022-07-21 13:19:45.541426", "rc": 0, "start": "2022-07-21 13:19:45.512681" } STDOUT: lv1 TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-lvmraid.yml:8 Thursday 21 July 2022 17:19:46 +0000 (0:00:00.401) 0:02:32.977 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-lvmraid.yml:12 Thursday 21 July 2022 17:19:46 +0000 (0:00:00.060) 0:02:33.038 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_lvmraid_status": null }, "changed": false } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-pool-members.yml:56 Thursday 21 July 2022 17:19:46 +0000 (0:00:00.044) 0:02:33.082 ********* included: /tmp/tmptomayb7j/tests/storage/verify-pool-members-thin.yml for /cache/rhel-7.qcow2 TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-members-thin.yml:1 Thursday 21 July 2022 17:19:46 +0000 (0:00:00.047) 0:02:33.130 ********* included: /tmp/tmptomayb7j/tests/storage/verify-pool-member-thin.yml for /cache/rhel-7.qcow2 => (item={'_raw_device': '/dev/mapper/vg1-lv1', 'raid_metadata_version': None, 'raid_level': 'raid0', 'fs_type': 'xfs', 'mount_options': 'defaults', 'type': 'lvm', '_device': '/dev/mapper/vg1-lv1', 'size': '2g', 'mount_point': '/opt/test1', 'compression': None, 'encryption_password': None, '_kernel_device': '/dev/dm-2', 'encryption': False, 'mount_device_identifier': 'uuid', 'name': 'lv1', 'raid_device_count': None, 'state': 'present', 'vdo_pool_size': None, 'thin_pool_name': None, 'thin_pool_size': None, 'encryption_key_size': None, 'encryption_cipher': None, 'encryption_key': None, 'fs_label': '', 'encryption_luks_version': None, 'cache_size': 0, '_mount_id': '/dev/mapper/vg1-lv1', 'raid_spare_count': None, 'raid_disks': ['sdb', 'sdc'], '_raw_kernel_device': '/dev/dm-2', 'cache_mode': None, 'deduplication': None, 'cached': False, 'fs_overwrite_existing': True, 'disks': [], 'thin': False, 'mount_check': 0, 'mount_passno': 0, 'raid_chunk_size': None, 'cache_devices': [], 'fs_create_options': ''}) TASK [Get information about thinpool] ****************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-thin.yml:3 Thursday 21 July 2022 17:19:46 +0000 (0:00:00.048) 0:02:33.178 ********* skipping: [/cache/rhel-7.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/tmptomayb7j/tests/storage/verify-pool-member-thin.yml:8 Thursday 21 July 2022 17:19:46 +0000 (0:00:00.025) 0:02:33.203 ********* skipping: [/cache/rhel-7.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/tmptomayb7j/tests/storage/verify-pool-member-thin.yml:13 Thursday 21 July 2022 17:19:46 +0000 (0:00:00.025) 0:02:33.229 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-thin.yml:17 Thursday 21 July 2022 17:19:46 +0000 (0:00:00.026) 0:02:33.256 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-pool-members.yml:59 Thursday 21 July 2022 17:19:46 +0000 (0:00:00.028) 0:02:33.284 ********* included: /tmp/tmptomayb7j/tests/storage/verify-pool-members-encryption.yml for /cache/rhel-7.qcow2 TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-members-encryption.yml:4 Thursday 21 July 2022 17:19:46 +0000 (0:00:00.050) 0:02:33.335 ********* ok: [/cache/rhel-7.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/tmptomayb7j/tests/storage/verify-pool-members-encryption.yml:8 Thursday 21 July 2022 17:19:46 +0000 (0:00:00.049) 0:02:33.384 ********* skipping: [/cache/rhel-7.qcow2] => (item=/dev/sdb1) => { "_storage_test_pool_member_path": "/dev/sdb1", "ansible_loop_var": "_storage_test_pool_member_path", "changed": false, "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-7.qcow2] => (item=/dev/sdc1) => { "_storage_test_pool_member_path": "/dev/sdc1", "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/tmptomayb7j/tests/storage/verify-pool-members-encryption.yml:15 Thursday 21 July 2022 17:19:46 +0000 (0:00:00.030) 0:02:33.415 ********* included: /tmp/tmptomayb7j/tests/storage/verify-pool-member-crypttab.yml for /cache/rhel-7.qcow2 => (item=/dev/sdb1) included: /tmp/tmptomayb7j/tests/storage/verify-pool-member-crypttab.yml for /cache/rhel-7.qcow2 => (item=/dev/sdc1) TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-crypttab.yml:1 Thursday 21 July 2022 17:19:46 +0000 (0:00:00.049) 0:02:33.464 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": [] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-crypttab.yml:4 Thursday 21 July 2022 17:19:46 +0000 (0:00:00.052) 0:02:33.517 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-crypttab.yml:9 Thursday 21 July 2022 17:19:46 +0000 (0:00:00.051) 0:02:33.569 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-crypttab.yml:15 Thursday 21 July 2022 17:19:46 +0000 (0:00:00.040) 0:02:33.610 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-crypttab.yml:21 Thursday 21 July 2022 17:19:46 +0000 (0:00:00.036) 0:02:33.646 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-crypttab.yml:27 Thursday 21 July 2022 17:19:46 +0000 (0:00:00.040) 0:02:33.686 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-crypttab.yml:1 Thursday 21 July 2022 17:19:46 +0000 (0:00:00.038) 0:02:33.725 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": [] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-crypttab.yml:4 Thursday 21 July 2022 17:19:46 +0000 (0:00:00.052) 0:02:33.778 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-crypttab.yml:9 Thursday 21 July 2022 17:19:47 +0000 (0:00:00.049) 0:02:33.827 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-crypttab.yml:15 Thursday 21 July 2022 17:19:47 +0000 (0:00:00.034) 0:02:33.862 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-crypttab.yml:21 Thursday 21 July 2022 17:19:47 +0000 (0:00:00.035) 0:02:33.897 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-crypttab.yml:27 Thursday 21 July 2022 17:19:47 +0000 (0:00:00.035) 0:02:33.932 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-members-encryption.yml:22 Thursday 21 July 2022 17:19:47 +0000 (0:00:00.037) 0:02:33.970 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-pool-members.yml:62 Thursday 21 July 2022 17:19:47 +0000 (0:00:00.035) 0:02:34.006 ********* included: /tmp/tmptomayb7j/tests/storage/verify-pool-members-vdo.yml for /cache/rhel-7.qcow2 TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-members-vdo.yml:1 Thursday 21 July 2022 17:19:47 +0000 (0:00:00.047) 0:02:34.054 ********* included: /tmp/tmptomayb7j/tests/storage/verify-pool-member-vdo.yml for /cache/rhel-7.qcow2 => (item={'_raw_device': '/dev/mapper/vg1-lv1', 'raid_metadata_version': None, 'raid_level': 'raid0', 'fs_type': 'xfs', 'mount_options': 'defaults', 'type': 'lvm', '_device': '/dev/mapper/vg1-lv1', 'size': '2g', 'mount_point': '/opt/test1', 'compression': None, 'encryption_password': None, '_kernel_device': '/dev/dm-2', 'encryption': False, 'mount_device_identifier': 'uuid', 'name': 'lv1', 'raid_device_count': None, 'state': 'present', 'vdo_pool_size': None, 'thin_pool_name': None, 'thin_pool_size': None, 'encryption_key_size': None, 'encryption_cipher': None, 'encryption_key': None, 'fs_label': '', 'encryption_luks_version': None, 'cache_size': 0, '_mount_id': '/dev/mapper/vg1-lv1', 'raid_spare_count': None, 'raid_disks': ['sdb', 'sdc'], '_raw_kernel_device': '/dev/dm-2', 'cache_mode': None, 'deduplication': None, 'cached': False, 'fs_overwrite_existing': True, 'disks': [], 'thin': False, 'mount_check': 0, 'mount_passno': 0, 'raid_chunk_size': None, 'cache_devices': [], 'fs_create_options': ''}) TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-vdo.yml:3 Thursday 21 July 2022 17:19:47 +0000 (0:00:00.042) 0:02:34.097 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-vdo.yml:8 Thursday 21 July 2022 17:19:47 +0000 (0:00:00.026) 0:02:34.123 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-vdo.yml:11 Thursday 21 July 2022 17:19:47 +0000 (0:00:00.024) 0:02:34.148 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-vdo.yml:16 Thursday 21 July 2022 17:19:47 +0000 (0:00:00.023) 0:02:34.172 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-vdo.yml:21 Thursday 21 July 2022 17:19:47 +0000 (0:00:00.022) 0:02:34.194 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-vdo.yml:24 Thursday 21 July 2022 17:19:47 +0000 (0:00:00.070) 0:02:34.265 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-vdo.yml:29 Thursday 21 July 2022 17:19:47 +0000 (0:00:00.024) 0:02:34.289 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-vdo.yml:39 Thursday 21 July 2022 17:19:47 +0000 (0:00:00.023) 0:02:34.313 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-pool-members.yml:65 Thursday 21 July 2022 17:19:47 +0000 (0:00:00.034) 0:02:34.347 ********* ok: [/cache/rhel-7.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/tmptomayb7j/tests/storage/test-verify-pool-volumes.yml:3 Thursday 21 July 2022 17:19:47 +0000 (0:00:00.040) 0:02:34.388 ********* included: /tmp/tmptomayb7j/tests/storage/test-verify-volume.yml for /cache/rhel-7.qcow2 => (item={'_raw_device': '/dev/mapper/vg1-lv1', 'raid_metadata_version': None, 'raid_level': 'raid0', 'fs_type': 'xfs', 'mount_options': 'defaults', 'type': 'lvm', '_device': '/dev/mapper/vg1-lv1', 'size': '2g', 'mount_point': '/opt/test1', 'compression': None, 'encryption_password': None, '_kernel_device': '/dev/dm-2', 'encryption': False, 'mount_device_identifier': 'uuid', 'name': 'lv1', 'raid_device_count': None, 'state': 'present', 'vdo_pool_size': None, 'thin_pool_name': None, 'thin_pool_size': None, 'encryption_key_size': None, 'encryption_cipher': None, 'encryption_key': None, 'fs_label': '', 'encryption_luks_version': None, 'cache_size': 0, '_mount_id': '/dev/mapper/vg1-lv1', 'raid_spare_count': None, 'raid_disks': ['sdb', 'sdc'], '_raw_kernel_device': '/dev/dm-2', 'cache_mode': None, 'deduplication': None, 'cached': False, 'fs_overwrite_existing': True, 'disks': [], 'thin': False, 'mount_check': 0, 'mount_passno': 0, 'raid_chunk_size': None, 'cache_devices': [], 'fs_create_options': ''}) TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume.yml:2 Thursday 21 July 2022 17:19:47 +0000 (0:00:00.042) 0:02:34.431 ********* ok: [/cache/rhel-7.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/tmptomayb7j/tests/storage/test-verify-volume.yml:10 Thursday 21 July 2022 17:19:47 +0000 (0:00:00.049) 0:02:34.480 ********* included: /tmp/tmptomayb7j/tests/storage/test-verify-volume-mount.yml for /cache/rhel-7.qcow2 => (item=mount) included: /tmp/tmptomayb7j/tests/storage/test-verify-volume-fstab.yml for /cache/rhel-7.qcow2 => (item=fstab) included: /tmp/tmptomayb7j/tests/storage/test-verify-volume-fs.yml for /cache/rhel-7.qcow2 => (item=fs) included: /tmp/tmptomayb7j/tests/storage/test-verify-volume-device.yml for /cache/rhel-7.qcow2 => (item=device) included: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml for /cache/rhel-7.qcow2 => (item=encryption) included: /tmp/tmptomayb7j/tests/storage/test-verify-volume-md.yml for /cache/rhel-7.qcow2 => (item=md) included: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml for /cache/rhel-7.qcow2 => (item=size) included: /tmp/tmptomayb7j/tests/storage/test-verify-volume-cache.yml for /cache/rhel-7.qcow2 => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-mount.yml:6 Thursday 21 July 2022 17:19:47 +0000 (0:00:00.080) 0:02:34.560 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/vg1-lv1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-mount.yml:10 Thursday 21 July 2022 17:19:47 +0000 (0:00:00.040) 0:02:34.601 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 513304, "block_size": 4096, "block_total": 521600, "block_used": 8296, "device": "/dev/mapper/vg1-lv1", "fstype": "xfs", "inode_available": 1048317, "inode_total": 1048320, "inode_used": 3, "mount": "/opt/test1", "options": "rw,seclabel,relatime,attr2,inode64,logbsize=64k,sunit=128,swidth=256,noquota", "size_available": 2102493184, "size_total": 2136473600, "uuid": "b897875d-5998-49f2-b9fc-60f8df5ed8e4" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 513304, "block_size": 4096, "block_total": 521600, "block_used": 8296, "device": "/dev/mapper/vg1-lv1", "fstype": "xfs", "inode_available": 1048317, "inode_total": 1048320, "inode_used": 3, "mount": "/opt/test1", "options": "rw,seclabel,relatime,attr2,inode64,logbsize=64k,sunit=128,swidth=256,noquota", "size_available": 2102493184, "size_total": 2136473600, "uuid": "b897875d-5998-49f2-b9fc-60f8df5ed8e4" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-mount.yml:20 Thursday 21 July 2022 17:19:47 +0000 (0:00:00.054) 0:02:34.655 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-mount.yml:29 Thursday 21 July 2022 17:19:47 +0000 (0:00:00.051) 0:02:34.707 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-mount.yml:37 Thursday 21 July 2022 17:19:47 +0000 (0:00:00.051) 0:02:34.759 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-mount.yml:46 Thursday 21 July 2022 17:19:47 +0000 (0:00:00.052) 0:02:34.812 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-mount.yml:50 Thursday 21 July 2022 17:19:48 +0000 (0:00:00.025) 0:02:34.837 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-mount.yml:55 Thursday 21 July 2022 17:19:48 +0000 (0:00:00.026) 0:02:34.864 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-mount.yml:65 Thursday 21 July 2022 17:19:48 +0000 (0:00:00.025) 0:02:34.889 ********* ok: [/cache/rhel-7.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/tmptomayb7j/tests/storage/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 17:19:48 +0000 (0:00:00.037) 0:02:34.927 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "1", "storage_test_fstab_expected_mount_options_matches": "1", "storage_test_fstab_expected_mount_point_matches": "1", "storage_test_fstab_id_matches": [ "/dev/mapper/vg1-lv1 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test1 xfs defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test1 " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-fstab.yml:12 Thursday 21 July 2022 17:19:48 +0000 (0:00:00.065) 0:02:34.992 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-fstab.yml:19 Thursday 21 July 2022 17:19:48 +0000 (0:00:00.055) 0:02:35.048 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 17:19:48 +0000 (0:00:00.050) 0:02:35.098 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-fstab.yml:34 Thursday 21 July 2022 17:19:48 +0000 (0:00:00.039) 0:02:35.138 ********* ok: [/cache/rhel-7.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/tmptomayb7j/tests/storage/test-verify-volume-fs.yml:4 Thursday 21 July 2022 17:19:48 +0000 (0:00:00.041) 0:02:35.179 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-fs.yml:10 Thursday 21 July 2022 17:19:48 +0000 (0:00:00.040) 0:02:35.220 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-device.yml:4 Thursday 21 July 2022 17:19:48 +0000 (0:00:00.043) 0:02:35.263 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "stat": { "atime": 1658423979.6290336, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658423979.6290336, "dev": 5, "device_type": 64514, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 68662, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1658423979.6290336, "nlink": 1, "path": "/dev/mapper/vg1-lv1", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-device.yml:10 Thursday 21 July 2022 17:19:48 +0000 (0:00:00.330) 0:02:35.594 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-device.yml:15 Thursday 21 July 2022 17:19:48 +0000 (0:00:00.041) 0:02:35.636 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-device.yml:21 Thursday 21 July 2022 17:19:48 +0000 (0:00:00.039) 0:02:35.676 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-device.yml:25 Thursday 21 July 2022 17:19:48 +0000 (0:00:00.038) 0:02:35.714 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-device.yml:30 Thursday 21 July 2022 17:19:48 +0000 (0:00:00.025) 0:02:35.739 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 17:19:48 +0000 (0:00:00.043) 0:02:35.782 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 17:19:48 +0000 (0:00:00.025) 0:02:35.807 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "rc": 0, "results": [ "cryptsetup-2.0.3-6.el7.x86_64 providing cryptsetup is already installed" ] } TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 17:19:49 +0000 (0:00:00.649) 0:02:36.457 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 17:19:49 +0000 (0:00:00.026) 0:02:36.483 ********* skipping: [/cache/rhel-7.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/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:27 Thursday 21 July 2022 17:19:49 +0000 (0:00:00.024) 0:02:36.507 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:33 Thursday 21 July 2022 17:19:49 +0000 (0:00:00.057) 0:02:36.565 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:39 Thursday 21 July 2022 17:19:49 +0000 (0:00:00.026) 0:02:36.591 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 17:19:49 +0000 (0:00:00.025) 0:02:36.617 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:50 Thursday 21 July 2022 17:19:49 +0000 (0:00:00.026) 0:02:36.643 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:56 Thursday 21 July 2022 17:19:49 +0000 (0:00:00.027) 0:02:36.671 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:62 Thursday 21 July 2022 17:19:49 +0000 (0:00:00.024) 0:02:36.695 ********* ok: [/cache/rhel-7.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/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 17:19:49 +0000 (0:00:00.051) 0:02:36.747 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:72 Thursday 21 July 2022 17:19:49 +0000 (0:00:00.057) 0:02:36.804 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:78 Thursday 21 July 2022 17:19:50 +0000 (0:00:00.038) 0:02:36.843 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:84 Thursday 21 July 2022 17:19:50 +0000 (0:00:00.039) 0:02:36.882 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:90 Thursday 21 July 2022 17:19:50 +0000 (0:00:00.038) 0:02:36.920 ********* ok: [/cache/rhel-7.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/tmptomayb7j/tests/storage/test-verify-volume-md.yml:7 Thursday 21 July 2022 17:19:50 +0000 (0:00:00.037) 0:02:36.958 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-md.yml:13 Thursday 21 July 2022 17:19:50 +0000 (0:00:00.036) 0:02:36.994 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-md.yml:17 Thursday 21 July 2022 17:19:50 +0000 (0:00:00.039) 0:02:37.034 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-md.yml:21 Thursday 21 July 2022 17:19:50 +0000 (0:00:00.038) 0:02:37.072 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-md.yml:25 Thursday 21 July 2022 17:19:50 +0000 (0:00:00.051) 0:02:37.124 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-md.yml:31 Thursday 21 July 2022 17:19:50 +0000 (0:00:00.038) 0:02:37.162 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-md.yml:37 Thursday 21 July 2022 17:19:50 +0000 (0:00:00.040) 0:02:37.203 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:3 Thursday 21 July 2022 17:19:50 +0000 (0:00:00.037) 0:02:37.240 ********* ok: [/cache/rhel-7.qcow2] => { "bytes": 2147483648, "changed": false, "lvm": "2g", "parted": "2GiB", "size": "2 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:9 Thursday 21 July 2022 17:19:50 +0000 (0:00:00.328) 0:02:37.569 ********* ok: [/cache/rhel-7.qcow2] => { "bytes": 2147483648, "changed": false, "lvm": "2g", "parted": "2GiB", "size": "2 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:15 Thursday 21 July 2022 17:19:51 +0000 (0:00:00.323) 0:02:37.893 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_expected_size": "2147483648" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:20 Thursday 21 July 2022 17:19:51 +0000 (0:00:00.052) 0:02:37.945 ********* ok: [/cache/rhel-7.qcow2] => { "storage_test_expected_size": "2147483648" } TASK [debug] ******************************************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:25 Thursday 21 July 2022 17:19:51 +0000 (0:00:00.041) 0:02:37.986 ********* skipping: [/cache/rhel-7.qcow2] => {} TASK [debug] ******************************************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:28 Thursday 21 July 2022 17:19:51 +0000 (0:00:00.043) 0:02:38.029 ********* skipping: [/cache/rhel-7.qcow2] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:31 Thursday 21 July 2022 17:19:51 +0000 (0:00:00.041) 0:02:38.071 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:36 Thursday 21 July 2022 17:19:51 +0000 (0:00:00.039) 0:02:38.110 ********* skipping: [/cache/rhel-7.qcow2] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:39 Thursday 21 July 2022 17:19:51 +0000 (0:00:00.045) 0:02:38.155 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:44 Thursday 21 July 2022 17:19:51 +0000 (0:00:00.048) 0:02:38.204 ********* ok: [/cache/rhel-7.qcow2] => { "storage_test_actual_size": { "bytes": 2147483648, "changed": false, "failed": false, "lvm": "2g", "parted": "2GiB", "size": "2 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:47 Thursday 21 July 2022 17:19:51 +0000 (0:00:00.036) 0:02:38.240 ********* ok: [/cache/rhel-7.qcow2] => { "storage_test_expected_size": "2147483648" } TASK [assert] ****************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:50 Thursday 21 July 2022 17:19:51 +0000 (0:00:00.036) 0:02:38.277 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-cache.yml:6 Thursday 21 July 2022 17:19:51 +0000 (0:00:00.054) 0:02:38.331 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "cmd": [ "lvs", "--noheadings", "--nameprefixes", "--units=b", "--nosuffix", "--unquoted", "-o", "name,attr,cache_total_blocks,chunk_size,segtype", "vg1/lv1" ], "delta": "0:00:00.026248", "end": "2022-07-21 13:19:51.246298", "rc": 0, "start": "2022-07-21 13:19:51.220050" } STDOUT: LVM2_LV_NAME=lv1 LVM2_LV_ATTR=rwi-aor--- LVM2_CACHE_TOTAL_BLOCKS= LVM2_CHUNK_SIZE=0 LVM2_SEGTYPE=raid0 TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-cache.yml:14 Thursday 21 July 2022 17:19:51 +0000 (0:00:00.349) 0:02:38.680 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_lv_segtype": [ "raid0" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-cache.yml:17 Thursday 21 July 2022 17:19:51 +0000 (0:00:00.101) 0:02:38.782 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-cache.yml:22 Thursday 21 July 2022 17:19:52 +0000 (0:00:00.095) 0:02:38.878 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-cache.yml:26 Thursday 21 July 2022 17:19:52 +0000 (0:00:00.038) 0:02:38.916 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-cache.yml:32 Thursday 21 July 2022 17:19:52 +0000 (0:00:00.036) 0:02:38.953 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-cache.yml:36 Thursday 21 July 2022 17:19:52 +0000 (0:00:00.036) 0:02:38.990 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume.yml:16 Thursday 21 July 2022 17:19:52 +0000 (0:00:00.041) 0:02:39.031 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmptomayb7j/tests/storage/verify-role-results.yml:43 Thursday 21 July 2022 17:19:52 +0000 (0:00:00.033) 0:02:39.065 ********* TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmptomayb7j/tests/storage/verify-role-results.yml:53 Thursday 21 July 2022 17:19:52 +0000 (0:00:00.021) 0:02:39.086 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Repeat the previous invocation to verify idempotence] ******************** task path: /tmp/tmptomayb7j/tests/storage/tests_create_raid_pool_then_remove.yml:172 Thursday 21 July 2022 17:19:52 +0000 (0:00:00.084) 0:02:39.171 ********* TASK [fedora.linux_system_roles.storage : set platform/version specific variables] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Thursday 21 July 2022 17:19:52 +0000 (0:00:00.119) 0:02:39.290 ********* included: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for /cache/rhel-7.qcow2 TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Thursday 21 July 2022 17:19:52 +0000 (0:00:00.036) 0:02:39.327 ********* ok: [/cache/rhel-7.qcow2] TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Thursday 21 July 2022 17:19:52 +0000 (0:00:00.404) 0:02:39.731 ********* skipping: [/cache/rhel-7.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-7.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/rhel-7.qcow2] => (item=RedHat_7.yml) => { "ansible_facts": { "__storage_blivet_diskvolume_mkfs_option_map": { "ext2": "-F", "ext3": "-F", "ext4": "-F" }, "blivet_package_list": [ "python-enum34", "python-blivet3", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap" ] }, "ansible_included_var_files": [ "/tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/vars/RedHat_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_7.yml" } skipping: [/cache/rhel-7.qcow2] => (item=RedHat_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_7.9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Thursday 21 July 2022 17:19:52 +0000 (0:00:00.062) 0:02:39.793 ********* ok: [/cache/rhel-7.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/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Thursday 21 July 2022 17:19:53 +0000 (0:00:00.036) 0:02:39.830 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : include the appropriate provider tasks] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Thursday 21 July 2022 17:19:53 +0000 (0:00:00.038) 0:02:39.869 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for /cache/rhel-7.qcow2 TASK [fedora.linux_system_roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 17:19:53 +0000 (0:00:00.056) 0:02:39.925 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure blivet is available] ******* task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 17:19:53 +0000 (0:00:00.023) 0:02:39.948 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : show storage_pools] ****************** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:13 Thursday 21 July 2022 17:19:53 +0000 (0:00:00.034) 0:02:39.983 ********* ok: [/cache/rhel-7.qcow2] => { "storage_pools": [ { "disks": [ "sdb", "sdc" ], "name": "vg1", "state": "present", "type": "lvm", "volumes": [ { "mount_point": "/opt/test1", "name": "lv1", "raid_disks": [ "sdb", "sdc" ], "raid_level": "raid0", "size": "2g" } ] } ] } TASK [fedora.linux_system_roles.storage : show storage_volumes] **************** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:18 Thursday 21 July 2022 17:19:53 +0000 (0:00:00.041) 0:02:40.025 ********* ok: [/cache/rhel-7.qcow2] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [fedora.linux_system_roles.storage : get required packages] *************** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:23 Thursday 21 July 2022 17:19:53 +0000 (0:00:00.038) 0:02:40.064 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : enable copr repositories if needed] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:35 Thursday 21 July 2022 17:19:53 +0000 (0:00:00.028) 0:02:40.092 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure required packages are installed] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:41 Thursday 21 July 2022 17:19:53 +0000 (0:00:00.032) 0:02:40.125 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : get service facts] ******************* task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 Thursday 21 July 2022 17:19:53 +0000 (0:00:00.030) 0:02:40.156 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:53 Thursday 21 July 2022 17:19:53 +0000 (0:00:00.030) 0:02:40.186 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 17:19:53 +0000 (0:00:00.062) 0:02:40.248 ********* TASK [fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Thursday 21 July 2022 17:19:53 +0000 (0:00:00.031) 0:02:40.280 ********* ok: [/cache/rhel-7.qcow2] => { "actions": [], "changed": false, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/sda", "/dev/mapper/vg1-lv1", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb", "/dev/vdc", "/dev/vdd" ], "mounts": [ { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/vg1-lv1", "state": "mounted" } ], "packages": [ "xfsprogs", "lvm2" ], "pools": [ { "disks": [ "sdb", "sdc" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_kernel_device": "/dev/dm-2", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "_raw_kernel_device": "/dev/dm-2", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sdb", "sdc" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [ "sdb", "sdc" ], "raid_level": "raid0", "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } TASK [fedora.linux_system_roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:78 Thursday 21 July 2022 17:19:55 +0000 (0:00:01.714) 0:02:41.994 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Thursday 21 July 2022 17:19:55 +0000 (0:00:00.036) 0:02:42.030 ********* TASK [fedora.linux_system_roles.storage : show blivet_output] ****************** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:96 Thursday 21 July 2022 17:19:55 +0000 (0:00:00.021) 0:02:42.052 ********* ok: [/cache/rhel-7.qcow2] => { "blivet_output": { "actions": [], "changed": false, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/sda", "/dev/mapper/vg1-lv1", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb", "/dev/vdc", "/dev/vdd" ], "mounts": [ { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/vg1-lv1", "state": "mounted" } ], "packages": [ "xfsprogs", "lvm2" ], "pools": [ { "disks": [ "sdb", "sdc" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_kernel_device": "/dev/dm-2", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "_raw_kernel_device": "/dev/dm-2", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sdb", "sdc" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [ "sdb", "sdc" ], "raid_level": "raid0", "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } } TASK [fedora.linux_system_roles.storage : set the list of pools for test verification] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:101 Thursday 21 July 2022 17:19:55 +0000 (0:00:00.086) 0:02:42.138 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sdb", "sdc" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_kernel_device": "/dev/dm-2", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "_raw_kernel_device": "/dev/dm-2", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sdb", "sdc" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [ "sdb", "sdc" ], "raid_level": "raid0", "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] }, "changed": false } TASK [fedora.linux_system_roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:105 Thursday 21 July 2022 17:19:55 +0000 (0:00:00.098) 0:02:42.237 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : remove obsolete mounts] ************** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:121 Thursday 21 July 2022 17:19:55 +0000 (0:00:00.096) 0:02:42.334 ********* TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 Thursday 21 July 2022 17:19:55 +0000 (0:00:00.040) 0:02:42.374 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : set up new/current mounts] *********** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:137 Thursday 21 July 2022 17:19:56 +0000 (0:00:00.510) 0:02:42.885 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount ok: [/cache/rhel-7.qcow2] => (item={'src': '/dev/mapper/vg1-lv1', 'dump': 0, 'passno': 0, 'fstype': 'xfs', 'state': 'mounted', 'path': '/opt/test1', 'opts': 'defaults'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": false, "dump": "0", "fstab": "/etc/fstab", "fstype": "xfs", "mount_info": { "dump": 0, "fstype": "xfs", "opts": "defaults", "passno": 0, "path": "/opt/test1", "src": "/dev/mapper/vg1-lv1", "state": "mounted" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "/dev/mapper/vg1-lv1" } TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:148 Thursday 21 July 2022 17:19:56 +0000 (0:00:00.351) 0:02:43.237 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:156 Thursday 21 July 2022 17:19:56 +0000 (0:00:00.452) 0:02:43.690 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "stat": { "atime": 1658423843.2670336, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1658201031.524, "dev": 64769, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 70, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "inode/x-empty", "mode": "0600", "mtime": 1658200515.884, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "18446744071677828413", "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/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:161 Thursday 21 July 2022 17:19:57 +0000 (0:00:00.316) 0:02:44.007 ********* TASK [fedora.linux_system_roles.storage : Update facts] ************************ task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 Thursday 21 July 2022 17:19:57 +0000 (0:00:00.025) 0:02:44.032 ********* ok: [/cache/rhel-7.qcow2] META: role_complete for /cache/rhel-7.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmptomayb7j/tests/storage/tests_create_raid_pool_then_remove.yml:188 Thursday 21 July 2022 17:19:58 +0000 (0:00:00.871) 0:02:44.904 ********* included: /tmp/tmptomayb7j/tests/storage/verify-role-results.yml for /cache/rhel-7.qcow2 TASK [Print out pool information] ********************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-role-results.yml:1 Thursday 21 July 2022 17:19:58 +0000 (0:00:00.071) 0:02:44.976 ********* ok: [/cache/rhel-7.qcow2] => { "_storage_pools_list": [ { "disks": [ "sdb", "sdc" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "present", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_kernel_device": "/dev/dm-2", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "_raw_kernel_device": "/dev/dm-2", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sdb", "sdc" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [ "sdb", "sdc" ], "raid_level": "raid0", "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] } TASK [Print out volume information] ******************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-role-results.yml:6 Thursday 21 July 2022 17:19:58 +0000 (0:00:00.050) 0:02:45.027 ********* skipping: [/cache/rhel-7.qcow2] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-role-results.yml:14 Thursday 21 July 2022 17:19:58 +0000 (0:00:00.035) 0:02:45.062 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "info": { "/dev/fd0": { "fstype": "", "label": "", "name": "/dev/fd0", "size": "4K", "type": "disk", "uuid": "" }, "/dev/mapper/vg1-lv1": { "fstype": "xfs", "label": "", "name": "/dev/mapper/vg1-lv1", "size": "2G", "type": "lvm", "uuid": "b897875d-5998-49f2-b9fc-60f8df5ed8e4" }, "/dev/mapper/vg1-lv1_rimage_0": { "fstype": "", "label": "", "name": "/dev/mapper/vg1-lv1_rimage_0", "size": "1G", "type": "lvm", "uuid": "" }, "/dev/mapper/vg1-lv1_rimage_1": { "fstype": "", "label": "", "name": "/dev/mapper/vg1-lv1_rimage_1", "size": "1G", "type": "lvm", "uuid": "" }, "/dev/nvme0n1": { "fstype": "", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme1n1": { "fstype": "", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme2n1": { "fstype": "", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda": { "fstype": "", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdb": { "fstype": "", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdb1": { "fstype": "LVM2_member", "label": "", "name": "/dev/sdb1", "size": "10G", "type": "partition", "uuid": "tJUaSK-uY8G-j7FI-ul2b-YVhW-oN8l-BoBILr" }, "/dev/sdc": { "fstype": "", "label": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdc1": { "fstype": "LVM2_member", "label": "", "name": "/dev/sdc1", "size": "10G", "type": "partition", "uuid": "ep36zB-2gv9-gLf9-XmUe-yzKs-EbZ0-qEobGh" }, "/dev/sr0": { "fstype": "iso9660", "label": "cidata", "name": "/dev/sr0", "size": "364K", "type": "rom", "uuid": "2022-07-21-17-17-00-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": "21864ae1-1c29-4009-a1c2-151e41d0e053" }, "/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/tmptomayb7j/tests/storage/verify-role-results.yml:19 Thursday 21 July 2022 17:19:58 +0000 (0:00:00.305) 0:02:45.367 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.003559", "end": "2022-07-21 13:19:58.247560", "rc": 0, "start": "2022-07-21 13:19:58.244001" } STDOUT: # # /etc/fstab # Created by anaconda on Tue Jul 19 03:15:15 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 # UUID=21864ae1-1c29-4009-a1c2-151e41d0e053 / xfs defaults 0 0 /dev/mapper/vg1-lv1 /opt/test1 xfs defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmptomayb7j/tests/storage/verify-role-results.yml:24 Thursday 21 July 2022 17:19:58 +0000 (0:00:00.315) 0:02:45.683 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.004388", "end": "2022-07-21 13:19:58.567470", "failed_when_result": false, "rc": 0, "start": "2022-07-21 13:19:58.563082" } TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmptomayb7j/tests/storage/verify-role-results.yml:33 Thursday 21 July 2022 17:19:59 +0000 (0:00:00.323) 0:02:46.006 ********* included: /tmp/tmptomayb7j/tests/storage/test-verify-pool.yml for /cache/rhel-7.qcow2 => (item={'name': 'vg1', 'encryption_password': None, 'state': 'present', 'raid_metadata_version': None, 'encryption': False, 'encryption_key_size': None, 'disks': ['sdb', 'sdc'], 'raid_level': None, 'encryption_luks_version': None, 'raid_device_count': None, 'encryption_key': None, 'volumes': [{'_raw_device': '/dev/mapper/vg1-lv1', 'raid_metadata_version': None, 'raid_level': 'raid0', 'fs_type': 'xfs', 'mount_options': 'defaults', 'type': 'lvm', '_device': '/dev/mapper/vg1-lv1', 'size': '2g', 'mount_point': '/opt/test1', 'compression': None, 'encryption_password': None, '_kernel_device': '/dev/dm-2', 'encryption': False, 'mount_device_identifier': 'uuid', 'name': 'lv1', 'raid_device_count': None, 'state': 'present', 'vdo_pool_size': None, 'thin_pool_name': None, 'thin_pool_size': None, 'encryption_key_size': None, 'encryption_cipher': None, 'encryption_key': None, 'fs_label': '', 'encryption_luks_version': None, 'cache_size': 0, '_mount_id': '/dev/mapper/vg1-lv1', 'raid_spare_count': None, 'raid_disks': ['sdb', 'sdc'], '_raw_kernel_device': '/dev/dm-2', 'cache_mode': None, 'deduplication': None, 'cached': False, 'fs_overwrite_existing': True, 'disks': ['sdb', 'sdc'], 'thin': False, 'mount_check': 0, 'mount_passno': 0, 'raid_chunk_size': None, 'cache_devices': [], 'fs_create_options': ''}], 'raid_chunk_size': None, 'type': 'lvm', 'encryption_cipher': None, 'raid_spare_count': None}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-pool.yml:5 Thursday 21 July 2022 17:19:59 +0000 (0:00:00.058) 0:02:46.065 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-pool.yml:18 Thursday 21 July 2022 17:19:59 +0000 (0:00:00.089) 0:02:46.155 ********* included: /tmp/tmptomayb7j/tests/storage/test-verify-pool-members.yml for /cache/rhel-7.qcow2 => (item=members) included: /tmp/tmptomayb7j/tests/storage/test-verify-pool-volumes.yml for /cache/rhel-7.qcow2 => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-pool-members.yml:1 Thursday 21 July 2022 17:19:59 +0000 (0:00:00.050) 0:02:46.205 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_count": "2", "_storage_test_pool_pvs_lvm": [ "/dev/sdb1", "/dev/sdc1" ] }, "changed": false } TASK [Get the canonical device path for each member device] ******************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-pool-members.yml:6 Thursday 21 July 2022 17:19:59 +0000 (0:00:00.129) 0:02:46.335 ********* ok: [/cache/rhel-7.qcow2] => (item=/dev/sdb1) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/sdb1", "pv": "/dev/sdb1" } ok: [/cache/rhel-7.qcow2] => (item=/dev/sdc1) => { "ansible_loop_var": "pv", "changed": false, "device": "/dev/sdc1", "pv": "/dev/sdc1" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-pool-members.yml:15 Thursday 21 July 2022 17:20:00 +0000 (0:00:00.621) 0:02:46.956 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "__pvs_lvm_len": "2" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-pool-members.yml:19 Thursday 21 July 2022 17:20:00 +0000 (0:00:00.048) 0:02:47.005 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_test_pool_pvs": [ "/dev/sdb1", "/dev/sdc1" ] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-pool-members.yml:23 Thursday 21 July 2022 17:20:00 +0000 (0:00:00.050) 0:02:47.056 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-pool-members.yml:29 Thursday 21 July 2022 17:20:00 +0000 (0:00:00.048) 0:02:47.104 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-pool-members.yml:33 Thursday 21 July 2022 17:20:00 +0000 (0:00:00.037) 0:02:47.142 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_type": "partition" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-pool-members.yml:37 Thursday 21 July 2022 17:20:00 +0000 (0:00:00.054) 0:02:47.196 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-pool-members.yml:41 Thursday 21 July 2022 17:20:00 +0000 (0:00:00.023) 0:02:47.220 ********* ok: [/cache/rhel-7.qcow2] => (item=/dev/sdb1) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/sdb1" } MSG: All assertions passed ok: [/cache/rhel-7.qcow2] => (item=/dev/sdc1) => { "ansible_loop_var": "pv", "changed": false, "pv": "/dev/sdc1" } MSG: All assertions passed TASK [Check MD RAID] *********************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-pool-members.yml:50 Thursday 21 July 2022 17:20:00 +0000 (0:00:00.056) 0:02:47.276 ********* included: /tmp/tmptomayb7j/tests/storage/verify-pool-md.yml for /cache/rhel-7.qcow2 TASK [get information about RAID] ********************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-md.yml:6 Thursday 21 July 2022 17:20:00 +0000 (0:00:00.044) 0:02:47.321 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-md.yml:12 Thursday 21 July 2022 17:20:00 +0000 (0:00:00.025) 0:02:47.346 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-md.yml:16 Thursday 21 July 2022 17:20:00 +0000 (0:00:00.023) 0:02:47.369 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-md.yml:20 Thursday 21 July 2022 17:20:00 +0000 (0:00:00.022) 0:02:47.392 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-md.yml:24 Thursday 21 July 2022 17:20:00 +0000 (0:00:00.023) 0:02:47.415 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-md.yml:30 Thursday 21 July 2022 17:20:00 +0000 (0:00:00.022) 0:02:47.437 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmptomayb7j/tests/storage/verify-pool-md.yml:36 Thursday 21 July 2022 17:20:00 +0000 (0:00:00.021) 0:02:47.459 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-md.yml:44 Thursday 21 July 2022 17:20:00 +0000 (0:00:00.022) 0:02:47.482 ********* ok: [/cache/rhel-7.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/tmptomayb7j/tests/storage/test-verify-pool-members.yml:53 Thursday 21 July 2022 17:20:00 +0000 (0:00:00.035) 0:02:47.517 ********* included: /tmp/tmptomayb7j/tests/storage/verify-pool-members-lvmraid.yml for /cache/rhel-7.qcow2 TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-members-lvmraid.yml:1 Thursday 21 July 2022 17:20:00 +0000 (0:00:00.043) 0:02:47.560 ********* included: /tmp/tmptomayb7j/tests/storage/verify-pool-member-lvmraid.yml for /cache/rhel-7.qcow2 => (item={'_raw_device': '/dev/mapper/vg1-lv1', 'raid_metadata_version': None, 'raid_level': 'raid0', 'fs_type': 'xfs', 'mount_options': 'defaults', 'type': 'lvm', '_device': '/dev/mapper/vg1-lv1', 'size': '2g', 'mount_point': '/opt/test1', 'compression': None, 'encryption_password': None, '_kernel_device': '/dev/dm-2', 'encryption': False, 'mount_device_identifier': 'uuid', 'name': 'lv1', 'raid_device_count': None, 'state': 'present', 'vdo_pool_size': None, 'thin_pool_name': None, 'thin_pool_size': None, 'encryption_key_size': None, 'encryption_cipher': None, 'encryption_key': None, 'fs_label': '', 'encryption_luks_version': None, 'cache_size': 0, '_mount_id': '/dev/mapper/vg1-lv1', 'raid_spare_count': None, 'raid_disks': ['sdb', 'sdc'], '_raw_kernel_device': '/dev/dm-2', 'cache_mode': None, 'deduplication': None, 'cached': False, 'fs_overwrite_existing': True, 'disks': ['sdb', 'sdc'], 'thin': False, 'mount_check': 0, 'mount_passno': 0, 'raid_chunk_size': None, 'cache_devices': [], 'fs_create_options': ''}) TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-lvmraid.yml:3 Thursday 21 July 2022 17:20:00 +0000 (0:00:00.044) 0:02:47.605 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "cmd": [ "lvs", "--noheading", "-o", "lv_name", "--select", "lv_name=lv1&&lv_layout=raid0", "vg1" ], "delta": "0:00:00.026460", "end": "2022-07-21 13:20:00.515430", "rc": 0, "start": "2022-07-21 13:20:00.488970" } STDOUT: lv1 TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-lvmraid.yml:8 Thursday 21 July 2022 17:20:01 +0000 (0:00:00.344) 0:02:47.950 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-lvmraid.yml:12 Thursday 21 July 2022 17:20:01 +0000 (0:00:00.054) 0:02:48.005 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_lvmraid_status": null }, "changed": false } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-pool-members.yml:56 Thursday 21 July 2022 17:20:01 +0000 (0:00:00.041) 0:02:48.047 ********* included: /tmp/tmptomayb7j/tests/storage/verify-pool-members-thin.yml for /cache/rhel-7.qcow2 TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-members-thin.yml:1 Thursday 21 July 2022 17:20:01 +0000 (0:00:00.043) 0:02:48.091 ********* included: /tmp/tmptomayb7j/tests/storage/verify-pool-member-thin.yml for /cache/rhel-7.qcow2 => (item={'_raw_device': '/dev/mapper/vg1-lv1', 'raid_metadata_version': None, 'raid_level': 'raid0', 'fs_type': 'xfs', 'mount_options': 'defaults', 'type': 'lvm', '_device': '/dev/mapper/vg1-lv1', 'size': '2g', 'mount_point': '/opt/test1', 'compression': None, 'encryption_password': None, '_kernel_device': '/dev/dm-2', 'encryption': False, 'mount_device_identifier': 'uuid', 'name': 'lv1', 'raid_device_count': None, 'state': 'present', 'vdo_pool_size': None, 'thin_pool_name': None, 'thin_pool_size': None, 'encryption_key_size': None, 'encryption_cipher': None, 'encryption_key': None, 'fs_label': '', 'encryption_luks_version': None, 'cache_size': 0, '_mount_id': '/dev/mapper/vg1-lv1', 'raid_spare_count': None, 'raid_disks': ['sdb', 'sdc'], '_raw_kernel_device': '/dev/dm-2', 'cache_mode': None, 'deduplication': None, 'cached': False, 'fs_overwrite_existing': True, 'disks': ['sdb', 'sdc'], 'thin': False, 'mount_check': 0, 'mount_passno': 0, 'raid_chunk_size': None, 'cache_devices': [], 'fs_create_options': ''}) TASK [Get information about thinpool] ****************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-thin.yml:3 Thursday 21 July 2022 17:20:01 +0000 (0:00:00.041) 0:02:48.132 ********* skipping: [/cache/rhel-7.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/tmptomayb7j/tests/storage/verify-pool-member-thin.yml:8 Thursday 21 July 2022 17:20:01 +0000 (0:00:00.021) 0:02:48.154 ********* skipping: [/cache/rhel-7.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/tmptomayb7j/tests/storage/verify-pool-member-thin.yml:13 Thursday 21 July 2022 17:20:01 +0000 (0:00:00.022) 0:02:48.177 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-thin.yml:17 Thursday 21 July 2022 17:20:01 +0000 (0:00:00.024) 0:02:48.201 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-pool-members.yml:59 Thursday 21 July 2022 17:20:01 +0000 (0:00:00.055) 0:02:48.256 ********* included: /tmp/tmptomayb7j/tests/storage/verify-pool-members-encryption.yml for /cache/rhel-7.qcow2 TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-members-encryption.yml:4 Thursday 21 July 2022 17:20:01 +0000 (0:00:00.045) 0:02:48.302 ********* ok: [/cache/rhel-7.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/tmptomayb7j/tests/storage/verify-pool-members-encryption.yml:8 Thursday 21 July 2022 17:20:01 +0000 (0:00:00.052) 0:02:48.354 ********* skipping: [/cache/rhel-7.qcow2] => (item=/dev/sdb1) => { "_storage_test_pool_member_path": "/dev/sdb1", "ansible_loop_var": "_storage_test_pool_member_path", "changed": false, "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-7.qcow2] => (item=/dev/sdc1) => { "_storage_test_pool_member_path": "/dev/sdc1", "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/tmptomayb7j/tests/storage/verify-pool-members-encryption.yml:15 Thursday 21 July 2022 17:20:01 +0000 (0:00:00.033) 0:02:48.388 ********* included: /tmp/tmptomayb7j/tests/storage/verify-pool-member-crypttab.yml for /cache/rhel-7.qcow2 => (item=/dev/sdb1) included: /tmp/tmptomayb7j/tests/storage/verify-pool-member-crypttab.yml for /cache/rhel-7.qcow2 => (item=/dev/sdc1) TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-crypttab.yml:1 Thursday 21 July 2022 17:20:01 +0000 (0:00:00.046) 0:02:48.434 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": [] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-crypttab.yml:4 Thursday 21 July 2022 17:20:01 +0000 (0:00:00.050) 0:02:48.484 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-crypttab.yml:9 Thursday 21 July 2022 17:20:01 +0000 (0:00:00.050) 0:02:48.534 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-crypttab.yml:15 Thursday 21 July 2022 17:20:01 +0000 (0:00:00.035) 0:02:48.570 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-crypttab.yml:21 Thursday 21 July 2022 17:20:01 +0000 (0:00:00.041) 0:02:48.611 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-crypttab.yml:27 Thursday 21 July 2022 17:20:01 +0000 (0:00:00.046) 0:02:48.658 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-crypttab.yml:1 Thursday 21 July 2022 17:20:01 +0000 (0:00:00.034) 0:02:48.692 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": [] }, "changed": false } TASK [Check for /etc/crypttab entry] ******************************************* task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-crypttab.yml:4 Thursday 21 July 2022 17:20:01 +0000 (0:00:00.049) 0:02:48.742 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-crypttab.yml:9 Thursday 21 July 2022 17:20:01 +0000 (0:00:00.048) 0:02:48.790 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-crypttab.yml:15 Thursday 21 July 2022 17:20:02 +0000 (0:00:00.038) 0:02:48.829 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-crypttab.yml:21 Thursday 21 July 2022 17:20:02 +0000 (0:00:00.038) 0:02:48.867 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-crypttab.yml:27 Thursday 21 July 2022 17:20:02 +0000 (0:00:00.038) 0:02:48.906 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-members-encryption.yml:22 Thursday 21 July 2022 17:20:02 +0000 (0:00:00.036) 0:02:48.943 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-pool-members.yml:62 Thursday 21 July 2022 17:20:02 +0000 (0:00:00.033) 0:02:48.976 ********* included: /tmp/tmptomayb7j/tests/storage/verify-pool-members-vdo.yml for /cache/rhel-7.qcow2 TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-members-vdo.yml:1 Thursday 21 July 2022 17:20:02 +0000 (0:00:00.047) 0:02:49.023 ********* included: /tmp/tmptomayb7j/tests/storage/verify-pool-member-vdo.yml for /cache/rhel-7.qcow2 => (item={'_raw_device': '/dev/mapper/vg1-lv1', 'raid_metadata_version': None, 'raid_level': 'raid0', 'fs_type': 'xfs', 'mount_options': 'defaults', 'type': 'lvm', '_device': '/dev/mapper/vg1-lv1', 'size': '2g', 'mount_point': '/opt/test1', 'compression': None, 'encryption_password': None, '_kernel_device': '/dev/dm-2', 'encryption': False, 'mount_device_identifier': 'uuid', 'name': 'lv1', 'raid_device_count': None, 'state': 'present', 'vdo_pool_size': None, 'thin_pool_name': None, 'thin_pool_size': None, 'encryption_key_size': None, 'encryption_cipher': None, 'encryption_key': None, 'fs_label': '', 'encryption_luks_version': None, 'cache_size': 0, '_mount_id': '/dev/mapper/vg1-lv1', 'raid_spare_count': None, 'raid_disks': ['sdb', 'sdc'], '_raw_kernel_device': '/dev/dm-2', 'cache_mode': None, 'deduplication': None, 'cached': False, 'fs_overwrite_existing': True, 'disks': ['sdb', 'sdc'], 'thin': False, 'mount_check': 0, 'mount_passno': 0, 'raid_chunk_size': None, 'cache_devices': [], 'fs_create_options': ''}) TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-vdo.yml:3 Thursday 21 July 2022 17:20:02 +0000 (0:00:00.047) 0:02:49.071 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-vdo.yml:8 Thursday 21 July 2022 17:20:02 +0000 (0:00:00.025) 0:02:49.096 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-vdo.yml:11 Thursday 21 July 2022 17:20:02 +0000 (0:00:00.024) 0:02:49.121 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-vdo.yml:16 Thursday 21 July 2022 17:20:02 +0000 (0:00:00.024) 0:02:49.145 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-vdo.yml:21 Thursday 21 July 2022 17:20:02 +0000 (0:00:00.024) 0:02:49.170 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-vdo.yml:24 Thursday 21 July 2022 17:20:02 +0000 (0:00:00.025) 0:02:49.195 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-vdo.yml:29 Thursday 21 July 2022 17:20:02 +0000 (0:00:00.025) 0:02:49.220 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-vdo.yml:39 Thursday 21 July 2022 17:20:02 +0000 (0:00:00.024) 0:02:49.245 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-pool-members.yml:65 Thursday 21 July 2022 17:20:02 +0000 (0:00:00.032) 0:02:49.277 ********* ok: [/cache/rhel-7.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/tmptomayb7j/tests/storage/test-verify-pool-volumes.yml:3 Thursday 21 July 2022 17:20:02 +0000 (0:00:00.033) 0:02:49.311 ********* included: /tmp/tmptomayb7j/tests/storage/test-verify-volume.yml for /cache/rhel-7.qcow2 => (item={'_raw_device': '/dev/mapper/vg1-lv1', 'raid_metadata_version': None, 'raid_level': 'raid0', 'fs_type': 'xfs', 'mount_options': 'defaults', 'type': 'lvm', '_device': '/dev/mapper/vg1-lv1', 'size': '2g', 'mount_point': '/opt/test1', 'compression': None, 'encryption_password': None, '_kernel_device': '/dev/dm-2', 'encryption': False, 'mount_device_identifier': 'uuid', 'name': 'lv1', 'raid_device_count': None, 'state': 'present', 'vdo_pool_size': None, 'thin_pool_name': None, 'thin_pool_size': None, 'encryption_key_size': None, 'encryption_cipher': None, 'encryption_key': None, 'fs_label': '', 'encryption_luks_version': None, 'cache_size': 0, '_mount_id': '/dev/mapper/vg1-lv1', 'raid_spare_count': None, 'raid_disks': ['sdb', 'sdc'], '_raw_kernel_device': '/dev/dm-2', 'cache_mode': None, 'deduplication': None, 'cached': False, 'fs_overwrite_existing': True, 'disks': ['sdb', 'sdc'], 'thin': False, 'mount_check': 0, 'mount_passno': 0, 'raid_chunk_size': None, 'cache_devices': [], 'fs_create_options': ''}) TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume.yml:2 Thursday 21 July 2022 17:20:02 +0000 (0:00:00.042) 0:02:49.353 ********* ok: [/cache/rhel-7.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/tmptomayb7j/tests/storage/test-verify-volume.yml:10 Thursday 21 July 2022 17:20:02 +0000 (0:00:00.051) 0:02:49.405 ********* included: /tmp/tmptomayb7j/tests/storage/test-verify-volume-mount.yml for /cache/rhel-7.qcow2 => (item=mount) included: /tmp/tmptomayb7j/tests/storage/test-verify-volume-fstab.yml for /cache/rhel-7.qcow2 => (item=fstab) included: /tmp/tmptomayb7j/tests/storage/test-verify-volume-fs.yml for /cache/rhel-7.qcow2 => (item=fs) included: /tmp/tmptomayb7j/tests/storage/test-verify-volume-device.yml for /cache/rhel-7.qcow2 => (item=device) included: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml for /cache/rhel-7.qcow2 => (item=encryption) included: /tmp/tmptomayb7j/tests/storage/test-verify-volume-md.yml for /cache/rhel-7.qcow2 => (item=md) included: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml for /cache/rhel-7.qcow2 => (item=size) included: /tmp/tmptomayb7j/tests/storage/test-verify-volume-cache.yml for /cache/rhel-7.qcow2 => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-mount.yml:6 Thursday 21 July 2022 17:20:02 +0000 (0:00:00.085) 0:02:49.491 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/vg1-lv1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-mount.yml:10 Thursday 21 July 2022 17:20:02 +0000 (0:00:00.092) 0:02:49.584 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_mount_device_matches": [ { "block_available": 513304, "block_size": 4096, "block_total": 521600, "block_used": 8296, "device": "/dev/mapper/vg1-lv1", "fstype": "xfs", "inode_available": 1048317, "inode_total": 1048320, "inode_used": 3, "mount": "/opt/test1", "options": "rw,seclabel,relatime,attr2,inode64,logbsize=64k,sunit=128,swidth=256,noquota", "size_available": 2102493184, "size_total": 2136473600, "uuid": "b897875d-5998-49f2-b9fc-60f8df5ed8e4" } ], "storage_test_mount_expected_match_count": "1", "storage_test_mount_point_matches": [ { "block_available": 513304, "block_size": 4096, "block_total": 521600, "block_used": 8296, "device": "/dev/mapper/vg1-lv1", "fstype": "xfs", "inode_available": 1048317, "inode_total": 1048320, "inode_used": 3, "mount": "/opt/test1", "options": "rw,seclabel,relatime,attr2,inode64,logbsize=64k,sunit=128,swidth=256,noquota", "size_available": 2102493184, "size_total": 2136473600, "uuid": "b897875d-5998-49f2-b9fc-60f8df5ed8e4" } ], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-mount.yml:20 Thursday 21 July 2022 17:20:02 +0000 (0:00:00.116) 0:02:49.700 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-mount.yml:29 Thursday 21 July 2022 17:20:02 +0000 (0:00:00.050) 0:02:49.751 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-mount.yml:37 Thursday 21 July 2022 17:20:02 +0000 (0:00:00.047) 0:02:49.799 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [command] ***************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-mount.yml:46 Thursday 21 July 2022 17:20:03 +0000 (0:00:00.049) 0:02:49.848 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-mount.yml:50 Thursday 21 July 2022 17:20:03 +0000 (0:00:00.025) 0:02:49.873 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-mount.yml:55 Thursday 21 July 2022 17:20:03 +0000 (0:00:00.024) 0:02:49.898 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-mount.yml:65 Thursday 21 July 2022 17:20:03 +0000 (0:00:00.024) 0:02:49.922 ********* ok: [/cache/rhel-7.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/tmptomayb7j/tests/storage/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 17:20:03 +0000 (0:00:00.032) 0:02:49.955 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "1", "storage_test_fstab_expected_mount_options_matches": "1", "storage_test_fstab_expected_mount_point_matches": "1", "storage_test_fstab_id_matches": [ "/dev/mapper/vg1-lv1 " ], "storage_test_fstab_mount_options_matches": [ " /opt/test1 xfs defaults " ], "storage_test_fstab_mount_point_matches": [ " /opt/test1 " ] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-fstab.yml:12 Thursday 21 July 2022 17:20:03 +0000 (0:00:00.061) 0:02:50.016 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-fstab.yml:19 Thursday 21 July 2022 17:20:03 +0000 (0:00:00.063) 0:02:50.079 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 17:20:03 +0000 (0:00:00.052) 0:02:50.132 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-fstab.yml:34 Thursday 21 July 2022 17:20:03 +0000 (0:00:00.039) 0:02:50.171 ********* ok: [/cache/rhel-7.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/tmptomayb7j/tests/storage/test-verify-volume-fs.yml:4 Thursday 21 July 2022 17:20:03 +0000 (0:00:00.038) 0:02:50.209 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify fs label] ********************************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-fs.yml:10 Thursday 21 July 2022 17:20:03 +0000 (0:00:00.040) 0:02:50.250 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [See whether the device node is present] ********************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-device.yml:4 Thursday 21 July 2022 17:20:03 +0000 (0:00:00.038) 0:02:50.289 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "stat": { "atime": 1658423979.6290336, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "ctime": 1658423979.6290336, "dev": 5, "device_type": 64514, "executable": false, "exists": true, "gid": 6, "gr_name": "disk", "inode": 68662, "isblk": true, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/symlink", "mode": "0660", "mtime": 1658423979.6290336, "nlink": 1, "path": "/dev/mapper/vg1-lv1", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": null, "wgrp": true, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-device.yml:10 Thursday 21 July 2022 17:20:03 +0000 (0:00:00.316) 0:02:50.605 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-device.yml:15 Thursday 21 July 2022 17:20:03 +0000 (0:00:00.039) 0:02:50.645 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-device.yml:21 Thursday 21 July 2022 17:20:03 +0000 (0:00:00.042) 0:02:50.688 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-device.yml:25 Thursday 21 July 2022 17:20:03 +0000 (0:00:00.037) 0:02:50.726 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-device.yml:30 Thursday 21 July 2022 17:20:03 +0000 (0:00:00.026) 0:02:50.752 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 17:20:03 +0000 (0:00:00.041) 0:02:50.794 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 17:20:04 +0000 (0:00:00.033) 0:02:50.827 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "rc": 0, "results": [ "cryptsetup-2.0.3-6.el7.x86_64 providing cryptsetup is already installed" ] } TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 17:20:04 +0000 (0:00:00.555) 0:02:51.383 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 17:20:04 +0000 (0:00:00.027) 0:02:51.411 ********* skipping: [/cache/rhel-7.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/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:27 Thursday 21 July 2022 17:20:04 +0000 (0:00:00.025) 0:02:51.437 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:33 Thursday 21 July 2022 17:20:04 +0000 (0:00:00.054) 0:02:51.491 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:39 Thursday 21 July 2022 17:20:04 +0000 (0:00:00.027) 0:02:51.518 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 17:20:04 +0000 (0:00:00.025) 0:02:51.543 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:50 Thursday 21 July 2022 17:20:04 +0000 (0:00:00.026) 0:02:51.570 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:56 Thursday 21 July 2022 17:20:04 +0000 (0:00:00.024) 0:02:51.594 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:62 Thursday 21 July 2022 17:20:04 +0000 (0:00:00.027) 0:02:51.621 ********* ok: [/cache/rhel-7.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/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 17:20:04 +0000 (0:00:00.116) 0:02:51.738 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:72 Thursday 21 July 2022 17:20:04 +0000 (0:00:00.051) 0:02:51.789 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:78 Thursday 21 July 2022 17:20:05 +0000 (0:00:00.037) 0:02:51.827 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:84 Thursday 21 July 2022 17:20:05 +0000 (0:00:00.038) 0:02:51.865 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:90 Thursday 21 July 2022 17:20:05 +0000 (0:00:00.035) 0:02:51.901 ********* ok: [/cache/rhel-7.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/tmptomayb7j/tests/storage/test-verify-volume-md.yml:7 Thursday 21 July 2022 17:20:05 +0000 (0:00:00.035) 0:02:51.936 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-md.yml:13 Thursday 21 July 2022 17:20:05 +0000 (0:00:00.035) 0:02:51.972 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-md.yml:17 Thursday 21 July 2022 17:20:05 +0000 (0:00:00.041) 0:02:52.013 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-md.yml:21 Thursday 21 July 2022 17:20:05 +0000 (0:00:00.038) 0:02:52.052 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-md.yml:25 Thursday 21 July 2022 17:20:05 +0000 (0:00:00.035) 0:02:52.087 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-md.yml:31 Thursday 21 July 2022 17:20:05 +0000 (0:00:00.035) 0:02:52.122 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-md.yml:37 Thursday 21 July 2022 17:20:05 +0000 (0:00:00.038) 0:02:52.161 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:3 Thursday 21 July 2022 17:20:05 +0000 (0:00:00.035) 0:02:52.197 ********* ok: [/cache/rhel-7.qcow2] => { "bytes": 2147483648, "changed": false, "lvm": "2g", "parted": "2GiB", "size": "2 GiB" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:9 Thursday 21 July 2022 17:20:05 +0000 (0:00:00.326) 0:02:52.523 ********* ok: [/cache/rhel-7.qcow2] => { "bytes": 2147483648, "changed": false, "lvm": "2g", "parted": "2GiB", "size": "2 GiB" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:15 Thursday 21 July 2022 17:20:06 +0000 (0:00:00.331) 0:02:52.855 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_expected_size": "2147483648" }, "changed": false } TASK [debug] ******************************************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:20 Thursday 21 July 2022 17:20:06 +0000 (0:00:00.062) 0:02:52.918 ********* ok: [/cache/rhel-7.qcow2] => { "storage_test_expected_size": "2147483648" } TASK [debug] ******************************************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:25 Thursday 21 July 2022 17:20:06 +0000 (0:00:00.034) 0:02:52.952 ********* skipping: [/cache/rhel-7.qcow2] => {} TASK [debug] ******************************************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:28 Thursday 21 July 2022 17:20:06 +0000 (0:00:00.034) 0:02:52.987 ********* skipping: [/cache/rhel-7.qcow2] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:31 Thursday 21 July 2022 17:20:06 +0000 (0:00:00.035) 0:02:53.022 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:36 Thursday 21 July 2022 17:20:06 +0000 (0:00:00.041) 0:02:53.064 ********* skipping: [/cache/rhel-7.qcow2] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:39 Thursday 21 July 2022 17:20:06 +0000 (0:00:00.038) 0:02:53.103 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:44 Thursday 21 July 2022 17:20:06 +0000 (0:00:00.035) 0:02:53.139 ********* ok: [/cache/rhel-7.qcow2] => { "storage_test_actual_size": { "bytes": 2147483648, "changed": false, "failed": false, "lvm": "2g", "parted": "2GiB", "size": "2 GiB" } } TASK [debug] ******************************************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:47 Thursday 21 July 2022 17:20:06 +0000 (0:00:00.036) 0:02:53.175 ********* ok: [/cache/rhel-7.qcow2] => { "storage_test_expected_size": "2147483648" } TASK [assert] ****************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:50 Thursday 21 July 2022 17:20:06 +0000 (0:00:00.037) 0:02:53.213 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Get information about the LV] ******************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-cache.yml:6 Thursday 21 July 2022 17:20:06 +0000 (0:00:00.049) 0:02:53.263 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "cmd": [ "lvs", "--noheadings", "--nameprefixes", "--units=b", "--nosuffix", "--unquoted", "-o", "name,attr,cache_total_blocks,chunk_size,segtype", "vg1/lv1" ], "delta": "0:00:00.026027", "end": "2022-07-21 13:20:06.171183", "rc": 0, "start": "2022-07-21 13:20:06.145156" } STDOUT: LVM2_LV_NAME=lv1 LVM2_LV_ATTR=rwi-aor--- LVM2_CACHE_TOTAL_BLOCKS= LVM2_CHUNK_SIZE=0 LVM2_SEGTYPE=raid0 TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-cache.yml:14 Thursday 21 July 2022 17:20:06 +0000 (0:00:00.344) 0:02:53.607 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_lv_segtype": [ "raid0" ] }, "changed": false } TASK [check segment type] ****************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-cache.yml:17 Thursday 21 July 2022 17:20:06 +0000 (0:00:00.049) 0:02:53.657 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-cache.yml:22 Thursday 21 July 2022 17:20:06 +0000 (0:00:00.054) 0:02:53.711 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-cache.yml:26 Thursday 21 July 2022 17:20:06 +0000 (0:00:00.036) 0:02:53.748 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-cache.yml:32 Thursday 21 July 2022 17:20:06 +0000 (0:00:00.038) 0:02:53.786 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-cache.yml:36 Thursday 21 July 2022 17:20:07 +0000 (0:00:00.042) 0:02:53.829 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume.yml:16 Thursday 21 July 2022 17:20:07 +0000 (0:00:00.038) 0:02:53.867 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmptomayb7j/tests/storage/verify-role-results.yml:43 Thursday 21 July 2022 17:20:07 +0000 (0:00:00.076) 0:02:53.943 ********* TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmptomayb7j/tests/storage/verify-role-results.yml:53 Thursday 21 July 2022 17:20:07 +0000 (0:00:00.024) 0:02:53.968 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } TASK [Remove the device created above] ***************************************** task path: /tmp/tmptomayb7j/tests/storage/tests_create_raid_pool_then_remove.yml:190 Thursday 21 July 2022 17:20:07 +0000 (0:00:00.076) 0:02:54.044 ********* TASK [fedora.linux_system_roles.storage : set platform/version specific variables] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:2 Thursday 21 July 2022 17:20:07 +0000 (0:00:00.096) 0:02:54.141 ********* included: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml for /cache/rhel-7.qcow2 TASK [fedora.linux_system_roles.storage : Ensure ansible_facts used by role] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:2 Thursday 21 July 2022 17:20:07 +0000 (0:00:00.039) 0:02:54.180 ********* ok: [/cache/rhel-7.qcow2] TASK [fedora.linux_system_roles.storage : Set platform/version specific variables] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/set_vars.yml:7 Thursday 21 July 2022 17:20:07 +0000 (0:00:00.416) 0:02:54.597 ********* skipping: [/cache/rhel-7.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-7.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [/cache/rhel-7.qcow2] => (item=RedHat_7.yml) => { "ansible_facts": { "__storage_blivet_diskvolume_mkfs_option_map": { "ext2": "-F", "ext3": "-F", "ext4": "-F" }, "blivet_package_list": [ "python-enum34", "python-blivet3", "libblockdev-crypto", "libblockdev-dm", "libblockdev-lvm", "libblockdev-mdraid", "libblockdev-swap" ] }, "ansible_included_var_files": [ "/tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/vars/RedHat_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_7.yml" } skipping: [/cache/rhel-7.qcow2] => (item=RedHat_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_7.9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : define an empty list of pools to be used in testing] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:5 Thursday 21 July 2022 17:20:07 +0000 (0:00:00.064) 0:02:54.662 ********* ok: [/cache/rhel-7.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/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:9 Thursday 21 July 2022 17:20:07 +0000 (0:00:00.037) 0:02:54.699 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : include the appropriate provider tasks] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main.yml:13 Thursday 21 July 2022 17:20:07 +0000 (0:00:00.037) 0:02:54.736 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount included: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml for /cache/rhel-7.qcow2 TASK [fedora.linux_system_roles.storage : get a list of rpm packages installed on host machine] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:2 Thursday 21 July 2022 17:20:07 +0000 (0:00:00.059) 0:02:54.796 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure blivet is available] ******* task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 Thursday 21 July 2022 17:20:07 +0000 (0:00:00.022) 0:02:54.818 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : show storage_pools] ****************** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:13 Thursday 21 July 2022 17:20:08 +0000 (0:00:00.029) 0:02:54.848 ********* ok: [/cache/rhel-7.qcow2] => { "storage_pools": [ { "disks": [ "sdb", "sdc" ], "name": "vg1", "state": "absent", "type": "lvm", "volumes": [ { "mount_point": "/opt/test1", "name": "lv1", "raid_disks": [ "sdb", "sdc" ], "raid_level": "raid0", "size": "2g" } ] } ] } TASK [fedora.linux_system_roles.storage : show storage_volumes] **************** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:18 Thursday 21 July 2022 17:20:08 +0000 (0:00:00.041) 0:02:54.890 ********* ok: [/cache/rhel-7.qcow2] => { "storage_volumes": "VARIABLE IS NOT DEFINED!: 'storage_volumes' is undefined" } TASK [fedora.linux_system_roles.storage : get required packages] *************** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:23 Thursday 21 July 2022 17:20:08 +0000 (0:00:00.037) 0:02:54.927 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : enable copr repositories if needed] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:35 Thursday 21 July 2022 17:20:08 +0000 (0:00:00.029) 0:02:54.957 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : make sure required packages are installed] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:41 Thursday 21 July 2022 17:20:08 +0000 (0:00:00.030) 0:02:54.987 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : get service facts] ******************* task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 Thursday 21 July 2022 17:20:08 +0000 (0:00:00.035) 0:02:55.023 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Set storage_cryptsetup_services] ***** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:53 Thursday 21 July 2022 17:20:08 +0000 (0:00:00.029) 0:02:55.052 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_cryptsetup_services": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : Mask the systemd cryptsetup services] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:58 Thursday 21 July 2022 17:20:08 +0000 (0:00:00.063) 0:02:55.116 ********* TASK [fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Thursday 21 July 2022 17:20:08 +0000 (0:00:00.022) 0:02:55.139 ********* changed: [/cache/rhel-7.qcow2] => { "actions": [ { "action": "destroy format", "device": "/dev/mapper/vg1-lv1", "fs_type": "xfs" }, { "action": "destroy device", "device": "/dev/mapper/vg1-lv1", "fs_type": null }, { "action": "destroy device", "device": "/dev/vg1", "fs_type": null }, { "action": "destroy format", "device": "/dev/sdc1", "fs_type": "lvmpv" }, { "action": "destroy device", "device": "/dev/sdc1", "fs_type": null }, { "action": "destroy format", "device": "/dev/sdc", "fs_type": "disklabel" }, { "action": "destroy format", "device": "/dev/sdb1", "fs_type": "lvmpv" }, { "action": "destroy device", "device": "/dev/sdb1", "fs_type": null }, { "action": "destroy format", "device": "/dev/sdb", "fs_type": "disklabel" } ], "changed": true, "crypts": [], "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb", "/dev/vdc", "/dev/vdd" ], "mounts": [ { "fstype": "xfs", "path": "/opt/test1", "src": "/dev/mapper/vg1-lv1", "state": "absent" } ], "packages": [ "xfsprogs" ], "pools": [ { "disks": [ "sdb", "sdc" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sdb", "sdc" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [ "sdb", "sdc" ], "raid_level": "raid0", "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } TASK [fedora.linux_system_roles.storage : Workaround for udev issue on some platforms] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:78 Thursday 21 July 2022 17:20:10 +0000 (0:00:02.576) 0:02:57.715 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.storage : Unmask the systemd cryptsetup services] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:90 Thursday 21 July 2022 17:20:10 +0000 (0:00:00.040) 0:02:57.756 ********* TASK [fedora.linux_system_roles.storage : show blivet_output] ****************** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:96 Thursday 21 July 2022 17:20:10 +0000 (0:00:00.023) 0:02:57.780 ********* ok: [/cache/rhel-7.qcow2] => { "blivet_output": { "actions": [ { "action": "destroy format", "device": "/dev/mapper/vg1-lv1", "fs_type": "xfs" }, { "action": "destroy device", "device": "/dev/mapper/vg1-lv1", "fs_type": null }, { "action": "destroy device", "device": "/dev/vg1", "fs_type": null }, { "action": "destroy format", "device": "/dev/sdc1", "fs_type": "lvmpv" }, { "action": "destroy device", "device": "/dev/sdc1", "fs_type": null }, { "action": "destroy format", "device": "/dev/sdc", "fs_type": "disklabel" }, { "action": "destroy format", "device": "/dev/sdb1", "fs_type": "lvmpv" }, { "action": "destroy device", "device": "/dev/sdb1", "fs_type": null }, { "action": "destroy format", "device": "/dev/sdb", "fs_type": "disklabel" } ], "changed": true, "crypts": [], "failed": false, "leaves": [ "/dev/sr0", "/dev/vda1", "/dev/sda", "/dev/sdb", "/dev/sdc", "/dev/nvme0n1", "/dev/nvme1n1", "/dev/nvme2n1", "/dev/vdb", "/dev/vdc", "/dev/vdd" ], "mounts": [ { "fstype": "xfs", "path": "/opt/test1", "src": "/dev/mapper/vg1-lv1", "state": "absent" } ], "packages": [ "xfsprogs" ], "pools": [ { "disks": [ "sdb", "sdc" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sdb", "sdc" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [ "sdb", "sdc" ], "raid_level": "raid0", "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ], "volumes": [] } } TASK [fedora.linux_system_roles.storage : set the list of pools for test verification] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:101 Thursday 21 July 2022 17:20:11 +0000 (0:00:00.043) 0:02:57.824 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_pools_list": [ { "disks": [ "sdb", "sdc" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sdb", "sdc" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [ "sdb", "sdc" ], "raid_level": "raid0", "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] }, "changed": false } TASK [fedora.linux_system_roles.storage : set the list of volumes for test verification] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:105 Thursday 21 July 2022 17:20:11 +0000 (0:00:00.038) 0:02:57.862 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_volumes_list": [] }, "changed": false } TASK [fedora.linux_system_roles.storage : remove obsolete mounts] ************** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:121 Thursday 21 July 2022 17:20:11 +0000 (0:00:00.039) 0:02:57.902 ********* redirecting (type: modules) ansible.builtin.mount to ansible.posix.mount changed: [/cache/rhel-7.qcow2] => (item={'src': '/dev/mapper/vg1-lv1', 'state': 'absent', 'path': '/opt/test1', 'fstype': 'xfs'}) => { "ansible_loop_var": "mount_info", "backup_file": "", "boot": "yes", "changed": true, "dump": "0", "fstab": "/etc/fstab", "fstype": "xfs", "mount_info": { "fstype": "xfs", "path": "/opt/test1", "src": "/dev/mapper/vg1-lv1", "state": "absent" }, "name": "/opt/test1", "opts": "defaults", "passno": "0", "src": "/dev/mapper/vg1-lv1" } TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:132 Thursday 21 July 2022 17:20:11 +0000 (0:00:00.362) 0:02:58.264 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : set up new/current mounts] *********** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:137 Thursday 21 July 2022 17:20:11 +0000 (0:00:00.493) 0:02:58.758 ********* TASK [fedora.linux_system_roles.storage : tell systemd to refresh its view of /etc/fstab] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:148 Thursday 21 July 2022 17:20:11 +0000 (0:00:00.038) 0:02:58.796 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.storage : retrieve facts for the /etc/crypttab file] *** task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:156 Thursday 21 July 2022 17:20:12 +0000 (0:00:00.448) 0:02:59.244 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "stat": { "atime": 1658423843.2670336, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 0, "charset": "binary", "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "ctime": 1658201031.524, "dev": 64769, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 70, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "inode/x-empty", "mode": "0600", "mtime": 1658200515.884, "nlink": 1, "path": "/etc/crypttab", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 0, "uid": 0, "version": "18446744071677828413", "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/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:161 Thursday 21 July 2022 17:20:12 +0000 (0:00:00.325) 0:02:59.570 ********* TASK [fedora.linux_system_roles.storage : Update facts] ************************ task path: /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 Thursday 21 July 2022 17:20:12 +0000 (0:00:00.024) 0:02:59.595 ********* ok: [/cache/rhel-7.qcow2] META: role_complete for /cache/rhel-7.qcow2 TASK [include_tasks] *********************************************************** task path: /tmp/tmptomayb7j/tests/storage/tests_create_raid_pool_then_remove.yml:206 Thursday 21 July 2022 17:20:13 +0000 (0:00:00.843) 0:03:00.438 ********* included: /tmp/tmptomayb7j/tests/storage/verify-role-results.yml for /cache/rhel-7.qcow2 TASK [Print out pool information] ********************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-role-results.yml:1 Thursday 21 July 2022 17:20:13 +0000 (0:00:00.061) 0:03:00.500 ********* ok: [/cache/rhel-7.qcow2] => { "_storage_pools_list": [ { "disks": [ "sdb", "sdc" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "name": "vg1", "raid_chunk_size": null, "raid_device_count": null, "raid_level": null, "raid_metadata_version": null, "raid_spare_count": null, "state": "absent", "type": "lvm", "volumes": [ { "_device": "/dev/mapper/vg1-lv1", "_mount_id": "/dev/mapper/vg1-lv1", "_raw_device": "/dev/mapper/vg1-lv1", "cache_devices": [], "cache_mode": null, "cache_size": 0, "cached": false, "compression": null, "deduplication": null, "disks": [ "sdb", "sdc" ], "encryption": false, "encryption_cipher": null, "encryption_key": null, "encryption_key_size": null, "encryption_luks_version": null, "encryption_password": null, "fs_create_options": "", "fs_label": "", "fs_overwrite_existing": true, "fs_type": "xfs", "mount_check": 0, "mount_device_identifier": "uuid", "mount_options": "defaults", "mount_passno": 0, "mount_point": "/opt/test1", "name": "lv1", "raid_chunk_size": null, "raid_device_count": null, "raid_disks": [ "sdb", "sdc" ], "raid_level": "raid0", "raid_metadata_version": null, "raid_spare_count": null, "size": "2g", "state": "present", "thin": false, "thin_pool_name": null, "thin_pool_size": null, "type": "lvm", "vdo_pool_size": null } ] } ] } TASK [Print out volume information] ******************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-role-results.yml:6 Thursday 21 July 2022 17:20:13 +0000 (0:00:00.048) 0:03:00.548 ********* skipping: [/cache/rhel-7.qcow2] => {} TASK [Collect info about the volumes.] ***************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-role-results.yml:14 Thursday 21 July 2022 17:20:13 +0000 (0:00:00.033) 0:03:00.582 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "info": { "/dev/fd0": { "fstype": "", "label": "", "name": "/dev/fd0", "size": "4K", "type": "disk", "uuid": "" }, "/dev/nvme0n1": { "fstype": "", "label": "", "name": "/dev/nvme0n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme1n1": { "fstype": "", "label": "", "name": "/dev/nvme1n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/nvme2n1": { "fstype": "", "label": "", "name": "/dev/nvme2n1", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sda": { "fstype": "", "label": "", "name": "/dev/sda", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdb": { "fstype": "", "label": "", "name": "/dev/sdb", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sdc": { "fstype": "", "label": "", "name": "/dev/sdc", "size": "10G", "type": "disk", "uuid": "" }, "/dev/sr0": { "fstype": "iso9660", "label": "cidata", "name": "/dev/sr0", "size": "364K", "type": "rom", "uuid": "2022-07-21-17-17-00-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": "21864ae1-1c29-4009-a1c2-151e41d0e053" }, "/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/tmptomayb7j/tests/storage/verify-role-results.yml:19 Thursday 21 July 2022 17:20:14 +0000 (0:00:00.357) 0:03:00.939 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/fstab" ], "delta": "0:00:00.003514", "end": "2022-07-21 13:20:13.855866", "rc": 0, "start": "2022-07-21 13:20:13.852352" } STDOUT: # # /etc/fstab # Created by anaconda on Tue Jul 19 03:15:15 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 # UUID=21864ae1-1c29-4009-a1c2-151e41d0e053 / xfs defaults 0 0 TASK [Read the /etc/crypttab file] ********************************************* task path: /tmp/tmptomayb7j/tests/storage/verify-role-results.yml:24 Thursday 21 July 2022 17:20:14 +0000 (0:00:00.349) 0:03:01.288 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "cmd": [ "cat", "/etc/crypttab" ], "delta": "0:00:00.003382", "end": "2022-07-21 13:20:14.158810", "failed_when_result": false, "rc": 0, "start": "2022-07-21 13:20:14.155428" } TASK [Verify the volumes listed in storage_pools were correctly managed] ******* task path: /tmp/tmptomayb7j/tests/storage/verify-role-results.yml:33 Thursday 21 July 2022 17:20:14 +0000 (0:00:00.303) 0:03:01.592 ********* included: /tmp/tmptomayb7j/tests/storage/test-verify-pool.yml for /cache/rhel-7.qcow2 => (item={'name': 'vg1', 'encryption_password': None, 'state': 'absent', 'raid_metadata_version': None, 'encryption': False, 'encryption_key_size': None, 'disks': ['sdb', 'sdc'], 'raid_level': None, 'encryption_luks_version': None, 'raid_device_count': None, 'encryption_key': None, 'volumes': [{'_raw_device': '/dev/mapper/vg1-lv1', 'raid_metadata_version': None, 'raid_level': 'raid0', 'fs_type': 'xfs', 'mount_options': 'defaults', 'type': 'lvm', '_device': '/dev/mapper/vg1-lv1', 'size': '2g', 'mount_point': '/opt/test1', 'compression': None, 'encryption_password': None, 'encryption': False, 'mount_device_identifier': 'uuid', 'name': 'lv1', 'raid_device_count': None, 'state': 'present', 'vdo_pool_size': None, 'thin_pool_name': None, 'thin_pool_size': None, 'encryption_key_size': None, 'encryption_cipher': None, 'encryption_key': None, 'fs_label': '', 'encryption_luks_version': None, 'cache_size': 0, '_mount_id': '/dev/mapper/vg1-lv1', 'raid_spare_count': None, 'raid_disks': ['sdb', 'sdc'], 'cache_mode': None, 'deduplication': None, 'cached': False, 'fs_overwrite_existing': True, 'disks': ['sdb', 'sdc'], 'thin': False, 'mount_check': 0, 'mount_passno': 0, 'raid_chunk_size': None, 'cache_devices': [], 'fs_create_options': ''}], 'raid_chunk_size': None, 'type': 'lvm', 'encryption_cipher': None, 'raid_spare_count': None}) TASK [Set _storage_pool_tests] ************************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-pool.yml:5 Thursday 21 July 2022 17:20:14 +0000 (0:00:00.056) 0:03:01.649 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_pool_tests": [ "members", "volumes" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-pool.yml:18 Thursday 21 July 2022 17:20:14 +0000 (0:00:00.033) 0:03:01.682 ********* included: /tmp/tmptomayb7j/tests/storage/test-verify-pool-members.yml for /cache/rhel-7.qcow2 => (item=members) included: /tmp/tmptomayb7j/tests/storage/test-verify-pool-volumes.yml for /cache/rhel-7.qcow2 => (item=volumes) TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-pool-members.yml:1 Thursday 21 July 2022 17:20:14 +0000 (0:00:00.043) 0:03:01.726 ********* ok: [/cache/rhel-7.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/tmptomayb7j/tests/storage/test-verify-pool-members.yml:6 Thursday 21 July 2022 17:20:14 +0000 (0:00:00.050) 0:03:01.776 ********* TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-pool-members.yml:15 Thursday 21 July 2022 17:20:14 +0000 (0:00:00.019) 0:03:01.796 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "__pvs_lvm_len": "0" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-pool-members.yml:19 Thursday 21 July 2022 17:20:15 +0000 (0:00:00.046) 0:03:01.843 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_test_pool_pvs": [] }, "changed": false } TASK [Verify PV count] ********************************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-pool-members.yml:23 Thursday 21 July 2022 17:20:15 +0000 (0:00:00.048) 0:03:01.891 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-pool-members.yml:29 Thursday 21 July 2022 17:20:15 +0000 (0:00:00.047) 0:03:01.938 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_type": "disk" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-pool-members.yml:33 Thursday 21 July 2022 17:20:15 +0000 (0:00:00.039) 0:03:01.977 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_test_expected_pv_type": "partition" }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-pool-members.yml:37 Thursday 21 July 2022 17:20:15 +0000 (0:00:00.051) 0:03:02.029 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the type of each PV] *********************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-pool-members.yml:41 Thursday 21 July 2022 17:20:15 +0000 (0:00:00.027) 0:03:02.056 ********* TASK [Check MD RAID] *********************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-pool-members.yml:50 Thursday 21 July 2022 17:20:15 +0000 (0:00:00.021) 0:03:02.077 ********* included: /tmp/tmptomayb7j/tests/storage/verify-pool-md.yml for /cache/rhel-7.qcow2 TASK [get information about RAID] ********************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-md.yml:6 Thursday 21 July 2022 17:20:15 +0000 (0:00:00.050) 0:03:02.128 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-md.yml:12 Thursday 21 July 2022 17:20:15 +0000 (0:00:00.031) 0:03:02.160 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-md.yml:16 Thursday 21 July 2022 17:20:15 +0000 (0:00:00.024) 0:03:02.184 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-md.yml:20 Thursday 21 July 2022 17:20:15 +0000 (0:00:00.023) 0:03:02.208 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-md.yml:24 Thursday 21 July 2022 17:20:15 +0000 (0:00:00.023) 0:03:02.232 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-md.yml:30 Thursday 21 July 2022 17:20:15 +0000 (0:00:00.024) 0:03:02.256 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmptomayb7j/tests/storage/verify-pool-md.yml:36 Thursday 21 July 2022 17:20:15 +0000 (0:00:00.022) 0:03:02.279 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-md.yml:44 Thursday 21 July 2022 17:20:15 +0000 (0:00:00.023) 0:03:02.302 ********* ok: [/cache/rhel-7.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/tmptomayb7j/tests/storage/test-verify-pool-members.yml:53 Thursday 21 July 2022 17:20:15 +0000 (0:00:00.035) 0:03:02.337 ********* included: /tmp/tmptomayb7j/tests/storage/verify-pool-members-lvmraid.yml for /cache/rhel-7.qcow2 TASK [Validate pool member LVM RAID settings] ********************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-members-lvmraid.yml:1 Thursday 21 July 2022 17:20:15 +0000 (0:00:00.045) 0:03:02.383 ********* included: /tmp/tmptomayb7j/tests/storage/verify-pool-member-lvmraid.yml for /cache/rhel-7.qcow2 => (item={'_raw_device': '/dev/mapper/vg1-lv1', 'raid_metadata_version': None, 'raid_level': 'raid0', 'fs_type': 'xfs', 'mount_options': 'defaults', 'type': 'lvm', '_device': '/dev/mapper/vg1-lv1', 'size': '2g', 'mount_point': '/opt/test1', 'compression': None, 'encryption_password': None, 'encryption': False, 'mount_device_identifier': 'uuid', 'name': 'lv1', 'raid_device_count': None, 'state': 'present', 'vdo_pool_size': None, 'thin_pool_name': None, 'thin_pool_size': None, 'encryption_key_size': None, 'encryption_cipher': None, 'encryption_key': None, 'fs_label': '', 'encryption_luks_version': None, 'cache_size': 0, '_mount_id': '/dev/mapper/vg1-lv1', 'raid_spare_count': None, 'raid_disks': ['sdb', 'sdc'], 'cache_mode': None, 'deduplication': None, 'cached': False, 'fs_overwrite_existing': True, 'disks': ['sdb', 'sdc'], 'thin': False, 'mount_check': 0, 'mount_passno': 0, 'raid_chunk_size': None, 'cache_devices': [], 'fs_create_options': ''}) TASK [Get information about LVM RAID] ****************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-lvmraid.yml:3 Thursday 21 July 2022 17:20:15 +0000 (0:00:00.044) 0:03:02.427 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check that volume is LVM RAID] ******************************************* task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-lvmraid.yml:8 Thursday 21 July 2022 17:20:15 +0000 (0:00:00.029) 0:03:02.457 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-lvmraid.yml:12 Thursday 21 July 2022 17:20:15 +0000 (0:00:00.028) 0:03:02.485 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check Thin Pools] ******************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-pool-members.yml:56 Thursday 21 July 2022 17:20:15 +0000 (0:00:00.027) 0:03:02.512 ********* included: /tmp/tmptomayb7j/tests/storage/verify-pool-members-thin.yml for /cache/rhel-7.qcow2 TASK [Validate pool member thinpool settings] ********************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-members-thin.yml:1 Thursday 21 July 2022 17:20:15 +0000 (0:00:00.043) 0:03:02.556 ********* included: /tmp/tmptomayb7j/tests/storage/verify-pool-member-thin.yml for /cache/rhel-7.qcow2 => (item={'_raw_device': '/dev/mapper/vg1-lv1', 'raid_metadata_version': None, 'raid_level': 'raid0', 'fs_type': 'xfs', 'mount_options': 'defaults', 'type': 'lvm', '_device': '/dev/mapper/vg1-lv1', 'size': '2g', 'mount_point': '/opt/test1', 'compression': None, 'encryption_password': None, 'encryption': False, 'mount_device_identifier': 'uuid', 'name': 'lv1', 'raid_device_count': None, 'state': 'present', 'vdo_pool_size': None, 'thin_pool_name': None, 'thin_pool_size': None, 'encryption_key_size': None, 'encryption_cipher': None, 'encryption_key': None, 'fs_label': '', 'encryption_luks_version': None, 'cache_size': 0, '_mount_id': '/dev/mapper/vg1-lv1', 'raid_spare_count': None, 'raid_disks': ['sdb', 'sdc'], 'cache_mode': None, 'deduplication': None, 'cached': False, 'fs_overwrite_existing': True, 'disks': ['sdb', 'sdc'], 'thin': False, 'mount_check': 0, 'mount_passno': 0, 'raid_chunk_size': None, 'cache_devices': [], 'fs_create_options': ''}) TASK [Get information about thinpool] ****************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-thin.yml:3 Thursday 21 July 2022 17:20:15 +0000 (0:00:00.081) 0:03:02.637 ********* skipping: [/cache/rhel-7.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/tmptomayb7j/tests/storage/verify-pool-member-thin.yml:8 Thursday 21 July 2022 17:20:15 +0000 (0:00:00.024) 0:03:02.661 ********* skipping: [/cache/rhel-7.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/tmptomayb7j/tests/storage/verify-pool-member-thin.yml:13 Thursday 21 July 2022 17:20:15 +0000 (0:00:00.024) 0:03:02.686 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-thin.yml:17 Thursday 21 July 2022 17:20:15 +0000 (0:00:00.025) 0:03:02.711 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check member encryption] ************************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-pool-members.yml:59 Thursday 21 July 2022 17:20:15 +0000 (0:00:00.022) 0:03:02.734 ********* included: /tmp/tmptomayb7j/tests/storage/verify-pool-members-encryption.yml for /cache/rhel-7.qcow2 TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-members-encryption.yml:4 Thursday 21 July 2022 17:20:15 +0000 (0:00:00.045) 0:03:02.780 ********* ok: [/cache/rhel-7.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/tmptomayb7j/tests/storage/verify-pool-members-encryption.yml:8 Thursday 21 July 2022 17:20:16 +0000 (0:00:00.049) 0:03:02.830 ********* TASK [Validate pool member crypttab entries] *********************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-members-encryption.yml:15 Thursday 21 July 2022 17:20:16 +0000 (0:00:00.023) 0:03:02.853 ********* TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-members-encryption.yml:22 Thursday 21 July 2022 17:20:16 +0000 (0:00:00.020) 0:03:02.874 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_test_crypttab_entries": null, "_storage_test_crypttab_key_file": null }, "changed": false } TASK [Check VDO] *************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-pool-members.yml:62 Thursday 21 July 2022 17:20:16 +0000 (0:00:00.035) 0:03:02.910 ********* included: /tmp/tmptomayb7j/tests/storage/verify-pool-members-vdo.yml for /cache/rhel-7.qcow2 TASK [Validate pool member VDO settings] *************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-members-vdo.yml:1 Thursday 21 July 2022 17:20:16 +0000 (0:00:00.045) 0:03:02.955 ********* included: /tmp/tmptomayb7j/tests/storage/verify-pool-member-vdo.yml for /cache/rhel-7.qcow2 => (item={'_raw_device': '/dev/mapper/vg1-lv1', 'raid_metadata_version': None, 'raid_level': 'raid0', 'fs_type': 'xfs', 'mount_options': 'defaults', 'type': 'lvm', '_device': '/dev/mapper/vg1-lv1', 'size': '2g', 'mount_point': '/opt/test1', 'compression': None, 'encryption_password': None, 'encryption': False, 'mount_device_identifier': 'uuid', 'name': 'lv1', 'raid_device_count': None, 'state': 'present', 'vdo_pool_size': None, 'thin_pool_name': None, 'thin_pool_size': None, 'encryption_key_size': None, 'encryption_cipher': None, 'encryption_key': None, 'fs_label': '', 'encryption_luks_version': None, 'cache_size': 0, '_mount_id': '/dev/mapper/vg1-lv1', 'raid_spare_count': None, 'raid_disks': ['sdb', 'sdc'], 'cache_mode': None, 'deduplication': None, 'cached': False, 'fs_overwrite_existing': True, 'disks': ['sdb', 'sdc'], 'thin': False, 'mount_check': 0, 'mount_passno': 0, 'raid_chunk_size': None, 'cache_devices': [], 'fs_create_options': ''}) TASK [get information about VDO deduplication] ********************************* task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-vdo.yml:3 Thursday 21 July 2022 17:20:16 +0000 (0:00:00.045) 0:03:03.000 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-vdo.yml:8 Thursday 21 July 2022 17:20:16 +0000 (0:00:00.024) 0:03:03.025 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-vdo.yml:11 Thursday 21 July 2022 17:20:16 +0000 (0:00:00.022) 0:03:03.048 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-vdo.yml:16 Thursday 21 July 2022 17:20:16 +0000 (0:00:00.024) 0:03:03.072 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-vdo.yml:21 Thursday 21 July 2022 17:20:16 +0000 (0:00:00.025) 0:03:03.097 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-vdo.yml:24 Thursday 21 July 2022 17:20:16 +0000 (0:00:00.022) 0:03:03.120 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert] ****************************************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-vdo.yml:29 Thursday 21 July 2022 17:20:16 +0000 (0:00:00.022) 0:03:03.142 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/verify-pool-member-vdo.yml:39 Thursday 21 July 2022 17:20:16 +0000 (0:00:00.022) 0:03:03.165 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_vdo_status": null }, "changed": false } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-pool-members.yml:65 Thursday 21 July 2022 17:20:16 +0000 (0:00:00.035) 0:03:03.201 ********* ok: [/cache/rhel-7.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/tmptomayb7j/tests/storage/test-verify-pool-volumes.yml:3 Thursday 21 July 2022 17:20:16 +0000 (0:00:00.032) 0:03:03.233 ********* included: /tmp/tmptomayb7j/tests/storage/test-verify-volume.yml for /cache/rhel-7.qcow2 => (item={'_raw_device': '/dev/mapper/vg1-lv1', 'raid_metadata_version': None, 'raid_level': 'raid0', 'fs_type': 'xfs', 'mount_options': 'defaults', 'type': 'lvm', '_device': '/dev/mapper/vg1-lv1', 'size': '2g', 'mount_point': '/opt/test1', 'compression': None, 'encryption_password': None, 'encryption': False, 'mount_device_identifier': 'uuid', 'name': 'lv1', 'raid_device_count': None, 'state': 'present', 'vdo_pool_size': None, 'thin_pool_name': None, 'thin_pool_size': None, 'encryption_key_size': None, 'encryption_cipher': None, 'encryption_key': None, 'fs_label': '', 'encryption_luks_version': None, 'cache_size': 0, '_mount_id': '/dev/mapper/vg1-lv1', 'raid_spare_count': None, 'raid_disks': ['sdb', 'sdc'], 'cache_mode': None, 'deduplication': None, 'cached': False, 'fs_overwrite_existing': True, 'disks': ['sdb', 'sdc'], 'thin': False, 'mount_check': 0, 'mount_passno': 0, 'raid_chunk_size': None, 'cache_devices': [], 'fs_create_options': ''}) TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume.yml:2 Thursday 21 July 2022 17:20:16 +0000 (0:00:00.040) 0:03:03.273 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_test_volume_present": false, "_storage_volume_tests": [ "mount", "fstab", "fs", "device", "encryption", "md", "size", "cache" ] }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume.yml:10 Thursday 21 July 2022 17:20:16 +0000 (0:00:00.049) 0:03:03.322 ********* included: /tmp/tmptomayb7j/tests/storage/test-verify-volume-mount.yml for /cache/rhel-7.qcow2 => (item=mount) included: /tmp/tmptomayb7j/tests/storage/test-verify-volume-fstab.yml for /cache/rhel-7.qcow2 => (item=fstab) included: /tmp/tmptomayb7j/tests/storage/test-verify-volume-fs.yml for /cache/rhel-7.qcow2 => (item=fs) included: /tmp/tmptomayb7j/tests/storage/test-verify-volume-device.yml for /cache/rhel-7.qcow2 => (item=device) included: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml for /cache/rhel-7.qcow2 => (item=encryption) included: /tmp/tmptomayb7j/tests/storage/test-verify-volume-md.yml for /cache/rhel-7.qcow2 => (item=md) included: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml for /cache/rhel-7.qcow2 => (item=size) included: /tmp/tmptomayb7j/tests/storage/test-verify-volume-cache.yml for /cache/rhel-7.qcow2 => (item=cache) TASK [Get expected mount device based on device type] ************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-mount.yml:6 Thursday 21 July 2022 17:20:16 +0000 (0:00:00.079) 0:03:03.402 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_device_path": "/dev/mapper/vg1-lv1" }, "changed": false } TASK [Set some facts] ********************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-mount.yml:10 Thursday 21 July 2022 17:20:16 +0000 (0:00:00.040) 0:03:03.442 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_mount_device_matches": [], "storage_test_mount_expected_match_count": "0", "storage_test_mount_point_matches": [], "storage_test_swap_expected_matches": "0" }, "changed": false } TASK [Verify the current mount state by device] ******************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-mount.yml:20 Thursday 21 July 2022 17:20:16 +0000 (0:00:00.055) 0:03:03.497 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the current mount state by mount point] *************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-mount.yml:29 Thursday 21 July 2022 17:20:16 +0000 (0:00:00.024) 0:03:03.522 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify the mount fs type] ************************************************ task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-mount.yml:37 Thursday 21 July 2022 17:20:16 +0000 (0:00:00.045) 0:03:03.567 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [command] ***************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-mount.yml:46 Thursday 21 July 2022 17:20:16 +0000 (0:00:00.032) 0:03:03.600 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Gather swap info] ******************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-mount.yml:50 Thursday 21 July 2022 17:20:16 +0000 (0:00:00.023) 0:03:03.624 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify swap status] ****************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-mount.yml:55 Thursday 21 July 2022 17:20:16 +0000 (0:00:00.024) 0:03:03.649 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unset facts] ************************************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-mount.yml:65 Thursday 21 July 2022 17:20:16 +0000 (0:00:00.024) 0:03:03.673 ********* ok: [/cache/rhel-7.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/tmptomayb7j/tests/storage/test-verify-volume-fstab.yml:2 Thursday 21 July 2022 17:20:16 +0000 (0:00:00.074) 0:03:03.748 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_fstab_expected_id_matches": "0", "storage_test_fstab_expected_mount_options_matches": "0", "storage_test_fstab_expected_mount_point_matches": "0", "storage_test_fstab_id_matches": [], "storage_test_fstab_mount_options_matches": [], "storage_test_fstab_mount_point_matches": [] }, "changed": false } TASK [Verify that the device identifier appears in /etc/fstab] ***************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-fstab.yml:12 Thursday 21 July 2022 17:20:17 +0000 (0:00:00.147) 0:03:03.896 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fstab mount point] ******************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-fstab.yml:19 Thursday 21 July 2022 17:20:17 +0000 (0:00:00.025) 0:03:03.921 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Verify mount_options] **************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-fstab.yml:25 Thursday 21 July 2022 17:20:17 +0000 (0:00:00.051) 0:03:03.972 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up variables] ****************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-fstab.yml:34 Thursday 21 July 2022 17:20:17 +0000 (0:00:00.035) 0:03:04.008 ********* ok: [/cache/rhel-7.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/tmptomayb7j/tests/storage/test-verify-volume-fs.yml:4 Thursday 21 July 2022 17:20:17 +0000 (0:00:00.036) 0:03:04.044 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify fs label] ********************************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-fs.yml:10 Thursday 21 July 2022 17:20:17 +0000 (0:00:00.024) 0:03:04.069 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [See whether the device node is present] ********************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-device.yml:4 Thursday 21 July 2022 17:20:17 +0000 (0:00:00.022) 0:03:04.092 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "stat": { "exists": false } } TASK [Verify the presence/absence of the device node] ************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-device.yml:10 Thursday 21 July 2022 17:20:17 +0000 (0:00:00.322) 0:03:04.415 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Make sure we got info about this volume] ********************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-device.yml:15 Thursday 21 July 2022 17:20:17 +0000 (0:00:00.040) 0:03:04.456 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [(1/2) Process volume type (set initial value)] *************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-device.yml:21 Thursday 21 July 2022 17:20:17 +0000 (0:00:00.024) 0:03:04.480 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "st_volume_type": "lvm" }, "changed": false } TASK [(2/2) Process volume type (get RAID value)] ****************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-device.yml:25 Thursday 21 July 2022 17:20:17 +0000 (0:00:00.034) 0:03:04.515 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the volume's device type] ***************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-device.yml:30 Thursday 21 July 2022 17:20:17 +0000 (0:00:00.022) 0:03:04.537 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Stat the LUKS device, if encrypted] ************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:3 Thursday 21 July 2022 17:20:17 +0000 (0:00:00.022) 0:03:04.560 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure cryptsetup is present] ******************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:10 Thursday 21 July 2022 17:20:17 +0000 (0:00:00.021) 0:03:04.582 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false, "rc": 0, "results": [ "cryptsetup-2.0.3-6.el7.x86_64 providing cryptsetup is already installed" ] } TASK [Collect LUKS info for this volume] *************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:15 Thursday 21 July 2022 17:20:18 +0000 (0:00:00.563) 0:03:05.145 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the presence/absence of the LUKS device node] ********************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:21 Thursday 21 July 2022 17:20:18 +0000 (0:00:00.025) 0:03:05.170 ********* skipping: [/cache/rhel-7.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/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:27 Thursday 21 July 2022 17:20:18 +0000 (0:00:00.024) 0:03:05.195 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Make sure we got info about the LUKS volume if encrypted] **************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:33 Thursday 21 July 2022 17:20:18 +0000 (0:00:00.025) 0:03:05.220 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the LUKS volume's device type if encrypted] *********************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:39 Thursday 21 July 2022 17:20:18 +0000 (0:00:00.022) 0:03:05.243 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS version] ****************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:44 Thursday 21 July 2022 17:20:18 +0000 (0:00:00.021) 0:03:05.264 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS key size] ***************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:50 Thursday 21 July 2022 17:20:18 +0000 (0:00:00.022) 0:03:05.287 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check LUKS cipher] ******************************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:56 Thursday 21 July 2022 17:20:18 +0000 (0:00:00.023) 0:03:05.310 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:62 Thursday 21 July 2022 17:20:18 +0000 (0:00:00.022) 0:03:05.333 ********* ok: [/cache/rhel-7.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/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:67 Thursday 21 July 2022 17:20:18 +0000 (0:00:00.049) 0:03:05.383 ********* ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed TASK [Validate the format of the crypttab entry] ******************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:72 Thursday 21 July 2022 17:20:18 +0000 (0:00:00.048) 0:03:05.431 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check backing device of crypttab entry] ********************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:78 Thursday 21 July 2022 17:20:18 +0000 (0:00:00.040) 0:03:05.471 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check key file of crypttab entry] **************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:84 Thursday 21 July 2022 17:20:18 +0000 (0:00:00.035) 0:03:05.506 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:90 Thursday 21 July 2022 17:20:18 +0000 (0:00:00.035) 0:03:05.542 ********* ok: [/cache/rhel-7.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/tmptomayb7j/tests/storage/test-verify-volume-md.yml:7 Thursday 21 July 2022 17:20:18 +0000 (0:00:00.035) 0:03:05.577 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-md.yml:13 Thursday 21 July 2022 17:20:18 +0000 (0:00:00.039) 0:03:05.617 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-md.yml:17 Thursday 21 July 2022 17:20:18 +0000 (0:00:00.036) 0:03:05.653 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-md.yml:21 Thursday 21 July 2022 17:20:18 +0000 (0:00:00.043) 0:03:05.697 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID active devices count] ***************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-md.yml:25 Thursday 21 July 2022 17:20:18 +0000 (0:00:00.036) 0:03:05.734 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID spare devices count] ****************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-md.yml:31 Thursday 21 July 2022 17:20:18 +0000 (0:00:00.039) 0:03:05.773 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check RAID metadata version] ********************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-md.yml:37 Thursday 21 July 2022 17:20:18 +0000 (0:00:00.035) 0:03:05.808 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the actual size of the volume] ************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:3 Thursday 21 July 2022 17:20:19 +0000 (0:00:00.038) 0:03:05.847 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested size of the volume] ********************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:9 Thursday 21 July 2022 17:20:19 +0000 (0:00:00.028) 0:03:05.875 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Establish base value for expected size] ********************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:15 Thursday 21 July 2022 17:20:19 +0000 (0:00:00.041) 0:03:05.917 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:20 Thursday 21 July 2022 17:20:19 +0000 (0:00:00.039) 0:03:05.956 ********* ok: [/cache/rhel-7.qcow2] => { "storage_test_expected_size": "2147483648" } TASK [debug] ******************************************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:25 Thursday 21 July 2022 17:20:19 +0000 (0:00:00.090) 0:03:06.047 ********* skipping: [/cache/rhel-7.qcow2] => {} TASK [debug] ******************************************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:28 Thursday 21 July 2022 17:20:19 +0000 (0:00:00.039) 0:03:06.086 ********* skipping: [/cache/rhel-7.qcow2] => {} TASK [Get the size of parent/pool device] ************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:31 Thursday 21 July 2022 17:20:19 +0000 (0:00:00.035) 0:03:06.122 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:36 Thursday 21 July 2022 17:20:19 +0000 (0:00:00.035) 0:03:06.158 ********* skipping: [/cache/rhel-7.qcow2] => {} TASK [Calculate the expected size based on pool size and percentage value] ***** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:39 Thursday 21 July 2022 17:20:19 +0000 (0:00:00.034) 0:03:06.192 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [debug] ******************************************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:44 Thursday 21 July 2022 17:20:19 +0000 (0:00:00.037) 0:03:06.230 ********* ok: [/cache/rhel-7.qcow2] => { "storage_test_actual_size": { "changed": false, "skip_reason": "Conditional result was False", "skipped": true } } TASK [debug] ******************************************************************* task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:47 Thursday 21 July 2022 17:20:19 +0000 (0:00:00.034) 0:03:06.265 ********* ok: [/cache/rhel-7.qcow2] => { "storage_test_expected_size": "2147483648" } TASK [assert] ****************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-size.yml:50 Thursday 21 July 2022 17:20:19 +0000 (0:00:00.079) 0:03:06.344 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get information about the LV] ******************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-cache.yml:6 Thursday 21 July 2022 17:20:19 +0000 (0:00:00.024) 0:03:06.369 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-cache.yml:14 Thursday 21 July 2022 17:20:19 +0000 (0:00:00.067) 0:03:06.436 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [check segment type] ****************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-cache.yml:17 Thursday 21 July 2022 17:20:19 +0000 (0:00:00.024) 0:03:06.460 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-cache.yml:22 Thursday 21 July 2022 17:20:19 +0000 (0:00:00.022) 0:03:06.483 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [parse the requested cache size] ****************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-cache.yml:26 Thursday 21 July 2022 17:20:19 +0000 (0:00:00.022) 0:03:06.506 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [set_fact] **************************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-cache.yml:32 Thursday 21 July 2022 17:20:19 +0000 (0:00:00.023) 0:03:06.530 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check cache size] ******************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume-cache.yml:36 Thursday 21 July 2022 17:20:19 +0000 (0:00:00.022) 0:03:06.552 ********* skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up facts] ********************************************************** task path: /tmp/tmptomayb7j/tests/storage/test-verify-volume.yml:16 Thursday 21 July 2022 17:20:19 +0000 (0:00:00.022) 0:03:06.575 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "_storage_test_volume_present": null }, "changed": false } TASK [Verify the volumes with no pool were correctly managed] ****************** task path: /tmp/tmptomayb7j/tests/storage/verify-role-results.yml:43 Thursday 21 July 2022 17:20:19 +0000 (0:00:00.033) 0:03:06.609 ********* TASK [Clean up variable namespace] ********************************************* task path: /tmp/tmptomayb7j/tests/storage/verify-role-results.yml:53 Thursday 21 July 2022 17:20:19 +0000 (0:00:00.021) 0:03:06.630 ********* ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "storage_test_blkinfo": null, "storage_test_crypttab": null, "storage_test_fstab": null }, "changed": false } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-7.qcow2 : ok=1124 changed=15 unreachable=0 failed=0 skipped=989 rescued=0 ignored=0 Thursday 21 July 2022 17:20:19 +0000 (0:00:00.043) 0:03:06.674 ********* =============================================================================== fedora.linux_system_roles.storage : make sure blivet is available ------- 8.88s /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:7 fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state --- 8.03s /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state --- 3.70s /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state --- 2.76s /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state --- 2.58s /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state --- 2.51s /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state --- 2.25s /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state --- 2.16s /tmp/tmp5bkr4li_/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.99s /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 fedora.linux_system_roles.storage : Update facts ------------------------ 1.87s /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:183 fedora.linux_system_roles.storage : manage the pools and volumes to match the specified state --- 1.71s /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:64 Ensure cryptsetup is present -------------------------------------------- 1.57s /tmp/tmptomayb7j/tests/storage/test-verify-volume-encryption.yml:10 ----------- Collect info about the volumes. ----------------------------------------- 1.46s /tmp/tmptomayb7j/tests/storage/verify-role-results.yml:14 --------------------- set up internal repositories -------------------------------------------- 1.42s /cache/rhel-7_setup.yml:5 ----------------------------------------------------- Collect info about the volumes. ----------------------------------------- 1.32s /tmp/tmptomayb7j/tests/storage/verify-role-results.yml:14 --------------------- fedora.linux_system_roles.storage : get service facts ------------------- 1.11s /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:47 fedora.linux_system_roles.storage : set up new/current mounts ----------- 1.09s /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:137 Gathering Facts --------------------------------------------------------- 1.00s /tmp/tmptomayb7j/tests/storage/tests_create_raid_pool_then_remove_scsi_generated.yml:3 fedora.linux_system_roles.storage : remove obsolete mounts -------------- 0.94s /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:121 fedora.linux_system_roles.storage : set up new/current mounts ----------- 0.91s /tmp/tmp5bkr4li_/ansible_collections/fedora/linux_system_roles/roles/storage/tasks/main-blivet.yml:137