currently gnt-node migrate fails because there is no cleanup option
passed to the opcode. this patch fixes it by setting cleanup to False.
In case of gnt-node migrate failure cleanup will have to be passed
manually.
Reviewed-by: iustinp
good_cnt = bad_cnt = 0
for iname in pinst:
- op = opcodes.OpMigrateInstance(instance_name=iname, live=opts.live)
+ op = opcodes.OpMigrateInstance(instance_name=iname, live=opts.live,
+ cleanup=False)
try:
logger.ToStdout("Migrating instance %s" % iname)
SubmitOpCode(op)