[vnswad] contrail-version not found

Bug #1319008 reported by Sebastien Badia
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenContrail
Fix Committed
Medium
Ashok Singh

Bug Description

vr01:~# /usr/bin/vnswad --config_file /etc/contrail/contrail-vrouter-agent.conf
sh: 1: contrail-version: not found
sh: 1: contrail-version: not found

Vnswad use a bash script to get version of contrail installed binary, but this script is overridden in the devstack installation¹ and is incomplete in utils² (/etc/contrail/debs_list.txt?).

The initial discussion with Junpei is here³.

What's the better way to manage this?

¹https://github.com/Juniper/contrail-installer/blob/master/contrail.sh#L354-L364
²https://github.com/Juniper/contrail-controller/blob/master/src/config/utils/contrail-version-deb and https://github.com/Juniper/contrail-controller/blob/master/src/config/utils/contrail-version
³http://lists.opencontrail.org/pipermail/dev_lists.opencontrail.org/2014-April/001024.html

Tags: vrouter
Revision history for this message
Sebastien Badia (sbadia) wrote :
Changed in opencontrail:
assignee: nobody → Ashok Singh (ashoksr)
tags: added: vrouter
removed: vnswad
Revision history for this message
Ashok Singh (ashoksr) wrote :
Changed in opencontrail:
status: New → Fix Committed
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.