Project

General

Profile

Bug #19194

after s3cmd put file to bucket, 'radosgw-admin usage show --categories=put_obj' bytes_received=0

Added by yan zhou over 2 years ago. Updated about 2 years ago.

Status:
Duplicate
Priority:
High
Assignee:
Target version:
-
Start date:
03/06/2017
Due date:
% Done:

0%

Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:

Description

  • descriptions:
    after put file to bucket with command: 's3cmd put file s3://bucket', check with command: 'radosgw-admin usage show --categories=put_obj', bytes_received is 0
    expected: bytes_received of 'radosgw-admin usage show --categories=put_obj' isthe same as the upload file size.
  • ceph version and configuration about radosgw as follows:

#ceph -v
ceph version 12.0.0-880-gc53073a (c53073aa617a13525e05cf21cbf7d327851e33eb)

#cat /etc/ceph/ceph.conf
[global]
rgw enable usage log = true
rgw usage log tick interval = 1
[client.radosgw.host]
rgw_frontends = "civetweb port=9000"
log file = /var/log/ceph/client.radosgw.host.log

#s3cmd --version
s3cmd version 1.6.1

  • Test steps are as follows:
    1. create bucket
    s3cmd mb s3://bucket
    2. create test file
    dd if=/dev/zero of=/tmp/10M bs=1M count=10 oflag=direct
    3. put file to bucket
    s3cmd put /tmp/10M s3://bucket
    4. radosgw-admin usage show --categories=put_obj --show-log-entries=false

{
"summary": [ {
"user": "root",
"categories": [ {
"category": "put_obj",
"bytes_sent": 0,
"bytes_received": 0,
"ops": 1,
"successful_ops": 1
}
],
"total": {
"bytes_sent": 0,
"bytes_received": 0,
"ops": 1,
"successful_ops": 1
}
}
]
}


Related issues

Related to rgw - Bug #19870: rgw: bytes_send and bytes_recv in the msg of usage show returning is 0 in master branch Resolved 05/05/2017

History

#1 Updated by Josh Durgin over 2 years ago

  • Project changed from Ceph to rgw

#2 Updated by Yehuda Sadeh over 2 years ago

  • Priority changed from Normal to High

#3 Updated by Casey Bodley over 2 years ago

  • Related to Bug #19870: rgw: bytes_send and bytes_recv in the msg of usage show returning is 0 in master branch added

#4 Updated by Matt Benjamin over 2 years ago

  • Status changed from New to In Progress
  • Assignee set to Marcus Watts

#5 Updated by Matt Benjamin about 2 years ago

as in the linked issue, fix is nearing completion

#6 Updated by Orit Wasserman about 2 years ago

  • Status changed from In Progress to Duplicate

Also available in: Atom PDF