Revision 0debfb35 lib/cmdlib.py
b/lib/cmdlib.py | ||
---|---|---|
3037 | 3037 |
" candidate status: %s" % msg) |
3038 | 3038 |
else: |
3039 | 3039 |
_RedistributeAncillaryFiles(self, additional_nodes=[node]) |
3040 |
self.context.AddNode(new_node) |
|
3040 |
self.context.AddNode(new_node, self.proc.GetECId())
|
|
3041 | 3041 |
|
3042 | 3042 |
|
3043 | 3043 |
class LUSetNodeParams(LogicalUnit): |
... | ... | |
6097 | 6097 |
|
6098 | 6098 |
feedback_fn("adding instance %s to cluster config" % instance) |
6099 | 6099 |
|
6100 |
self.cfg.AddInstance(iobj) |
|
6100 |
self.cfg.AddInstance(iobj, self.proc.GetECId()) |
|
6101 |
|
|
6101 | 6102 |
# Declare that we don't want to remove the instance lock anymore, as we've |
6102 | 6103 |
# added the instance to the config |
6103 | 6104 |
del self.remove_locks[locking.LEVEL_INSTANCE] |
Also available in: Unified diff