[openstack-dev] [Nova] [Ironic] vendor_passthru testing

Lucas Alvares Gomes lucasagomes at gmail.com
Fri Jun 6 08:58:51 UTC 2014


Hi,



On Fri, Jun 6, 2014 at 9:44 AM, Gopi Krishna Saripuri
<saripurigopi at outlook.com> wrote:
> Hi,
>
> 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.
> 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 vendor passthru methods only support POST right now[1].

>
>
> Is there a way to test vendor_passthru from ironic cli, also I didn't see
> any support for this in python-ironicclient?

Unfortunately not, the CLI doesn't support vendor_passthru.

>
> I'm able to retrieve chassis/nodes/ports. But while testing vendor_passthru
> method, it is failing with 404 error.
>
> Can someone help me with testing the vendor_passthru methods.
>
> Regards
> Gopi Krishna S
>
> _______________________________________________
> OpenStack-dev mailing list
> OpenStack-dev at lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>

[1] https://github.com/openstack/ironic/blob/master/ironic/api/controllers/v1/node.py#L452-L479



More information about the OpenStack-dev mailing list