Project

General

Profile

Actions

Bug #10326

closed

rest-api: assert('pg_stats_sum' in r.myjson['output'])

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

Status:
Resolved
Priority:
Urgent
Assignee:
Category:
rest-api
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-12-16T07:00:10.071 INFO:tasks.workunit.client.0.plana77.stdout:PUT pg/set_nearfull_ratio?ratio=0.90: 200
2014-12-16T07:00:10.071 INFO:tasks.workunit.client.0.plana77.stdout:GET pg/dump: json 200
2014-12-16T07:00:10.071 INFO:tasks.workunit.client.0.plana77.stdout:PUT pg/set_full_ratio?ratio=0.85: 200
2014-12-16T07:00:10.071 INFO:tasks.workunit.client.0.plana77.stdout:GET pg/stat: json 200
2014-12-16T07:00:10.071 INFO:tasks.workunit.client.0.plana77.stderr:Traceback (most recent call last):
2014-12-16T07:00:10.071 INFO:tasks.workunit.client.0.plana77.stderr: File "/home/ubuntu/cephtest/workunit.client.0/rest/test.py", line 384, in <module>
2014-12-16T07:00:10.071 INFO:tasks.workunit.client.0.plana77.stderr: assert('pg_stats_sum' in r.myjson['output'])
2014-12-16T07:00:10.071 INFO:tasks.workunit.client.0.plana77.stderr:AssertionError
2014-12-16T07:00:10.119 INFO:tasks.workunit:Stopping ['rest/test.py'] on client.0...
2014-12-16T07:00:10.119 INFO:teuthology.orchestra.run.plana77:Running: 'rm rf - /home/ubuntu/cephtest/workunits.list /home/ubuntu/cephtest/workunit.client.0'
2014-12-16T07:00:10.200 ERROR:teuthology.parallel:Exception in parallel execution
Traceback (most recent call last):
File "/home/teuthworker/src/teuthology_master/teuthology/parallel.py", line 82, in exit

Actions #1

Updated by Sage Weil over 9 years ago

  • Assignee set to Dan Mick
Actions #2

Updated by Dan Mick over 9 years ago

Yep, someone changed pg dump output, which broke rest/test.py where it looks for pg_stats_sum in that output.

Actions #3

Updated by Sage Weil over 9 years ago

  • Status changed from New to Fix Under Review
Actions #4

Updated by Dan Mick over 9 years ago

  • Status changed from Fix Under Review to Resolved
  • Assignee changed from Dan Mick to Sage Weil
Actions

Also available in: Atom PDF