Revision 3b559640 lib/cmdlib.py
b/lib/cmdlib.py | ||
---|---|---|
4726 | 4726 |
raise errors.OpPrereqError("Node '%s' not known" % |
4727 | 4727 |
self.op.remote_node) |
4728 | 4728 |
self.op.remote_node = remote_node |
4729 |
# Warning: do not remove the locking of the new secondary here |
|
4730 |
# unless DRBD8.AddChildren is changed to work in parallel; |
|
4731 |
# currently it doesn't since parallel invocations of |
|
4732 |
# FindUnusedMinor will conflict |
|
4729 | 4733 |
self.needed_locks[locking.LEVEL_NODE] = [remote_node] |
4730 | 4734 |
self.recalculate_locks[locking.LEVEL_NODE] = constants.LOCKS_APPEND |
4731 | 4735 |
else: |
Also available in: Unified diff