Bug 801356

Summary: [RHEL]RHEV-Management Agents-Multipath error
Product: Red Hat Enterprise Linux 6 Reporter: Michael <bestell>
Component: device-mapper-multipathAssignee: Ben Marzinski <bmarzins>
Status: CLOSED NOTABUG QA Contact: Red Hat Kernel QE team <kernel-qe>
Severity: low Docs Contact:
Priority: unspecified    
Version: 6.2CC: agk, bmarzins, dwysocha, heinzm, msnitzer, prajnoha, prockai, zkabelac
Target Milestone: rc   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-08-23 21:19:17 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:
Attachments:
Description Flags
dmesg
none
install log
none
messages
none
mulitipath -v2
none
multipath -v3 none

Description Michael 2012-03-08 11:01:06 UTC
Created attachment 568591 [details]
dmesg

Description of problem:

I install a new RHEL 6.2 server with default configuration. Than i register that on redhat and put the chanel: rhel-x86_64-rhev-mgmt-agent-6

Than i update this with yum update.

After reboot i make follow of the rhev install manual:
"8.1. Adding Red Hat Enterprise Linux Hosts"

After that i add this to rhevm in the gui. Rhevm install this hosts and after reboot i become at login screen a lot of follow errors:

device-mapper: table: 253:0: multipath: error getting device

My server is a Dell R415

How reproducible:

That same that i have wirite under Description.


Steps to Reproduce:
1.Install and update RHEL 6.2
2.Add this to rhevm gui
3.Reboot

Comment 1 Michael 2012-03-08 11:01:31 UTC
Created attachment 568592 [details]
install log

Comment 2 Michael 2012-03-08 11:02:02 UTC
Created attachment 568593 [details]
messages

Comment 3 Michael 2012-03-08 11:02:27 UTC
Created attachment 568594 [details]
mulitipath -v2

Comment 4 Michael 2012-03-08 11:02:54 UTC
Created attachment 568595 [details]
multipath -v3

Comment 6 Ben Marzinski 2012-03-12 22:49:20 UTC
I'm not sure why the device is trying to load so many times, but it looks like it's failing because the device is in-use. The device that is already in use is /dev/sda.  Is this devices supposed to be multipathed.  I assume that it is the root device.  If so, you will need to remake the initramfs, so that multipath can
access this device before it gets mounted.  However, it looks like there is only one path. In this case, I assume that you don't want this device multipathed. In that case, you need to add

blacklist {
        wwid "3600508e00000000013574a8cfbafd40c"
}

to /etc/multipath.conf

this will keep multipath from trying to use this device.

Comment 7 Ben Marzinski 2012-04-10 14:56:18 UTC
Is this still an issue for you?

Comment 8 Michael 2012-04-24 15:33:45 UTC
No, i have fixed this with a manual blacklist configuration. 

But this can be a problem for other people, that install this automaticaly over the rhev-m gui.

Comment 9 Michael 2012-04-25 09:20:11 UTC
I change the status to low.

Comment 12 Ben Marzinski 2012-08-02 20:45:58 UTC
So, multipath seems to be acting as designed. If have a multipath configuration file, and you do not blacklist a device, it is assumed to be whitelisted.  This bug should either be closed NOTABUG, or it should get moved to the rhev-m gui, which should handle dealing with the configuration file.