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@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@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

_______________________________________________
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to     : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack

Reply via email to