Bug 1230252 - [New] - Creating a brick using RAID6 on RHEL7 gives unexpected exception
Summary: [New] - Creating a brick using RAID6 on RHEL7 gives unexpected exception
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: vdsm
Version: rhgs-3.1
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: RHGS 3.1.0
Assignee: Timothy Asir
QA Contact: RamaKasturi
URL:
Whiteboard:
Depends On:
Blocks: 1202842
TreeView+ depends on / blocked
 
Reported: 2015-06-10 13:48 UTC by RamaKasturi
Modified: 2015-07-29 05:01 UTC (History)
7 users (show)

Fixed In Version: vdsm-4.16.20-1.1.el6rhs.x86_64.rpmv
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-07-29 05:01:21 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2015:1494 0 normal SHIPPED_LIVE Red Hat Gluster Storage Console 3.1 Enhancement and bug fixes 2015-07-29 09:24:02 UTC
Red Hat Product Errata RHSA-2015:1495 0 normal SHIPPED_LIVE Important: Red Hat Gluster Storage 3.1 update 2015-07-29 08:26:26 UTC
oVirt gerrit 41392 0 None None None Never

Description RamaKasturi 2015-06-10 13:48:34 UTC
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:

Comment 2 RamaKasturi 2015-06-10 13:52:10 UTC
logs are attached in the link below.

http://rhsqe-repo.lab.eng.blr.redhat.com/sosreports/rhsc/1230252/

Comment 3 Timothy Asir 2015-06-10 17:23:13 UTC
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/

Comment 5 Timothy Asir 2015-06-13 18:28:24 UTC
Patch sent to upstream: https://gerrit.ovirt.org/#/c/41392/

Comment 6 Timothy Asir 2015-06-15 12:46:24 UTC
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.

Comment 7 RamaKasturi 2015-06-19 12:17:29 UTC
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.

Comment 8 errata-xmlrpc 2015-07-29 05:01:21 UTC
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


Note You need to log in before you can comment on or make changes to this bug.