Bug 1377436

Summary: /usb-device-name is already mounted or /run/initramfs/live busy
Product: Red Hat Enterprise Linux 7 Reporter: Douglas Schilling Landgraf <dougsland>
Component: dracutAssignee: Lukáš Nykrýn <lnykryn>
Status: CLOSED CANTFIX QA Contact: Release Test Team <release-test-team>
Severity: high Docs Contact:
Priority: high    
Version: 7.2CC: dracut-maint-list, fdeutsch, harald
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-10-14 19:15:45 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:
Bug Depends On:    
Bug Blocks: 1377202    
Attachments:
Description Flags
blkid
none
dmesg
none
multipath-ll
none
rdsosreport
none
logs from rhev-hypervisor7-7.3 boot none

Description Douglas Schilling Landgraf 2016-09-19 17:16:59 UTC
Description of problem:
RHEV-H 7.2 - 3.6 cannot be installed via USB device.

Version-Release number of selected component (if applicable):
dracut-033-360.el7_2.1.x86_64
kernel-3.10.0-327.28.3.el7.x86_64


How reproducible:

Steps to Reproduce:

1. dd if=rhev-hypervisor7-7.2-20160913.0.iso  of=/dev/sdb 
2. Boot the usb device
3. System halted

Actual results:

Removing rhdg and quiet:

"""
dracut-initqueue[435]: mount: /dev/mapper/Kingston_DT_101_G2_001CC0EC30C4C2025542374-0:0 is already mounted or /run/initramfs/live busy
dracut: FATAL: Failed to mount block device of live image
dracut: Refusing to continue
System halted
"""


Expected results:
Boot without issues

Additional info:
Adding nompath in the karg make the boot proceed.

Comment 1 Douglas Schilling Landgraf 2016-09-19 17:17:37 UTC
Created attachment 1202558 [details]
blkid

Comment 2 Douglas Schilling Landgraf 2016-09-19 17:18:21 UTC
Created attachment 1202560 [details]
dmesg

Comment 3 Douglas Schilling Landgraf 2016-09-19 17:18:41 UTC
Created attachment 1202561 [details]
multipath-ll

Comment 4 Douglas Schilling Landgraf 2016-09-19 17:19:07 UTC
Created attachment 1202562 [details]
rdsosreport

Comment 6 Harald Hoyer 2016-10-13 07:16:16 UTC
Please add "rd.debug" to the kernel command line and remove "rhgb" and post the logs again. Thank you!

Comment 7 Douglas Schilling Landgraf 2016-10-13 19:10:59 UTC
Hi Harald,

(In reply to Harald Hoyer from comment #6)
> Please add "rd.debug" to the kernel command line and remove "rhgb" and post
> the logs again. Thank you!

From rdsosreport attached, looks like it includes the rd.debug, Am I missing any step?

initrd=initrd0.img root=live:CDLABEL=rhev-hypervisor7-7.2-20160913.0 rootfstype=auto ro rd.live.image rd.live.check crashkernel=256M rd_NO_MULTIPATH rootflags=ro elevator=deadline install rd.shell rd.debug max_loop=256 rd.luks=0 rd.md=0 rd.dm=0  BOOT_IMAGE=vmlinuz0 

Thanks!

Comment 8 Douglas Schilling Landgraf 2016-10-13 19:19:51 UTC
Created attachment 1210228 [details]
logs from rhev-hypervisor7-7.3 boot

Comment 9 Douglas Schilling Landgraf 2016-10-13 19:21:19 UTC
Harold,

I have build RHEV-H 7.3 based on RHEL 7.3 and still the same issue when booting via USB the iso. Now we have attached logs from 7.2 and 7.3, please let me know if you need any additional data.

Thanks!

Comment 10 Harald Hoyer 2016-10-14 09:56:02 UTC
Does it help, if you add "nompath" to the kernel command line?

Comment 11 Douglas Schilling Landgraf 2016-10-14 12:46:01 UTC
(In reply to Harald Hoyer from comment #10)
> Does it help, if you add "nompath" to the kernel command line?

Yes.

Comment 12 Fabian Deutsch 2016-10-14 19:15:45 UTC
It looks like this is the all famous multipath bug we see with vintage RHEV-H.

We have seen it several times before. It can not be fixed with vintage RHEV-H, because vintage RHEV-H contains a specific multipath.conf created by vdsm which is causing this issue.