[Openstack] [swift] complete reinstallation steps needed

Snider, Tim Tim.Snider at netapp.com
Tue Aug 27 02:50:39 UTC 2013


Thru a series of missteps I (apparently) have mismatched Swift related python files / libraries installed on at least one node. "swift-init start main"  results in:
root at swift21:~# swift-init start main
Traceback (most recent call last):
  File "/usr/local/bin/swift-init", line 4, in <module>
    from pkg_resources import require; require('swift==1.9.2.6.g3b48a71')
  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: dnspython>=1.10.0

Python indicates I'm at 1.9.2.6...
root at swift21:~# python -c 'import swift; print swift.__version__'1.9.2.6.g3b48a71

The last installation commands attempted are:
apt-get --reinstall -y install python-coverage python-dev python-nose python-simplejson python-xattr python-eventlet python-greenlet python-pastedeploy python-netifaces python-pip python-dnspython python-mock
apt-get install -y --reinstall python-software-properties
apt-get install -y --reinstall curl gcc memcached rsync sqlite3 xfsprogs git-core python-setuptools
apt-get -y --reinstalls install python-coverage python-dev python-nose python-simplejson python-xattr python-eventlet python-greenlet python-pastedeploy python-netifaces python-pip python-dnspython python-mock
apt-get -y --reinstall install python-coverage python-dev python-nose python-simplejson python-xattr python-eventlet python-greenlet python-pastedeploy python-netifaces python-pip python-dnspython python-mock
apt-get install --reinstall -y swift-account swift-container swift-object

What is need to completely reinstall Swift and all related files? Any advice/hints are appreciated.

Thanks,
Tim

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20130827/9d72c12f/attachment.html>


More information about the Openstack mailing list