New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
jewel: rgw: multisite: sync status reports master is on a different period #13175
Conversation
This ensures that we get the current period in contrast to the admin log which gets the master's earliest period. Fixes: http://tracker.ceph.com/issues/18064 Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com> (cherry picked from commit 4ca18df)
This is needed for rgw admin's sync status or else we end up always publishing that we're behind since we are always checking against master's first period to sync from Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com> (cherry picked from commit 063c949)
Also make the sync output look similar to the output of data sync Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com> (cherry picked from commit cc306c5)
This passed RGW runs at http://tracker.ceph.com/issues/17851#note-50 and http://tracker.ceph.com/issues/17851#note-58 |
|
After running 10.2.6 We still reproducing the same issue, when changing a secondary zone to master zone. Steps to reproduce: On secondary cluster: At this point the secondary cluster is working well as master. After the failed (old master) cluster is back: radosgw-admin period pull --url={url-to-master-zone-gateway} --access-key={access-key} --secret={secret} And now, We remove the flag master from the Secondary cluster: radosgw-admin zone modify --rgw-zone={zone-name} --master=false And then, running the command "radosgw-admin sync status" on secondary cluster, we have: master is on a different period: master_period=0c31136b-f2bd-402a-a65d-ed03a1956683 local_period=abd599c5-36d4-492e-a2f5-2a10eb2b6a93 Thanks! |
@dbiazus Are you saying that http://tracker.ceph.com/issues/18064 is still reproducible in Jewel 10.2.6? |
Yes, I'm able to reproduce the same behaviour in Jewel 10.2.6, even in a fresh install |
@theanalyst Ping - see the comments above. |
I could also reproduce this in Kraken:
Best Regards |
@dbiazus thanks, will check out |
@dbiazus i'm guessing that your issues are related to http://tracker.ceph.com/issues/18639, which tracks some problems with metadata sync across master changes. if that's the case, then to verify, run the non-master gateway with |
hey @cbodley, I'm little confused here:
Any idea ? Thanks! |
http://tracker.ceph.com/issues/18684