Bug 1322727

Summary: Usb driver boot fail when using "dd" to make boot.iso in usb-disk
Product: [oVirt] ovirt-node Reporter: Wei Wang <weiwang>
Component: Installation & UpdateAssignee: Fabian Deutsch <fdeutsch>
Status: CLOSED CURRENTRELEASE QA Contact: Wei Wang <weiwang>
Severity: high Docs Contact:
Priority: high    
Version: 4.0CC: bugs, cshao, fdeutsch, huzhao, leiwang, weiwang, yaniwang, ycui
Target Milestone: ovirt-4.0.0-alphaFlags: rule-engine: ovirt-4.0.0+
rule-engine: planning_ack+
fdeutsch: devel_ack+
cshao: testing_ack+
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ovirt-node-ng-installer-master-2016041020.iso Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-07-05 07:56:48 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Node RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Wei Wang 2016-03-31 08:42:57 UTC
Description of problem:
Usb driver boot fail when using "dd" to make boot.iso in usb-disk

Version-Release number of selected component (if applicable):
ovirt-node-ng-nightly-boot-20160323.iso
squashfs.20160323
ovirt-node-ng-image-update-placeholder-005-1.el7.noarch  
imgbased-0.5-0.201603181316git77345d3.el7.centos.noarch                         
ovirt-release-host-node-005-1.el7.noarch 

How reproducible:
100%

Steps to Reproduce:
1. using "dd" to make boot driver for usb-disk
2. Press F12 when boot up test host
3. Select "USB Device"
4. "Selected boot device not available..." message is display, and host cannot be boot successfully


Actual results:
Host cannot be boot successfully


Expected results:
Host can be boot successfully


Additional info:

Comment 1 Wei Wang 2016-04-11 03:16:04 UTC
After test with the ovirt4.0.0 alpha1 (ovirt-node-ng-installer-master-20160405.iso ), the issue is still occur.

The steps are as below:
1. using "dd" to make boot driver for usb-disk
   dd if=ovirt-node-ng-installer-master-20160405.iso of=/dev/sdb bs=1M
2. Press F12 when boot up test host
3. Select "USB Device"
4. "Selected boot device not available..." message is display, and host cannot be boot successfully

Comment 2 Red Hat Bugzilla Rules Engine 2016-04-11 03:16:10 UTC
Target release should be placed once a package build is known to fix a issue. Since this bug is not modified, the target version has been reset. Please use target milestone to plan a fix for a oVirt release.

Comment 3 Fabian Deutsch 2016-04-11 08:32:56 UTC
Wei, could you tell me from which branch you took the build?

I just tested the following locally:

1. Create ISO without isohybrid
2. Create ISO with isohybrid

Results:
After 1: Failed to boot with qemu-kvm -hda …
After 2: Succes to boot with qemu-kvm -hda …

This shows that the patch makes a difference.

Wei, could you please retry to verify this bug with the build from the master branch today?

Comment 4 Wei Wang 2016-04-12 06:20:19 UTC
Fabian, I retest this issue with ovirt-node-ng-installer-master-2016041020.iso, the bug is not verified.

Test step:
1. Using dd command to create USB bootdisk

   #dd if=ovirt-node-ng-installer-master-2016041020.iso of=/dev/sdb bs=1M

2. Press F12 when boot up test host
3. Select "USB Device"
4. Check the boot up process

Result:
System cannot be booted up successfully, it will suspend on the splash at all, cannot meet the OS welcome frame.

Comment 5 Wei Wang 2016-04-12 06:21:15 UTC
remove the needinfo requests to me.

Comment 6 Fabian Deutsch 2016-04-12 08:41:11 UTC
Can you try this on a second host?
Please also ensure that BIOS/CSM mode is enabled

Comment 7 Ying Cui 2016-04-14 01:34:37 UTC
Wei, I did not encounter this issue with the iso ovirt-node-ng-installer-ovirt-3.6-2016041320.iso, (In reply to Fabian Deutsch from comment #3)
> Wei, could you tell me from which branch you took the build?

Fabian, we downloaded the build from ovirt-3.6 branch, once we get devel a notice to change testing to master branch as we talked, we will change the upstream build testing to master.

Comment 8 Ying Cui 2016-04-14 01:43:31 UTC
Tested the master ovirt-node-ng build(ovirt-node-ng-installer-master-2016041320.iso), I still can not reproduce the issue described in bug description and comment 4.

Comment 9 Wei Wang 2016-04-14 03:01:36 UTC
After check my test steps again, now I did not encounter this issue, the bug is verified.

Comment 11 Wei Wang 2016-04-14 04:03:02 UTC
Correct myself for comment 1 and comment 4, the steps test as the following.

Version:
ovirt-node-ng-installer-master-20160405.iso
ovirt-node-ng-installer-master-2016041320.iso

Test steps to verify this bug:
1. using "dd" to make boot driver for usb-disk
   dd if=ovirt-node-ng-installer-master-2016041320.iso of=/dev/sdb bs=1M
2. Press F12 etner boot menu
3. Select "USB Device", _argument_ in sequence setting: inst.ks=
4. Host can be boot successfully

BTW:
Thanks for ycui's help. 

@fabian
After you assign status from ASSIGNED to ON_QA, I will VERIFIED this bug.

Comment 12 Wei Wang 2016-04-14 04:24:20 UTC
Correct myself for comment 11:

1. bug still occur in version ovirt-node-ng-installer-master-20160405.iso
2. bug is fixed in version ovirt-node-ng-installer-master-2016041320.iso

Comment 13 Sandro Bonazzola 2016-07-05 07:56:48 UTC
oVirt 4.0.0 has been released, closing current release.