Re: [ceph-users] about federated gateway
Hi, I open an issue, and the link is as following: http://tracker.ceph.com/issues/14081 Thanks Sunfch 2015-12-15 2:33 GMT+08:00 Yehuda Sadeh-Weinraub : > On Sun, Dec 13, 2015 at 7:27 AM, 孙方臣 wrote: > > Hi, All, > > > > I'm setting up federated gateway. One is master zone, the other is slave > > zone. Radosgw-agent is running in slave zone. I have encountered some > > problems, can anybody help answering this: > > > > 1. When put a object to radosgw, there are two bilogs to generate. One > is > > "pending" state, the other is "complete" state.This should be ignored > when > > the entry is "pending" state, otherwise the same object will be copied > > twice. I have a pull request that is at > > https://github.com/ceph/radosgw-agent/pull/39, please give some > suggestions > > about it. > > > > 2. When the "rgw_num_rados_handles" is set as 16, the radosgw-agent > caannot > > unlock, the error code is 404. the log is following: > > .. > > 2015-12-13 21:52:33,373 26594 [radosgw_agent.lock][WARNING] failed to > unlock > > shard 115 in zone zone-a: Http error code 404 content Not Found > > .. > > 2015-12-13 21:53:00,732 26594 [radosgw_agent.lock][ERROR ] locking shard > 116 > > in zone zone-a failed: Http error code 423 content > > .. > > > > I can find the locker with the "rados lock info" command, and can break > the > > lock with "rados lock break" command. > > I find the reason finally, the reason is that the lock request from > > radosgw-agent is processed by rados client and the unlock request from > > radosgw-agent is processed by anther rados client. When the > > "rgw_num_rados_handles" is set as 1, the warning message did not > appeared. > > Can anybody help giving some suggestions about this, and can the warning > > message be ignored? > > Hi, > > it certainly seems like a bug. Can you open an issue at tracker.ceph.com? > > Thanks, > Yehuda > ___ ceph-users mailing list ceph-users@lists.ceph.com http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
Re: [ceph-users] about federated gateway
On Sun, Dec 13, 2015 at 7:27 AM, 孙方臣 wrote: > Hi, All, > > I'm setting up federated gateway. One is master zone, the other is slave > zone. Radosgw-agent is running in slave zone. I have encountered some > problems, can anybody help answering this: > > 1. When put a object to radosgw, there are two bilogs to generate. One is > "pending" state, the other is "complete" state.This should be ignored when > the entry is "pending" state, otherwise the same object will be copied > twice. I have a pull request that is at > https://github.com/ceph/radosgw-agent/pull/39, please give some suggestions > about it. > > 2. When the "rgw_num_rados_handles" is set as 16, the radosgw-agent caannot > unlock, the error code is 404. the log is following: > .. > 2015-12-13 21:52:33,373 26594 [radosgw_agent.lock][WARNING] failed to unlock > shard 115 in zone zone-a: Http error code 404 content Not Found > .. > 2015-12-13 21:53:00,732 26594 [radosgw_agent.lock][ERROR ] locking shard 116 > in zone zone-a failed: Http error code 423 content > .. > > I can find the locker with the "rados lock info" command, and can break the > lock with "rados lock break" command. > I find the reason finally, the reason is that the lock request from > radosgw-agent is processed by rados client and the unlock request from > radosgw-agent is processed by anther rados client. When the > "rgw_num_rados_handles" is set as 1, the warning message did not appeared. > Can anybody help giving some suggestions about this, and can the warning > message be ignored? Hi, it certainly seems like a bug. Can you open an issue at tracker.ceph.com? Thanks, Yehuda ___ ceph-users mailing list ceph-users@lists.ceph.com http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
[ceph-users] about federated gateway
Hi, All, I'm setting up federated gateway. One is master zone, the other is slave zone. Radosgw-agent is running in slave zone. I have encountered some problems, can anybody help answering this: 1. When put a object to radosgw, there are two bilogs to generate. One is "pending" state, the other is "complete" state.This should be ignored when the entry is "pending" state, otherwise the same object will be copied twice. I have a pull request that is at https://github.com/ceph/radosgw-agent/pull/39, please give some suggestions about it. 2. When the "rgw_num_rados_handles" is set as 16, the radosgw-agent caannot unlock, the error code is 404. the log is following: .. 2015-12-13 21:52:33,373 26594 [radosgw_agent.lock][WARNING] failed to unlock shard 115 in zone zone-a: Http error code 404 content Not Found .. 2015-12-13 21:53:00,732 26594 [radosgw_agent.lock][ERROR ] locking shard 116 in zone zone-a failed: Http error code 423 content .. I can find the locker with the "rados lock info" command, and can break the lock with "rados lock break" command. I find the reason finally, the reason is that the lock request from radosgw-agent is processed by rados client and the unlock request from radosgw-agent is processed by anther rados client. When the "rgw_num_rados_handles" is set as 1, the warning message did not appeared. Can anybody help giving some suggestions about this, and can the warning message be ignored? Thanks ! sunfch ___ ceph-users mailing list ceph-users@lists.ceph.com http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com