contrail-snmp-collector.ini should not refer to device.ini

Bug #1708729 reported by Ankit Chadha
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
New
High
Ankit Chadha
R3.2
Fix Committed
High
Ankit Chadha

Bug Description

current contents of contrail-snmp-collector.ini file:

[program:contrail-snmp-collector]
environment=SNMPCONFPATH=/etc/contrail
command=/usr/bin/contrail-snmp-collector --device-config-file /etc/contrail/device.ini
priority=340
autostart=true
killasgroup=true
stopsignal=KILL
stdout_capture_maxbytes=1MB
redirect_stderr=true
stdout_logfile=/var/log/contrail/contrail-snmp-collector-stdout.log
stderr_logfile=/var/log/contrail/contrail-snmp-collector-stderr.log
startsecs=5
exitcodes=0 ; 'expected' exit codes for process (default 0,2)
user=contrail

fix would be to remove the reference to device.ini file

Revision history for this message
Megh Bhatt (meghb) wrote :

Ankit, please add platform info, OS and provisioning system used

Changed in juniperopenstack:
assignee: nobody → Ankit Chadha (achadha)
Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] R3.2

Review in progress for https://review.opencontrail.org/34317
Submitter: Ankit Chadha (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : A change has been merged

Reviewed: https://review.opencontrail.org/34317
Committed: http://github.com/Juniper/contrail-controller/commit/9c157cc893f1ed3f43a733386d484c849036772b
Submitter: Zuul (<email address hidden>)
Branch: R3.2

commit 9c157cc893f1ed3f43a733386d484c849036772b
Author: ankit <email address hidden>
Date: Fri Aug 4 12:22:20 2017 -0700

Fix contrail-snmp-collector.ini

Reference to device.ini is removed from contrail-snmp-collector.ini.
If this file is set, then snmp-collector does not connect
to API server (snmp-collector gets the prouter info from
API server.

Change-Id: I3d33df52e9811050aee77858daaa731d799e4b4d
Closes-Bug: 1708729

Jeba Paulaiyan (jebap)
Changed in juniperopenstack:
milestone: r3.2.5.0 → none
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.