Commit c4b16027 authored by Antoine Millet's avatar Antoine Millet

Removed check in clone job to allow to clone started VMs.

parent 068fc710
......@@ -483,10 +483,6 @@ class CloneJob(BaseMigrationJob):
logging.info('Job-%s: Locks acquired', self['id'])
self.checkpoint()
# Check if VM is stopped:
if not self._check_status(vm_id, 'stopped'):
raise JobCancelError('vm is not stopped')
# Create storages on destination:
old_new_disk_mapping = {} # Mapping between old and new disk names
self.report('create volumes')
......
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