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

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


  • To: Mark Schneider <ms@xxxxxxxxxxxxxxxxxxxxxx>, "xen-users@xxxxxxxxxxxxx" <xen-users@xxxxxxxxxxxxx>
  • From: James Bulpin <James.Bulpin@xxxxxxxxxxxxx>
  • Date: Fri, 20 Apr 2012 11:18:20 +0100
  • Accept-language: en-US
  • Acceptlanguage: en-US
  • Delivery-date: Sat, 21 Apr 2012 21:53:52 +0000
  • List-id: Xen user discussion <xen-users.lists.xen.org>
  • Thread-index: Ac0ei+WvbIqoFriiQNCKJOJ2RYJEYwATAPQA
  • Thread-topic: [Xen-users] xe CLI: Error code: MEMORY_CONSTRAINT_VIOLATION - trial XenServer 6.0.2 image has a bug

Hi Mark,

 

I suggest you post questions about the XenServer product on the Citrix support forums at http://forums.citrix.com/category.jspa?categoryID=101 where a number of Citrix XenServer experts hang out.

 

For this specific question this is not a bug. As the error message states the VM has a constraint that dynamic_min, dynamic_max and static_max must all be equal. Your command is trying to change one of these values in isolation which would break this constraint. I suggest using the CLI command vm-memory-limits-set, e.g.: “xe vm-memory-limits-set uuid=e4f2d301-77d0-6c3f-055a-412f74b3920d dynamic-min=2GiB dynamic-max=2GiB static-max=2GiB static-min=2GiB”.

 

As an aside it’s worth pointing out that the memory constraints differ between the XenServer Free edition (which don’t have dynamic memory control enabled) “static_min <= dynamic_min = dynamic_max = static_max” and the XenServer paid editions (which do) “static_min <= dynamic_min <= dynamic_max <= static_max”.

 

Cheers,

James

 

From: xen-users-bounces@xxxxxxxxxxxxx [mailto:xen-users-bounces@xxxxxxxxxxxxx] On Behalf Of Mark Schneider
Sent: 20 April 2012 01:20
To: xen-users@xxxxxxxxxxxxx; ms@xxxxxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] xe CLI: Error code: MEMORY_CONSTRAINT_VIOLATION - trial XenServer 6.0.2 image has a bug

 

Hello

it looks like the trial XenServer 6.0.2 image has a bug (see below).

# ---
XenServer-6.0.2-free-trial-error.txt
                 memory-actual ( RO): 0
                 memory-target ( RO): <expensive field>
               memory-overhead ( RO): 6291456
             memory-static-max ( RW): 268435456
            memory-dynamic-max ( RW): 268435456
            memory-dynamic-min ( RW): 268435456
             memory-static-min ( RW): 268435456


# ---
[root@dev70 ~]# xe vm-param-set memory-static-max=2GiB name-label=mx70 uuid=e4f2d301-77d0-6c3f-055a-412f74b3920d
Error code: MEMORY_CONSTRAINT_VIOLATION
Error parameters: Memory limits must satisfy: static_min ≤ dynamic_min = dynamic_max = static_max


[root@dev70 ~]# xe vm-param-set memory-static-min=2GiB name-label=mx70 uuid=e4f2d301-77d0-6c3f-055a-412f74b3920d
Error code: MEMORY_CONSTRAINT_VIOLATION
Error parameters: Memory limits must satisfy: static_min ≤ dynamic_min = dynamic_max = static_max


[root@dev70 ~]# xe vm-param-set memory-dynamic-max=2GiB name-label=mx70 uuid=e4f2d301-77d0-6c3f-055a-412f74b3920d
Error code: MEMORY_CONSTRAINT_VIOLATION
Error parameters: Memory limits must satisfy: static_min ≤ dynamic_min = dynamic_max = static_max


[root@dev70 ~]# xe vm-param-set memory-dynamic-min=2GiB name-label=mx70 uuid=e4f2d301-77d0-6c3f-055a-412f74b3920d
Error code: MEMORY_CONSTRAINT_VIOLATION
Error parameters: Memory limits must satisfy: static_min ≤ dynamic_min = dynamic_max = static_max


[root@dev70 ~]# uname -a
Linux dev70 2.6.32.12-0.7.1.xs6.0.2.542.170665xen #1 SMP Tue Jan 17 15:14:24 EST 2012 i686 athlon i386 GNU/Linux

# ---

Does Citrix know already about this issue? Not just the best quality of software ...

regards, Mark

-- 
ms@xxxxxxxxxxxxxxxxxxxxxx
 
http://rsync.it-infrastrukturen.org
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxx
http://lists.xen.org/xen-users

 


Rackspace

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