l3-agent dependancy on pyparsing not listed

Bug #1197083 reported by KaZeR
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-neutronclient
Fix Released
Medium
yong sheng gong
quantum (Gentoo Linux)
Fix Released
Medium

Bug Description

https://github.com/openstack/quantum/blob/2013.1.2/tools/pip-requires does not list the dependancy on pyparsing-1.5.7 required for quantum-l3-agent

cloud-network-02 ~ # quantum-l3-agent
Traceback (most recent call last):
  File "/usr/bin/quantum-l3-agent-python2.7", line 5, in <module>
    from pkg_resources import load_entry_point
  File "/usr/lib64/python2.7/site-packages/pkg_resources.py", line 2812, in <module>
    parse_requirements(__requires__), Environment()
  File "/usr/lib64/python2.7/site-packages/pkg_resources.py", line 593, in resolve
    raise VersionConflict(dist,req) # XXX put more info here
pkg_resources.VersionConflict: (pyparsing 1.5.6 (/usr/lib64/python2.7/site-packages), Requirement.parse('pyparsing==1.5.7'))

Revision history for this message
In , KaZeR (kazer) wrote :

sys-cluster/quantum-2013.1.2 requires dev-python/pyparsing-1.5.7

[I] sys-cluster/quantum
     Available versions: ~2012.2.4^t (~)2013.1.2^t **9999^t {{python_targets_python2_7 test}}
     Installed versions: 2013.1.2^t(20:19:34 07/02/13)(python_targets_python2_7 -test)

when running quantum-l3-agent:
pkg_resources.VersionConflict: (pyparsing 1.5.6 (/usr/lib64/python2.7/site-packages), Requirement.parse('pyparsing==1.5.7'))

Revision history for this message
In , Matthew Thode (prometheanfire) wrote :
Revision history for this message
In , KaZeR (kazer) wrote :

You're right :)

Issue reported upstream : https://bugs.launchpad.net/neutron/+bug/1197083

Revision history for this message
yong sheng gong (gongysh) wrote :

we should remove pyparsing requirement from neutron client to let cmd2 to install it. cmd2 is requiring the exact version of pyparsing.

affects: neutron → python-neutronclient
Changed in python-neutronclient:
status: New → Confirmed
importance: Undecided → High
assignee: nobody → yong sheng gong (gongysh)
importance: High → Medium
milestone: none → 2.2.1
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/35418

Changed in python-neutronclient:
status: Confirmed → In Progress
Changed in quantum (Gentoo Linux):
importance: Unknown → Medium
status: Unknown → New
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-neutronclient (master)

Reviewed: https://review.openstack.org/35418
Committed: http://github.com/openstack/python-neutronclient/commit/b25342d97b9bbe681b5f1e9ed1e7ddd179aad5ca
Submitter: Jenkins
Branch: master

commit b25342d97b9bbe681b5f1e9ed1e7ddd179aad5ca
Author: Yong Sheng Gong <email address hidden>
Date: Sun Jul 7 23:45:08 2013 +0800

    let cliff install the right pyparsing

    Bug #1197083

    cliff(>=1.4) reqires:
    PrettyTable>=0.6,<0.8
    cmd2>=0.6.4
    pyparsing==1.5.7

    Change-Id: Ifac96211c3d728d68cde21a2d1dd3714a9dcc5de

Changed in python-neutronclient:
status: In Progress → Fix Committed
Revision history for this message
In , Matthew Thode (prometheanfire) wrote :

fixed in tree

Changed in quantum (Gentoo Linux):
status: New → Fix Released
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.