Bug 1256786
Summary: | LSM fails with Locked disk during failed snapshot create | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Virtualization Manager | Reporter: | Kevin Alon Goldblatt <kgoldbla> | ||||||
Component: | ovirt-engine | Assignee: | Daniel Erez <derez> | ||||||
Status: | CLOSED DUPLICATE | QA Contact: | |||||||
Severity: | high | Docs Contact: | |||||||
Priority: | urgent | ||||||||
Version: | 3.6.0 | CC: | amureini, derez, ecohen, gklein, lsurette, rbalakri, Rhev-m-bugs, tnisan, yeylon | ||||||
Target Milestone: | ovirt-3.6.3 | ||||||||
Target Release: | 3.6.0 | ||||||||
Hardware: | x86_64 | ||||||||
OS: | Unspecified | ||||||||
Whiteboard: | storage | ||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2015-09-02 13:10:47 UTC | Type: | Bug | ||||||
Regression: | --- | Mount Type: | --- | ||||||
Documentation: | --- | CRM: | |||||||
Verified Versions: | Category: | --- | |||||||
oVirt Team: | Storage | RHEL 7.3 requirements from Atomic Host: | |||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||
Embargoed: | |||||||||
Attachments: |
|
Description
Kevin Alon Goldblatt
2015-08-25 12:44:47 UTC
Created attachment 1066840 [details]
engine, vdsm, server logs
Ran an addirional test simplifying the scenario: 1. Create a VM 2. Create a preallocated block disk 3. Start the VM 4. Start the LSM of the preallocated block disk to another block domain >>>> The fails to create and the LSM does not continue Engine.log: -------------- 2015-08-25 16:04:10,453 INFO [org.ovirt.engine.core.vdsbroker.VmAnalyzer] (ForkJoinPool-1-worker-3) [] VM 'aa8200ba-0696-4882-b0d7-b0c778288e0f'(vm3) moved from 'PoweringUp' --> 'Up' 2015-08-25 16:04:10,466 INFO [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (ForkJoinPool-1-worker-3) [] Correlation ID: 67417339, Job ID: 05ca91d8-5692-40b8-8f59-ea7285335d98, Call Stack: null, Custom Event ID: -1, Message: VM vm3 started on Host level1_vm01 2015-08-25 16:14:13,530 INFO [org.ovirt.engine.core.bll.MoveDisksCommand] (ajp-/127.0.0.1:8702-2) [16b12391] Running command: MoveDisksCommand internal: false. Entities affected : ID: de2a274d-604f-40c5-8cac-a4d4445e561f Type: DiskAction group CONFIGURE_DISK_STORAGE with role type USER 2015-08-25 16:14:13,667 INFO [org.ovirt.engine.core.bll.lsm.LiveMigrateVmDisksCommand] (ajp-/127.0.0.1:8702-2) [16b12391] Lock Acquired to object 'EngineLock:{exclusiveLocks='[de2a274d-604f-40c5-8cac-a4d4445e561f=<DISK, ACTION_TYPE_FAILED_DISK_IS_BEING_MIGRATED$DiskName vm3_Disk1>]', sharedLocks='[aa8200ba-0696-4882-b0d7-b0c778288e0f=<VM, ACTION_TYPE_FAILED_OBJECT_LOCKED>]'}' 2015-08-25 16:14:13,961 INFO [org.ovirt.engine.core.bll.lsm.LiveMigrateVmDisksCommand] (org.ovirt.thread.pool-7-thread-2) [16b12391] Running command: LiveMigrateVmDisksCommand Task handler: LiveSnapshotTaskHandler internal: false. Entities affected : ID: de2a274d-604f-40c5-8cac-a4d4445e561f Type: DiskAction group DISK_LIVE_STORAGE_MIGRATION with role type USER 2015-08-25 16:14:14,070 WARN [org.ovirt.engine.core.bll.CreateAllSnapshotsFromVmCommand] (org.ovirt.thread.pool-7-thread-2) [2df09800] CanDoAction of action 'CreateAllSnapshotsFromVm' failed for user admin@internal. Reasons: VAR__ACTION__CREATE,VAR__TYPE__SNAPSHOT,ACTION_TYPE_FAILED_DISKS_LOCKED,$diskAliases vm3_Disk1 2015-08-25 16:14:14,088 INFO [org.ovirt.engine.core.bll.lsm.LiveMigrateVmDisksCommand] (org.ovirt.thread.pool-7-thread-2) [2df09800] Lock freed to object 'EngineLock:{exclusiveLocks='[de2a274d-604f-40c5-8cac-a4d4445e561f=<DISK, ACTION_TYPE_FAILED_DISK_IS_BEING_MIGRATED$DiskName vm3_Disk1>]', sharedLocks='[aa8200ba-0696-4882-b0d7-b0c778288e0f=<VM, ACTION_TYPE_FAILED_OBJECT_LOCKED>]'}' 2015-08-25 16:33:50,798 INFO [org.ovirt.engine.core.bll.OvfDataUpdater] (DefaultQuartzScheduler_Worker-71) [] Attempting to update VMs/Templates Ovf. 2015-08-25 16:33:50,801 INFO [org.ovirt.engine.core.bll.ProcessOvfUpdateForStoragePoolCommand] (DefaultQuartzScheduler_Worker-71) [39ee79e7] Running command: ProcessOvfUpdateForStoragePoolCommand internal: true. Entities affected : ID: 8f5d5cf4-f455-4b6f-a2cc-a0d23b96ddd4 Type: StoragePool Created attachment 1066896 [details]
engine, vdsm, server logs, screen shots
Added new logs for the simplified scenario.
NOTE THERE IS A 3 HOUR DIFFERENCE BETWEEN THE ENGINE AND HOST LOGS
Engine: 17:53:27 IDT 2015
Host: 14:53:48 IDT 2015
Daniel - this sounds like the same issue as bug 1251956. Can you take a look please? I have re run the scenario again with the latest build and the the problem no longer occurs. It seems this issue was fixed with the new version. I used the following version to test this scenario: rhevm-3.6.0-0.12.master.el6.noarch running on Rhel6.7 vdsm-4.17.3-1.el7ev.noarch running on Rhel7.2 (In reply to Kevin Alon Goldblatt from comment #5) > I have re run the scenario again with the latest build and the the problem > no longer occurs. It seems this issue was fixed with the new version. This indeed seems to be duplicate of bug 1251956, closing. *** This bug has been marked as a duplicate of bug 1251956 *** |