Bug 996945
Summary: | Broken snapshot can not be deleted. | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Virtualization Manager | Reporter: | Leonid Natapov <lnatapov> | ||||||
Component: | vdsm | Assignee: | Daniel Erez <derez> | ||||||
Status: | CLOSED DUPLICATE | QA Contact: | Aharon Canan <acanan> | ||||||
Severity: | high | Docs Contact: | |||||||
Priority: | high | ||||||||
Version: | 3.3.0 | CC: | amureini, bazulay, derez, iheim, lnatapov, lpeer, scohen, tnisan, yeylon | ||||||
Target Milestone: | --- | ||||||||
Target Release: | 3.4.0 | ||||||||
Hardware: | Unspecified | ||||||||
OS: | Unspecified | ||||||||
Whiteboard: | storage | ||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2014-03-27 09:57:21 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
Leonid Natapov
2013-08-14 10:40:17 UTC
Created attachment 786494 [details]
logs
I can't open engine log. Do you have a way to reproduce this bug and attach appropriate logs? I reproduced it on is11. Here is the engine.log output while trying to delete broken snapshot. Come to me for more info. 2013-08-25 16:57:50,492 INFO [org.ovirt.engine.core.bll.RemoveSnapshotCommand] (ajp-/127.0.0.1:8702-3) Lock Acquired to object EngineLock [exclusiveLocks= key: a6065a5c-80f1-4df1-b327-895e3516ae0c value: VM , sharedLocks= ] 2013-08-25 16:57:50,684 INFO [org.ovirt.engine.core.bll.RemoveSnapshotCommand] (ajp-/127.0.0.1:8702-3) Running command: RemoveSnapshotCommand internal: false. Entities affected : ID: a6065a5c-80f1-4df1-b327-895e3516ae0c Type: VM 2013-08-25 16:57:50,712 INFO [org.ovirt.engine.core.bll.RemoveSnapshotCommand] (ajp-/127.0.0.1:8702-3) Lock freed to object EngineLock [exclusiveLocks= key: a6065a5c-80f1-4df1-b327-895e3516ae0c value: VM , sharedLocks= ] 2013-08-25 16:57:50,764 INFO [org.ovirt.engine.core.bll.RemoveSnapshotSingleDiskCommand] (ajp-/127.0.0.1:8702-3) Running command: RemoveSnapshotSingleDiskCommand internal: true. Entities affected : ID: 00000000-0000-0000-0000-000000000000 Type: Storage 2013-08-25 16:57:50,804 INFO [org.ovirt.engine.core.vdsbroker.irsbroker.MergeSnapshotsVDSCommand] (ajp-/127.0.0.1:8702-3) START, MergeSnapshotsVDSCommand( storagePoolId = 5849b030-626e-47cb-ad90-3ce782d831b3, ignoreFailoverLimit = false, storageDomainId = df72dcde-837d-4a82-8427-a7e77d2e239e, imageGroupId = 3854ef9f-c542-45e0-b712-4dd43cc7b50e, imageId = f4444ad9-a7ac-43ca-9c54-21c595e74e34, imageId2 = afbe499b-ea35-4d9c-b47c-1bb31cd170e7, vmId = a6065a5c-80f1-4df1-b327-895e3516ae0c, postZero = false), log id: 390681a0 2013-08-25 16:57:51,512 INFO [org.ovirt.engine.core.vdsbroker.irsbroker.MergeSnapshotsVDSCommand] (ajp-/127.0.0.1:8702-3) FINISH, MergeSnapshotsVDSCommand, log id: 390681a0 2013-08-25 16:57:51,523 INFO [org.ovirt.engine.core.bll.CommandAsyncTask] (ajp-/127.0.0.1:8702-3) CommandAsyncTask::Adding CommandMultiAsyncTasks object for command 5ca1ec86-3cfc-4250-bc6c-485397e28855 2013-08-25 16:57:51,524 INFO [org.ovirt.engine.core.bll.CommandMultiAsyncTasks] (ajp-/127.0.0.1:8702-3) CommandMultiAsyncTasks::AttachTask: Attaching task d16685eb-ee34-4555-9068-52ae8441895a to command 5ca1ec86-3cfc-4250-bc6c-485397e28855. 2013-08-25 16:57:51,542 INFO [org.ovirt.engine.core.bll.AsyncTaskManager] (ajp-/127.0.0.1:8702-3) Adding task d16685eb-ee34-4555-9068-52ae8441895a (Parent Command RemoveSnapshot, Parameters Type org.ovirt.engine.core.common.asynctasks.AsyncTaskParameters), polling hasn't started yet.. 2013-08-25 16:57:51,564 INFO [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (ajp-/127.0.0.1:8702-3) Correlation ID: 8e28177, Job ID: ecfd1159-bdee-4eab-b380-2cd784abf40e, Call Stack: null, Custom Event ID: -1, Message: Snapshot '2' deletion for VM 'lesik1' was initiated by admin@internal. 2013-08-25 16:57:51,565 INFO [org.ovirt.engine.core.bll.SPMAsyncTask] (ajp-/127.0.0.1:8702-3) BaseAsyncTask::StartPollingTask: Starting to poll task d16685eb-ee34-4555-9068-52ae8441895a. 2013-08-25 16:57:52,250 INFO [org.ovirt.engine.core.bll.AsyncTaskManager] (DefaultQuartzScheduler_Worker-31) Polling and updating Async Tasks: 2 tasks, 1 tasks to poll now 2013-08-25 16:57:52,322 INFO [org.ovirt.engine.core.bll.SPMAsyncTask] (DefaultQuartzScheduler_Worker-31) SPMAsyncTask::PollTask: Polling task d16685eb-ee34-4555-9068-52ae8441895a (Parent Command RemoveSnapshot, Parameters Type org.ovirt.engine.core.common.asynctasks.AsyncTaskParameters) returned status running. 2013-08-25 16:57:52,322 INFO [org.ovirt.engine.core.bll.AsyncTaskManager] (DefaultQuartzScheduler_Worker-31) Finished polling Tasks, will poll again in 10 seconds. 2013-08-25 16:58:02,034 INFO [org.ovirt.engine.core.bll.AsyncTaskManager] (DefaultQuartzScheduler_Worker-45) Setting new tasks map. The map contains now 1 tasks 2013-08-25 16:58:02,323 INFO [org.ovirt.engine.core.bll.AsyncTaskManager] (DefaultQuartzScheduler_Worker-44) Polling and updating Async Tasks: 1 tasks, 1 tasks to poll now 2013-08-25 16:58:02,334 ERROR [org.ovirt.engine.core.vdsbroker.vdsbroker.HSMGetAllTasksStatusesVDSCommand] (DefaultQuartzScheduler_Worker-44) Failed in HSMGetAllTasksStatusesVDS method 2013-08-25 16:58:02,334 ERROR [org.ovirt.engine.core.vdsbroker.vdsbroker.HSMGetAllTasksStatusesVDSCommand] (DefaultQuartzScheduler_Worker-44) Error code GeneralException and error message VDSGenericException: VDSErrorException: Failed to HSMGetAllTasksStatusesVDS, error = 'f4444ad9-a7ac-43ca-9c54-21c595e74e34' 2013-08-25 16:58:02,334 INFO [org.ovirt.engine.core.bll.SPMAsyncTask] (DefaultQuartzScheduler_Worker-44) SPMAsyncTask::PollTask: Polling task d16685eb-ee34-4555-9068-52ae8441895a (Parent Command RemoveSnapshot, Parameters Type org.ovirt.engine.core.common.asynctasks.AsyncTaskParameters) returned status finished, result 'cleanSuccess'. 2013-08-25 16:58:02,340 ERROR [org.ovirt.engine.core.bll.SPMAsyncTask] (DefaultQuartzScheduler_Worker-44) BaseAsyncTask::LogEndTaskFailure: Task d16685eb-ee34-4555-9068-52ae8441895a (Parent Command RemoveSnapshot, Parameters Type org.ovirt.engine.core.common.asynctasks.AsyncTaskParameters) ended with failure: -- Result: cleanSuccess -- Message: VDSGenericException: VDSErrorException: Failed to HSMGetAllTasksStatusesVDS, error = 'f4444ad9-a7ac-43ca-9c54-21c595e74e34', -- Exception: VDSGenericException: VDSErrorException: Failed to HSMGetAllTasksStatusesVDS, error = 'f4444ad9-a7ac-43ca-9c54-21c595e74e34' 2013-08-25 16:58:02,341 INFO [org.ovirt.engine.core.bll.CommandAsyncTask] (DefaultQuartzScheduler_Worker-44) CommandAsyncTask::EndActionIfNecessary: All tasks of command 5ca1ec86-3cfc-4250-bc6c-485397e28855 has ended -> executing EndAction 2013-08-25 16:58:02,342 INFO [org.ovirt.engine.core.bll.CommandAsyncTask] (DefaultQuartzScheduler_Worker-44) CommandAsyncTask::EndAction: Ending action for 1 tasks (command ID: 5ca1ec86-3cfc-4250-bc6c-485397e28855): calling EndAction . 2013-08-25 16:58:02,342 INFO [org.ovirt.engine.core.bll.CommandAsyncTask] (pool-5-thread-49) CommandAsyncTask::EndCommandAction [within thread] context: Attempting to EndAction RemoveSnapshot, executionIndex: 0 2013-08-25 16:58:02,354 ERROR [org.ovirt.engine.core.bll.RemoveSnapshotCommand] (pool-5-thread-49) [8e28177] Ending command with failure: org.ovirt.engine.core.bll.RemoveSnapshotCommand 2013-08-25 16:58:02,399 ERROR [org.ovirt.engine.core.bll.RemoveSnapshotSingleDiskCommand] (pool-5-thread-49) [7a52ebe0] Ending command with failure: org.ovirt.engine.core.bll.RemoveSnapshotSingleDiskCommand 2013-08-25 16:58:02,429 INFO [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (pool-5-thread-49) Correlation ID: 8e28177, Job ID: ecfd1159-bdee-4eab-b380-2cd784abf40e, Call Stack: null, Custom Event ID: -1, Message: Failed to delete snapshot '2' for VM 'lesik1'. 2013-08-25 16:58:02,429 INFO [org.ovirt.engine.core.bll.CommandAsyncTask] (pool-5-thread-49) CommandAsyncTask::HandleEndActionResult [within thread]: EndAction for action type RemoveSnapshot completed, handling the result. 2013-08-25 16:58:02,430 INFO [org.ovirt.engine.core.bll.CommandAsyncTask] (pool-5-thread-49) CommandAsyncTask::HandleEndActionResult [within thread]: EndAction for action type RemoveSnapshot succeeded, clearing tasks. 2013-08-25 16:58:02,440 INFO [org.ovirt.engine.core.bll.SPMAsyncTask] (pool-5-thread-49) SPMAsyncTask::ClearAsyncTask: Attempting to clear task d16685eb-ee34-4555-9068-52ae8441895a 2013-08-25 16:58:02,441 INFO [org.ovirt.engine.core.vdsbroker.irsbroker.SPMClearTaskVDSCommand] (pool-5-thread-49) START, SPMClearTaskVDSCommand( storagePoolId = 5849b030-626e-47cb-ad90-3ce782d831b3, ignoreFailoverLimit = false, taskId = d16685eb-ee34-4555-9068-52ae8441895a), log id: 1f9f75fa 2013-08-25 16:58:02,443 INFO [org.ovirt.engine.core.vdsbroker.vdsbroker.HSMClearTaskVDSCommand] (pool-5-thread-49) START, HSMClearTaskVDSCommand(HostName = purple-vds3, HostId = a45793c0-8c8b-49a1-9039-3f841c87c342, taskId=d16685eb-ee34-4555-9068-52ae8441895a), log id: 1dfa804e 2013-08-25 16:58:02,469 INFO [org.ovirt.engine.core.vdsbroker.vdsbroker.HSMClearTaskVDSCommand] (pool-5-thread-49) FINISH, HSMClearTaskVDSCommand, log id: 1dfa804e 2013-08-25 16:58:02,469 INFO [org.ovirt.engine.core.vdsbroker.irsbroker.SPMClearTaskVDSCommand] (pool-5-thread-49) FINISH, SPMClearTaskVDSCommand, log id: 1f9f75fa 2013-08-25 16:58:02,471 INFO [org.ovirt.engine.core.bll.SPMAsyncTask] (pool-5-thread-49) BaseAsyncTask::RemoveTaskFromDB: Removed task d16685eb-ee34-4555-9068-52ae8441895a from DataBase 2013-08-25 16:58:02,471 INFO [org.ovirt.engine.core.bll.CommandAsyncTask] (pool-5-thread-49) CommandAsyncTask::HandleEndActionResult [within thread]: Removing CommandMultiAsyncTasks object for entity 5ca1ec86-3cfc-4250-bc6c-485397e2885 Created attachment 790094 [details]
logs
new logs
Daniel, would this bug even be relevant in light of single disk snapshots *** This bug has been marked as a duplicate of bug 1056935 *** |