+++ This bug was initially created as a clone of Bug #2066880 +++ Description of problem: The storage role should be able to add and remove disks to/from storage pools Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
Hi Vojtech, Could you kindly tell me how to verify the bug? Thanks in advance!
(In reply to Lin Li from comment #1) > Hi Vojtech, > Could you kindly tell me how to verify the bug? > Thanks in advance! See https://github.com/linux-system-roles/storage/pull/264 - there is a test for this
The below error happened. # ansible-playbook tests_lvm_pool_members.yml fatal: [127.0.0.1]: FAILED! => {"msg": "Invalid data passed to 'loop', it requires a list, got this instead: [] + [ '/dev/sdr1' ] + [ '/dev/sds1' ] + [ '/dev/sdt1' ] + [ '/dev/sdu1' ] + [ '/dev/sdv1' ] + [ '/dev/sdw1' ] + [ '/dev/sdx1' ] + [ '/dev/sdy1' ] + [ '/dev/sdz1' ]. Hint: If you passed a list/dict of just one element, try adding wantlist=True to your lookup invocation or use q/query instead of lookup."} PLAY RECAP ********************************************************************* 127.0.0.1 : ok=54 changed=1 unreachable=0 failed=1 skipped=35 rescued=0 ignored=0
Verified on rhel-system-roles-1.19.3-1.el9 [root@storageqe-25 tests]# rpm -qa | grep rhel-system-roles rhel-system-roles-1.19.3-1.el9.noarch [root@storageqe-25 tests]# ansible-playbook tests_lvm_pool_members.yml PLAY RECAP ********************************************************************* 127.0.0.1 : ok=693 changed=37 unreachable=0 failed=0 skipped=500 rescued=0 ignored=0
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:8117