Revision 96e0d5cc lib/bootstrap.py

b/lib/bootstrap.py
567 567
  modify_ssh_setup = cfg.GetClusterInfo().modify_ssh_setup
568 568
  runner = rpc.BootstrapRunner()
569 569

  
570
  result = runner.call_node_deactivate_master_ip(master)
570
  (_, ip, netdev, netmask, _) = cfg.GetMasterNetworkParameters()
571
  result = runner.call_node_deactivate_master_ip(master, ip, netmask, netdev)
571 572
  msg = result.fail_msg
572 573
  if msg:
573 574
    logging.warning("Could not disable the master IP: %s", msg)
......
706 707
  logging.info("Stopping the master daemon on node %s", old_master)
707 708

  
708 709
  runner = rpc.BootstrapRunner()
709
  result = runner.call_node_deactivate_master_ip(old_master)
710
  (_, ip, netdev, netmask, _) = cfg.GetMasterNetworkParameters()
711
  result = runner.call_node_deactivate_master_ip(old_master, ip, netmask,
712
                                                 netdev)
710 713
  msg = result.fail_msg
711 714
  if msg:
712 715
    logging.warning("Could not disable the master IP: %s", msg)

Also available in: Unified diff