Revision 99aabbed daemons/ganeti-masterd

b/daemons/ganeti-masterd
317 317
    self.cfg.AddNode(node)
318 318

  
319 319
    # If preseeding fails it'll not be added
320
    self.jobqueue.AddNode(node.name)
320
    self.jobqueue.AddNode(node)
321 321

  
322 322
    # Add the new node to the Ganeti Lock Manager
323 323
    self.glm.add(locking.LEVEL_NODE, node.name)
......
327 327

  
328 328
    """
329 329
    # Synchronize the queue again
330
    self.jobqueue.AddNode(node.name)
330
    self.jobqueue.AddNode(node)
331 331

  
332 332
  def RemoveNode(self, name):
333 333
    """Removes a node from the configuration and lock manager.

Also available in: Unified diff