Hide Forgot
Description of problem: The storage role should be able to create and manage LVM thin pools/LV's Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
Any updates?
Hi Test the http://brew-task-repos.usersys.redhat.com/repos/scratch/rmeggins/rhel-system-roles/1.19.0/1.el8/noarch/rhel-system-roles-1.19.0-1.el8.noarch.rpm test pass with tests_create_thinp_then_remove.yml. but found a error with the cmd ansible-playbook -vv -i host tests_luks_nvme_generated.yml TASK [rhel-system-roles.storage : manage the pools and volumes to match the specified state] *** task path: /usr/share/ansible/roles/rhel-system-roles.storage/tasks/main-blivet.yml:77 An exception occurred during task execution. To see the full traceback, use -vvv. The error was: AttributeError: 'DiskLabel' object has no attribute 'label' fatal: [localhost]: FAILED! => {"changed": false, "module_stderr": "Traceback (most recent call last):\n File \"/root/.ansible/tmp/ansible-tmp-1654587989.5256016-199566-171949464017407/AnsiballZ_blivet.py\", line 100, in <module>\n _ansiballz_main()\n File \"/root/.ansible/tmp/ansible-tmp-1654587989.5256016-199566-171949464017407/AnsiballZ_blivet.py\", line 92, in _ansiballz_main\n invoke_module(zipped_mod, temp_path, ANSIBALLZ_PARAMS)\n File \"/root/.ansible/tmp/ansible-tmp-1654587989.5256016-199566-171949464017407/AnsiballZ_blivet.py\", line 41, in invoke_module\n run_name='__main__', alter_sys=True)\n File \"/usr/lib64/python3.6/runpy.py\", line 205, in run_module\n return _run_module_code(code, init_globals, run_name, mod_spec)\n File \"/usr/lib64/python3.6/runpy.py\", line 96, in _run_module_code\n mod_name, mod_spec, pkg_name, script_name)\n File \"/usr/lib64/python3.6/runpy.py\", line 85, in _run_code\n exec(code, run_globals)\n File \"/tmp/ansible_blivet_payload_14xsyew5/ansible_blivet_payload.zip/ansible/modules/blivet.py\", line 1840, in <module>\n File \"/tmp/ansible_blivet_payload_14xsyew5/ansible_blivet_payload.zip/ansible/modules/blivet.py\", line 1836, in main\n File \"/tmp/ansible_blivet_payload_14xsyew5/ansible_blivet_payload.zip/ansible/modules/blivet.py\", line 1798, in run_module\n File \"/tmp/ansible_blivet_payload_14xsyew5/ansible_blivet_payload.zip/ansible/modules/blivet.py\", line 1431, in manage_volume\n File \"/tmp/ansible_blivet_payload_14xsyew5/ansible_blivet_payload.zip/ansible/modules/blivet.py\", line 560, in manage\n File \"/tmp/ansible_blivet_payload_14xsyew5/ansible_blivet_payload.zip/ansible/modules/blivet.py\", line 609, in _create\n File \"/tmp/ansible_blivet_payload_14xsyew5/ansible_blivet_payload.zip/ansible/modules/blivet.py\", line 531, in _reformat\nAttributeError: 'DiskLabel' object has no attribute 'label'\n", "module_stdout": "", "msg": "MODULE FAILURE\nSee stdout/stderr for the exact error", "rc": 1}
(In reply to guazhang from comment #4) > Hi > > > Test the > http://brew-task-repos.usersys.redhat.com/repos/scratch/rmeggins/rhel-system- > roles/1.19.0/1.el8/noarch/rhel-system-roles-1.19.0-1.el8.noarch.rpm > > test pass with tests_create_thinp_then_remove.yml. > > but found a error with the cmd ansible-playbook -vv -i host > tests_luks_nvme_generated.yml > > TASK [rhel-system-roles.storage : manage the pools and volumes to match the > specified state] *** > task path: > /usr/share/ansible/roles/rhel-system-roles.storage/tasks/main-blivet.yml:77 > An exception occurred during task execution. To see the full traceback, use > -vvv. The error was: AttributeError: 'DiskLabel' object has no attribute > 'label' > fatal: [localhost]: FAILED! => {"changed": false, "module_stderr": > "Traceback (most recent call last):\n File > \"/root/.ansible/tmp/ansible-tmp-1654587989.5256016-199566-171949464017407/ > AnsiballZ_blivet.py\", line 100, in <module>\n _ansiballz_main()\n File > \"/root/.ansible/tmp/ansible-tmp-1654587989.5256016-199566-171949464017407/ > AnsiballZ_blivet.py\", line 92, in _ansiballz_main\n > invoke_module(zipped_mod, temp_path, ANSIBALLZ_PARAMS)\n File > \"/root/.ansible/tmp/ansible-tmp-1654587989.5256016-199566-171949464017407/ > AnsiballZ_blivet.py\", line 41, in invoke_module\n run_name='__main__', > alter_sys=True)\n File \"/usr/lib64/python3.6/runpy.py\", line 205, in > run_module\n return _run_module_code(code, init_globals, run_name, > mod_spec)\n File \"/usr/lib64/python3.6/runpy.py\", line 96, in > _run_module_code\n mod_name, mod_spec, pkg_name, script_name)\n File > \"/usr/lib64/python3.6/runpy.py\", line 85, in _run_code\n exec(code, > run_globals)\n File > \"/tmp/ansible_blivet_payload_14xsyew5/ansible_blivet_payload.zip/ansible/ > modules/blivet.py\", line 1840, in <module>\n File > \"/tmp/ansible_blivet_payload_14xsyew5/ansible_blivet_payload.zip/ansible/ > modules/blivet.py\", line 1836, in main\n File > \"/tmp/ansible_blivet_payload_14xsyew5/ansible_blivet_payload.zip/ansible/ > modules/blivet.py\", line 1798, in run_module\n File > \"/tmp/ansible_blivet_payload_14xsyew5/ansible_blivet_payload.zip/ansible/ > modules/blivet.py\", line 1431, in manage_volume\n File > \"/tmp/ansible_blivet_payload_14xsyew5/ansible_blivet_payload.zip/ansible/ > modules/blivet.py\", line 560, in manage\n File > \"/tmp/ansible_blivet_payload_14xsyew5/ansible_blivet_payload.zip/ansible/ > modules/blivet.py\", line 609, in _create\n File > \"/tmp/ansible_blivet_payload_14xsyew5/ansible_blivet_payload.zip/ansible/ > modules/blivet.py\", line 531, in _reformat\nAttributeError: 'DiskLabel' > object has no attribute 'label'\n", "module_stdout": "", "msg": "MODULE > FAILURE\nSee stdout/stderr for the exact error", "rc": 1} This sure looks like a duplicate, or at least related to, https://bugzilla.redhat.com/show_bug.cgi?id=2059426 - @vtrefny ? At any rate, can we mark this bz as qa_ack+ and Verified:Tested as the issue above is completely different and unrelated to the BZ?
(In reply to Rich Megginson from comment #5) > (In reply to guazhang from comment #4) > > This sure looks like a duplicate, or at least related to, > https://bugzilla.redhat.com/show_bug.cgi?id=2059426 - @vtrefny ? > Yes, this look likes the same issue.
move to verified since the storage role regression test pass
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (rhel-system-roles bug fix and enhancement update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHEA-2022:7568