Bug #22343
Using restful module of Ceph Manager to retrieve Cluster status returns invalid XML
% 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.
History
#1 Updated by Patrick Seidensal over 6 years ago
#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