The following is verification performed by Fabio in a lab: - Tested with the original libvirt to make sure I was able to reproduce:
root@ubuntu:~# apt-cache policy libvirt-bin libvirt-bin: Installed: 1.3.1-1ubuntu10.27 Candidate: 1.3.1-1ubuntu10.27 Version table: *** 1.3.1-1ubuntu10.27 500 500 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages 500 http://security.ubuntu.com/ubuntu xenial-security/main amd64 Packages 100 /var/lib/dpkg/status 1.3.1-1ubuntu10 500 500 http://archive.ubuntu.com/ubuntu xenial/main amd64 Packages root@ubuntu:~# virsh blockcommit testvm vda --active --verbose --pivot --wait Block commit: [100 %]error: failed to pivot job for disk vda error: block copy still active: disk 'vda' not ready for pivot yet - Upgraded to proposed and tested again, and problem is gone: root@ubuntu:~# apt-cache policy libvirt-bin libvirt-bin: Installed: 1.3.1-1ubuntu10.29 Candidate: 1.3.1-1ubuntu10.29 Version table: *** 1.3.1-1ubuntu10.29 500 500 http://archive.ubuntu.com/ubuntu xenial-proposed/main amd64 Packages 100 /var/lib/dpkg/status 1.3.1-1ubuntu10.27 500 500 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages 500 http://security.ubuntu.com/ubuntu xenial-security/main amd64 Packages 1.3.1-1ubuntu10 500 500 http://archive.ubuntu.com/ubuntu xenial/main amd64 Packages root@ubuntu:~# virsh blockcommit testvm vda --active --verbose --pivot --wait Block commit: [100 %] Successfully pivoted End of test by Fabio. The package is looking good. We have also asked the customer to install the test package and verify that it works under their workload. We might just wait for their confirmation before marking this as verified, in order to give this a little more time to soak in -proposed. Will update again soon. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1681839 Title: libvirt: blockcommit fails - disk not ready for pivot yet To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1681839/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
