quantum --version always reports 2.0

Bug #1190652 reported by Carl Baldwin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-neutronclient
Fix Released
High
Carl Baldwin

Bug Description

When I run quantum --version, it always reports 2.0 for any recent release of the client.

Given that there are significant differences in the various 2.0 versions of the client, it would be very helpful if it would report a more detailed version.

I plan to take a look at this as soon as I find time if no one else takes the bug. It seems like low hanging fruit to me.

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

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

Changed in python-quantumclient:
assignee: nobody → Carl Baldwin (carl-baldwin)
status: New → In Progress
Revision history for this message
Akihiro Motoki (amotoki) wrote :

I agree. I just thought the same thing.

Changed in python-quantumclient:
importance: Undecided → High
milestone: none → 2.2.1
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-quantumclient (master)

Reviewed: https://review.openstack.org/32991
Committed: http://github.com/openstack/python-quantumclient/commit/9389b782a9860fc0d28cc13ac4b041fd3fd79e87
Submitter: Jenkins
Branch: master

commit 9389b782a9860fc0d28cc13ac4b041fd3fd79e87
Author: Carl Baldwin <email address hidden>
Date: Thu Jun 13 22:11:34 2013 -0600

    Make --version option print a more detailed client version.

    The python quantum client was printing "quantum 2.0" regardless of
    the version of the client. This seems to be the version of the
    API but people expect the version of the client to be printed.

    I looked at the implementation of --version in nova and keystone.
    The one in keystone worked and was fairly straight-forward
    utilizing code from the pbr package. I added this code to version.py
    rather than __init__.py.

    Change-Id: I53264b454eb16d5c294ad40ab6494387637950db
    Fixes: Bug #1190652

Changed in python-quantumclient:
status: In Progress → Fix Committed
Akihiro Motoki (amotoki)
Changed in python-neutronclient:
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.