Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 725335

Summary: multipath end up with single path after installed
Product: Red Hat Enterprise Linux 6 Reporter: Mohua Li <moli>
Component: ovirt-nodeAssignee: Alan Pevec <apevec>
Status: CLOSED ERRATA QA Contact: Virtualization Bugs <virt-bugs>
Severity: urgent Docs Contact:
Priority: urgent    
Version: 6.2CC: apevec, cshao, gouyang, iheim, leiwang, ovirt-maint, ycui, yeylon, ykaul
Target Milestone: rcKeywords: Regression
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ovirt-node-2.0.1-0.6.gitc96f056.el6 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-12-06 19:18:49 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 Mohua Li 2011-07-25 08:18:17 UTC
Description of problem:

auto install rhev-hypervisor to fc disk with                          "storage_init=/dev/mapper/360*ba storage_vol=::::: local_boot                  firstboot",the lun endup with single path after installed,              
this didn't happen on 6.2-0.5
                                                                   
                                                                                [root@amd-1216-8-5 ~]# pvs
  /dev/sdb: read failed after 0 of 4096 at 0: Input/output error
  /dev/sdc: read failed after 0 of 4096 at 0: Input/output error
  /dev/sdf: read failed after 0 of 4096 at 0: Input/output error
  /dev/sdg: read failed after 0 of 4096 at 0: Input/output error
  Found duplicate PV s3OB8ZEblT64Pq97OunV3SFgqr7e7X53: using /dev/sdh3 not /dev/sdd3
  PV         VG     Fmt  Attr PSize  PFree
  /dev/sdh3  HostVG lvm2 a-   19.52g    0 
[root@amd-1216-8-5 ~]# vgs
  /dev/sdb: read failed after 0 of 4096 at 0: Input/output error
  /dev/sdc: read failed after 0 of 4096 at 0: Input/output error
  /dev/sdf: read failed after 0 of 4096 at 0: Input/output error
  /dev/sdg: read failed after 0 of 4096 at 0: Input/output error
  Found duplicate PV s3OB8ZEblT64Pq97OunV3SFgqr7e7X53: using /dev/sdh3 not /dev/sdd3
  VG     #PV #LV #SN Attr   VSize  VFree
  HostVG   1   4   0 wz--n- 19.52g    0 

[root@amd-1216-8-5 ~]# ls -lrt /dev/mapper/
total 0
crw-rw----. 1 root root  10, 58 2011-07-25 07:55 control
brw-rw----. 1 root disk 253,  2 2011-07-25 07:56 3600a0b80005b10ca00008e254c7726b1p1
brw-rw----. 1 root disk 253,  1 2011-07-25 07:56 3600a0b80005b10ca00008e254c7726b1
brw-rw----. 1 root disk 253,  3 2011-07-25 07:56 HostVG-Swap
brw-rw----. 1 root disk 253,  4 2011-07-25 07:56 HostVG-Config
brw-rw----. 1 root disk 253,  5 2011-07-25 07:56 HostVG-Logging
brw-rw----. 1 root disk 253,  6 2011-07-25 07:56 HostVG-Data



[root@amd-1216-8-5 ~]# multipath -ll
3600a0b80005b10ca00008e254c7726b1 dm-1 IBM,1726-4xx  FAStT
size=20G features='1 queue_if_no_path' hwhandler='1 rdac' wp=rw
|-+- policy='round-robin 0' prio=6 status=active
| |- 5:0:0:0 sda 8:0   active ready running
| `- 6:0:0:0 sde 8:64  active ready running
`-+- policy='round-robin 0' prio=1 status=enabled
  |- 5:0:2:0 sdc 8:32  active ghost running
  `- 6:0:1:0 sdg 8:96  active ghost running
[root@amd-1216-8-5 ~]# dmsetup table 
HostVG-Logging: 0 4194304 linear 8:115 16467968
HostVG-Swap: 0 16449536 linear 8:115 2048
HostVG-Data: 0 20275200 linear 8:115 20662272
3600a0b80005b10ca00008e254c7726b1: 0 41943040 multipath 1 queue_if_no_path 1 rdac 2 1 round-robin 0 2 1 8:0 1000 8:64 1000 round-robin 0 2 1 8:32 1000 8:96 1000 
3600a0b80005b10ca00008e254c7726b1p1: 0 41943008 linear 253:1 32
HostVG-Config: 0 16384 linear 8:115 16451584
live-rw: 0 2097152 snapshot 7:1 7:2 P 8




Version-Release number of selected component (if applicable):
6.2-0.5
[root@amd-1216-8-5 ~]# modinfo dm_multipath
filename:       /lib/modules/2.6.32-131.6.1.el6.x86_64/kernel/drivers/md/dm-multipath.ko
license:        GPL
author:         Sistina Software <dm-devel>
description:    device-mapper multipath target
srcversion:     203E9E10FE5879D7EC59211
depends:        dm-mod
vermagic:       2.6.32-131.6.1.el6.x86_64 SMP mod_unload modversions 

How reproducible:
always

Steps to Reproduce:
1.auto install to fc lun with  storage_init=/dev/mapper/360*ba storage_vol=::::: local_boot firstboot"
2.login to system
3.
  
Actual results:


Expected results:


Additional info:

Comment 6 Alan Pevec 2011-07-25 10:47:00 UTC
Indeed, there were no changes in lvm2 and device-mapper either.
Here is the complete package diff:
-acl-2.2.49-5.el6
+acl-2.2.49-4.el6
-cpuspeed-1.5-15.el6
-crontabs-1.10-33.el6
+crontabs-1.10-32.1.el6
+eject-2.1.5-17.el6
-fuse-2.8.3-1.el6
+fuse-2.8.3-3.el6_1
+hmaccalc-0.9.12-1.el6
-kernel-2.6.32-131.4.1.el6
+kernel-2.6.32-131.6.1.el6
-libsndfile-1.0.20-3.el6
+libsndfile-1.0.20-3.el6_1.1
-ovirt-node-2.0.1-0.2.gitc6ba15d.el6
+ovirt-node-2.0.1-0.3.git46a07b4.el6
-python-2.6.6-20.el6
+python-2.6.6-22.el6
-qemu-kvm-0.12.1.2-2.169.el6
+qemu-kvm-0.12.1.2-2.171.el6
-rsyslog-4.6.2-3.el6
+rsyslog-4.6.2-3.el6_1.1
-selinux-policy-3.7.19-93.el6
+selinux-policy-3.7.19-93.el6_1.2
-vdsm-4.9-79.el6
+vdsm-4.9-84.el6
-which-2.19-6.el6
+which-2.19-5.1.el6

Comment 7 Alan Pevec 2011-07-25 22:31:46 UTC
Another side-effect of my moving dracut to posttrans only:
multipath is missing in initramfs b/c we create it in ks %post.

pre-mount:/# multipath -ll
Jul 25 22:28:36 | /etc/multipath.conf does not exist, blacklisting all devices.

I'll add it to ovirt-node RPM %post, so it's available when posttrans runs.

Comment 13 errata-xmlrpc 2011-12-06 19:18:49 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.

http://rhn.redhat.com/errata/RHBA-2011-1783.html