Commit ed2fe731 authored by Michael Hanselmann's avatar Michael Hanselmann
Browse files

burnin: Don't pass any disk when replacing 2nd node

Replacing the secondary node always replaces it for all disks. Commit

 added an error message for this case.
Signed-off-by: default avatarMichael Hanselmann <>
Reviewed-by: default avatarIustin Pop <>
parent 90f72445
...@@ -540,7 +540,7 @@ class Burner(object): ...@@ -540,7 +540,7 @@ class Burner(object):
mode=mode, mode=mode,
remote_node=tnode, remote_node=tnode,
iallocator=self.opts.iallocator, iallocator=self.opts.iallocator,
disks=[i for i in range(self.disk_count)]) disks=[])
Log("run %s %s" % (mode, msg), indent=2) Log("run %s %s" % (mode, msg), indent=2)
self.ExecOrQueue(instance, op) self.ExecOrQueue(instance, op)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment