bug #1687: Do not fail after the livemigration is successfull (i.e. on clean, post (network) and post-migrate)

This commit is contained in:
Ruben S. Montero committed 2013-04-26 13:08:55 +02:00
1 parent 2d39a20927
commit 2b51b59f58
1 file changed
+9 -5
+9 -5
View File
@@ -467,23 +467,27 @@ class ExecDriver < VirtualMachineDriver
:parameters => [:deploy_id, :dest_host, :host]
},
# Execute networking clean up operations
# NOTE: VM is now in the new host. If we fail from now on, oned will
# assume that the VM is in the previous host but it is in fact
# migrated. Log errors will be shown in vm.log
{
:driver => :vnm,
:action => :clean
:action => :clean,
:no_fail => true
},
# Execute post-boot networking setup on migrating host
{
:driver => :vnm,
:action => :post,
:parameters => [:deploy_id],
:destination => :true
#TODO :fail_action what to do here? cancel VM?
:destination => :true,
:no_fail => true
},
{
:driver => :tm,
:action => :tm_postmigrate,
:parameters => post.split
#TODO :fail_action what to do here? cancel VM?
:parameters => post.split,
:no_fail => true
},
]