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 624781 - RHEV-H can't find root device after installation
Summary: RHEV-H can't find root device after installation
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: ovirt-node
Version: 6.0
Hardware: All
OS: Linux
urgent
urgent
Target Milestone: rc
: ---
Assignee: Joey Boggs
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-08-17 18:46 UTC by Mike Burns
Modified: 2016-04-26 13:40 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-11-11 16:21:14 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
patch (1.27 KB, patch)
2010-08-17 22:02 UTC, Joey Boggs
no flags Details | Diff
ovirt.log (69.43 KB, text/plain)
2010-08-20 03:12 UTC, Vivian Bian
no flags Details

Description Mike Burns 2010-08-17 18:46:09 UTC
Description of problem:
After installation, the machine reboots, but fails to find the root device.

The issues occurs on device-mapper-multipath devices.  It does not occur with virtio devices.  I don't have a machine to test on plain device-mapper devices

Version-Release number of selected component (if applicable):
RHEV-H 6.0-11

How reproducible:
Always on multipath devices

Steps to Reproduce:
1.Install RHEV-H on multipath host
2.reboot
3.
  
Actual results:
Dracut can't find root device

Expected results:
Boots successfully

Additional info:

Comment 1 Joey Boggs 2010-08-17 22:02:06 UTC
Created attachment 439226 [details]
patch

Comment 2 Mike Burns 2010-08-18 03:59:09 UTC
For clarification, issue is that a bunch of scsi drivers were missing from initrd image.  Patch adds those images in.

Comment 4 Vivian Bian 2010-08-20 03:12:33 UTC
Created attachment 439841 [details]
ovirt.log

checked with rhev-hypervisor-6.0-12.el6

still get following result in ovirt.log :

Aug 20 03:06:33 installing the image.
findfs: unable to resolve 'LABEL=Boot'
Aug 20 03:06:34 unable to determine Root partition

ERROR: Install locally and reboot FAILED. See /var/log/ovirt.log

[root@localhost ~]# ll /dev/disk/by-label/
total 0
lrwxrwxrwx. 1 root root 10 Aug 20 03:04 Root -> ../../sda1
lrwxrwxrwx. 1 root root 10 Aug 20 03:04 RootBackup -> ../../sda2
lrwxrwxrwx. 1 root root 11 Aug 20 03:04 _rhev-hypervisor -> ../../loop3
lrwxrwxrwx. 1 root root  9 Aug 20 03:10 rhev-hypervisor -> ../../sr0

Comment 5 Vivian Bian 2010-08-20 03:13:08 UTC
according to comment 4 set bug status to ASSIGNED

Comment 6 Alan Pevec 2010-08-20 12:03:01 UTC
(In reply to comment #4)

> [root@localhost ~]# ll /dev/disk/by-label/
> total 0
> lrwxrwxrwx. 1 root root 10 Aug 20 03:04 Root -> ../../sda1
> lrwxrwxrwx. 1 root root 10 Aug 20 03:04 RootBackup -> ../../sda2

these should point to dm-* i.e. /dev/mapper/*p1 and p2
like here in blkid output:
# blkid|grep Root
/dev/mapper/0QEMU    QEMU HARDDISK   drive-scsi0-0-1p1: LABEL="Root" UUID="a03ab75f-2055-4d4f-a190-8eb5bf7b742d" TYPE="ext2" 
/dev/mapper/0QEMU    QEMU HARDDISK   drive-scsi0-0-1p2: LABEL="RootBackup" UUID="e9c1dbc1-2085-4dd0-b989-353e8f43517b" TYPE="ext2"

Comment 7 Alan Pevec 2010-08-20 12:10:17 UTC
bug 613754 was reopened for the issue in comment 4
Setting this one back to ON_QA to verify scsi drivers are now included.

Comment 8 Vivian Bian 2010-08-20 12:45:03 UTC
(In reply to comment #7)
> bug 613754 was reopened for the issue in comment 4
> Setting this one back to ON_QA to verify scsi drivers are now included.

[root@localhost ~]# gzip -dc /live/isolinux/initrd0.img |cpio -it|grep drivers/scsi
lib/modules/2.6.32-66.el6.x86_64/kernel/drivers/scsi
lib/modules/2.6.32-66.el6.x86_64/kernel/drivers/scsi/sr_mod.ko
lib/modules/2.6.32-66.el6.x86_64/kernel/drivers/scsi/sd_mod.ko
lib/modules/2.6.32-66.el6.x86_64/kernel/drivers/scsi/scsi_transport_spi.ko
lib/modules/2.6.32-66.el6.x86_64/kernel/drivers/scsi/sym53c8xx_2
lib/modules/2.6.32-66.el6.x86_64/kernel/drivers/scsi/sym53c8xx_2/sym53c8xx.ko
lib/modules/2.6.32-66.el6.x86_64/kernel/drivers/scsi/aic7xxx
lib/modules/2.6.32-66.el6.x86_64/kernel/drivers/scsi/aic7xxx/aic7xxx.ko
lib/modules/2.6.32-66.el6.x86_64/kernel/drivers/scsi/aic7xxx/aic79xx.ko
lib/modules/2.6.32-66.el6.x86_64/kernel/drivers/scsi/scsi_transport_sas.ko
lib/modules/2.6.32-66.el6.x86_64/kernel/drivers/scsi/scsi_wait_scan.ko
lib/modules/2.6.32-66.el6.x86_64/kernel/drivers/scsi/device_handler
lib/modules/2.6.32-66.el6.x86_64/kernel/drivers/scsi/device_handler/scsi_dh_rdac.ko
lib/modules/2.6.32-66.el6.x86_64/kernel/drivers/scsi/3w-9xxx.ko
lib/modules/2.6.32-66.el6.x86_64/kernel/drivers/scsi/3w-sas.ko
lib/modules/2.6.32-66.el6.x86_64/kernel/drivers/scsi/3w-xxxx.ko
lib/modules/2.6.32-66.el6.x86_64/kernel/drivers/scsi/aacraid
lib/modules/2.6.32-66.el6.x86_64/kernel/drivers/scsi/aacraid/aacraid.ko
lib/modules/2.6.32-66.el6.x86_64/kernel/drivers/scsi/libsas
lib/modules/2.6.32-66.el6.x86_64/kernel/drivers/scsi/libsas/libsas.ko
lib/modules/2.6.32-66.el6.x86_64/kernel/drivers/scsi/aic94xx
lib/modules/2.6.32-66.el6.x86_64/kernel/drivers/scsi/aic94xx/aic94xx.ko
lib/modules/2.6.32-66.el6.x86_64/kernel/drivers/scsi/arcmsr
lib/modules/2.6.32-66.el6.x86_64/kernel/drivers/scsi/arcmsr/arcmsr.ko
lib/modules/2.6.32-66.el6.x86_64/kernel/drivers/scsi/scsi_transport_iscsi.ko
lib/modules/2.6.32-66.el6.x86_64/kernel/drivers/scsi/libiscsi.ko
lib/modules/2.6.32-66.el6.x86_64/kernel/drivers/scsi/be2iscsi
lib/modules/2.6.32-66.el6.x86_64/kernel/drivers/scsi/be2iscsi/be2iscsi.ko
lib/modules/2.6.32-66.el6.x86_64/kernel/drivers/scsi/scsi_tgt.ko
lib/modules/2.6.32-66.el6.x86_64/kernel/drivers/scsi/scsi_transport_fc.ko
lib/modules/2.6.32-66.el6.x86_64/kernel/drivers/scsi/bfa
lib/modules/2.6.32-66.el6.x86_64/kernel/drivers/scsi/bfa/bfa.ko
lib/modules/2.6.32-66.el6.x86_64/kernel/drivers/scsi/libiscsi_tcp.ko
lib/modules/2.6.32-66.el6.x86_64/kernel/drivers/scsi/cxgb3i
lib/modules/2.6.32-66.el6.x86_64/kernel/drivers/scsi/cxgb3i/cxgb3i.ko
lib/modules/2.6.32-66.el6.x86_64/kernel/drivers/scsi/libfc
lib/modules/2.6.32-66.el6.x86_64/kernel/drivers/scsi/libfc/libfc.ko
lib/modules/2.6.32-66.el6.x86_64/kernel/drivers/scsi/fcoe
lib/modules/2.6.32-66.el6.x86_64/kernel/drivers/scsi/fcoe/libfcoe.ko
lib/modules/2.6.32-66.el6.x86_64/kernel/drivers/scsi/fcoe/fcoe.ko
lib/modules/2.6.32-66.el6.x86_64/kernel/drivers/scsi/fnic
lib/modules/2.6.32-66.el6.x86_64/kernel/drivers/scsi/fnic/fnic.ko
lib/modules/2.6.32-66.el6.x86_64/kernel/drivers/scsi/hpsa.ko
lib/modules/2.6.32-66.el6.x86_64/kernel/drivers/scsi/hptiop.ko
lib/modules/2.6.32-66.el6.x86_64/kernel/drivers/scsi/imm.ko
lib/modules/2.6.32-66.el6.x86_64/kernel/drivers/scsi/initio.ko
lib/modules/2.6.32-66.el6.x86_64/kernel/drivers/scsi/ips.ko
lib/modules/2.6.32-66.el6.x86_64/kernel/drivers/scsi/osd
lib/modules/2.6.32-66.el6.x86_64/kernel/drivers/scsi/osd/libosd.ko
lib/modules/2.6.32-66.el6.x86_64/kernel/drivers/scsi/osd/osd.ko
lib/modules/2.6.32-66.el6.x86_64/kernel/drivers/scsi/libsrp.ko
lib/modules/2.6.32-66.el6.x86_64/kernel/drivers/scsi/lpfc
lib/modules/2.6.32-66.el6.x86_64/kernel/drivers/scsi/lpfc/lpfc.ko
lib/modules/2.6.32-66.el6.x86_64/kernel/drivers/scsi/megaraid
lib/modules/2.6.32-66.el6.x86_64/kernel/drivers/scsi/megaraid/megaraid_mm.ko
lib/modules/2.6.32-66.el6.x86_64/kernel/drivers/scsi/megaraid/megaraid_mbox.ko
lib/modules/2.6.32-66.el6.x86_64/kernel/drivers/scsi/megaraid/megaraid_sas.ko
lib/modules/2.6.32-66.el6.x86_64/kernel/drivers/scsi/raid_class.ko
lib/modules/2.6.32-66.el6.x86_64/kernel/drivers/scsi/mpt2sas
lib/modules/2.6.32-66.el6.x86_64/kernel/drivers/scsi/mpt2sas/mpt2sas.ko
lib/modules/2.6.32-66.el6.x86_64/kernel/drivers/scsi/mvsas
lib/modules/2.6.32-66.el6.x86_64/kernel/drivers/scsi/mvsas/mvsas.ko
lib/modules/2.6.32-66.el6.x86_64/kernel/drivers/scsi/osst.ko
lib/modules/2.6.32-66.el6.x86_64/kernel/drivers/scsi/pmcraid.ko
lib/modules/2.6.32-66.el6.x86_64/kernel/drivers/scsi/qla2xxx
lib/modules/2.6.32-66.el6.x86_64/kernel/drivers/scsi/qla2xxx/qla2xxx.ko
lib/modules/2.6.32-66.el6.x86_64/kernel/drivers/scsi/qla4xxx
lib/modules/2.6.32-66.el6.x86_64/kernel/drivers/scsi/qla4xxx/qla4xxx.ko
lib/modules/2.6.32-66.el6.x86_64/kernel/drivers/scsi/stex.ko
lib/modules/2.6.32-66.el6.x86_64/kernel/drivers/scsi/iscsi_tcp.ko
88739 blocks

scsi drivers are loaded , and for exact local SATA disk 
[root@localhost 0000:00:11.0]# readlink driver 
 ../../../bus/pci/drivers/ahci

Comment 9 Vivian Bian 2010-08-20 13:56:42 UTC
and for drives on VMs (virtio qemu qcow2 image)
[root@rhevh6 virtio0]# readlink driver 
../../../bus/virtio/drivers/virtio_blk

With virtio qcow2 image, could install RHEVH and boot into the os successfully . No "can't find root device " issue . 

So set bug status to VERIFIED

Comment 10 releng-rhel@redhat.com 2010-11-11 16:21:14 UTC
Red Hat Enterprise Linux 6.0 is now available and should resolve
the problem described in this bug report. This report is therefore being closed
with a resolution of CURRENTRELEASE. You may reopen this bug report if the
solution does not work for you.


Note You need to log in before you can comment on or make changes to this bug.