python-glance client breaks on package upgrade

Bug #1075189 reported by steve A
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-glanceclient (Ubuntu)
Won't Fix
Undecided
Unassigned

Bug Description

current OS -
Linux iswubu33 3.2.0-32-generic #51-Ubuntu SMP Wed Sep 26 21:33:09 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
Ubuntu Build version - Folsom from cloud repo - http://docs.openstack.org/trunk/openstack-compute/install/apt/content/assumptions.html

steps to reporoduce
apt-get update

Date - 5th Nov 2012

problem: the python-glanceclient breaks on the latest update

symptoms: -
 glance index
Traceback (most recent call last):
  File "/usr/local/bin/glance", line 5, in <module>
    from pkg_resources import load_entry_point
  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2711, in <module>
    parse_requirements(__requires__), Environment()
  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 584, in resolve
    raise DistributionNotFound(req)
pkg_resources.DistributionNotFound: python-glanceclient==0.4.1

package info

dpkg -l python-glanceclient
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Description
+++-===============================================-===============================================-==============================================================================================================
ii python-glanceclient 1:0.5.1-0ubuntu1~cloud0 Client library for Openstack glance server.

This problem totally breaks glance client actions, no functions work at all

Any guidance as to how i can resolve or workaround this problem would be really appreciated

Steve A

Revision history for this message
steve A (dafridgie) wrote :

I've found that I have a duplicate entry of the glance files
one was located here - /usr/bin - it is the correct version (references v 0.5.1 of the client)
one was located here = usr/local/bin - it was incorrect (references v 0.4.1 of the client)

I simply copied the newer file to /usr/local/bin and the client worked as it should

I also had to do this for /usr/local/bin/keystone - same issue

I must have had a bad install along the way

anyway, no need to proceed further with the bug - it doesnt appear to be a packaging issue after all

Revision history for this message
Chuck Short (zulcss) wrote :

Closing

Changed in python-glanceclient (Ubuntu):
status: New → Won't Fix
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.