Bug 924527

Summary: Miss "splash.xpm.gz" in (hd0, 0)/grub/ after enabled iSCSI boot via PXE.
Product: Red Hat Enterprise Linux 6 Reporter: haiyang,dong <hadong>
Component: ovirt-nodeAssignee: Ryan Barry <rbarry>
Status: CLOSED ERRATA QA Contact: Virtualization Bugs <virt-bugs>
Severity: medium Docs Contact:
Priority: medium    
Version: 6.4CC: acathrow, bsarathy, cboyle, cshao, fdeutsch, gouyang, hadong, jboggs, leiwang, mburns, ovirt-maint, rbarry, tlavigne, ycui
Target Milestone: rcKeywords: Regression
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ovirt-node-3.0.1-10.el6 Doc Type: Bug Fix
Doc Text:
When performing an Auto Install of the hypervisor with the following parameters: BOOTIF=eth0 storage_init=/dev/sda,/dev/sdb iscsi_init=/dev/sdb iscsi_target_name=iqn.2013-02.com:hadong iscsi_install iscsi_server=10.66.11.102:3260 firstboot The Auto Install succeeded,but when booting the hypervisor, then entering the grub menu and pressing the "e" key to edit the kernel the command line failed . This has now been resolved, previously, splash.xpm was copied to /liveos in all cases. Now it is put on the proper boot volume if it's an iSCSI install.
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-01-21 19:28:16 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:
Embargoed:
Bug Depends On:    
Bug Blocks: 520111    
Attachments:
Description Flags
attached the ovirt.log none

Description haiyang,dong 2013-03-22 01:52:05 UTC
Created attachment 714221 [details]
attached the ovirt.log

Description of problem:
Auto install RHEV-H with follow parameters.
BOOTIF=eth0 storage_init=/dev/sda,/dev/sdb iscsi_init=/dev/sdb iscsi_target_name=iqn.2013-02.com:hadong iscsi_install iscsi_server=10.66.11.102:3260
firstboot
After auto install success, then boot rhev-h and enter grub menu, press "e" key to edit kernel command line failed .

workground here:edit /dev/.initramfs/live/grub/grub.conf and delete the splashscreen line.

The root cause happen here:Miss "splash.xpm.gz" in (hd0,0)/grub/ 
After view ovirt.log, found the issue:
2013-03-21 09:33:28,997 - DEBUG - ovirtfunctions - cp /live/EFI/BOOT/splash.xpm.gz /liveos/grub

rhev-h cp "squashfs.img" into "/liveos/LiveOS", not /boot/grub,

so "cp /live/EFI/BOOT/splash.xpm.gz /boot/grub" can fix this issue.


Version-Release number of selected component (if applicable):
rhev-hypervisor6-6.4-20130318.1.el6_4

How reproducible:
100%
  
Steps to Reproduce:
1.Auto install rhev-h with 
with "BOOTIF=eth0 storage_init=/dev/sda,/dev/sdb iscsi_init=/dev/sdb iscsi_target_name=iqn.2013-02.com:hadong iscsi_install iscsi_server=10.66.11.102:3260
firstboot" parameter

Actual result:

Expect result:

Comment 3 haiyang,dong 2013-10-19 13:21:53 UTC
Test version:
rhev-hypervisor6-6.5-20131017.0.iso
ovirt-node-3.0.1-4.el6

Test step:
BOOTIF=eth0 storage_init=/dev/sda,/dev/sdb iscsi_init=/dev/sdb iscsi_target_name=iqn.2013-01.com:hadong iscsi_install iscsi_server=10.66.11.127:3260 firstboot

After auto install success, then boot rhev-h and enter grub menu, press "e" key to edit kernel command line success .
Also could find "splash.xpm.gz" in (hd0,1)/grub/ 
So this bug has been fixed, change the status of this bug from "ON_QA" to "VERIFIED".

Comment 5 Cheryn Tan 2013-11-08 00:28:50 UTC
This bug is currently attached to errata RHBA-2013:15277. If this change is not to be documented in the text for this errata please either remove it from the errata, set the requires_doc_text flag to minus (-), or leave a "Doc Text" value of "--no tech note required" if you do not have permission to alter the flag.

Otherwise to aid in the development of relevant and accurate release documentation, please fill out the "Doc Text" field above with these four (4) pieces of information:

* Cause: What actions or circumstances cause this bug to present.
* Consequence: What happens when the bug presents.
* Fix: What was done to fix the bug.
* Result: What now happens when the actions or circumstances above occur. (NB: this is not the same as 'the bug doesn't present anymore')

Once filled out, please set the "Doc Type" field to the appropriate value for the type of change made and submit your edits to the bug.

For further details on the Cause, Consequence, Fix, Result format please refer to:

https://bugzilla.redhat.com/page.cgi?id=fields.html#cf_release_notes 

Thanks in advance.

Comment 6 haiyang,dong 2013-12-14 08:35:53 UTC
Could reproduce this bug on the follow version:
ovirt-node-3.0.1-9.el6_5.noarch.rpm
rhevh-6.5-20131213.0.0.iso

so need to reassigned it.Also it's regression from ovirt-node-3.0.1-4.el6 to ovirt-node-3.0.1-9.el6_5.

Change the line "splashimage=(hd0,1)/grub/splash.xpm.gz" of the "grub.conf" into "splashimage=(hd0,2)/grub/splash.xpm.gz"  can resolve this issue.

Comment 7 haiyang,dong 2013-12-27 05:57:41 UTC
Test version:
rhevh-6.5-20131220.0
ovirt-node-3.0.1-13.el6_5.noarch

Test step:
BOOTIF=eth0 storage_init=/dev/sda,/dev/sdb iscsi_init=/dev/sdb iscsi_target_name=iqn.2013-01.com:hadong iscsi_install iscsi_server=10.66.11.127:3260 firstboot

After auto install success, then boot rhev-h and enter grub menu, press "e" key to edit kernel command line success .
Also could find "splash.xpm.gz" in (hd0,2)/grub/ 
So this bug has been fixed, after the status changed into "ON_QA", I will verify it.

Comment 8 haiyang,dong 2014-01-07 05:10:33 UTC
According to comment 7, changed the status into "verified"

Comment 10 errata-xmlrpc 2014-01-21 19:28:16 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-2014-0033.html