Bug 1153544
Summary: | Failed VM migrations do not release VM resource lock properly | |||
---|---|---|---|---|
Product: | Red Hat Enterprise Virtualization Manager | Reporter: | Roman Hodain <rhodain> | |
Component: | ovirt-engine | Assignee: | Arik <ahadas> | |
Status: | CLOSED ERRATA | QA Contact: | Nisim Simsolo <nsimsolo> | |
Severity: | high | Docs Contact: | ||
Priority: | high | |||
Version: | 3.4.1-1 | CC: | dswegen, ecohen, gklein, iheim, juwu, lpeer, lsurette, michal.skrivanek, nyechiel, ofrenkel, rbalakri, Rhev-m-bugs, yeylon | |
Target Milestone: | --- | Keywords: | Reopened, ZStream | |
Target Release: | 3.5.0 | |||
Hardware: | x86_64 | |||
OS: | Linux | |||
Whiteboard: | virt | |||
Fixed In Version: | Doc Type: | Bug Fix | ||
Doc Text: |
Previously, after a failed migration, the target virtual machine remained in a locked state. Further operations on the virtual machine failed with an error: 'Cannot run VM. VM <VM NAME> is being migrated.' With this update, locked virtual machines are released upon migration failure and further operations on the virtual machine are allowed.
|
Story Points: | --- | |
Clone Of: | ||||
: | 1155571 (view as bug list) | Environment: | ||
Last Closed: | 2015-02-11 18:09:41 UTC | Type: | Bug | |
Regression: | --- | Mount Type: | --- | |
Documentation: | --- | CRM: | ||
Verified Versions: | Category: | --- | ||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
Cloudforms Team: | --- | Target Upstream Version: | ||
Embargoed: | ||||
Bug Depends On: | ||||
Bug Blocks: | 1155571 |
Description
Roman Hodain
2014-10-16 07:55:04 UTC
fixed by http://gerrit.ovirt.org/#/c/24799/ (In reply to Arik from comment #3) > fixed by http://gerrit.ovirt.org/#/c/24799/ Are you sure that this exact issue was fixed by the mentioned fix? As the problem seems to occur on rhevm-3.4.2-0.2.el6ev.noarch. This patch is already included there. (In reply to Roman Hodain from comment #4) Yes, I'm sure. The backport of this patch to 3.4 was a bit complicated so it is not exactly the same patch in both places. look at the 'perform' method in both places: In http://gerrit.ovirt.org/#/c/24799/19/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/MigrateVmCommand.java,cm (master), in case of exception we're calling runningFailed which release the lock While in http://gerrit.ovirt.org/#/c/29872/3/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/MigrateVmCommand.java,cm (3.4), in case of exception we're not calling runningFailed so the lock remains Switching it to ON_QA so they'll verify it as well on 3.5. If we need it to be fixed in 3.4, we need to make a dedicated fix for 3.4. suggesting 3.4.z flag, if needed/acked we will create a fix for it Fixed. Verified using the next builds: rhevm-3.5.0-0.17.beta.el6ev.noarch libvirt-0.10.2-46.el6.x86_64 vdsm-4.16.7.1-1.el6ev.x86_64 sanlock-2.8-1.el6.x86_64 qemu-kvm-rhev-0.12.1.2-2.448.el6.x86_64 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/RHSA-2015-0158.html |