contrail-nodemgr is exiting when there is no comment

Bug #1351486 reported by Raj Reddy
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
R1.1
Fix Committed
Undecided
Arvind
Trunk
Fix Committed
Undecided
Arvind

Bug Description

contrail-nodemgr is exiting when there is no comment against server=<xyz> line in the collector.conf

the following 2 lines throw exception when there's no # at the end of the line..

rajreddy@ubuntu-build02:/build/rajreddy/main_u_h_4/tools/packaging/common/control_files$ grep -n index contrail-nodemgr.py
456: discovery_server = discovery_server[:discovery_server.index('#')].strip()
519: discovery_server = discovery_server[:discovery_server.index('#')].strip()

Raj Reddy (rajreddy)
information type: Proprietary → Public
Raj Reddy (rajreddy)
tags: added: blocker
Revision history for this message
Arvind (arvindv) wrote :
Changed in juniperopenstack:
status: New → Fix Committed
Revision history for this message
Nagabhushana R (bhushana) wrote :

I see R1.1 commit, please check if it is also committed to mainline and update.

Revision history for this message
Arvind (arvindv) wrote :
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.