Bug 524205

Summary: RFE: storage: add jobs API support, allow cancelling volume create/clone operations
Product: [Community] Virtualization Tools Reporter: Vladimir Benes <vbenes>
Component: libvirtAssignee: Libvirt Maintainers <libvirt-maint>
Status: CLOSED DEFERRED QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: berrange, clalance, crobinso, hbrock, itamar, jforbes, veillard, virt-maint, xen-maint, zamsden
Target Milestone: ---Keywords: FutureFeature
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-11-03 15:18:14 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 636030    

Description Vladimir Benes 2009-09-18 11:55:35 UTC
Description of problem:
Cloning of virtual machine cannot be stopped. I started to clone my machine (full allocated 4GiB image) but I wanted to stop it afterward and it was impossible. I can close the cloning progress dialog by clicking [x] but the process still runs. 

Version-Release number of selected component (if applicable):
libvirt-0.7.1-4.fc12.x86_64
virt-viewer-0.2.0-1.fc12.x86_64
libvirt-client-0.7.1-4.fc12.x86_64
virt-manager-0.8.0-3.fc12.noarch
virt-top-1.0.3-5.fc12.x86_64
python-virtinst-0.500.0-2.fc12.noarch
libvirt-python-0.7.1-4.fc12.x86_64
virt-mem-0.3.1-9.fc12.x86_64

gpxe-roms-qemu-0.9.7-5.fc12.noarch
qemu-kvm-0.10.92-4.fc12.x86_64
qemu-common-0.10.92-4.fc12.x86_64
qemu-system-x86-0.10.92-4.fc12.x86_64
qemu-kvm-tools-0.10.92-4.fc12.x86_64
qemu-img-0.10.92-4.fc12.x86_64

kernel-2.6.31-14.fc12.x86_64



How reproducible:


Steps to Reproduce:
1.clone your guest using virt-manager (or virt-clone)
2.try to interrupt the cloning
3.
  
Actual results:
impossible to interrupt

Comment 1 Cole Robinson 2010-03-03 22:05:37 UTC
This is primarily blocked on libvirt, which doesn't provide clone cancelling, although infrastructure for this was recently added with job support. Reassigning to libvirt.

Comment 2 Cole Robinson 2016-03-20 23:41:03 UTC
*** Bug 581698 has been marked as a duplicate of this bug. ***

Comment 3 Daniel Berrangé 2020-11-03 15:18:14 UTC
Thank you for reporting this issue to the libvirt project. Unfortunately we have been unable to resolve this issue due to insufficient maintainer capacity and it will now be closed. This is not a reflection on the possible validity of the issue, merely the lack of resources to investigate and address it, for which we apologise. If you none the less feel the issue is still important, you may choose to report it again at the new project issue tracker https://gitlab.com/libvirt/libvirt/-/issues The project also welcomes contribution from anyone who believes they can provide a solution.