Hide Forgot
+++ This bug was initially created as a clone of Bug #707530 +++ Attempting to delete a volume which is still being created returns VIR_ERR_INTERNAL_ERROR. It should return VIR_ERR_OPERATION_INVALID.
Could reproduce this bug on the following components of rh5.6: libvirt-0.8.2-15.el5 virt-manager-0.6.1-13.el5 kernel-2.6.18-238.el5 Steps: open two terminal at the same time: on one terminal: # virsh vol-create-as default vol-test2.raw 4194304000 --allocation 3024347136 --format raw (running) on the other terminal: #virsh vol-delete --pool default vol-test2.raw error: Failed to delete vol vol-test2.raw error: internal error volume 'vol-test2.raw' is still being allocated. The error message is from the src/storage/storage_driver.c, in the package "libvirt-0.8.2-15.el5.src.rpm" ... if (vol->building) { virStorageReportError(VIR_ERR_INTERNAL_ERROR, _("volume '%s' is still being allocated."), vol->name); goto cleanup; } ...
Development Management has reviewed and declined this request. You may appeal this decision by reopening this request.