Why MGR restful APIs not working in RHCS 4.1.x ?
Issue
-
Some RESTful APIs failing with
500 Internal Server Error.# curl -k -H "Accept: application/json" -H "Content-Type: application/json" -X POST -d '{"prefix": "status"}' "https://admin:12345678-aaaa-bbbb-cccc-ddddeeee99999@localhost:8003/request?wait=1" <!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>
Environment
- Red Hat Enterprise Linux 7.x
- Red Hat Enterprise Linux 8.x
- Red Hat Ceph Storage 4.1z2
- Red Hat Ceph Storage 4.1.1
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.