Project

General

Profile

Actions

Bug #19194

closed

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

Added by yan zhou about 7 years ago. Updated over 6 years ago.

Status:
Duplicate
Priority:
High
Assignee:
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

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 1 (0 open1 closed)

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

Actions
Actions #1

Updated by Josh Durgin about 7 years ago

  • Project changed from Ceph to rgw
Actions #2

Updated by Yehuda Sadeh about 7 years ago

  • Priority changed from Normal to High
Actions #3

Updated by Casey Bodley almost 7 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
Actions #4

Updated by Matt Benjamin almost 7 years ago

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

Updated by Matt Benjamin almost 7 years ago

as in the linked issue, fix is nearing completion

Actions #6

Updated by Orit Wasserman over 6 years ago

  • Status changed from In Progress to Duplicate
Actions

Also available in: Atom PDF