quantum virtualenv doesn't build

Bug #906636 reported by James E. Blair
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Core Infrastructure
Fix Released
Critical
James E. Blair
neutron
Fix Released
Undecided
Unassigned
quantum (Ubuntu)
Fix Released
Undecided
Unassigned
Nominated for Precise by Yolanda Robla

Bug Description

The quantum virtualenv doesn't build because SQLAlchemy is specified in both tools/pip-requires and the openvswitch/pip-requires, both of which are passed to pip when building:

https://jenkins.openstack.org/job/quantum-venv/112/console

/home/jenkins/workspace/quantum-venv/.quantum-venv/lib/python2.7/site-packages/pip-0.7.2-py2.7.egg/pip/runner.py run on Mon Dec 19 00:02:08 2011
Double requirement given: sqlalchemy (from -r /home/jenkins/workspace/quantum-venv/tools/pip-requires (line 12)) (aready in SQLAlchemy (from -r /home/jenkins/workspace/quantum-venv/quantum/plugins/openvswitch/pip-requires (line 1)), name='sqlalchemy')
Exception information:
Traceback (most recent call last):
  File "/home/jenkins/workspace/quantum-venv/.quantum-venv/lib/python2.7/site-packages/pip-0.7.2-py2.7.egg/pip/basecommand.py", line 120, in main
    self.run(options, args)
  File "/home/jenkins/workspace/quantum-venv/.quantum-venv/lib/python2.7/site-packages/pip-0.7.2-py2.7.egg/pip/commands/install.py", line 159, in run
    requirement_set.add_requirement(req)
  File "/home/jenkins/workspace/quantum-venv/.quantum-venv/lib/python2.7/site-packages/pip-0.7.2-py2.7.egg/pip/req.py", line 739, in add_requirement
    % (install_req, self.get_requirement(name), name))
InstallationError: Double requirement given: sqlalchemy (from -r /home/jenkins/workspace/quantum-venv/tools/pip-requires (line 12)) (aready in SQLAlchemy (from -r /home/jenkins/workspace/quantum-venv/quantum/plugins/openvswitch/pip-requires (line 1)), name='sqlalchemy')

Revision history for this message
James E. Blair (corvus) wrote :
Changed in quantum:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to quantum (master)

Reviewed: https://review.openstack.org/2473
Committed: http://github.com/openstack/quantum/commit/dadbae983328b39565f53cadb62b2f696e045c8b
Submitter: Jenkins
Branch: master

commit dadbae983328b39565f53cadb62b2f696e045c8b
Author: James E. Blair <email address hidden>
Date: Mon Dec 19 16:25:21 2011 -0800

    Remove plugin pip-requires.

    Fixes bug 906636.

    The cisco plugin included ncclient, but does not use it when testing.
    The openvswitch plugin included SQLAlchemy which is already required
    by quantum itself.

    I've also changed the install_venv.py script to only look at
    tools/pip-requires, so that it behaves more like the rest of the
    OpenStack projects. In Jenkins that's the only file we look at
    to see if we need to rebuild the virtualenv, so it would be best
    if the project only hade one pip-requires.

    Also added .gitignore to ignore files created during testing.

    Change-Id: Ic460452ec89aa8377c975ca63b57563119860e6b

Changed in quantum:
status: In Progress → Fix Committed
Monty Taylor (mordred)
Changed in openstack-ci:
status: New → Fix Released
importance: Undecided → Critical
assignee: nobody → James E. Blair (corvus)
dan wendlandt (danwent)
Changed in quantum:
milestone: none → essex-3
Thierry Carrez (ttx)
Changed in quantum:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in quantum:
milestone: essex-3 → 2012.1
Changed in quantum (Ubuntu):
status: New → 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.