[ovirt-users] REST API query events by Date/Time

2024-08-12 Thread itsavant
After looking through all the documentation here: https://ovirt.github.io/ovirt-engine-api-model/4.5 I don't see a way to query the REAST API for events GET /ovirt-engine/api/events;from={event_id}?search={query} by datetime Any ideas would be great. Also bonus question I do see that I can que

[ovirt-users] REST API query to retrieve all Type info

2024-03-12 Thread itsavant
Is there a REST API query to retrieve all Type info? I'm building a PowerShell Module to access the oVirt engine and I'd like to insure I'm handling objects correctly. ___ Users mailing list -- users@ovirt.org To unsubscribe send an email to users-le...@

[ovirt-users] [Rest API] How to get server user from "permissions"?

2021-10-01 Thread ovirt . org
Hello, please how to get server user from "permissions"? I try this, but does not working: https://ovirt.localhost/ovirt-engine/api/vms/4ekb93a4-64c6-4b13-9927-8f37f2165td2/permissions?follow=permissions.permissions.user._id&search=permission.role._id%20%3D%20---0001-0001&l

[ovirt-users] REST API import VM from Export Domain

2021-09-14 Thread christian . peater
i'm using OLVM 4.3.10 oVirt and i'm trying to import a VM from the Export Storage Domain with the REST API. curl command is: curl \ -X POST \ --header "Version:4" \ --header "Accept:application/xml" \ --header "Content-type:application/xml" \ --user $_OLVM_USERNAME:$_OLVM_PASSWORD \ --data '

[ovirt-users] REST API on Engine

2018-10-24 Thread Vrgotic, Marko
Dear oVirt team, My project with the company for Operations is a success and department is successfully using oVirt 4.2.6 (started with 4.2.0 this January) platform with SHE and 12 Hypervisors, hooked to GlusterFS distributed-replicated, managed outside of oVirt. It is used for Support of Custo

Re: [ovirt-users] REST API - Problem when trying to retrieve vms list

2016-02-24 Thread Juan Hernández
stem contains unexpected values https://bugzilla.redhat.com/1311616 > > > Réponse ou transfert de la part de Styve JAUMOTTE > -Message d'origine- > De : Alexander Wels [mailto:aw...@redhat.com] > Envoyé : jeudi 18 février 2016 21:05 > À : jaumotte, styve >

Re: [ovirt-users] REST API - Problem when trying to retrieve vms list

2016-02-19 Thread jaumotte, styve
e ou transfert de la part de Styve JAUMOTTE -Message d'origine- De : Alexander Wels [mailto:aw...@redhat.com] Envoyé : jeudi 18 février 2016 21:05 À : jaumotte, styve Cc : users@ovirt.org Objet : Re: [ovirt-users] REST API - Problem when trying to retrieve vms list On Thursday, Febr

Re: [ovirt-users] REST API - Problem when trying to retrieve vms list

2016-02-18 Thread jaumotte, styve
g from API or a problem of the kernel version I'm using. Réponse ou transfert de la part de Styve JAUMOTTE -Message d'origine- De : Alexander Wels [mailto:aw...@redhat.com] Envoyé : jeudi 18 février 2016 17:23 À : users@ovirt.org Cc : jaumotte, styve Objet : Re: [ovirt-

Re: [ovirt-users] REST API - Problem when trying to retrieve vms list

2016-02-18 Thread Alexander Wels
nel version it can't parse properly. > > Réponse ou transfert de la part de Styve JAUMOTTE > -Message d'origine- > De : Alexander Wels [mailto:aw...@redhat.com] > Envoyé : jeudi 18 février 2016 17:23 > À : users@ovirt.org > Cc : jaumotte, styve > Objet

Re: [ovirt-users] REST API - Problem when trying to retrieve vms list

2016-02-18 Thread Alexander Wels
On Thursday, February 18, 2016 03:58:03 PM jaumotte, styve wrote: > Hi everybody, > > Since fews days I can't get vms list from rest api. I always have the same > return when I try https://myengine.mydomain/api/vms : > > > Operation Failed > > > I suspect that for new vm, some properties are m

[ovirt-users] REST API - Problem when trying to retrieve vms list

2016-02-18 Thread jaumotte, styve
Hi everybody, Since fews days I can't get vms list from rest api. I always have the same return when I try https://myengine.mydomain/api/vms : Operation Failed I suspect that for new vm, some properties are malformed, but I can't identify them. If I ask https://myengine.mydomain/api/vms?sea

[ovirt-users] Rest api body for updating vm os type

2016-01-04 Thread Qingyun Ao
Hello, all, I want to update vm os type by ovirt rest api. The following is my request: Method: put Content-Type: application/xml Body: The response from ovirt engine is: Operation Failed [Cannot edit VM. Invalid time zone for given OS type.] Can anybody give a correct body for upd

Re: [ovirt-users] [Rest API / Python SDK] Setting VM Video Type

2015-12-11 Thread Juan Hernández
On 12/11/2015 01:51 PM, Ollie Armstrong wrote: > On 11 December 2015 at 12:04, Juan Hernández wrote: >> What version of the engine are you using? Can you share the script that >> you are using to try to change the display type? >> >> In version 3.6 of then engine a new "/vm/{vm:id}/graphicsconsole

Re: [ovirt-users] [Rest API / Python SDK] Setting VM Video Type

2015-12-11 Thread Ollie Armstrong
On 11 December 2015 at 12:04, Juan Hernández wrote: > What version of the engine are you using? Can you share the script that > you are using to try to change the display type? > > In version 3.6 of then engine a new "/vm/{vm:id}/graphicsconsoles" > service has been added that allows you to add/re

Re: [ovirt-users] [Rest API / Python SDK] Setting VM Video Type

2015-12-11 Thread Juan Hernández
On 12/11/2015 12:27 PM, Ollie Armstrong wrote: > Hi everyone, > > I'm looking for a method of settings the VM's video type to QXL from > the Python SDK, which doesn't appear to be possible in any way. > Whenever I set the graphics protocol to VNC it defaults the video type > to CIRRUS. I'd like t

[ovirt-users] [Rest API / Python SDK] Setting VM Video Type

2015-12-11 Thread Ollie Armstrong
Hi everyone, I'm looking for a method of settings the VM's video type to QXL from the Python SDK, which doesn't appear to be possible in any way. Whenever I set the graphics protocol to VNC it defaults the video type to CIRRUS. I'd like to use QXL with VNC, which is possible to set using the cons

Re: [ovirt-users] rest api

2015-10-24 Thread Raz Tamir
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: true On Oct 24, 2015 16:50, "David David" wrote: > Hi. > > ovirt-engine 3.5.1. > > Can't shutdown a VM. Getting the error message: > HTTP Statu

[ovirt-users] rest api

2015-10-24 Thread David David
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

Re: [ovirt-users] REST-API connection limit / SSL read timeout?

2014-04-28 Thread Juan Hernandez
On 04/28/2014 02:01 PM, René Koch wrote: > Hi list, > > I use Perl (LWP::UserAgent, HTTP:::Request) to connect to oVirt REST-API > and fetch data with my Nagios plugin. 2 users complained now that my > plugin stops working for their monitoring user (IPA backend). > > It worked fine with their m

[ovirt-users] REST-API connection limit / SSL read timeout? (was: Failure to connect to engine with Nagios)

2014-04-28 Thread René Koch
Hi list, I use Perl (LWP::UserAgent, HTTP:::Request) to connect to oVirt REST-API and fetch data with my Nagios plugin. 2 users complained now that my plugin stops working for their monitoring user (IPA backend). It worked fine with their monitoring@ipa user a few weeks and suddenly it stopp