vendor_passthru is failing with 404 error

Bug #1331064 reported by Gopi Krishna S
6
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-Token:${token}" http://10.105.214.179:6385/v1/nodes/2d70d135-85b5-4f75-b741-0ead90a42b29/vendor_passthru/get_firmware_info

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/nodes/ports. But it is failing for vendor_passthru method with 404 error.

Tags: driver
Revision history for this message
Dmitry Tantsur (divius) wrote :

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-0ead90a42b29/vendor_passthru?method=get_firmware_info&data="

Note that only POST is supported now and method is passed via "method" arguments.

Changed in ironic:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.