| Summary: | netconsole fail to work with custom port | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 5 | Reporter: | Mohua Li <moli> | ||||
| Component: | vdsm22 | Assignee: | Dan Kenigsberg <dkenigsb> | ||||
| Status: | CLOSED WONTFIX | QA Contact: | yeylon <yeylon> | ||||
| Severity: | high | Docs Contact: | |||||
| Priority: | high | ||||||
| Version: | 5.7 | CC: | abaron, apevec, bazulay, cshao, gouyang, iheim, leiwang, mburns, srevivo, ycui, ykaul | ||||
| Target Milestone: | rc | Keywords: | Reopened | ||||
| Target Release: | --- | ||||||
| Hardware: | x86_64 | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2011-07-07 03:58:37 UTC | Type: | --- | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Attachments: |
|
||||||
Created attachment 511471 [details]
netstat output from rhevm
netconsole is not part of rhev-m in 3.0 any longer and just use rhel's netconsole if needed. |
Description of problem: configure netconsole with user define port(30000), rhev-hypervisor status is up on rhev-m side, but although port 30000 not used by any app on rhevm side, rhevm still keep listen on the default port(25285), didn't aware the change(should listen on udp & port is 30000), so there is no printk info from rhev-hypervisor, vdsm/vdsm-reg should notify rhevm the change, detail you could see below, and the attachment for netstat ouput on rhevm side, as this is the communication between rhev-hypervisor & rhev-m, so i set the component to vdsm /etc/vdsm-reg/vdsm-reg.conf ..................... #NetConsole settings nc_host_name=10.66.8.141 nc_host_port=30000 /etc/sysconfig/netconsole(still not change) DEV=rhevm # The IP address of the remote syslog server to send messages to SYSLOGADDR=10.66.72.87 # The listening port of the remote syslog daemon SYSLOGPORT=30000 MainThread::DEBUG::2011-07-06 13:02:36,006::deployUtil::85::root:: MainThread::DEBUG::2011-07-06 13:02:36,006::deployUtil::701::root::netconsole_write_conf: next_hop_hw 00:24:21:7F:B7:3A, remote_ip 10.66.72.87, remote_port 30000 MainThread::DEBUG::2011-07-06 13:02:36,007::deployUtil::650::root::_updateFileLine: entry. File: /etc/sysconfig/netconsole key=DEV value=rhevm MainThread::DEBUG::2011-07-06 13:02:36,009::deployUtil::669::root::_updateFileLine: replacing DEV=rhevm with: DEV=rhevm MainThread::DEBUG::2011-07-06 13:02:36,010::deployUtil::689::root::_updateFileLine: return: True MainThread::DEBUG::2011-07-06 13:02:36,010::deployUtil::650::root::_updateFileLine: entry. File: /etc/sysconfig/netconsole key=SYSLOGMACADDR value=00:24:21:7F:B7:3A MainThread::DEBUG::2011-07-06 13:02:36,012::deployUtil::669::root::_updateFileLine: replacing SYSLOGMACADDR=00:24:21:7F:B7:3A with: SYSLOGMACADDR=00:24:21:7F:B7:3A MainThread::DEBUG::2011-07-06 13:02:36,012::deployUtil::689::root::_updateFileLine: return: True MainThread::DEBUG::2011-07-06 13:02:36,012::deployUtil::650::root::_updateFileLine: entry. File: /etc/sysconfig/netconsole key=SYSLOGADDR value=10.66.72.87 MainThread::DEBUG::2011-07-06 13:02:36,014::deployUtil::669::root::_updateFileLine: replacing SYSLOGADDR=10.66.72.87 with: SYSLOGADDR=10.66.72.87 MainThread::DEBUG::2011-07-06 13:02:36,014::deployUtil::689::root::_updateFileLine: return: True MainThread::DEBUG::2011-07-06 13:02:36,015::deployUtil::650::root::_updateFileLine: entry. File: /etc/sysconfig/netconsole key=SYSLOGPORT value=30000 MainThread::DEBUG::2011-07-06 13:02:36,016::deployUtil::669::root::_updateFileLine: replacing SYSLOGPORT=3000 with: SYSLOGPORT=30000 MainThread::DEBUG::2011-07-06 13:02:36,017::deployUtil::689::root::_updateFileLine: return: True MainThread::DEBUG::2011-07-06 13:02:36,017::deployUtil::650::root::_updateFileLine: entry. File: /etc/vdsm/vdsm.conf key=netconsole_enable value=true MainThread::DEBUG::2011-07-06 13:02:36,018::deployUtil::669::root::_updateFileLine: replacing netconsole_enable=true with: netconsole_enable=true /var/log/messages, Jul 6 03:29:04 amd-1216-8-5 kernel: netconsole: local port 6666 Jul 6 03:29:04 amd-1216-8-5 kernel: netconsole: local IP 10.66.72.21 Jul 6 03:29:04 amd-1216-8-5 kernel: netconsole: interface rhevm Jul 6 03:29:04 amd-1216-8-5 kernel: netconsole: remote port 30000 Jul 6 03:29:04 amd-1216-8-5 kernel: netconsole: remote IP 10.66.72.87 Jul 6 03:29:04 amd-1216-8-5 kernel: netconsole: remote ethernet address 00:24: Version-Release number of selected component (if applicable): 5.7-20110629 How reproducible: always Steps to Reproduce: 1.configure netconsole with custom port(30000) 2.approve rhev-hypervisor on rhevm side 3.check the netconsole Actual results: Expected results: Additional info: