Project

General

Profile

Actions

Bug #12182

closed

Data asynchronous sync failed in federated gateway

Added by Wen-Dwo Hwang Hwang almost 9 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
-
% Done:

0%

Source:
other
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

I followed the instructions of Federated Configuration (http://ceph.com/docs/master/radosgw/federated-config/) to build single region and two zones environment, which us-east is master zone and us-west is secondary zone. I have configured all settings successfully. In the final step, when the synchronization agent, 'radosgw-agent -c region-data-sync.conf' is running, I saw the agent was synchronizing shards of data.

After some testing by using 's3cmd', I found only metadata is replicated to secondary zone which is checked by using :
'rados -p .us-east.rgw.buckets.index ls' for master zone
'rados -p .us-west.rgw.buckets.index ls' for secondary zone.
The data portion was missing which is checked by using :
'rados -p .us-east.rgw.buckets ls' for master zone
'rados -p .us-west.rgw.buckets ls' for secondary zone.

I found the error message in the logging file of the 'radosgw-agent', version 1.1, that showed 'unhashable type 'list''. So I modified the /usr/share/pyshared/radosgw_agent/worker.py to add 'tuple' according to the version 1.2.2. After modified completely, then the another error message '*HttpError: Http error code 409 content {"Code":"BucketAlreadyExists"}*' occurred in the logging file.

Any help would be much appreciated.

The packages information as follows:
OS Ubuntu 14.04 AMD64
Apache2 2.4.7-1ubuntu4.4
Ceph 0.80.9-0ubuntu0.14.04.2
Ceph-deploy 1.4.0-0ubuntu1
Radosgw 0.80.9-0ubuntu0.14.04.2
Radosgw-agent 1.1-0ubuntu1


Files

master_radosgw-sync.log (23 KB) master_radosgw-sync.log logging file of radosgw-agent on master zone cluster Wen-Dwo Hwang Hwang, 07/01/2015 03:23 AM
secondary_radosgw.log (55.6 KB) secondary_radosgw.log logging file of /etc/init.d/radosgw for secondary zone cluster Wen-Dwo Hwang Hwang, 07/01/2015 03:29 AM
radosgw-sync.log (20 KB) radosgw-sync.log Wen-Dwo Hwang Hwang, 07/17/2015 02:04 AM
ceph_access.log (5.98 KB) ceph_access.log Wen-Dwo Hwang Hwang, 07/17/2015 02:04 AM
radosgw.node1-ms20.log (31.2 KB) radosgw.node1-ms20.log Wen-Dwo Hwang Hwang, 07/17/2015 03:04 AM
Actions

Also available in: Atom PDF