Bug 1326734 - Need an admin-friendly log file to check multisite sync status
Summary: Need an admin-friendly log file to check multisite sync status
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat
Component: RGW
Version: 2.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: rc
: 2.0
Assignee: Matt Benjamin (redhat)
QA Contact: ceph-qe-bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-04-13 11:53 UTC by shilpa
Modified: 2022-02-21 18:05 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-05-02 14:29:16 UTC
Target Upstream Version:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Ceph Project Bug Tracker 15483 0 None None None 2016-04-22 16:43:07 UTC

Description shilpa 2016-04-13 11:53:27 UTC
Description of problem:
As an admin I would like to be able to see the sync status of objects in logs in a multisite configuration. Currently I can get the number of shards that are to be synced by checking radosgw-admin command "sync status". But it would be easier to check what objects need to be synced and corresponding errors upon failure in rgw log file in /var/log.

Comment 2 shilpa 2016-04-13 12:13:11 UTC
Upstream tracker: http://tracker.ceph.com/issues/15483

Comment 3 Matt Benjamin (redhat) 2016-04-13 12:50:58 UTC
Are you thinking of this as a production setup?  Seems like this may generate a potentially very large increase in log traffic at a realistic scale.

Comment 4 shilpa 2016-04-13 13:16:36 UTC
(In reply to Matt Benjamin (redhat) from comment #3)
> Are you thinking of this as a production setup?  Seems like this may
> generate a potentially very large increase in log traffic at a realistic
> scale.

May be the shard numbers could be logged. That way I can atleast see what shard has failed. We could use that shard index to look up the rgw pools to see what files the shard contains. Or logging the objects that have failed to sync would be helpful. Not sure if it is feasible.

Comment 5 Yehuda Sadeh 2016-04-22 17:56:31 UTC
There is a log that logs failed sync operations. You can see that via:

$ radosgw-admin sync error list

Comment 6 Ken Dreyer (Red Hat) 2016-04-26 21:04:27 UTC
Is the command in comment #5 enough to close this bug?

Comment 7 shilpa 2016-05-02 14:28:54 UTC
> There is a log that logs failed sync operations. You can see that via:
> 
> $ radosgw-admin sync error list

Thanks that works.


Note You need to log in before you can comment on or make changes to this bug.