Commit 5b3f5fc8 authored by Guido Trotter's avatar Guido Trotter
Browse files

LUInstanceStartup: check for minimum memory


Signed-off-by: default avatarGuido Trotter <ultrotter@google.com>
Reviewed-by: default avatarMichael Hanselmann <hansmi@google.com>
parent 61eb1a46
......@@ -6556,7 +6556,7 @@ class LUInstanceStartup(LogicalUnit):
if not remote_info.payload: # not running already
_CheckNodeFreeMemory(self, instance.primary_node,
"starting instance %s" % instance.name,
bep[constants.BE_MAXMEM], instance.hypervisor)
bep[constants.BE_MINMEM], instance.hypervisor)
 
def Exec(self, feedback_fn):
"""Start the instance.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment