Revision 4a0e011f daemons/ganeti-noded

b/daemons/ganeti-noded
323 323
    instance = objects.Instance.FromDict(params[2])
324 324
    cluster_name = params[3]
325 325
    dev_idx = params[4]
326
    debug = params[5]
326 327
    return backend.ExportSnapshot(disk, dest_node, instance,
327
                                  cluster_name, dev_idx)
328
                                  cluster_name, dev_idx, debug)
328 329

  
329 330
  @staticmethod
330 331
  def perspective_finalize_export(params):
......
429 430
    inst_s = params[0]
430 431
    inst = objects.Instance.FromDict(inst_s)
431 432
    reinstall = params[1]
432
    return backend.InstanceOsAdd(inst, reinstall)
433
    debug = params[2]
434
    return backend.InstanceOsAdd(inst, reinstall, debug)
433 435

  
434 436
  @staticmethod
435 437
  def perspective_instance_run_rename(params):
436 438
    """Runs the OS rename script for an instance.
437 439

  
438 440
    """
439
    inst_s, old_name = params
441
    inst_s, old_name, debug = params
440 442
    inst = objects.Instance.FromDict(inst_s)
441
    return backend.RunRenameInstance(inst, old_name)
443
    return backend.RunRenameInstance(inst, old_name, debug)
442 444

  
443 445
  @staticmethod
444 446
  def perspective_instance_os_import(params):
445 447
    """Run the import function of an OS onto a given instance.
446 448

  
447 449
    """
448
    inst_s, src_node, src_images, cluster_name = params
450
    inst_s, src_node, src_images, cluster_name, debug = params
449 451
    inst = objects.Instance.FromDict(inst_s)
450 452
    return backend.ImportOSIntoInstance(inst, src_node, src_images,
451
                                        cluster_name)
453
                                        cluster_name, debug)
452 454

  
453 455
  @staticmethod
454 456
  def perspective_instance_shutdown(params):

Also available in: Unified diff