Project

General

Profile

Actions

Bug #24613

open

luminous: rest/test.py fails with expected 200, got 400

Added by Neha Ojha almost 6 years ago. Updated almost 4 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
% Done:

0%

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

Description

2018-06-11T21:50:40.667 INFO:tasks.workunit:Running workunit rest/test.py...
2018-06-11T21:50:40.667 INFO:teuthology.orchestra.run.smithi001:Running (workunit test rest/test.py): 'mkdir -p -- /home/ubuntu/cephtest/mnt.0/client.0/tmp && cd -- /home/ubuntu/cephtest/mnt.0/client.0/tmp && CEPH_CLI_TEST_DUP_COMMAND=1 CEPH_REF=wip-yuri3-testing-2018-06-11-1421-luminous TESTDIR="/home/ubuntu/cephtest" CEPH_ARGS="--cluster ceph" CEPH_ID="0" PATH=$PATH:/usr/sbin CEPH_BASE=/home/ubuntu/cephtest/clone.client.0 CEPH_ROOT=/home/ubuntu/cephtest/clone.client.0 adjust-ulimits ceph-coverage /home/ubuntu/cephtest/archive/coverage timeout 3h /home/ubuntu/cephtest/clone.client.0/qa/workunits/rest/test.py'
2018-06-11T21:50:40.845 INFO:tasks.rest_api.client.rest0.smithi001.stderr:::1 - - [11/Jun/2018 21:50:40] "GET /api/v0.1/auth/export HTTP/1.1" 200 -
2018-06-11T21:50:40.852 INFO:tasks.rest_api.client.rest0.smithi001.stderr:::1 - - [11/Jun/2018 21:50:40] "GET /api/v0.1/auth/export.json HTTP/1.1" 200 -
2018-06-11T21:50:40.866 INFO:tasks.rest_api.client.rest0.smithi001.stderr:::1 - - [11/Jun/2018 21:50:40] "GET /api/v0.1/auth/export.xml HTTP/1.1" 200 -
2018-06-11T21:50:40.897 INFO:tasks.rest_api.client.rest0.smithi001.stderr:::1 - - [11/Jun/2018 21:50:40] "GET /api/v0.1/auth/export HTTP/1.1" 200 -
2018-06-11T21:50:40.904 INFO:tasks.rest_api.client.rest0.smithi001.stderr:::1 - - [11/Jun/2018 21:50:40] "GET /api/v0.1/auth/export HTTP/1.1" 200 -
2018-06-11T21:50:40.911 INFO:tasks.rest_api.client.rest0.smithi001.stderr:::1 - - [11/Jun/2018 21:50:40] "PUT /api/v0.1/auth/add?entity=client.xx&caps=mon&caps=allow&caps=osd&caps=allow+* HTTP/1.1" 400 -
2018-06-11T21:50:40.912 INFO:tasks.workunit.client.0.smithi001.stderr:FAILURE: url  http://localhost:5000/api/v0.1/auth/add?entity=client.xx&caps=mon&caps=allow&caps=osd&caps=allow+*
2018-06-11T21:50:40.912 INFO:tasks.workunit.client.0.smithi001.stderr:expected 200, got 400
2018-06-11T21:50:40.913 INFO:tasks.workunit.client.0.smithi001.stderr:Response content:  {"status": "Error: moncap parse failed, stopped at 'allow' of 'allow'\n (-22)", "output": []}
2018-06-11T21:50:40.913 INFO:tasks.workunit.client.0.smithi001.stderr:Headers:  {'Date': 'Mon, 11 Jun 2018 21:50:40 GMT', 'Content-Length': '93', 'Content-Type': 'text/html; charset=utf-8', 'Server': 'Werkzeug/0.10.4 Python/2.7.12'}
2018-06-11T21:50:40.913 INFO:tasks.workunit.client.0.smithi001.stdout:GET auth/export: plain 200
2018-06-11T21:50:40.913 INFO:tasks.workunit.client.0.smithi001.stdout:GET auth/export.json: json 200
2018-06-11T21:50:40.914 INFO:tasks.workunit.client.0.smithi001.stdout:GET auth/export.xml: xml 200
2018-06-11T21:50:40.914 INFO:tasks.workunit.client.0.smithi001.stdout:GET auth/export: json 200
2018-06-11T21:50:40.914 INFO:tasks.workunit.client.0.smithi001.stdout:GET auth/export: xml 200
2018-06-11T21:50:40.914 INFO:tasks.workunit.client.0.smithi001.stdout:PUT auth/add?entity=client.xx&caps=mon&caps=allow&caps=osd&caps=allow+*: json 400
2018-06-11T21:50:40.929 INFO:tasks.workunit:Stopping ['rest/test.py'] on client.0...
2018-06-11T21:50:40.930 INFO:teuthology.orchestra.run.smithi001:Running: 'rm -rf -- /home/ubuntu/cephtest/workunits.list.client.0 /home/ubuntu/cephtest/clone.client.0'

/a/yuriw-2018-06-11_16:27:32-rados-wip-yuri3-testing-2018-06-11-1421-luminous-distro-basic-smithi/2654694

Actions #1

Updated by Josh Durgin almost 6 years ago

  • Priority changed from Normal to High
Actions #2

Updated by Neha Ojha over 5 years ago

This one looks similar.

/a/yuriw-2018-08-03_19:54:05-rados-wip-yuri-testing-2018-08-03-1639-luminous-distro-basic-smithi/2859595/

Actions #3

Updated by Neha Ojha about 5 years ago

/a/yuriw-2019-03-06_22:09:13-rados-wip-yuri4-testing-2019-03-04-2231-luminous-distro-basic-smithi/3675478/

Actions #4

Updated by Josh Durgin over 4 years ago

  • Priority changed from High to Normal
Actions #5

Updated by Brad Hubbard almost 4 years ago

/a/nojha-2020-05-21_19:42:29-rados-wip-29089-luminous-distro-basic-smithi/5077334

Actions

Also available in: Atom PDF