Revision a295eb80 lib/cmdlib/instance_operation.py
b/lib/cmdlib/instance_operation.py | ||
---|---|---|
133 | 133 |
remote_info.Raise("Error checking node %s" % instance.primary_node, |
134 | 134 |
prereq=True, ecode=errors.ECODE_ENVIRON) |
135 | 135 |
if not remote_info.payload: # not running already |
136 |
CheckNodeFreeMemory(self, instance.primary_node, |
|
137 |
"starting instance %s" % instance.name, |
|
138 |
bep[constants.BE_MINMEM], instance.hypervisor) |
|
136 |
CheckNodeFreeMemory( |
|
137 |
self, instance.primary_node, "starting instance %s" % instance.name, |
|
138 |
bep[constants.BE_MINMEM], instance.hypervisor, |
|
139 |
self.cfg.GetClusterInfo().hvparams[instance.hypervisor]) |
|
139 | 140 |
|
140 | 141 |
def Exec(self, feedback_fn): |
141 | 142 |
"""Start the instance. |
Also available in: Unified diff