vendor_passthru is failing with 404 error
Bug #1331064 reported by
Gopi Krishna S
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ironic |
Invalid
|
Undecided
|
Unassigned |
Bug Description
'm testing the vendor_passthru methods behavior using curl , But it is failing with 404 not found error. Here is the query/response.
curl -H "X-Auth-
fails with
{"error_message": "<html>\n <head>\n <title>404 Not Found</title>\n </head>\n <body>\n <h1>404 Not Found</h1>\n The resource could not be found.<br /><br />\n\n\n\n </body>\n</html>"}
The apis are working for chassis/
To post a comment you must log in.
Hi! The simplest correct CURL is:
$ curl -H "X-Auth- Token:$ TOKEN" -X POST -d '' " http:// 127.0.0. 1:6385/ v1/nodes/ 2d70d135- 85b5-4f75- b741-0ead90a42b 29/vendor_ passthru? method= get_firmware_ info&data="
Note that only POST is supported now and method is passed via "method" arguments.