Bug 1308651 - VM startup takes several minutes
VM startup takes several minutes
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: vdsm (Show other bugs)
Unspecified Linux
high Severity high
: ovirt-3.6.3
: 3.6.0
Assigned To: Nir Soffer
Aharon Canan
Depends On:
  Show dependency treegraph
Reported: 2016-02-15 11:57 EST by Gordon Watson
Modified: 2016-03-10 01:57 EST (History)
10 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2016-02-22 09:51:03 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: Storage
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Gordon Watson 2016-02-15 11:57:18 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):

RHEV 3.5.3
RHEL 6.6 hosts w/vdsm-4.16.20-1

How reproducible:


Steps to Reproduce:

Actual results:

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.

Expected results:

VMs start up in a timely fashion.

Additional info:
Comment 8 Allon Mureinik 2016-02-16 10:41:02 EST
Nir, this sounds awfully familiar - does this ring any bells?
Comment 9 Nir Soffer 2016-02-16 12:35:35 EST
(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.

Note You need to log in before you can comment on or make changes to this bug.