Bug 385001

Summary: RHEL5 cmirror tracker: unable to convert a disk log mirror to core log
Product: Red Hat Enterprise Linux 5 Reporter: Corey Marthaler <cmarthal>
Component: cmirrorAssignee: Jonathan Earl Brassow <jbrassow>
Status: CLOSED ERRATA QA Contact: Cluster QE <mspqa-list>
Severity: low Docs Contact:
Priority: low    
Version: 5.0CC: agk, dwysocha, jbrassow, mbroz, prockai
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-01-20 21:26:42 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Corey Marthaler 2007-11-15 17:21:04 UTC
Description of problem:
[root@taft-02 ~]# lvconvert -m 1 --corelog vg/simple
  Error locking on node taft-01: device-mapper: reload ioctl failed: Invalid
argument
  Error locking on node taft-04: device-mapper: reload ioctl failed: Invalid
argument
  Error locking on node taft-03: device-mapper: reload ioctl failed: Invalid
argument
  Error locking on node taft-02: device-mapper: reload ioctl failed: Invalid
argument
  Failed to lock simple

device-mapper: dm-log-clustered: Server error while processing request
[DM_CLOG_CTR]: -22
device-mapper: table: 253:5: mirror: Error creating mirror dirty log
device-mapper: ioctl: error adding target to table
Nov 15 11:18:55 taft-01 clogd[6459]: Received constructor request with bad data
Nov 15 11:18:55 taft-01 kernel: device-mapper: dm-log-clustered: Server error
while processing request [DM_CLOG_2
Nov 15 11:18:55 taft-01 kernel: device-mapper: table: 253:5: mirror: Error
creating mirror dirty log
Nov 15 11:18:55 taft-01 kernel: device-mapper: ioctl: error adding target to table


Version-Release number of selected component (if applicable):
cmirror-1.1.0-7
2.6.18-53.el5

How reproducible:
Everytime

Comment 2 Jonathan Earl Brassow 2008-01-14 23:02:04 UTC
I can hit this easily.

Comment 3 Jonathan Earl Brassow 2008-01-15 22:02:21 UTC
'return' instead of 'goto' was skipping over key initialization - causing core logged cluster mirrors not to 
work.

Comment 4 Corey Marthaler 2008-01-21 21:06:04 UTC
Fix verified in cmirror-1.1.5-4.el5.

Comment 7 errata-xmlrpc 2009-01-20 21:26:42 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHEA-2009-0158.html