Demon
2012-May-04 09:34 UTC
Fwd: xe CLI: Error code: MEMORY_CONSTRAINT_VIOLATION - trial XenServer 6.0.2 image has a bug
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. -- Best Regards, Y.Y.Chuang _______________________________________________ Xen-users mailing list Xen-users@lists.xen.org http://lists.xen.org/xen-users
Ian Campbell
2012-May-04 09:38 UTC
Re: Fwd: xe CLI: Error code: MEMORY_CONSTRAINT_VIOLATION - trial XenServer 6.0.2 image has a bug
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.