Actions
Bug #19194
closedafter s3cmd put file to bucket, 'radosgw-admin usage show --categories=put_obj' bytes_received=0
% 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
}
}
]
}
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
Updated by Matt Benjamin almost 7 years ago
- Status changed from New to In Progress
- Assignee set to Marcus Watts
Updated by Matt Benjamin almost 7 years ago
as in the linked issue, fix is nearing completion
Updated by Orit Wasserman over 6 years ago
- Status changed from In Progress to Duplicate
Actions