swift-recon -d -v got Error. No drive info available

asked 2013-10-01 22:15:09 -0500

Jack gravatar image

updated 2013-11-12 22:10:45 -0500

koolhead17 gravatar image

Dear all, I got a problem while running "swift-recon -d -v" command to check disk usage. Got messages:

-> http://my-storage1-ip:6000/recon/diskusage: [{'device': 'xvdb1', 'avail': ' ', 'mounted': False, 'used': ' ', 'size': ''}]
-> http://my-storage2-ip:6000/recon/diskusage: [{'device': 'xvda9', 'avail': ' ', 'mounted': False, 'used': ' ', 'size: ' '}]
-> http://my-storage1-ip:6000/recon/diskusage: Error. No drive info available.
-> http://my-storage2-ip:6000/recon/diskusage: Error. No drive info available.

No hosts returned valid data.

My account-server.conf, container-server.conf, object-server.conf looked like this:

[DEFAULT]
bind_ip = my-storage{1,2}-ip
bind_port ={6002,6001,6000}
worker = 3
log_facility = LOG_LOCAL0
devices = /srv/1/node
mount_check = false
[pipeline:main]
pipeline = recon {account,container,object}-server
[filter:recon]
use egg:swift#recon
recon_cache_path = /var/cache/swift

[app:{account,container,object}-server]
use = egg:swift#{account,container,object}
[{account,container,object}-replicator]

[{account,container,object}-auditor]

[{account,container,object}-reaper]

I can upload/download files to/from swift successfully. swift-recon -l to check loading is also successfully.

Could you please give my some suggestions to fix my problem? Thanks a lot.

edit retag flag offensive close merge delete

Comments

Please check if the device locations is really "devices = /srv/1/node"

koolhead17 gravatar imagekoolhead17 ( 2013-11-12 22:12:08 -0500 )edit