[ovirt-users] how to pause a VM from rest-api?

Michal Skrivanek michal.skrivanek at redhat.com
Thu May 21 10:07:37 EDT 2015


On May 21, 2015, at 15:00 , Juan Hernández <jhernand at redhat.com> wrote:

> On 05/21/2015 02:43 PM, Ernest Beinrohr wrote:
>> I'd like to pause a VM from rest-api. But the docs are not mentioning
>> pause, only suspend. This works: URL/api/vms/ID/suspend  and pause
>> doesn't. Pausing from vdsClient works however, but I'd like to use rest-api:
>>  vdsClient -s host1 pause ID
>> 
> 
> Unfortunately the "pause" operation isn't implemented in the RESTAPI. If
> you need it I'd suggest opening a RFE.

"pause" is not supported in the UI either, other than pause on start; and error states (e.g. in case of IO error the VM is "paused")

what is the use case?

> 
> -- 
> Dirección Comercial: C/Jose Bardasano Baos, 9, Edif. Gorbea 3, planta
> 3ºD, 28016 Madrid, Spain
> Inscrita en el Reg. Mercantil de Madrid – C.I.F. B82657941 - Red Hat S.L.
> _______________________________________________
> Users mailing list
> Users at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users



More information about the Users mailing list