You can get more information about recon at http://swift.openstack.org/admin_guide.html Marcelo Martins Openstack-Swift btorch-os at zeroaccess.org “Knowledge is the wings on which our aspirations take flight and soar. When it comes to surfing and life if you know what to do you can do it. If you desire anything become educated about it and succeed. “ On Nov 30, 2011, at 12:50 PM, Amar Kapadia wrote: > I am trying out swift-recon but running into problems. Help appreciated :-)!! > > - The standard object server install as per instructions on http://docs.openstack.org/diablo/openstack-object-storage/admin/content/installing-and-configuring-storage-nodes.html does not install swift-recon. > > So I did the following: > > 1. Downloaded swift code from - http://openstack.org/projects/storage/latest-release/ > 2. sudo cp ~/swift-1.4.3/swift/common/middleware/recon.py /usr/share/pyshared/swift/common/middleware > 3. sudo ln -s /usr/share/pyshared/swift/common/middleware/recon.py /usr/lib/pymodules/python2.6/swift/common/middleware > 4. Compiled recon.py to generate recon.pyc > 5. sudo cp swift-recon* /usr/bin > 6. sudo mkdir /var/cache/swift > 7. sudo chown swift:swift swift > 8. Followed swift-recon instructions from http://swift.openstack.org/admin_guide.html > 9. My object-server.conf looks like this: > === > [DEFAULT] > bind_ip = x.x.x.x > workers = 2 > > [pipeline:main] > pipeline = recon object-server > > [filter:recon] > use = egg:swift#recon > recon_cache_path = /var/cache/swift > > [app:object-server] > use = egg:swift#object > > [object-replicator] > > [object-updater] > > [object-auditor] > === > 10. I restarted the object server > 11. When I try the curl command I get the following error: > > /etc/swift$ curl -i http://localhost:6030/recon/async > curl: (7) couldn't connect to host > > 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): > > /etc/swift$ sudo swift-recon -d > > =============================================================================== > [2011-11-30 18:47:24] Checking disk usage on 5 hosts... > -> http://10.x.x.x:6000/recon/diskusage: <urlopen error [Errno 111] ECONNREFUSED> > -> http://10.x.x.x:6000/recon/diskusage: HTTP Error 400: Bad Request > -> http://10.x.x.x:6000/recon/diskusage: HTTP Error 400: Bad Request > -> http://10.x.x.x:6000/recon/diskusage: HTTP Error 400: Bad Request > -> http://10.x.x.x:6000/recon/diskusage: HTTP Error 400: Bad Request > -> http://10.x.x.x:6000/recon/diskusage: Error. No drive info available. > Error: No hosts available or returned valid information. > =============================================================================== > > _______________________________________________ > Openstack-operators mailing list > Openstack-operators at lists.openstack.org > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.openstack.org/pipermail/openstack-operators/attachments/20111201/30d003ba/attachment-0002.html>