<html><body><div style="color:#000; background-color:#fff; font-family:bookman old style, new york, times, serif;font-size:12pt">Hi Tim,<br><br>install upgraded version of dns-python using the command:<br><br>pip install "dnspython==1.11.0"<br><br>Pragya Jain<br><div><span></span></div><div><br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; margin-top: 5px; padding-left: 5px;"> <div style="font-family: bookman old style, new york, times, serif; font-size: 12pt;"> <div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"> <div dir="ltr"> <hr size="1"> <font face="Arial" size="2"> <b><span style="font-weight:bold;">From:</span></b> "Snider, Tim" <Tim.Snider@netapp.com><br> <b><span style="font-weight: bold;">To:</span></b> "openstack@lists.openstack.org" <openstack@lists.openstack.org> <br> <b><span style="font-weight: bold;">Sent:</span></b> Tuesday, 27 August 2013 8:20 AM<br> <b><span
style="font-weight: bold;">Subject:</span></b> [Openstack] [swift] complete reinstallation steps needed<br> </font> </div> <div class="y_msg_container"><br><div id="yiv90900150">
<style><!--
#yiv90900150
_filtered #yiv90900150 {font-family:Calibri;panose-1:2 15 5 2 2 2 4 3 2 4;}
_filtered #yiv90900150 {font-family:Tahoma;panose-1:2 11 6 4 3 5 4 4 2 4;}
#yiv90900150
#yiv90900150 p.yiv90900150MsoNormal, #yiv90900150 li.yiv90900150MsoNormal, #yiv90900150 div.yiv90900150MsoNormal
{margin:0in;margin-bottom:.0001pt;font-size:11.0pt;font-family:"Calibri", "sans-serif";}
#yiv90900150 a:link, #yiv90900150 span.yiv90900150MsoHyperlink
{color:blue;text-decoration:underline;}
#yiv90900150 a:visited, #yiv90900150 span.yiv90900150MsoHyperlinkFollowed
{color:purple;text-decoration:underline;}
#yiv90900150 p.yiv90900150MsoAcetate, #yiv90900150 li.yiv90900150MsoAcetate, #yiv90900150 div.yiv90900150MsoAcetate
{margin:0in;margin-bottom:.0001pt;font-size:8.0pt;font-family:"Tahoma", "sans-serif";}
#yiv90900150 span.yiv90900150EmailStyle17
{font-family:"Calibri", "sans-serif";color:windowtext;}
#yiv90900150 span.yiv90900150BalloonTextChar
{font-family:"Tahoma", "sans-serif";}
#yiv90900150 .yiv90900150MsoChpDefault
{font-family:"Calibri", "sans-serif";}
_filtered #yiv90900150 {margin:1.0in 1.0in 1.0in 1.0in;}
#yiv90900150 div.yiv90900150WordSection1
{}
--></style>
<div>
<div class="yiv90900150WordSection1">
<div class="yiv90900150MsoNormal">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:</div>
<div class="yiv90900150MsoNormal" style="margin-left:.5in;">root@swift21:~# swift-init start main</div>
<div class="yiv90900150MsoNormal" style="margin-left:.5in;">Traceback (most recent call last):</div>
<div class="yiv90900150MsoNormal" style="margin-left:.5in;"> File "/usr/local/bin/swift-init", line 4, in <module></div>
<div class="yiv90900150MsoNormal" style="margin-left:.5in;"> from pkg_resources import require; require('swift==1.9.2.6.g3b48a71')</div>
<div class="yiv90900150MsoNormal" style="margin-left:.5in;"> File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2711, in <module></div>
<div class="yiv90900150MsoNormal" style="margin-left:.5in;"> parse_requirements(__requires__), Environment()</div>
<div class="yiv90900150MsoNormal" style="margin-left:.5in;"> File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 584, in resolve</div>
<div class="yiv90900150MsoNormal" style="margin-left:.5in;"> raise DistributionNotFound(req)</div>
<div class="yiv90900150MsoNormal" style="margin-left:.5in;">pkg_resources.DistributionNotFound: dnspython>=1.10.0</div>
<div class="yiv90900150MsoNormal"> </div>
<div class="yiv90900150MsoNormal">Python indicates I’m at 1.9.2.6…</div>
<div class="yiv90900150MsoNormal" style="text-indent:.5in;">root@swift21:~# python -c 'import swift; print swift.__version__'1.9.2.6.g3b48a71
</div>
<div class="yiv90900150MsoNormal"> </div>
<div class="yiv90900150MsoNormal">The last installation commands attempted are:</div>
<div class="yiv90900150MsoNormal" style="margin-left:.5in;">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</div>
<div class="yiv90900150MsoNormal" style="margin-left:.5in;">apt-get install -y --reinstall python-software-properties</div>
<div class="yiv90900150MsoNormal" style="margin-left:.5in;">apt-get install -y --reinstall curl gcc memcached rsync sqlite3 xfsprogs git-core python-setuptools</div>
<div class="yiv90900150MsoNormal" style="margin-left:.5in;">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</div>
<div class="yiv90900150MsoNormal" style="margin-left:.5in;">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</div>
<div class="yiv90900150MsoNormal" style="margin-left:.5in;">apt-get install --reinstall -y swift-account swift-container swift-object</div>
<div class="yiv90900150MsoNormal"> </div>
<div class="yiv90900150MsoNormal">What is need to completely reinstall Swift and all related files? Any advice/hints are appreciated.
</div>
<div class="yiv90900150MsoNormal"> </div>
<div class="yiv90900150MsoNormal"><span style="font-size:10.0pt;">Thanks,</span></div>
<div class="yiv90900150MsoNormal"><span style="font-size:10.0pt;">Tim</span></div>
<div class="yiv90900150MsoNormal"><span style="font-size:10.0pt;"> </span></div>
</div>
</div>
</div><br>_______________________________________________<br>Mailing list: <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>Post to : <a ymailto="mailto:openstack@lists.openstack.org" href="mailto:openstack@lists.openstack.org">openstack@lists.openstack.org</a><br>Unsubscribe : <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br><br><br></div> </div> </div> </blockquote></div> </div></body></html>