Project

General

Profile

Bug #22343

Using restful module of Ceph Manager to retrieve Cluster status returns invalid XML

Added by Patrick Seidensal over 6 years ago. Updated over 6 years ago.

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

0%

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

Description

Using the demo Docker container (Ubuntu 16.04, Luminous 12.2.1) and the following URL leads to an invalid XML response:

http://192.168.178.37:5000/api/v0.1/status

Other resources seem to work fine.

http__192.168.178.37_5000_api_v0.1_status.xml View - XML response (21.8 KB) Patrick Seidensal, 12/07/2017 10:32 AM

History

#2 Updated by Tim Serong over 6 years ago

That URL and port looks to me like the old ceph-rest-api, not the mgr restful module (which would be port 8003, and doesn't have api versions in its endpoints).

The invalid XML looks like a nasty chunk of HTML. I'm not sure if that's intended or not.

#3 Updated by Patrick Seidensal over 6 years ago

Indeed, there's a big difference in the API exposed by the Container and a separately installed Luminous (12.2.1-361-gaea79b8b7a). If this is really the old ceph-rest-api, this ticket might be closed.

#4 Updated by Nathan Cutler over 6 years ago

  • Status changed from New to Rejected

Also available in: Atom PDF