Revision 2fa74ef4 lib/backend.py

b/lib/backend.py
695 695
          # invocations of the different hypervisors
696 696
          for key in 'memory', 'vcpus':
697 697
            if value[key] != output[name][key]:
698
              raise errors.HypervisorError("Instance %s is running twice"
699
                                           " with different parameters" % name)
698
              _Fail("Instance %s is running twice"
699
                    " with different parameters", name)
700 700
        output[name] = value
701 701

  
702
  return output
702
  return True, output
703 703

  
704 704

  
705 705
def InstanceOsAdd(instance, reinstall):

Also available in: Unified diff