Skip to content
Snippets Groups Projects
Commit c4b16027 authored by Antoine Millet's avatar Antoine Millet
Browse files

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

parent 068fc710
No related branches found
No related tags found
No related merge requests found
......@@ -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')
......
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