Don't revert Migrate action
If Migrate action succeed, don't revert instance when the actionplan failed. Change-Id: Ic1c1151a3152e632ad90c6f006e8c7d5abded223 Closes-Bug: #1839909
This commit is contained in:
@@ -186,7 +186,7 @@ class Migrate(base.BaseAction):
|
||||
return self.migrate(destination=self.destination_node)
|
||||
|
||||
def revert(self):
|
||||
return self.migrate(destination=self.source_node)
|
||||
LOG.info('Migrate action do not revert!')
|
||||
|
||||
def abort(self):
|
||||
nova = nova_helper.NovaHelper(osc=self.osc)
|
||||
|
||||
Reference in New Issue
Block a user