Hide Forgot
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
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!
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.
(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