$ virsh detach-disk test-vm --live vdx
error: Failed to detach disk
error: internal error: unable to execute QEMU command 'device_del': Device virtio-disk23 is already in the process of unplug
As expected, the error is reproducible. Now, let's update qemu using the -proposed pocket and check that the new version fixes the bug.
Performing the verification for Kinetic.
First, make sure that we can reproduce the problem following the instructions laid out in the Test Plan.
$ apt policy qemu-system-x86 7ubuntu2. 4 7ubuntu2. 4 7ubuntu2. 4 500 (phased 20%) archive. ubuntu. com/ubuntu kinetic- updates/ main amd64 Packages dpkg/status 7.0+dfsg- 7ubuntu2. 1 500 security. ubuntu. com/ubuntu kinetic- security/ main amd64 Packages 7.0+dfsg- 7ubuntu2 500 archive. ubuntu. com/ubuntu kinetic/main amd64 Packages
qemu-system-x86:
Installed: 1:7.0+dfsg-
Candidate: 1:7.0+dfsg-
Version table:
*** 1:7.0+dfsg-
500 http://
100 /var/lib/
1:
500 http://
1:
500 http://
$ virsh detach-disk test-vm --live vdx
error: Failed to detach disk
error: internal error: unable to execute QEMU command 'device_del': Device virtio-disk23 is already in the process of unplug
As expected, the error is reproducible. Now, let's update qemu using the -proposed pocket and check that the new version fixes the bug.
$ apt policy qemu-system-x86 7ubuntu2. 5 7ubuntu2. 5 7ubuntu2. 5 500 archive. ubuntu. com/ubuntu kinetic- proposed/ main amd64 Packages dpkg/status 7.0+dfsg- 7ubuntu2. 4 500 (phased 20%) archive. ubuntu. com/ubuntu kinetic- updates/ main amd64 Packages 7.0+dfsg- 7ubuntu2. 1 500 security. ubuntu. com/ubuntu kinetic- security/ main amd64 Packages 7.0+dfsg- 7ubuntu2 500 archive. ubuntu. com/ubuntu kinetic/main amd64 Packages
qemu-system-x86:
Installed: 1:7.0+dfsg-
Candidate: 1:7.0+dfsg-
Version table:
*** 1:7.0+dfsg-
500 http://
100 /var/lib/
1:
500 http://
1:
500 http://
1:
500 http://
$ virsh detach-disk test-vm --live vdx
Disk detached successfully
$ virsh domblklist test-vm ------- ------- ------- ------- ------- ------- ------- lunar-server- cloudimg- amd64.img
Target Source
-------
vda /home/ubuntu/
As expected, the detach-disk operation now works.
This concludes the verification for Kinetic.