On 29/10/13 20:53, lixuehui wrote:
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!
I received this error too - although I was attempting a 'full' sync at
the time. I surmised that maybe the response object == None at that
point? But otherwise I had no idea.
I was also confused about:
- was this even supposed to work with ceph 0.71?
- which radosgw-agent to use:
* https://github.com/ceph/radosgw-agent
* https://github.com/jdurgin/radosgw-agent
Given that the newly updated docs:
http://ceph.com/docs/wip-doc-radosgw/radosgw/federated-config/ suggest
ceph 0.72, I'm wondering if we just need to be more patient?
However - Inktank folks - there is a lot of interest in the feature, so
forgive us if we are jumping the gun, but also the current state of play
is murky and some clarification would not go amiss!
Best wishes
Mark
_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com