Actions
Bug #7180
closed500 error when get mds help via ceph-rest-api
% Done:
0%
Source:
Community (user)
Tags:
Backport:
Regression:
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Description
I was playing with ceph-rest-api, when I try to access http://localhost:5000/api/v0.1/mds, it's supposed to return the help info of mds. But I got a 500 Internal Server Error instead.
ceph@ceph-srv3:~$ curl localhost:5000/api/v0.1/mds <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"> <title>500 Internal Server Error</title> <h1>Internal Server Error</h1> <p>The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.</p>
ceph@ceph-srv3:~$ sudo ceph-rest-api -n client.admin * Running on http://0.0.0.0:5000/ 127.0.0.1 - - [18/Jan/2014 12:02:13] "GET /api/v0.1/mds HTTP/1.1" 500 -
Updated by Kai Zhang over 10 years ago
Need review: https://github.com/ceph/ceph/pull/1112
Updated by Ian Colle over 10 years ago
- Status changed from New to Resolved
Landed to master 63a77f465654261e13cf7fbd5ffc6ed0c9f2eca0
Actions