[ovirt-users] cannot exceed maximum memory size

Maton, Brett matonb at ltresources.co.uk
Thu Mar 9 12:44:09 UTC 2017


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 for the custom instance
type though.



On 9 March 2017 at 11:52, Marcelo Leandro <marceloltmm at gmail.com> wrote:

> can someone help me?
>
> 2017-03-07 16:25 GMT-03:00 Marcelo Leandro <marceloltmm at gmail.com>:
>
>> 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,
>> cluster=api.clusters.get(cluster), template=api.templates.get('Blank'),
>> type_="server"))
>>
>> I dont how specific  the maximum memory size.
>>
>> Thanks
>>
>> Marcelo Leandro
>>
>
>
> _______________________________________________
> Users mailing list
> Users at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20170309/a9db0df4/attachment.html>


More information about the Users mailing list