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

Re: [Xen-API] [Xen-users] Fwd: xe CLI: Error code: MEMORY_CONSTRAINT_VIOLATION - trial XenServer 6.0.2 image has a bug


  • To: xen-api@xxxxxxxxxxxxx
  • From: Demon <ncuccto@xxxxxxxxx>
  • Date: Thu, 10 May 2012 09:46:50 +0800
  • Delivery-date: Thu, 10 May 2012 01:47:25 +0000
  • List-id: Development list for XCP and Xen API <xen-api.lists.xen.org>

On Fri, May 4, 2012 at 5:38 PM, Ian Campbell <Ian.Campbell@xxxxxxxxxx> wrote:
XCP questions are best directed to the xen-api@ list (CCd). This is not
obvious I admit.

On Fri, 2012-05-04 at 10:34 +0100, Demon wrote:
>
>
> I have encountered the same problem on XCP 1.1 and XCP 1.5 beta.
>
>
> I tried "xe vm-memory-limits-set" command, and what I get is like
>
>
> [root@xcp11 ~]# xe vm-memory-limits-set static-min=1GiB
> dynamic-min=4GiB dynamic-max=4GiB static-max=4GiB --multiple
> operation failed on 9587c557-39b0-4cb1-a0e7-f2e701f287ac: You
> attempted an operation on a VM that was not in an appropriate power
> state at the time; for example, you attempted to start a VM that was
> already running. ÂThe parameters returned are the VM's handle, and the
> expected and actual VM state at the time of the call.
> vm: 9587c557-39b0-4cb1-a0e7-f2e701f287ac (Control domain on host:
> xcp11)
> expected: halted
> actual: running
>
>
> xcp11 is the VM Host itself. So, is there any way to be halted ?
> And there's no VM on it.

I rather expect that you cannot change static-max for dom0. I don't know
about the other three...

Ian.


I kind of get the solution.

After installation of XCP( 1.5 beta or 1.1 ), I tried to create new VM using XenCenter 6.
Then XenCenter shows error messages,
2012/5/10 äå 09:12:36 Error: Create VM 'test' - MEMORY_CONSTRAINT_VIOLATION - Memory limits must satisfy: static_min â dynamic_min â dynamic_max â static_max.

I tried this command "xe vm-memory-limits-set uuid= Âstatic-min=1GiB dynamic-min=4GiB dynamic-max=4GiB static-max=4GiB".
And I got this error message,
> operation failed on 9587c557-39b0-4cb1-a0e7-f2e701f287ac: You
> attempted an operation on a VM that was not in an appropriate power
> state at the time; for example, you attempted to start a VM that was
> already running. ÂThe parameters returned are the VM's handle, and the
> expected and actual VM state at the time of the call.
> vm: 9587c557-39b0-4cb1-a0e7-f2e701f287ac (Control domain on host:
> xcp11)
> expected: halted
> actual: running
And still I can't create VMs.

I tried to use this command "xe vm-memory-limits-set static-min=1GiB dynamic-min=4GiB dynamic-max=4GiB static-max=4GiB --multiple" ( I didn't assign uuid of vm ), I still got the same error message.
But the difference is that I can create VMs after this action.

I'm confused, it seems that few people encounter this problem?
But I installed 5 or 6 times on different machines, all I got is the same problem.

I hope this will help.
Â

Best regards, Y.Y.Chuang
_______________________________________________
Xen-api mailing list
Xen-api@xxxxxxxxxxxxx
http://lists.xen.org/cgi-bin/mailman/listinfo/xen-api

 


Rackspace

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