Commit 9e32b93b authored by Guido Trotter's avatar Guido Trotter
Browse files

burnin: skip instance moves on single node

If we have only one node, instance moves fail, because it tries to move
the instance to itself. Skipping the operation, because in that case it
doesn't make sense.
Signed-off-by: default avatarGuido Trotter <>
Reviewed-by: default avatarMichael Hanselmann <>
parent bcdf16d7
......@@ -865,8 +865,8 @@ class Burner(object):
if opts.do_migrate and opts.disk_template == constants.DT_DRBD8:
if opts.do_move and opts.disk_template in [constants.DT_PLAIN,
if (opts.do_move and len(self.nodes) > 1 and
opts.disk_template in [constants.DT_PLAIN, constants.DT_FILE]):
if (opts.do_importexport and
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