`nova --version` does not work on trunk

Bug #1165325 reported by Tim Miller
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-novaclient
Fix Released
Undecided
Davanum Srinivas (DIMS)

Bug Description

Expected:
  `nova --version` should print a version number.

Actual:
  `nova --version` results in this error:

   Unknown, couldn't find versioninfo file at /usr/local/lib/python2.7/dist-packages/novaclient/versioninfo

Repro:
  git clone https://github.com/openstack/python-novaclient.git
  cd python-novaclient
  sudo pip install -r tools/pip-requires
  sudo pip install .
  nova --version

Affected Version:
  Trunk, at git SHA ea94b09ad712adcf932a4f217e4061522ad875d1

Revision history for this message
Tim Miller (tim-miller-0) wrote :

The following recently-landed commits seem relevant to this bug:

commit 0206c2d5dd37c3ce1440b5083574979129f12e77
Author: Monty Taylor <email address hidden>
Date: Thu Mar 28 06:34:53 2013 +0100

    Update to latest openstack.common.setup.

    We actually don't need the silly versioninfo file at all anymore.

    Change-Id: Ic759c39a29b07d41a96849db84a7f9990ec8a3eb

commit 23ee4b818d800d08abf123a65c69213c0eff0900
Author: Christoph Gysin <email address hidden>
Date: Wed Mar 27 20:39:09 2013 +0200

    setuptools: remove data_files section

    versioninfo is already included through include_package_data

    Change-Id: I53c28bd26a19d86704c918fa185cde9759140dc1

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to python-novaclient (master)

Fix proposed to branch: master
Review: https://review.openstack.org/26310

Changed in python-novaclient:
assignee: nobody → Davanum Srinivas (DIMS) (dims-v)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-novaclient (master)

Reviewed: https://review.openstack.org/26310
Committed: http://github.com/openstack/python-novaclient/commit/8ce233024700f70f23d26c5f68b0ffa445eccc32
Submitter: Jenkins
Branch: master

commit 8ce233024700f70f23d26c5f68b0ffa445eccc32
Author: Davanum Srinivas <email address hidden>
Date: Sat Apr 6 23:07:48 2013 -0400

    Fix problem with nova --version

    Update to latest openstack.common.version.py and fix __init__.py
    to get "nova --version" to work properly again

    Fixes LP# 1165325

    Change-Id: I29e54cd4cf79759407f3967518e9be575abd994a

Changed in python-novaclient:
status: In Progress → Fix Committed
Changed in python-novaclient:
status: Fix Committed → Fix Released
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.