Revision 0eca8e0c lib/cmdlib.py

b/lib/cmdlib.py
2789 2789

  
2790 2790
    _StartInstanceDisks(self, instance, force)
2791 2791

  
2792
    result = self.rpc.call_instance_start(node_current, instance)
2792
    result = self.rpc.call_instance_start(node_current, instance, None, None)
2793 2793
    msg = result.RemoteFailMsg()
2794 2794
    if msg:
2795 2795
      _ShutdownInstanceDisks(self, instance)
......
2871 2871
                                 " full reboot: %s" % msg)
2872 2872
      _ShutdownInstanceDisks(self, instance)
2873 2873
      _StartInstanceDisks(self, instance, ignore_secondaries)
2874
      result = self.rpc.call_instance_start(node_current, instance)
2874
      result = self.rpc.call_instance_start(node_current, instance, None, None)
2875 2875
      msg = result.RemoteFailMsg()
2876 2876
      if msg:
2877 2877
        _ShutdownInstanceDisks(self, instance)
......
3562 3562
        raise errors.OpExecError("Can't activate the instance's disks")
3563 3563

  
3564 3564
      feedback_fn("* starting the instance on the target node")
3565
      result = self.rpc.call_instance_start(target_node, instance)
3565
      result = self.rpc.call_instance_start(target_node, instance, None, None)
3566 3566
      msg = result.RemoteFailMsg()
3567 3567
      if msg:
3568 3568
        _ShutdownInstanceDisks(self, instance)
......
4806 4806
      self.cfg.Update(iobj)
4807 4807
      logging.info("Starting instance %s on node %s", instance, pnode_name)
4808 4808
      feedback_fn("* starting instance...")
4809
      result = self.rpc.call_instance_start(pnode_name, iobj)
4809
      result = self.rpc.call_instance_start(pnode_name, iobj, None, None)
4810 4810
      msg = result.RemoteFailMsg()
4811 4811
      if msg:
4812 4812
        raise errors.OpExecError("Could not start instance: %s" % msg)
......
6254 6254

  
6255 6255
    finally:
6256 6256
      if self.op.shutdown and instance.admin_up:
6257
        result = self.rpc.call_instance_start(src_node, instance)
6257
        result = self.rpc.call_instance_start(src_node, instance, None, None)
6258 6258
        msg = result.RemoteFailMsg()
6259 6259
        if msg:
6260 6260
          _ShutdownInstanceDisks(self, instance)

Also available in: Unified diff