Description of problem: VG Create failed first time on a given device Version-Release number of selected component (if applicable): vdsm-4.17 How reproducible: frequently Steps to Reproduce: Execute create brick scenario on a new device Actual Results: VG Create failed first time frequently in a device. Additional info: VDSM Log message: Thread-15::ERROR::2015-05-29 13:01:02,697::BindingXMLRPC::1176::vds::(wrapper) unexpected error Traceback (most recent call last): File "/usr/share/vdsm/rpc/BindingXMLRPC.py", line 1160, in wrapper res = f(*args, **kwargs) File "/usr/share/vdsm/gluster/api.py", line 62, in wrapper rv = func(*args, **kwargs) File "/usr/share/vdsm/gluster/api.py", line 594, in createBrick raidParams) File "/usr/share/vdsm/supervdsm.py", line 50, in __call__ return callMethod() File "/usr/share/vdsm/supervdsm.py", line 48, in <lambda> **kwargs) File "<string>", line 2, in glusterCreateBrick File "/usr/lib64/python2.6/multiprocessing/managers.py", line 740, in _callmethod raise convert_to_error(kind, result) ValueError: member has wrong format periodic.Scheduler::DEBUG::2015-05-29 13:01:04,241::periodic::185::periodic.Operation::(_step) after 2.000000 seconds: VmDispatcher(<class 'virt.periodic.DriveWatermarkMonitor'>)
Currently we are using vdsm lvm module for pv create and blivet to create vg. This issue is not identified if we use blivet for creating both pv and vg. But blivet has few issues while creating a vg. Its able to create pesize as minimum 1mb currently. So I sent a workaround to fix the issue patch: https://gerrit.ovirt.org/#/c/41392/ As the vdsm lvm module vg create has few issues, I used lvm vgcreate command to create the vg in the workaround patch.
It depends on the following blivet bugs: https://bugzilla.redhat.com/show_bug.cgi?id=1206526 https://bugzilla.redhat.com/show_bug.cgi?id=1198568 The above blivet bugs for create a vg with any given pe size in power of 2 (lvm2 limitation) Currently the fixes are in On_QA and its not available in any channel right now, Once its available for every os i will send a patch to use blivet to create pv and vg. Till then we will use the lvm vg create command as a workaround.
Patch sent to upstream: https://gerrit.ovirt.org/#/c/41392/
I am not able to reproduce this issue consistently. Give the steps to re-produce.
Hi Tim, I have not hit this issue any time till now. Since you hit this issue it would be good if you can verify this bug. Thanks kasturi
Tested in Fedora and RHEL6 and RHEL7. Its working fine.
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/RHEA-2015-1494.html