[Openstack] [swift] complete reinstallation steps needed
pragya jain
prag_2648 at yahoo.co.in
Tue Aug 27 03:28:33 UTC 2013
Hi Tim,
install upgraded version of dns-python using the command:
pip install "dnspython==1.11.0"
Pragya Jain
>________________________________
> From: "Snider, Tim" <Tim.Snider at netapp.com>
>To: "openstack at lists.openstack.org" <openstack at lists.openstack.org>
>Sent: Tuesday, 27 August 2013 8:20 AM
>Subject: [Openstack] [swift] complete reinstallation steps needed
>
>
>
>
>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
>
>_______________________________________________
>Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>Post to : openstack at lists.openstack.org
>Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20130827/f7f36ad8/attachment.html>
More information about the Openstack
mailing list