radosgw-agent error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,list
From the document that a radosgw-agent's right info should like this
INFO:radosgw_agent.sync:Starting incremental sync
INFO:radosgw_agent.worker:17910 is processing shard number 0
INFO:radosgw_agent.worker:shard 0 has 0 entries after ''
INFO:radosgw_agent.worker:finished processing shard 0
INFO:radosgw_agent.worker:17910 is processing shard number 1
INFO:radosgw_agent.sync:1/64 shards processed
INFO:radosgw_agent.worker:shard 1 has 0 entries after ''
INFO:radosgw_agent.worker:finished processing shard 1
INFO:radosgw_agent.sync:2/64 shards processed
my radosgw-agent return error like
    out = request(connection, 'get', '/admin/log', dict(type=shard_type))
  File "/usr/lib/python2.7/dist-packages/radosgw_agent/client.py", line 76, in request
    return result.json()
AttributeError: 'Response' object has no attribute 'json'
ERROR:root:error doing incremental sync, trying again later
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/radosgw_agent/cli.py", line 247, in main
    args.max_entries)
  File "/usr/lib/python2.7/dist-packages/radosgw_agent/sync.py", line 22, in sync_incremental
    num_shards = client.num_log_shards(self.src_conn, self._type)
  File "/usr/lib/python2.7/dist-packages/radosgw_agent/client.py", line 142, in num_log_shards
    out = request(connection, 'get', '/admin/log', dict(type=shard_type))
  File "/usr/lib/python2.7/dist-packages/radosgw_agent/client.py", line 76, in request
Maybe there anyone ever encountered the same problem. Any help is appropriated!
 

lixuehui
_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux