Revision f1926756
b/lib/cmdlib.py | ||
---|---|---|
2767 | 2767 |
# check bridges existance |
2768 | 2768 |
_CheckInstanceBridgesExist(self, instance) |
2769 | 2769 |
|
2770 |
_CheckNodeFreeMemory(self, instance.primary_node, |
|
2771 |
"starting instance %s" % instance.name, |
|
2772 |
bep[constants.BE_MEMORY], instance.hypervisor) |
|
2770 |
remote_info = self.rpc.call_instance_info(instance.primary_node, |
|
2771 |
instance.name, |
|
2772 |
instance.hypervisor) |
|
2773 |
remote_info.Raise() |
|
2774 |
if not remote_info.data: |
|
2775 |
_CheckNodeFreeMemory(self, instance.primary_node, |
|
2776 |
"starting instance %s" % instance.name, |
|
2777 |
bep[constants.BE_MEMORY], instance.hypervisor) |
|
2773 | 2778 |
|
2774 | 2779 |
def Exec(self, feedback_fn): |
2775 | 2780 |
"""Start the instance. |
Also available in: Unified diff