broken build-rpm.sh for xenapi ovs plugin

Bug #1215619 reported by Armando Migliaccio
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Fix Released
High
Armando Migliaccio

Bug Description

This is what I get:

+++ readlink -f ./build-rpm.sh
++ dirname /opt/stack/neutron/neutron/plugins/openvswitch/agent/xenapi/contrib/build-rpm.sh
+ thisdir=/opt/stack/neutron/neutron/plugins/openvswitch/agent/xenapi/contrib
+ export NEUTRON_ROOT=/opt/stack/neutron/neutron/plugins/openvswitch/agent/xenapi/contrib/../../../../../../
+ NEUTRON_ROOT=/opt/stack/neutron/neutron/plugins/openvswitch/agent/xenapi/contrib/../../../../../../
+ export PYTHONPATH=/opt/stack/neutron/neutron/plugins/openvswitch/agent/xenapi/contrib/../../../../../../
+ PYTHONPATH=/opt/stack/neutron/neutron/plugins/openvswitch/agent/xenapi/contrib/../../../../../../
+ cd /opt/stack/neutron/neutron/plugins/openvswitch/agent/xenapi/contrib/../../../../../../
++ sh -c '(cat /opt/stack/neutron/neutron/plugins/openvswitch/agent/xenapi/contrib/../../../../../..//neutron/version.py; echo '\''print common_version.VersionInfo("neutron").release_string()'\'') | python'
Traceback (most recent call last):
  File "<stdin>", line 20, in <module>
NameError: name 'common_version' is not defined
+ VERSION=

Because the way version is stored has changed.

Tags: xen
Changed in neutron:
assignee: nobody → Armando Migliaccio (armando-migliaccio)
Changed in neutron:
status: New → In Progress
tags: added: xen
Changed in neutron:
importance: Undecided → High
milestone: none → havana-3
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (master)

Reviewed: https://review.openstack.org/43348
Committed: http://github.com/openstack/neutron/commit/706554ba17e6ca5862625b090bd7616749f3375b
Submitter: Jenkins
Branch: master

commit 706554ba17e6ca5862625b090bd7616749f3375b
Author: armando-migliaccio <email address hidden>
Date: Thu Aug 22 13:23:21 2013 -0700

    Fix script to build rpm required for L2 OVS agent for XenServer

    Use up to date way to retrieve the version info.

    Fixes bug #1215619

    Change-Id: I7263fd61a8ea407626d2330f7546f4046e803b50

Changed in neutron:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in neutron:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in neutron:
milestone: havana-3 → 2013.2
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.