Bug 1150918

Summary: Can not install rhevh7 through serial console
Product: Red Hat Enterprise Virtualization Manager Reporter: wanghui <huiwa>
Component: ovirt-nodeAssignee: Fabian Deutsch <fdeutsch>
Status: CLOSED ERRATA QA Contact: Virtualization Bugs <virt-bugs>
Severity: high Docs Contact:
Priority: urgent    
Version: 3.5.0CC: aberezin, cshao, ecohen, fdeutsch, gklein, hadong, huiwa, iheim, leiwang, lsurette, yaniwang, ycui
Target Milestone: ---   
Target Release: 3.5.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: node
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-02-11 21:03:55 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:
Bug Depends On:    
Bug Blocks: 1094719    

Description wanghui 2014-10-09 08:00:37 UTC
Description of problem:
It can not install rhevh7 through console. It will jump to log in page directly after finish checking media.
The output of the console is as follows.
================================================================================
[root@agent2 ovirt-node]# minicom

Welcome to minicom 2.5

OPTIONS: I18n 
Compiled on Apr  6 2011, 07:59:01.
Port /dev/ttyS0

Press CTRL-A Z for help on special keys                                                 
                                                                                        
!! Entry Point PMM                                                                      
!! PMM Func00 Alloc                                                                     
! PMM extended                                                                          
!! PMM Allocate Req
!! PMM anonymous req
esi = 00060800
!! PMM records available
!! PMM Exit
/dev/loop0:   4457816a11e1de684a53a402eadb8390
Fragment sums: 8eaabfb26225aa483eacae2632193686f413277de9ce99ae1bdbcbafb44f
Fragment count: 20
Press [Esc] to abort check.
Checking: 100.0%

The media check is complete, the result is: PASS.

It is OK to use this media.

Red Hat Enterprise Virtualization Hypervisor release 7.0 (20141006.0.el7ev)
Kernel 3.10.0-123.8.1.el7.x86_64 on an x86_64 (ttyS0)
dhcp-8-124 login: 
================================================================================

Version-Release number of selected component (if applicable):
rhev-hypervisor7-7.0-20141006.0.el7ev
ovirt-node-3.1.0-0.20.20141006gitc421e04.el7.noarch.rpm

How reproducible:
100%

Steps to Reproduce:
1. Install rhevh through pxe adn add "console=ttyS0,115200n8"
2. Run #minicom in other machine which has the serial line connected and check the output.

Actual results:
1. After step2, it jump to log in page directly without any installation prompt info.

Expected results:
1. Rhevh can be installed through console.

Additional info:

Comment 2 wanghui 2014-12-11 07:21:50 UTC
Test version:
rhevh-7.0-20141119.0.el7ev.iso
ovirt-node-3.1.0-0.27.20141119git24e087e.el7.noarch

Test step:
1. Install rhevh-7.0-20141119.0.el7ev.iso through pxe with append the follow parameters.
   console=ttyS0,115200n8 firstboot
2. Run putty in remote host which linked with ovirt node through serial line 

Test result:
1. After step2, it skip the installation process and jump to login page.

So this bug is not fixed in rhevh-7.0-20141119.0.el7ev.iso. Change the status from ON_QA to Assigned.

Comment 3 Fabian Deutsch 2014-12-11 07:27:45 UTC
This can only be verified with RHEV-H after 1203

Comment 5 Fabian Deutsch 2014-12-15 13:10:08 UTC
We'll verify that today.

Comment 6 Fabian Deutsch 2014-12-15 15:15:28 UTC
(In reply to wanghui from comment #2)
> Test version:
> rhevh-7.0-20141119.0.el7ev.iso
> ovirt-node-3.1.0-0.27.20141119git24e087e.el7.noarch

I can reproduce the bug on the build above.

But I can not reproduce on rhevh-7.0-20141212.0.el7ev.iso anymore.
Let me note that some additional serial related pacthes went into that build.

Comment 7 wanghui 2014-12-17 05:41:33 UTC
Test version:
rhev-hypervisor7-7.0-20141212.0.iso
ovirt-node-3.1.0-0.34.20141210git0c9c493.el7.noarch

Test step:
1. Seclect Install rhevh through pxe with append the follow parameters.
   console=ttyS0,115200n8 firstboot
2. Run minicom in remote host which linked with ovirt node through serial line 
3. Install rhevh through console

Test result:
1. After step2, it skip the installation process and jump to login page directly.

So this bug is not fixed in rhev-hypervisor7-7.0-20141212.0.iso. Change the status from ON_QA to Assigned.

Comment 8 Fabian Deutsch 2014-12-18 14:42:19 UTC
Hui, what host did you use, and are you sure that the console is ttyS0 (and not ttyS1 or something else)?

Comment 9 wanghui 2014-12-22 07:21:36 UTC
Hi Fabian,

I have tested follow machines.

1. Dell OPTIPLEX 790 -- console install rhev-hypervisor7-7.0-20141212.0.iso or rhev-hypervisor7-7.0-20141218.0.iso through pxe -- FAIL
   Dell OPTIPLEX 790 -- console install rhev-hypervisor6-6.6-20141212.0.iso or rhev-hypervisor6-6.6-20141218.0.iso through pxe -- PASS with login installation process page
                    

2. Dell OPTIPLEX 9010 -- console install rhev-hypervisor7-7.0-20141212.0.iso or rhev-hypervisor7-7.0-20141218.0.iso through pxe -- PASS

3. Dell OPTIPLEX 990 -- console install rhev-hypervisor7-7.0-20141212.0.iso or rhev-hypervisor7-7.0-20141218.0.iso through pxe -- PASS

Thanks!
Hui Wang

Comment 10 Fabian Deutsch 2014-12-22 10:09:31 UTC
Hui, according to comment 9 it only affect sone machine. Then please reopen a new bug, specific to that machine, and we can VERIFY this one.

It does not seem to be a general code problem, if it works on some machines, it rather looks like a lower level problem with that specific machine.

Comment 11 wanghui 2014-12-23 06:19:39 UTC
Hi Fabian,

I have tried this issue on another Dell OPTIPLEX 790, it can install rhev-hypervisor7-7.0-20141212.0.iso or rhev-hypervisor7-7.0-20141218.0.iso through pxe succeed. So I think maybe there is something wrong with my hardware. So we considered no need to report a new bug to this machine.

According to comment#9, this issue is fixed in rhev-hypervisor7-7.0-20141212.0.iso now. Change the status from ON_QA to Verified.

Comment 12 Fabian Deutsch 2015-01-08 08:23:12 UTC
Yey.

Comment 14 errata-xmlrpc 2015-02-11 21:03:55 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.

https://rhn.redhat.com/errata/RHEA-2015-0160.html