Re: [ovirt-users] cannot exceed maximum memory size

2017-03-09 Thread Juan Hernández
On 03/09/2017 04:00 PM, Jakub Niedermertl wrote: > Based on the snipped provided at the beginning of the conversation I > assume rest api v3 is used. I'm not sure, max memory property was > backported there. > > @Juan do we have some support for 4.1 changes in rest api v3? > > In rest api v4 it's

Re: [ovirt-users] cannot exceed maximum memory size

2017-03-09 Thread Jakub Niedermertl
Based on the snipped provided at the beginning of the conversation I assume rest api v3 is used. I'm not sure, max memory property was backported there. @Juan do we have some support for 4.1 changes in rest api v3? In rest api v4 it's http://ovirt.github.io/ovirt-engine-api-model/4.1/#types/memor

Re: [ovirt-users] cannot exceed maximum memory size

2017-03-09 Thread Marcelo Leandro
Thanks for reply Jakub Niedermertl, I would like the explicitly specifying in my script , but i dont know the parameters for use for max memory. Can you help me ? Very Thanks. 2017-03-09 10:37 GMT-03:00 Jakub Niedermertl : > Hi all, > > Since engine 4.1 there is new property of VMs/templat

Re: [ovirt-users] cannot exceed maximum memory size

2017-03-09 Thread Jakub Niedermertl
Hi all, Since engine 4.1 there is new property of VMs/templates - max memory [1] that is required to be larger than (or equal to) memory size. The problem is probably caused by the fact that the specified memory (I assume that value of `memo` is 20480MB) is larger that max memory that is implicit

Re: [ovirt-users] cannot exceed maximum memory size

2017-03-09 Thread Shahar Havivi
its not related to bug 1425089 (which is upgrading cluster issue) but its the same feature that cause this issue, Jakub what do we have bug on that issue? as for the default RAM limit you can find it via the engine-config tool: $ engine-config -g VM32BitMaxMemorySizeInMB $ engine-config -g VM64Bit

Re: [ovirt-users] cannot exceed maximum memory size

2017-03-09 Thread Maton, Brett
I have a similar problem creating VM's with the API, but no solution. It seems that by default oVirt uses custom 'Instance Type' ( you can see it if you use the UI to create a VM ). The default RAM limit for custom Instance Type is 4096MB. I haven't found where you can change the settnigs f

Re: [ovirt-users] cannot exceed maximum memory size

2017-03-09 Thread Yedidyah Bar David
On Thu, Mar 9, 2017 at 1:52 PM, Marcelo Leandro wrote: > can someone help me? > > 2017-03-07 16:25 GMT-03:00 Marcelo Leandro : >> >> Hello , >> >> I am have an script that create VM , after upgrade to 4.1 I have this erro >> when trying create a new VM: >> >> detail: Cannot add VM. Memory size (20

Re: [ovirt-users] cannot exceed maximum memory size

2017-03-09 Thread Marcelo Leandro
can someone help me? 2017-03-07 16:25 GMT-03:00 Marcelo Leandro : > Hello , > > I am have an script that create VM , after upgrade to 4.1 I have this erro > when trying create a new VM: > > detail: Cannot add VM. Memory size (20480MB) cannot exceed maximum memory > size (4096MB). > > my commando

[ovirt-users] cannot exceed maximum memory size

2017-03-07 Thread Marcelo Leandro
Hello , I am have an script that create VM , after upgrade to 4.1 I have this erro when trying create a new VM: detail: Cannot add VM. Memory size (20480MB) cannot exceed maximum memory size (4096MB). my commando fore create VM : api.vms.add(params.VM(name="teste", memory=memo , cpu=cpu, cluste