Comment 13 for bug 1681839

Revision history for this message
Christian Ehrhardt  (paelzer) wrote : Re: libvirt - disk not ready for pivot yet

Hi Patrick,
sorry to see you run into it again - but for now I consider it a great chance to find something that allows to reproduce and catch the issue.

Qou said:
"My backup script made it through 3 of these, one hda, and one vda as well. Then this"
It seems you backup script does:
1. check old snapshots
2. create a snapshot
3. copies off the now stable base image
4. blockcommits image and snapshot together
=> Is your comment saying that of these cycles 3 works (like one a day or such) but then on the fourth you triggered the bug again?

To improve the chance of recreation might I ask you a bunch of questions around your disk/system setup:
1. could you share your guest xml
2. could you share your backup script
3. could you elaborate on your base filesystem setup on the Host
4. is your system overall under a lot of CPU consumption - if so what kind of load?
5. is your system overall under a lot of Disk I/O - if so what kind of load?
6. is your guest that is failing under a lot of CPU consumption - if so what kind of load?
7. is your guest that is failing under a lot of Disk I/O - if so what kind of load?
8. Any changes coming to your mind that explain why this happens recently - is there any new HW/Software/Scripts or a changed workload in place now?

On your question about using Ubuntu Cloud Archive - as I mentioned people sometimes "mis-use" it for just a newer virtualization stack, but one has to keep in mind that this is not the original purpose of it.
If you want to give it a try to check if newer releases in there give you the stability you need for your use-case go to [1]. It explains the basics, as a TL;DR it is a special ppa [2]. Therfore the "use" is via adding that ppa, and then an apt update/upgrade will pull in the newer software packages. Given that you seem to be on a prod system you might want to test that ahead almost as you'd do with a major OS upgrade.

[1]: https://wiki.ubuntu.com/OpenStack/CloudArchive#The_Ubuntu_Cloud_Archive
[2]: https://help.launchpad.net/Packaging/PPA