Project

General

Profile

Actions

Bug #25028

closed

admin api: RGWOp_Key_Remove doesn't return a json response

Added by Casey Bodley almost 6 years ago. Updated over 5 years ago.

Status:
Won't Fix
Priority:
Normal
Assignee:
-
Target version:
-
% Done:

0%

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

Description

http://qa-proxy.ceph.com/teuthology/cbodley-2018-07-20_16:36:41-rgw:singleton-wip-cbodley-testing-distro-basic-smithi/2801780/teuthology.log

the radosgw_admin_rest teuthology task fails on:

2018-07-20T16:55:04.391 INFO:tasks.radosgw_admin_rest:radosgw-admin-rest: ['key', 'rm'] {'uid': 'foo', 'access-key': 'p5YnriCv1nAtykxBrupQ'}
2018-07-20T16:55:04.407 ERROR:teuthology.run_tasks:Saw exception from tasks.
Traceback (most recent call last):
  File "/home/teuthworker/src/git.ceph.com_git_teuthology_master/teuthology/run_tasks.py", line 86, in run_tasks
    manager = run_one_task(taskname, ctx=ctx, config=config)
  File "/home/teuthworker/src/git.ceph.com_git_teuthology_master/teuthology/run_tasks.py", line 65, in run_one_task
    return task(**kwargs)
  File "/home/teuthworker/src/github.com_cbodley_ceph_wip-qa-rgw-admin-rest/qa/tasks/radosgw_admin_rest.py", line 253, in task
    'access-key' : access_key2
  File "/home/teuthworker/src/github.com_cbodley_ceph_wip-qa-rgw-admin-rest/qa/tasks/radosgw_admin_rest.py", line 110, in rgwadmin_rest
    log.info(' json result: %s' % result.json())
  File "/home/teuthworker/src/git.ceph.com_git_teuthology_master/virtualenv/local/lib/python2.7/site-packages/requests/models.py", line 850, in json
    return complexjson.loads(self.text, **kwargs)
  File "/home/teuthworker/src/git.ceph.com_git_teuthology_master/virtualenv/local/lib/python2.7/site-packages/simplejson/__init__.py", line 516, in loads
    return _default_decoder.decode(s)
  File "/home/teuthworker/src/git.ceph.com_git_teuthology_master/virtualenv/local/lib/python2.7/site-packages/simplejson/decoder.py", line 374, in decode
    obj, end = self.raw_decode(s)
  File "/home/teuthworker/src/git.ceph.com_git_teuthology_master/virtualenv/local/lib/python2.7/site-packages/simplejson/decoder.py", line 404, in raw_decode
    return self.scan_once(s, idx=_w(s, idx).end())
JSONDecodeError: Expecting value: line 1 column 1 (char 0)
Actions #1

Updated by Casey Bodley over 5 years ago

  • Status changed from New to Won't Fix

i'm just fixing the test to accept empty replies in https://github.com/ceph/ceph/pull/23145

Actions

Also available in: Atom PDF