Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 756701

Summary: oVirt boot parameters "netconsole_server" doesn't work
Product: Red Hat Enterprise Linux 6 Reporter: cshao <cshao>
Component: DocumentationAssignee: Laura Bailey <lbailey>
Status: CLOSED CURRENTRELEASE QA Contact: ecs-bugs
Severity: medium Docs Contact:
Priority: medium    
Version: 6.2CC: acathrow, apevec, bsarathy, gouyang, jboggs, jskeoch, leiwang, mburns, moli, ovirt-maint, syeghiay, ycui
Target Milestone: rcKeywords: Documentation, Reopened
Target Release: 6.2   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-12-08 17:18:53 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description cshao 2011-11-24 10:39:16 UTC
Description of problem:
oVirt boot parameters "netconsole" doesn't work

Version-Release number of selected component (if applicable):
rhev-hypervisor6-6.2-20111117.1.el6

How reproducible:
100%

Steps to Reproduce:
1. Auto install RHEV-H with parameters "storage_init=/dev/mapper/3600*4fe storage_vol=::::: netconsole_server=$ip local_boot firstboot"
2. Boot into rescue mode, set password. reboot.
3. Enter logging menu, netconsole server address is blank.
  
Actual results:
oVirt boot parameters "netconsole" doesn't work

Expected results:
oVirt boot parameters "netconsole" should work

Additional info:
I think the causes of the problem is in the 570 line (/etc/init.dovirt-early), it should be : netconsole_server=*)

ovirt-early
============================================
    570             netconsole=*)
    571             i=${i#netconsole=}
    572             eval $(printf $i|awk -F: '{print "netconsole_server="$1; print "netconsole_port="$2;}')

============================================
# cat /proc/cmdline 
root=live:LABEL=Root ro rootfstype=ext2 rootflags=ro ksdevice=bootif processor.max_cstate=1 crashkernel=512M-2G:64M,2G-:128M rd_NO_LVM lang= nomodeset rd_NO_LUKS rd_NO_MD quiet elevator=deadline rhgb rd_NO_DM netconsole_server=10.66.11.91:6666

===========================================
cat /boot/grub/grub.conf 
default saved
timeout 5
hiddenmenu
title Red Hat Enterprise Virtualization Hypervisor (6.2-20111117.0)
    root (hd0,2)
    kernel /vmlinuz0 root=live:LABEL=Root ro rootfstype=ext2 rootflags=ro ksdevice=bootif processor.max_cstate=1 crashkernel=512M-2G:64M,2G-:128M rd_NO_LVM lang= nomodeset rd_NO_LUKS rd_NO_MD quiet elevator=deadline rhgb rd_NO_DM netconsole_server=10.66.11.91:6666
    initrd /initrd0.img

Comment 2 Guohua Ouyang 2011-11-25 02:17:40 UTC
The parameters should be netconsole=*, not netconsole_server=*, I tested netconsole=ip:port can work, hence close this bug so far.

If you find any different, please re-open the bug!

Comment 3 Guohua Ouyang 2011-11-25 05:37:06 UTC
re-open this bug because the doc is using "netconsole_server", so we need to make them consistence. 

http://documentation-stage.bne.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/6/html/Hypervisor_Deployment_Guide/sect-Deployment_Guide-RHEV_Hypervisor_Kernel_Parameters_and_Automated_Installation-Other_parameters.html


Mike, which parameter should be used? "netconsole" or "netconsole_server"? 
if use "netconsole", then we should open a Doc bug.
if use "netconsole_server", then need to modify ovirt-early script, include syslog and collectd also.

Comment 4 Alan Pevec 2011-11-28 12:08:14 UTC
(In reply to comment #3)
> http://documentation-stage.bne.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/6/html/Hypervisor_Deployment_Guide/sect-Deployment_Guide-RHEV_Hypervisor_Kernel_Parameters_and_Automated_Installation-Other_parameters.html
> 
> 
> Mike, which parameter should be used? "netconsole" or "netconsole_server"? 
> if use "netconsole", then we should open a Doc bug.

It's netconsole=server[:port] same like syslog parameter:

http://git.fedorahosted.org/git/?p=ovirt/node.git;a=commitdiff;h=7899044b4f1273caf2da234b2a6b71a5890773e2