Skip to content
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

doc: add rgw_enable_usage_log option in Rados Gateway admin guide #10159

Merged
merged 1 commit into from Oct 5, 2016

Conversation

mhackett
Copy link
Contributor

@mhackett mhackett commented Jul 6, 2016

doc: add rgw_enable_usage_log option in Rados Gateway admin guide

Fixes: http://tracker.ceph.com/issues/16604

Signed-off-by: Mike Hackett mhackett@redhat.com

@vumrao
Copy link
Contributor

vumrao commented Jul 6, 2016

@mhackett thank you for working in this PR.

@@ -433,6 +433,8 @@ Usage
The Ceph Object Gateway logs usage for each user. You can track
user usage within date ranges too.

- Add ``rgw enable usage log = true`` in [global] section of ceph.conf
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess doesn't need to be in global section... it should be fine in the [client.rgw] ie. rgw section of conf also? Maybe we word it like add ``rgw..` in the relevant rgw section of ceph.conf ?

@vumrao
Copy link
Contributor

vumrao commented Jul 6, 2016

  • I tested in [global] section.
  • I will test it in [rgw] or in [client.rgw] section.

@theanalyst
Copy link
Member

@vumrao thanks!

@vumrao
Copy link
Contributor

vumrao commented Jul 7, 2016

  • I have tested this option in three sections of ceph.conf [client.rgw], [rgw] and [global] :
  • rgw_enable_usage_log option gets set in [client.rgw] and [global] not in [rgw].
  • This option needs restart of radosgw service.
# ceph --admin-daemon /var/run/ceph/ceph-client.rgw.radosgw1.asok config show | grep rgw_enable_usage_log
    "rgw_enable_usage_log": "true",
  • Correct change should be :
  • Add rgw enable usage log = true in [client.rgw] section of ceph.conf and restart the radosgw service.

     admin guide

Fixes: http://tracker.ceph.com/issues/16604

Signed-off-by: Mike Hackett <mhackett@redhat.com>
@vumrao
Copy link
Contributor

vumrao commented Jul 7, 2016

lgtm.

@mattbenjamin mattbenjamin self-assigned this Jul 7, 2016
@theanalyst
Copy link
Member

lgtm

@vumrao
Copy link
Contributor

vumrao commented Aug 10, 2016

@mattbenjamin ping :)

@yehudasa yehudasa merged commit 086cebc into ceph:master Oct 5, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
5 participants