Revision b4874c9e

b/lib/cmdlib.py
2971 2971
    remote_info = self.rpc.call_instance_info(instance.primary_node,
2972 2972
                                              instance.name,
2973 2973
                                              instance.hypervisor)
2974
    if remote_info.failed or remote_info.data:
2974
    remote_info.Raise()
2975
    if remote_info.data:
2975 2976
      raise errors.OpPrereqError("Instance '%s' is running on the node %s" %
2976 2977
                                 (self.op.instance_name,
2977 2978
                                  instance.primary_node))

Also available in: Unified diff