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

2015-05-21 Thread Ernest Beinrohr
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



--
Ernest Beinrohr, AXON PRO
Ing http://www.beinrohr.sk/ing.php, RHCE 
http://www.beinrohr.sk/rhce.php, RHCVA 
http://www.beinrohr.sk/rhce.php, LPIC 
http://www.beinrohr.sk/lpic.php, VCA http://www.beinrohr.sk/vca.php,

+421-2-62410360 +421-903-482603
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


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

2015-05-21 Thread Juan Hernández
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.

-- 
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@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


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

2015-05-21 Thread Michal Skrivanek

On May 21, 2015, at 16:20 , Ernest Beinrohr ernest.beinr...@axonpro.sk wrote:

 Dňa 21.05.2015 o 16:07 Michal Skrivanek napísal(a):
 
 As I do not have live-merge (iscsi  el6) I do my own backups. Now I wanted 
 to emulate snapshots without creating them in ovirt. For that pause is 
 essential.

ok…probably better than suspend, certainly faster. OTOH you don't get the file 
system consistency

 
 
 is using vdsClient -s host1 pause ID safe?

yeah, it's ok

Thanks,
michal

 
 -- 
 Ernest Beinrohr, AXON PRO
 Ing, RHCE, RHCVA, LPIC, VCA, 
 +421-2-62410360 +421-903-482603 
  

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


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

2015-05-21 Thread Michal Skrivanek

On May 21, 2015, at 15:00 , Juan Hernández jhern...@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@ovirt.org
 http://lists.ovirt.org/mailman/listinfo/users

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


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

2015-05-21 Thread Ernest Beinrohr

Dňa 21.05.2015 o 16:07 Michal Skrivanek napísal(a):

As I do not have live-merge (iscsi  el6) I do my own backups. Now I 
wanted to emulate snapshots without creating them in ovirt. For that 
pause is essential.



is using vdsClient -s host1 pause ID safe?

--
Ernest Beinrohr, AXON PRO
Ing http://www.beinrohr.sk/ing.php, RHCE 
http://www.beinrohr.sk/rhce.php, RHCVA 
http://www.beinrohr.sk/rhce.php, LPIC 
http://www.beinrohr.sk/lpic.php, VCA http://www.beinrohr.sk/vca.php,

+421-2-62410360 +421-903-482603
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users