Skip to content
Snippets Groups Projects
Commit f907fcf2 authored by Iustin Pop's avatar Iustin Pop
Browse files

Fix burnin and live migration


This is breakage from the original 'live' parameter changes.

Signed-off-by: default avatarIustin Pop <iustin@google.com>
Reviewed-by: default avatarRené Nussbaumer <rn@google.com>
parent 8c35561f
No related branches found
No related tags found
No related merge requests found
#!/usr/bin/python
#
# Copyright (C) 2006, 2007 Google Inc.
# Copyright (C) 2006, 2007, 2008, 2009, 2010 Google Inc.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
......@@ -669,10 +669,10 @@ class Burner(object):
Log("Migrating instances")
for instance in self.instances:
Log("instance %s", instance, indent=1)
op1 = opcodes.OpMigrateInstance(instance_name=instance, live=True,
op1 = opcodes.OpMigrateInstance(instance_name=instance, mode=None,
cleanup=False)
op2 = opcodes.OpMigrateInstance(instance_name=instance, live=True,
op2 = opcodes.OpMigrateInstance(instance_name=instance, mode=None,
cleanup=True)
Log("migration and migration cleanup", indent=2)
self.ExecOrQueue(instance, [op1, op2])
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment