run_test.sh fails to install venv with most recent version of pip (1.2)

Bug #1047120 reported by Dan Prince
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cinder
Fix Released
High
Dan Prince
OpenStack Compute (nova)
Fix Released
High
Dan Prince

Bug Description

I get the following error on Nova master if I try run run_tests.sh and create a new .venv:

Patching...

Renaming /home/dprince/projects/nova/.venv/lib/python2.7/site-packages/setuptools-0.6c11-py2.7.egg into /home/dprince/projects/nova/.venv/lib/python2.7/site-packages/setuptools-0.6c11-py2.7.egg.OLD.1346981692.61

Patched done.

Relaunching...

Traceback (most recent call last):

  File "<string>", line 1, in <module>

NameError: name 'install' is not defined

----------------------------------------
Command /home/dprince/projects/nova/.venv/bin/python -c "import setuptools;__file__='/home/dprince/projects/nova/.venv/build/distribute/setup.py';exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-_X9xLm-record/install-record.txt --single-version-externally-managed --install-headers /home/dprince/projects/nova/.venv/include/site/python2.7 failed with error code 1 in /home/dprince/projects/nova/.venv/build/distribute
Storing complete log in /home/dprince/.pip/pip.log
Command "tools/with_venv.sh pip install --upgrade distribute" failed.
None

-----

Looks like the most recent version of pip (1.2.1) is the cause of the issue.

Dan Prince (dan-prince)
Changed in nova:
importance: Undecided → High
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to nova (master)

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

Changed in nova:
assignee: nobody → Dan Prince (dan-prince)
status: New → In Progress
Dan Prince (dan-prince)
Changed in nova:
milestone: none → folsom-rc1
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

Reviewed: https://review.openstack.org/12538
Committed: http://github.com/openstack/nova/commit/4fc05bff1f9cc0f65511a76de5d3be2aafdc3800
Submitter: Jenkins
Branch: master

commit 4fc05bff1f9cc0f65511a76de5d3be2aafdc3800
Author: Dan Prince <email address hidden>
Date: Thu Sep 6 21:40:44 2012 -0400

    Nail the pip requirement at 1.1.

    The most recent version of pip (1.2.1 as of a couple days ago) fails
    to install the required Nova .venv packages. Nailing the installed
    pip version when using run_tests.sh seems like a reasonable solution
    to this issue.

    Fixes LP Bug #1047120.

    Change-Id: Ic947c04603cf9423c0cf2835351785d4fe795c4b

Changed in nova:
status: In Progress → Fix Committed
Dan Prince (dan-prince)
Changed in cinder:
assignee: nobody → Dan Prince (dan-prince)
importance: Undecided → High
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to cinder (master)

Reviewed: https://review.openstack.org/12540
Committed: http://github.com/openstack/cinder/commit/b51265a9f61c8ef445fba4110ea5684bc918e682
Submitter: Jenkins
Branch: master

commit b51265a9f61c8ef445fba4110ea5684bc918e682
Author: Dan Prince <email address hidden>
Date: Thu Sep 6 21:54:16 2012 -0400

    Nail the pip requirement at 1.1.

    The most recent version of pip (1.2.1 as of a couple days ago) fails
    to install the required Cinder .venv packages. Nailing the installed
    pip version when using run_tests.sh seems like a reasonable solution
    to this issue.

    Fixes LP Bug #1047120.

    Change-Id: I8d831f747b0d25b5d0f6e74a234e764ff448965b

Changed in cinder:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in cinder:
milestone: none → folsom-rc1
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in nova:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in cinder:
milestone: folsom-rc1 → 2012.2
Thierry Carrez (ttx)
Changed in nova:
milestone: folsom-rc1 → 2012.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.