[ovirt-users] rest api

Raz Tamir ratamir at redhat.com
Sat Oct 24 14:30:03 UTC 2015


Hi David,
You need to send a POST command to
https://10.64.0.222/api/vms/7c4072ae-8da1-49dc-ad1e-b869d47eb215/shutdown
with the following post body:

<action>
  <async>true</async>
</action>
On Oct 24, 2015 16:50, "David David" <dd432690 at gmail.com> wrote:

> Hi.
>
> ovirt-engine 3.5.1.
>
> Can't shutdown a VM. Getting the error message:
> HTTP Status 405 -
> ------------------------------
>
> *type* Status report
>
> *message*
>
> *description* *The specified HTTP method is not allowed for the requested
> resource ().*
> ------------------------------
> JBoss Web/7.0.13.Final
> I do like this:
>
> https://10.64.0.222/api/vms/7c4072ae-8da1-49dc-ad1e-b869d47eb215/shutdown
>
> also when exporting VM or starting, etc, the above error appears.
>
> _______________________________________________
> Users mailing list
> Users at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20151024/a927a128/attachment-0001.html>


More information about the Users mailing list