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

Projects
None yet
5 participants
@mhackett
Copy link
Contributor

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

This comment has been minimized.

Copy link
Contributor

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

This comment has been minimized.

Copy link
@theanalyst

theanalyst Jul 6, 2016

Member

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

This comment has been minimized.

Copy link
Contributor

commented Jul 6, 2016

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

This comment has been minimized.

Copy link
Member

commented Jul 6, 2016

@vumrao thanks!

@vumrao

This comment has been minimized.

Copy link
Contributor

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.
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>

@mhackett mhackett force-pushed the mhackett:wip-mhackett-16604 branch from dd978dc to 3564ee3 Jul 7, 2016

@vumrao

This comment has been minimized.

Copy link
Contributor

commented Jul 7, 2016

lgtm.

@mattbenjamin mattbenjamin self-assigned this Jul 7, 2016

@theanalyst

This comment has been minimized.

Copy link
Member

commented Jul 7, 2016

lgtm

@vumrao

This comment has been minimized.

Copy link
Contributor

commented Aug 10, 2016

@mattbenjamin ping :)

@yehudasa yehudasa merged commit 086cebc into ceph:master Oct 5, 2016

2 checks passed

Signed-off-by all commits in this PR are signed
Details
default Build finished.
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.