[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-API] exception MEMORY_CONSTRAINT_VIOLATION



Hi Marco

Thanks for your mail.

Marco Sinhoreli wrote:
Using the Xenapi to create a virtual machine, this exception is returning:

<code>
XenAPIError: ['MEMORY_CONSTRAINT_VIOLATION', 'min or max']
</code>

This isn't documented and I don't know what it mean. It's happing only
with XCP. Using XenServer 5.0.0 the same code run perfectly.

XAPI raises a MEMORY_CONSTRAINT_VIOLATION exception (during
an API call) if it believes that carrying out the call would
violate the following memory constraint for any VM:

    static-min <= dynamic-min <= dynamic-max <= static-max

You can see the current memory constraints for any given VM
using a command similar to:

    xe vm-list params=all name-label=<name-of-vm> | grep memory

Marco - could you post the exact sequence of commands that
cause this failure? Are you using vm-install to create a VM?

Thanks

Jonathan Knowles

_______________________________________________
xen-api mailing list
xen-api@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/mailman/listinfo/xen-api


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.