Project

General

Profile

Actions

Bug #9892

closed

radosgw_admin.py: failed len(out['entries']) == 0 on usage show

Added by Sage Weil over 9 years ago. Updated over 9 years ago.

Status:
Resolved
Priority:
Urgent
Assignee:
Target version:
-
% Done:

0%

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

Description

2014-10-25T21:45:07.360 INFO:tasks.util.rgw: json result: {u'summary': [{u'total': {u'successful_ops': 7, u'bytes_received': 0, u'bytes_sent': 0, u'ops': 7}, u'user': u'foo', u'categories': [{u'category': u'delete_bucket', u'successful_ops': 7, u'bytes_received': 0, u'bytes_sent': 0, u'ops': 7}]}], u'entries': [{u'owner': u'foo', u'buckets': [{u'epoch': 1414324800, u'bucket': u'mybar', u'categories': [{u'category': u'delete_bucket', u'successful_ops': 2, u'bytes_received': 0, u'bytes_sent': 0, u'ops': 2}], u'time': u'2014-10-26 12:00:00.000000Z'}, {u'epoch': 1414324800, u'bucket': u'myfoo', u'categories': [], u'time': u'2014-10-26 12:00:00.000000Z'}, {u'epoch': 1414324800, u'bucket': u'myfoo2', u'categories': [{u'category': u'delete_bucket', u'successful_ops': 1, u'bytes_received': 0, u'bytes_sent': 0, u'ops': 1}], u'time': u'2014-10-26 12:00:00.000000Z'}, {u'epoch': 1414324800, u'bucket': u'myfoo3', u'categories': [{u'category': u'delete_bucket', u'successful_ops': 1, u'bytes_received': 0, u'bytes_sent': 0, u'ops': 1}], u'time': u'2014-10-26 12:00:00.000000Z'}, {u'epoch': 1414324800, u'bucket': u'myfoo4', u'categories': [{u'category': u'delete_bucket', u'successful_ops': 1, u'bytes_received': 0, u'bytes_sent': 0, u'ops': 1}], u'time': u'2014-10-26 12:00:00.000000Z'}, {u'epoch': 1414324800, u'bucket': u'myfoodata', u'categories': [{u'category': u'delete_bucket', u'successful_ops': 1, u'bytes_received': 0, u'bytes_sent': 0, u'ops': 1}], u'time': u'2014-10-26 12:00:00.000000Z'}, {u'epoch': 1414324800, u'bucket': u'myfoodata2', u'categories': [{u'category': u'delete_bucket', u'successful_ops': 1, u'bytes_received': 0, u'bytes_sent': 0, u'ops': 1}], u'time': u'2014-10-26 12:00:00.000000Z'}]}]}
2014-10-25T21:45:07.360 INFO:tasks.util.rgw:rgwadmin: client.0 : ['usage', 'trim', '--uid', 'foo']
2014-10-25T21:45:07.360 INFO:tasks.util.rgw:rgwadmin: cmd=['adjust-ulimits', 'ceph-coverage', '/home/ubuntu/cephtest/archive/coverage', 'radosgw-admin', '--log-to-stderr', '--format', 'json', '-n', 'client.0', 'usage', 'trim', '--uid', 'foo']
2014-10-25T21:45:07.361 INFO:teuthology.orchestra.run.plana18:Running: 'adjust-ulimits ceph-coverage /home/ubuntu/cephtest/archive/coverage radosgw-admin --log-to-stderr --format json -n client.0 usage trim --uid foo'
2014-10-25T21:45:08.496 INFO:tasks.util.rgw:rgwadmin: client.0 : ['usage', 'show', '--uid', 'foo']
2014-10-25T21:45:08.496 INFO:tasks.util.rgw:rgwadmin: cmd=['adjust-ulimits', 'ceph-coverage', '/home/ubuntu/cephtest/archive/coverage', 'radosgw-admin', '--log-to-stderr', '--format', 'json', '-n', 'client.0', 'usage', 'show', '--uid', 'foo']
2014-10-25T21:45:08.497 INFO:teuthology.orchestra.run.plana18:Running: 'adjust-ulimits ceph-coverage /home/ubuntu/cephtest/archive/coverage radosgw-admin --log-to-stderr --format json -n client.0 usage show --uid foo'
2014-10-25T21:45:09.297 INFO:tasks.util.rgw: json result: {u'summary': [{u'total': {u'successful_ops': 1, u'bytes_received': 4, u'bytes_sent': 0, u'ops': 1}, u'user': u'foo', u'categories': [{u'category': u'put_obj', u'successful_ops': 1, u'bytes_received': 4, u'bytes_sent': 0, u'ops': 1}]}], u'entries': [{u'owner': u'foo', u'buckets': [{u'epoch': 1414324800, u'bucket': u'myfoo', u'categories': [{u'category': u'put_obj', u'successful_ops': 1, u'bytes_received': 4, u'bytes_sent': 0, u'ops': 1}], u'time': u'2014-10-26 12:00:00.000000Z'}]}]}
2014-10-25T21:45:09.297 ERROR:teuthology.run_tasks:Saw exception from tasks.
Traceback (most recent call last):
  File "/home/teuthworker/src/teuthology_master/teuthology/run_tasks.py", line 53, in run_tasks
    manager = run_one_task(taskname, ctx=ctx, config=config)
  File "/home/teuthworker/src/teuthology_master/teuthology/run_tasks.py", line 41, in run_one_task
    return fn(**kwargs)
  File "/var/lib/teuthworker/src/ceph-qa-suite_giant/tasks/radosgw_admin.py", line 827, in task
    assert len(out['entries']) == 0
AssertionError

ubuntu@teuthology:/a/teuthology-2014-10-24_23:02:01-rgw-giant-distro-basic-multi/570664
Actions

Also available in: Atom PDF