<div dir="ltr"><br><div>Hi,</div><div><br></div><div>vendor_passthru is a POST request and that might be missing here.</div><div><span style="font-family:arial,sans-serif;font-size:13px">curl -i -X POST </span><font face="arial, sans-serif">-H 'Content-Type: application/json' -H 'Accept: application/json' </font><span style="font-size:13px;font-family:arial,sans-serif">-H "X-Auth-Token:${token}" </span><a href="http://10.105.214.179:6385/v1/nodes/2d70d135-85b5-4f75-b741-0ead90a42b29/vendor_passthru/get_firmware_info" target="_blank" style="font-size:13px;font-family:arial,sans-serif">http://10.105.214.179:6385/v1/nodes/2d70d135-85b5-4f75-b741-0ead90a42b29/vendor_passthru/get_firmware_info</a></div>
<div><br></div><div>Can you just check if the above works for you ?</div><div><br></div><div>If not, I guess trying you can try a GET on the node to check if the GET listing atleast works.</div><div>curl -i -X GET -H <font face="arial, sans-serif">'Content-Type: application/json' -H 'Accept: application/json' </font><span style="font-size:13px;font-family:arial,sans-serif">-H "X-Auth-Token:${token}" </span><a href="http://10.105.214.179:6385/v1/nodes/2d70d135-85b5-4f75-b741-0ead90a42b29/vendor_passthru/get_firmware_info" target="_blank" style="font-size:13px;font-family:arial,sans-serif">http://10.105.214.179:6385/v1/nodes/2d70d135-85b5-4f75-b741-0ead90a42b29</a><br>
</div><div><br></div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Jun 6, 2014 at 2:14 PM, Gopi Krishna Saripuri <span dir="ltr"><<a href="mailto:saripurigopi@outlook.com" target="_blank">saripurigopi@outlook.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><div dir="ltr">Hi,<br><br>I'm using icehouse devstack version. I'm testing the vendor_passthru methods behavior using curl , But it is failing with 404 not found error.<br>Here is the query/response. <br><br>
curl -H "X-Auth-Token:${token}" <a href="http://10.105.214.179:6385/v1/nodes/2d70d135-85b5-4f75-b741-0ead90a42b29/vendor_passthru/get_firmware_info" target="_blank">http://10.105.214.179:6385/v1/nodes/2d70d135-85b5-4f75-b741-0ead90a42b29/vendor_passthru/get_firmware_info</a><br>
<br>fails with<br><br>{"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>"}<br>
<br><br>Is there a way to test vendor_passthru from ironic cli, also I didn't see any support for this in python-ironicclient?<br><br>I'm able to retrieve chassis/nodes/ports. But while testing vendor_passthru method, it is failing with 404 error. <br>
<br>Can someone help me with testing the vendor_passthru methods.<br><br>Regards<br>Gopi Krishna S<br> </div></div>
<br>_______________________________________________<br>
OpenStack-dev mailing list<br>
<a href="mailto:OpenStack-dev@lists.openstack.org">OpenStack-dev@lists.openstack.org</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br>Ramesh
</div>