Description of problem: while trying to create a brick using RAID6 device on RHEL7.1 gives unexpected exception. Version-Release number of selected component (if applicable): rhsc-3.1.0-0.58.master.el6.noarch How reproducible: Always Steps to Reproduce: 1. Add a host with RAID6 device. 2. Try creating a brick by selecting the RAID Type as RAID6,stripe size as 128kB and no.of disks as 12. 3. click on 'ok' Actual results: Fails to create a brick and throws unexpected exception Expected results: Create brick should be successful. Additional info:
logs are attached in the link below. http://rhsqe-repo.lab.eng.blr.redhat.com/sosreports/rhsc/1230252/
This version of blivet expects the minimum physicalextentsize of 1mb. This issues is already fixed and available in the latest blivet version (which is available in rhel 7.2 candidate) For rhel7.1 i have already sent an workaround patch to upstream. The workaround uses lvm command instead of using blivet vgcreate api. Its still under review: https://gerrit.ovirt.org/#/c/41392/
Patch sent to upstream: https://gerrit.ovirt.org/#/c/41392/
its failed because the available python-blivet expects physicalextentsize should be > 1mb. File "/usr/lib64/python2.7/multiprocessing/managers.py", line 773, in _callmethod raise convert_to_error(kind, result) DeviceCreateError: ('vgcreate failed for vg-brick1: running lvm vgcreate -s 0m vg-brick1 /dev/sdb1 --config devices { preferred_names=["^/dev/mapper/", "^/dev/md/", "^/dev/sd"] } failed', u'vg-brick1') Its fixed in the latest python-blivet version.
Verified and works fine with build vdsm-4.16.20-1.1.el7rhgs.x86_64. Python-blivet version: ----------------------- python-blivet-0.61.0.26-1.el7.noarch lvm version: ----------------------- [root@rhs-arch-srv1 ~]# rpm -qa | grep lvm lvm2-2.02.115-3.el7.x86_64 lvm2-libs-2.02.115-3.el7.x86_64 Kernel: ---------------------- uname -a Linux rhs-arch-srv1.lab.eng.blr.redhat.com 3.10.0-229.4.2.el7.x86_64 #1 SMP Fri Apr 24 15:26:38 EDT 2015 x86_64 x86_64 x86_64 GNU/Linux Able to create a brick using RAID6 on RHEL7. No exception is seen.
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, 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://rhn.redhat.com/errata/RHSA-2015-1495.html