Red Hat Bugzilla – Bug 1308651
VM startup takes several minutes
Last modified: 2016-03-10 01:57:20 EST
Description of problem:
VMs can take several minutes (e.g. 7 minutes in the example provided below, but some take longer) to start up. The delay appears to be in VDSM in the 'prepareImage' sequence.
Version-Release number of selected component (if applicable):
RHEL 6.6 hosts w/vdsm-4.16.20-1
Steps to Reproduce:
Starting VMs can take several minutes. This is across different hosts. The same VMs can later start up much quicker.
An example of one such VM is that it consists of a single disk with a single volume on an NFS storage domain.
VMs start up in a timely fashion.
Nir, this sounds awfully familiar - does this ring any bells?
(In reply to Allon Mureinik from comment #8)
> Nir, this sounds awfully familiar - does this ring any bells?
vdsm 4.16.20 does not include this fix:
46a328b fileSD: Optimize getAllVolumes on file storage
Which can cause long delays in prepareImage, and mixed with many cores and many
concurrent prepareImage calls, can be related.
I will need to look in the logs to understand if there is another issue.
So the best advice for now is to upgrade to 4.16.21, or better to version
that support cpu_affinity option.