Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1346270 - Pool VM loses its disk during reinitialisation after shutdown.
Pool VM loses its disk during reinitialisation after shutdown.
Status: CLOSED ERRATA
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine (Show other bugs)
3.6.6
Unspecified Unspecified
high Severity high
: ovirt-4.0.1
: 4.0.1
Assigned To: Arik
sefi litmanovich
: ZStream
Depends On:
Blocks: 1348950
  Show dependency treegraph
 
Reported: 2016-06-14 08:11 EDT by Roman Hodain
Modified: 2017-03-29 04:47 EDT (History)
11 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
This update fixes a race condition that exists during automatic startup of prestarted virtual machines in virtual machine pools and manual operations of virtual machines in the pool. The condition caused virtual machines to lose its disks while being returned to the virtual machine pool.
Story Points: ---
Clone Of:
: 1346848 1348950 (view as bug list)
Environment:
Last Closed: 2016-08-23 16:42:36 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: Virt
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
oVirt gerrit 59450 master MERGED core: prevent removal of all images of prestarted stateless vm 2016-06-23 04:55 EDT
oVirt gerrit 59468 master MERGED core: acquire vm lock on RestoreStatelessVm 2016-06-23 07:49 EDT
oVirt gerrit 59689 ovirt-engine-4.0 MERGED core: prevent removal of all images of prestarted stateless vm 2016-06-24 07:52 EDT
oVirt gerrit 59690 ovirt-engine-4.0 MERGED core: acquire vm lock on RestoreStatelessVm 2016-06-24 10:31 EDT
Red Hat Product Errata RHEA-2016:1743 normal SHIPPED_LIVE Red Hat Virtualization Manager 4.0 GA Enhancement (ovirt-engine) 2016-09-02 17:54:01 EDT

  None (edit)
Description Roman Hodain 2016-06-14 08:11:04 EDT
Description of problem:
     When a pool VM is returned to the pull it sometimes loses its disk and cannot be prestarted any more as it does not have any disk.

Version-Release number of selected component (if applicable):
    rhevm-3.6.5.3-0.1.el6.noarch

How reproducible:
    Time to time as this is a race condition.

Steps to Reproduce:
    1. Return a pool VM to the pool exactly in the same time when the VMs are automatically being prestarted. (every VmPoolMonitorIntervalInMinutes)

Actual results:
     Vm loses all disk volumes and is not bale to start any more.

Expected results:
     Vm does not lose the volumes (DestroyImageVDSCommand is not triggered twice)
Comment 9 sefi litmanovich 2016-08-01 09:58:02 EDT
Ran whole vm pools test plan on automation several times, In addition wrote another automated test with a vm pool with all vms set as prestarted, and user allocating vms, then detaching, also allocating and stopping the vms, and a bit of both, all that for around 1 hour.. Did not produce the bug.
Bug didn't re produce at no point.

Verified running with rhevm-4.0.2.3-0.1.el7ev.noarch, all tests passed.
Comment 11 errata-xmlrpc 2016-08-23 16:42:36 EDT
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHEA-2016-1743.html

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