Bug 1100865 - RHEV-H installer doesn't honour 'syslog' boot paramater.
Summary: RHEV-H installer doesn't honour 'syslog' boot paramater.
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-node
Version: 3.3.0
Hardware: x86_64
OS: Linux
medium
high
Target Milestone: ---
: 3.5.0
Assignee: Joey Boggs
QA Contact: Virtualization Bugs
URL:
Whiteboard: node
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-05-23 16:19 UTC by Prasad Mukhedkar
Modified: 2019-04-28 10:48 UTC (History)
10 users (show)

Fixed In Version: rhev-hypervisor6-6.6-20141218.0.iso rhev-hypervisor7-7.0-20141218.0.iso
Doc Type: Bug Fix
Doc Text:
Support for syslog was missing from the Red Hat Enterprise Virtualization Hypervisor installer which meant syslog was not able to be configured during auto-installation. Now, the syslog parameter is supported as expected and syslog can be configured with the auto-installer using kernel arguments.
Clone Of:
Environment:
Last Closed: 2015-02-11 20:58:31 UTC
oVirt Team: Node
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
RHEV-H installer boot menu showing 'syslog' kernel boot paramater passed. (109.19 KB, image/png)
2014-05-23 16:20 UTC, Prasad Mukhedkar
no flags Details
snapshot showing the parameter actually configures the RHEV-H TUI configuration interface, (9.44 KB, image/png)
2014-05-23 16:21 UTC, Prasad Mukhedkar
no flags Details
rsyslog.conf file (2.35 KB, image/png)
2014-05-23 16:21 UTC, Prasad Mukhedkar
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2015:0160 0 normal SHIPPED_LIVE ovirt-node bug fix and enhancement update 2015-02-12 01:34:52 UTC
oVirt gerrit 28346 0 master MERGED If miss custom Syslog port, using default syslog port "514" to set Never

Description Prasad Mukhedkar 2014-05-23 16:19:20 UTC
Description of problem:

The 'syslog' boot parameter passed at the time of RHEV-H installation doesn't get populated in /etc/rsyslog.conf as expected although the parameter get visible in the RHEV-H TUI configuration interface correctly. 

Version-Release number of selected component (if applicable):

Red Hat Enterprise Virtualization 6.5 

How reproducible:
Always 

Steps to Reproduce:

1. Boot a system using the RHEV-H ISO and append 'syslog=<syslog-server.ip>' parameter in kernel line or pxe boot a system using below command line.

label RHEV-H-6.5-20140407.0.el6ev
    MENU LABEL Install a RHEV 6.5-20140407.0.el6ev Hypervisor
    KERNEL images/vmlinuz-rhevh-6.5-20140407.0.el6ev
    APPEND rootflags=loop initrd=images/initrd-rhevh-6.5-20140407.0.el6ev.img root=live:/rhevh-latest-6.iso rootfstype=auto ro liveimg nomodeset check rootflags=ro crashkernel=512M-2G:64M,2G-:128M elevator=deadline processor.max_cstate=1 rd_NO_LVM rd_NO_LUKS rd_NO_MD rd_NO_DM rdshell pci=bfsort install storage_init=/dev/sda storage_vol=::::: ip=dhcp adminpw=$1$7WPVij7S$NBw1x4Vco5qYXKbHrMP.k1 rhevm_admin_password=$1$YgnzCNr1$sNBoMv1.Sna89HiGL.9Op/ management_server=rhevm3x.mb.adm.riege.de:443 mem_overcommit=1.0 snmp_password=pv73tCmfR ssh_pwauth=1 rhn_type=classic rhn_username=dummy rhn_password=dummy rhn_activationkey=1-rhevh rhn_url=https://satellite.riege.local rhn_ca_cert=https://satellite.riege.local/pub/RHN-ORG-TRUSTED-SSL-CERT syslog=syslog.mb.riege.local
    IPAPPEND 2

(Im am referring to the last parameter: "syslog=syslog.mb.riege.local", which is documented in the hypervisor deployment guide @ 
https://access.redhat.com/site/documentation/en-US/Red_Hat_Enterprise_Virtualization/3.2/html/Hypervisor_Deployment_Guide/sect-Deployment_Guide-RHEV_Hypervisor_Kernel_Parameters_and_Automated_Installation-Other_parameters.html)


2.  Complete the installation as usually done. Upon completing the installation, Navigate to 'logging' tab in RHEV-H TUI (RHEV-H configuration interface)

3. In TUI, The rsyslog server information will correctly show but /etc/rsyslog.conf file will not get updated. 

Actual results:

Remote Logging doesn't work as the remote rsyslog server dosn't reach to rsyslog daemon running on the system. rsyslog daemon reads configuration 
from /etc/rsyslog.conf. 

Expected results:

RHEV-H Installer should update the /etc/rsyslog.conf file with the remote logging server information passed using 'syslog' parameter.

Additional info:

Comment 1 Prasad Mukhedkar 2014-05-23 16:20:20 UTC
Created attachment 898725 [details]
RHEV-H installer boot menu showing  'syslog' kernel boot paramater passed.

Comment 2 Prasad Mukhedkar 2014-05-23 16:21:27 UTC
Created attachment 898726 [details]
snapshot showing the parameter actually configures the RHEV-H TUI configuration interface,

Comment 3 Prasad Mukhedkar 2014-05-23 16:21:55 UTC
Created attachment 898727 [details]
rsyslog.conf file

Comment 5 haiyang,dong 2014-06-04 09:02:54 UTC
I could reproduce this issue in rhev-hypervisor6-6.5-20140407.0.el6ev

Comment 7 Fabian Deutsch 2014-06-10 21:37:16 UTC
Lowering the priority as there is a workaround.

Please use syslog=server:514 (including the port) instead of only syslog=server on the kernel cmdline.

Comment 8 Fabian Deutsch 2014-07-24 16:02:42 UTC
This is a mass change, moving bugs of merged patches into MODIFIED.

Please correct the state, if you think that the move was not justified.

Comment 9 haiyang,dong 2015-01-15 12:37:33 UTC
Test version:
rhev-hypervisor6-6.6-20150114.0.iso
ovirt-node-3.2.1-4.el6.noarch


Test steps:
1. auto install with follow parameters:
BOOTIF=eth0 storage_init=/dev/sda syslog=serverip firstboot

Test result:
After auto install successfully, login rhevh and check that rsyslog functions works well.

so this bug has been fixed, change the status into "VERIFIED".

Comment 11 errata-xmlrpc 2015-02-11 20:58:31 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


Note You need to log in before you can comment on or make changes to this bug.