Bug 1371692

Summary: [RHEL7] LVM: System does not activate a multipath-based LVM at system startup
Product: Red Hat Enterprise Linux 7 Reporter: Rodrigo A B Freire <rfreire>
Component: lvm2Assignee: Peter Rajnoha <prajnoha>
lvm2 sub component: Activating existing Logical Volumes QA Contact: cluster-qe <cluster-qe>
Status: CLOSED CURRENTRELEASE Docs Contact:
Severity: high    
Priority: high CC: agk, crempel, heinzm, jbrassow, msnitzer, prajnoha, prockai, rfreire, shafi.shafiullah, zkabelac
Version: 7.2   
Target Milestone: rc   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-09-21 08:22:25 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Rodrigo A B Freire 2016-08-30 20:30:33 UTC
Description of problem:
multipath-based LVM is not activated at system startup, thus causing

Version-Release number of selected component (if applicable):
device-mapper-1.02.107-5.el7_2.1.x86_64

How reproducible:
Intermitent; always in some select systems

Steps to Reproduce:
1. Present 4 1-TB LUN to the system
2. Set the volumes as a 4 TB VG / LV
3. Configure it to mount at startup in 

Actual results:
System should activate the VGs upon boot time

Expected results:
VGs are not activate and boot fails because of missing LV.

Additional info:
This issue is mitigated by disabling lvmetad (lvmetad = 0 in /etc/lvm/lvm.conf)

Comment 4 Peter Rajnoha 2016-09-19 14:03:08 UTC
If possible, please follow instructions to collect more debug info as already described in bug #1324028 comment #10 and attach it here.

Also, would it be possible for the customer(s) to try the latest 7.2.z lvm2/device-mapper (lvm2-2.02.130-5.el7_2.5) and device-mapper-multipath (device-mapper-multipath-0.4.9-85.el7_2.6) packages and check if they can still reproduce - we've fixed a few issues there which may be related.

Comment 5 Shafi 2016-09-20 23:54:03 UTC
I've yum updated my servers and seems like the issue I was having before is gone. The lvm version is now 7:2.02.130-5.el7_2.5 and multipath is 0.4.9-85.el7_2.6

Comment 6 Peter Rajnoha 2016-09-21 08:22:25 UTC
(In reply to Shafi from comment #5)
> I've yum updated my servers and seems like the issue I was having before is
> gone. The lvm version is now 7:2.02.130-5.el7_2.5 and multipath is
> 0.4.9-85.el7_2.6

OK, those packages contain several important fixes in the area of device caching in LVM2 and also in the area of LVM2 and multipath cooperation.

I'm closing this bug report now. If you run into this issue again, please, reopen this report. Thanks.