kernel version hardcoded in agent_param.tmpl

Bug #1401203 reported by Praneet Bachheti
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
R2.0
Won't Fix
Medium
Nagendra Prasath
R3.0
Invalid
Medium
Nagendra Prasath
R3.1
Invalid
Medium
Nagendra Prasath
Trunk
Invalid
Medium
Nagendra Prasath

Bug Description

The kernel version is hardcoded in /etc/contrail/agent_param.tmpl

LOG=/var/log/contrail.log
CONFIG=/etc/contrail/agent.conf
prog=/usr/bin/contrail-vrouter-agent
kmod=/lib/modules/2.6.32-358.el6.x86_64/extra/net/vrouter/vrouter.ko <<<<<=============
pname=contrail-vrouter-agent
LIBDIR=/usr/lib64
VHOST_CFG=/etc/sysconfig/network-scripts/ifcfg-vhost0
dev=__DEVICE__
vgw_subnet_ip=__VGW_SUBNET_IP__
vgw_intf=__VGW_INTF_LIST__
LOGFILE=--log-file=/var/log/contrail/vrouter.log

Several customers use different kernel versions which are compatible with our router module.
on an install vrouter fails to install as it uses the hardcoded version instead of the one from "uname -r"

Tags: provisioning
tags: added: provisioning vrouter
Revision history for this message
Nagendra Prasath (npchandran) wrote :

It doesnt looks like hardcoded.
agent_param.tmpl is created by vnagent_param_setup.sh as part of post job of contrail-vrouter-init package and the OSVER is retrieved using "uname -r" and its used to generate the agend_param.tmpl.

See %post section in below spec file:
https://github.com/Juniper/contrail-packaging/blob/master/common/rpm/contrail-vrouter-init.spec

information type: Proprietary → Public
tags: removed: vrouter
Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Bug update]

bug update...

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.