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

Juan Hernández jhernand at redhat.com
Fri Dec 11 12:56:46 UTC 2015


On 12/11/2015 01:51 PM, Ollie Armstrong wrote:
> On 11 December 2015 at 12:04, Juan Hernández <jhernand at redhat.com> 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/remove graphics consoles.
>> For example, if you want to add VNC and SPICE as protocols you can do
>> the following:
> 
> Thanks, Juan.  I didn't see that method.
> 
> I've tried to use your suggested script and I get a 500 error back
> from the server.  The /var/log/ovirt-engine/engine.log shows the
> reason to be 'Mapping exception while processing "POST" request for
> path "/vms/361e911f-8d6d-479e-b399-526507f24dea/graphicsconsoles"'.
> Any idea why I would be getting that?
> 
> The script I'm using is: http://ix.io/mKv

The script looks OK. Can you share the complete error from engine.log?

-- 
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.



More information about the Users mailing list