Revision 0debfb35 daemons/ganeti-masterd

b/daemons/ganeti-masterd
365 365
    assert self.__class__._instance is None, "Attempt to modify Ganeti Context"
366 366
    object.__setattr__(self, name, value)
367 367

  
368
  def AddNode(self, node):
368
  def AddNode(self, node, ec_id):
369 369
    """Adds a node to the configuration and lock manager.
370 370

  
371 371
    """
372 372
    # Add it to the configuration
373
    self.cfg.AddNode(node)
373
    self.cfg.AddNode(node, ec_id)
374 374

  
375 375
    # If preseeding fails it'll not be added
376 376
    self.jobqueue.AddNode(node)

Also available in: Unified diff