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
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -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')