<html><body><div style="color:#000; background-color:#fff; font-family:arial, helvetica, sans-serif;font-size:10pt"><div style="font-family: arial, helvetica, sans-serif; font-size: 10pt; ">I am trying out swift-recon but running into problems. Help appreciated :-)!!</div><div style="font-family: arial, helvetica, sans-serif; font-size: 10pt; "><br></div><div style="font-family: arial, helvetica, sans-serif; font-size: 10pt; "> - The standard object server install as per instructions on <span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: 16px; "><a href="http://docs.openstack.org/diablo/openstack-object-storage/admin/content/installing-and-configuring-storage-nodes.html">http://docs.openstack.org/diablo/openstack-object-storage/admin/content/installing-and-configuring-storage-nodes.html</a> does not install swift-recon.</span></div><div style="font-family: arial, helvetica, sans-serif; font-size: 10pt; "><span
 class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: 16px; "><br></span></div><div style="font-family: arial, helvetica, sans-serif; font-size: 10pt; "><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: 16px; ">So I did the following:</span></div><div style="font-family: arial, helvetica, sans-serif; font-size: 10pt; "><br></div><div><font class="Apple-style-span" face="arial, helvetica, sans-serif" size="2">1. Downloaded swift code from - http://openstack.org/projects/storage/latest-release/</font><br></div><div><font class="Apple-style-span" face="arial, helvetica, sans-serif" size="2">2. sudo cp ~/swift-1.4.3/swift/common/middleware/recon.py /usr/share/pyshared/swift/common/middleware</font></div><div><font class="Apple-style-span" face="arial, helvetica, sans-serif" size="2">3. sudo ln -s
 /usr/share/pyshared/swift/common/middleware/recon.py /usr/lib/pymodules/python2.6/swift/common/middleware</font></div><div><font class="Apple-style-span" face="arial, helvetica, sans-serif" size="2">4. Compiled recon.py to generate recon.pyc</font></div><div><font class="Apple-style-span" face="arial, helvetica, sans-serif" size="2">5. sudo cp swift-recon* /usr/bin</font></div><div><font class="Apple-style-span" face="arial, helvetica, sans-serif" size="2">6. sudo mkdir /var/cache/swift</font></div><div><font class="Apple-style-span" face="arial, helvetica, sans-serif" size="2">7. sudo chown swift:swift swift</font></div><div><font class="Apple-style-span" face="arial, helvetica, sans-serif" size="2">8. Followed swift-recon instructions from </font><a href="http://swift.openstack.org/admin_guide.html">http://swift.openstack.org/admin_guide.html</a></div><div>9. My object-server.conf looks like
 this:</div><div>===</div><div><div>[DEFAULT]</div><div>bind_ip = x.x.x.x</div><div>workers = 2</div><div><br></div><div>[pipeline:main]</div><div>pipeline = recon object-server</div><div><br></div><div>[filter:recon]</div><div>use = egg:swift#recon</div><div>recon_cache_path = /var/cache/swift</div><div><br></div><div>[app:object-server]</div><div>use = egg:swift#object</div><div><br></div><div>[object-replicator]</div><div><br></div><div>[object-updater]</div><div><br></div><div>[object-auditor]</div><div>===</div><div>10. I restarted the object server</div><div>11. When I try the curl command I get the following error:</div><div><br></div><div><div>/etc/swift$ curl -i http://localhost:6030/recon/async</div><div>curl: (7) couldn't connect to host</div><div><br></div><div>12. Ditto with the cli (the other hosts don't have swift-recon so that's OK, but the first one does, IP addresses masked):</div><div><br></div><div><div>/etc/swift$ sudo swift-recon
 -d</div><div><br></div><div>===============================================================================</div><div>[2011-11-30 18:47:24] Checking disk usage on 5 hosts...</div><div>-> http://10.x.x.x:6000/recon/diskusage: <urlopen error [Errno 111] ECONNREFUSED></div><div>-> http://10.x.x.x:6000/recon/diskusage: HTTP Error 400: Bad Request</div><div>-> http://10.x.x.x:6000/recon/diskusage: HTTP Error 400: Bad Request</div><div>-> http://10.x.x.x:6000/recon/diskusage: HTTP Error 400: Bad Request</div><div>-> http://10.x.x.x:6000/recon/diskusage: HTTP Error 400: Bad Request</div><div>-> http://10.x.x.x:6000/recon/diskusage: Error. No drive info available.</div><div>Error: No hosts available or returned valid information.</div><div>===============================================================================</div><div><br></div></div></div></div></div></body></html>