Bug 1324503

Summary: Grub info of NGN 4.0 is incorrect
Product: [oVirt] ovirt-node Reporter: cshao <cshao>
Component: GeneralAssignee: Fabian Deutsch <fdeutsch>
Status: CLOSED CURRENTRELEASE QA Contact: cshao <cshao>
Severity: high Docs Contact:
Priority: unspecified    
Version: 4.0CC: bugs, fdeutsch, huzhao, leiwang, yaniwang, ycui
Target Milestone: ovirt-4.0.0-betaFlags: rule-engine: ovirt-4.0.0+
ycui: testing_plan_complete?
rule-engine: planning_ack+
rule-engine: devel_ack+
cshao: testing_ack+
Target Release: 4.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ovirt-node-ng-installer-master-20160407.iso Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-07-05 07:53:17 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:
Attachments:
Description Flags
grub none

Description cshao 2016-04-06 13:41:55 UTC
Created attachment 1144226 [details]
grub

Description of problem:
Grub info of NGN 4.0 is incorrect, it show as "CentOS Linux (3.10.0-327.13.1.el7.x86_64) 7 (Core)"

Version-Release number of selected component (if applicable):
ovirt-node-ng-installer-master-20160405.iso
squashfs.20160405
ovirt-node-ng-image-update-placeholder-4.0.0-0.2.alpha1.20160405123556.gitbd184ec.el7.noarch
imgbased-0.5-0.201604040928gitd6a85f8.el7.centos.noarch
ovirt-release-host-node-4.0.0-0.2.alpha1.20160405123556.gitbd184ec.el7.noarch

How reproducible:
100%

Steps to Reproduce:
1. Boot from PXE and manual install ngn 4.0.
2. Finish the installation with correct steps.
3. Reboot and focus on Grub.

Actual results:
Grub info of NGN 4.0 is incorrect, it show as "CentOS Linux (3.10.0-327.13.1.el7.x86_64) 7 (Core)"

Expected results:
Grub show as oVirt-Node 4.0


Additional info:
### BEGIN /etc/grub.d/10_linux ###
menuentry 'CentOS Linux (3.10.0-327.13.1.el7.x86_64) 7 (Core)' --class centos --class gnu-linux --class gnu --class os --unrestricted $menuentry_id_option 'gnulinux-3.10.0-327.13.1.el7.x86_64-advanced-/dev/mapper/centos_bootp--73--75--134-root' {
	load_video
	set gfxpayload=keep
	insmod gzio
	insmod part_msdos
	insmod xfs
	set root='hd0,msdos1'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint='hd0,msdos1'  a73dbde5-fffc-46ee-a1ef-1d874173e533
	else
	  search --no-floppy --fs-uuid --set=root a73dbde5-fffc-46ee-a1ef-1d874173e533
	fi
	linux16 /vmlinuz-3.10.0-327.13.1.el7.x86_64 root=/dev/mapper/centos_bootp--73--75--134-root ro crashkernel=auto rd.lvm.lv=centos_bootp-73-75-134/root rd.lvm.lv=centos_bootp-73-75-134/swap biosdevname=0 rhgb quiet LANG=en_US.UTF-8
	initrd16 /initramfs-3.10.0-327.13.1.el7.x86_64.img

Comment 1 Fabian Deutsch 2016-04-06 20:23:57 UTC
Chen,
please chek after bootign with imgbase layout and imgbase w that the layout is correct and that you have booted into the correct image/entry.

To me it looks as if the layout initialization did not complete.
It could be a bug which was in the images between April 04 and 05.

Please retry with ovirt-node-ng-installer-master-20160407.iso

Comment 2 cshao 2016-04-07 10:15:50 UTC
(In reply to Fabian Deutsch from comment #1)
> Chen,
> please chek after bootign with imgbase layout and imgbase w that the layout
> is correct and that you have booted into the correct image/entry.
> 
Actually this should be clean install, and I can sure I booted into the correct image.

> To me it looks as if the layout initialization did not complete.
> It could be a bug which was in the images between April 04 and 05.
> 
> Please retry with ovirt-node-ng-installer-master-20160407.iso

I will have a try after finish ovirt-node-ng-installer-master-20160405 test.

Comment 3 cshao 2016-06-02 09:28:10 UTC
Test version:
u/s:
ovirt-node-ng-installer-master-2016053104.iso  
Grub show as "ovirt-node-ng-4.0.0-0.20160531.0"
The layout of boot entry show as "Centos Linux (3.10.0-xxx) 7 core"


d/s:
rhev-hypervisor7-ng-4.0-20160527.0
imgbased-0.7.0-0.1.el7ev.noarch
Grub show as "Red Hat Enterprise Linux(3.10.xxx) 7.2"

Bug 1334714 can trace the layout issue.
So the bug is fixed, change bug status to VERIFIED.

Comment 4 Sandro Bonazzola 2016-07-05 07:53:17 UTC
oVirt 4.0.0 has been released, closing current release.