Bug 1114587
Summary: | Failed VM migrations do not release VM resource lock properly leading to failures in subsequent migration attempts | ||
---|---|---|---|
Product: | Red Hat Enterprise Virtualization Manager | Reporter: | rhev-integ |
Component: | ovirt-engine | Assignee: | Arik <ahadas> |
Status: | CLOSED ERRATA | QA Contact: | Lukas Svaty <lsvaty> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 3.3.0 | CC: | acathrow, ahadas, amureini, iheim, lpeer, mavital, michal.skrivanek, Rhev-m-bugs, sherold, tpoitras, yeylon |
Target Milestone: | --- | Keywords: | ZStream |
Target Release: | 3.4.1 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | virt | ||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: |
Previously, if a migrating virtual machine thread acquired a resource lock but failed for some reason, it would not properly release the lock. This caused other threads to fail while acquiring locks to perform operations like migrate/Run VM. Now, a patch has fixed the regression that caused VMs to remain locked after failed migration.
|
Story Points: | --- |
Clone Of: | 1104030 | Environment: | |
Last Closed: | 2014-07-29 16:24:35 UTC | Type: | --- |
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: | 1104030 | ||
Bug Blocks: |
Comment 1
Michal Skrivanek
2014-06-30 12:39:23 UTC
how this bug should be verified please? For verification used av10.2 Hosts rhel6, rhel7 with up to date VDSM Steps: 1. Migrate 2 VMs from host1(SPM) to host2 2. While migration in process move host2 to maintenance 3. Wait for Migration to Fail and see in logs if locks were successfully freed 2014-07-18 11:03:03,168 INFO [org.ovirt.engine.core.bll.MigrateVmToServerCommand] (org.ovirt.thread.pool-4-thread-25) [47572d25] Lock Acquired to object EngineLock [exclusiveLocks= key: e3c73b01-1900-4b24-bfa7-e75b17e9dc0d value: VM , sharedLocks= ] 2014-07-18 11:03:03,168 INFO [org.ovirt.engine.core.bll.MigrateVmToServerCommand] (org.ovirt.thread.pool-4-thread-36) [6e952ea4] Lock Acquired to object EngineLock [exclusiveLocks= key: 4d7aa507-1b32-4618-a5a2-884500dbbbc1 value: VM , sharedLocks= ] 2014-07-18 11:03:07,433 INFO [org.ovirt.engine.core.bll.MigrateVmToServerCommand] (org.ovirt.thread.pool-4-thread-2) [23c7912b] Lock freed to object EngineLock [exclusiveLocks= key: 4d7aa507-1b32-4618-a5a2-884500dbbbc1 value: VM , sharedLocks= ] 2014-07-18 11:03:07,435 INFO [org.ovirt.engine.core.bll.MigrateVmToServerCommand] (org.ovirt.thread.pool-4-thread-5) [23c7912b] Lock freed to object EngineLock [exclusiveLocks= key: e3c73b01-1900-4b24-bfa7-e75b17e9dc0d value: VM , sharedLocks= ] 4. Activate host2 again and try to migrate VMs to it (successful) 5. Tried migration on host3 (rhevh) also successful 6. Actions like like Shutdown/Pause/Start VM should pass as well as the lock is freed please verify these steps, once the steps will be approved by Arik I will move this bug to VERIFIED Thanks looks ok 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. http://rhn.redhat.com/errata/RHBA-2014-0960.html |