[upgrade] upgrade failed: pkg_resources.DistributionNotFound: pip

Bug #1346366 reported by Aleksey Kasatkin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Released
High
Evgeniy L

Bug Description

Run tarball #59 (http://jenkins-product.srt.mirantis.net:8080/job/fuel_upgrade_with_gerrit_commits/59/) to upgrade 5.0-26 to 5.1. Got:

[root@fuel tmp]# ./upgrade.sh
Decompressing...
100% 3298.41 / 3298.41 MB
Average DeCompression Speed: 8.500MB/s
[OK] - 3458631680 bytes
Total time: 00:06:28.16
Traceback (most recent call last):
  File "/var/tmp/upgrade/bin/fuel-upgrade", line 5, in <module>
    from pkg_resources import load_entry_point
  File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 2655, in <module>
    working_set.require(__requires__)
  File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 648, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 546, in resolve
    raise DistributionNotFound(req)
pkg_resources.DistributionNotFound: pip
Upgrade failed

Problem is solved with manual pip installation:

yum install python-pip

Tags: upgrade
Evgeniy L (rustyrobot)
Changed in fuel:
assignee: nobody → Evgeniy L (rustyrobot)
status: New → In Progress
description: updated
description: updated
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-web (master)

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

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-web (master)

Reviewed: https://review.openstack.org/108419
Committed: https://git.openstack.org/cgit/stackforge/fuel-web/commit/?id=5ccd70952d809339fb11600cb709d19b42c4e8cd
Submitter: Jenkins
Branch: master

commit 5ccd70952d809339fb11600cb709d19b42c4e8cd
Author: Evgeniy L <email address hidden>
Date: Mon Jul 21 19:57:06 2014 +0400

    Upgrades, remove keystone client from dependencies

    Removed keystone client dependencies to prevent
    errors, when fuel client and upgrade script use
    different versions.

    Also it helps to solve the problem with broken
    script because keystone client uses pip as
    dependencies.

    Change-Id: I16b0a6ecfdc4b4b14eac4441d9f1dbc06fa0c13a
    Closes-bug: #1346366

Changed in fuel:
status: In Progress → Fix Committed
Revision history for this message
Andrey Sledzinskiy (asledzinskiy) wrote :

verified on fuel-5.1-upgrade-6-2014-09-13_14-34-19.tar.lrz

Changed in fuel:
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.