It looks like it is possible now to create live snapshots; that is: on a running system. Creating fails however:
[root@ovirtm ovirt-engine]# tail -f engine.log | grep -i snapshot 2012-06-19 09:50:07,046 INFO [org.ovirt.engine.core.bll.CreateAllSnapshotsFromVmCommand] (ajp--0.0.0.0-8009-7) [62433299] Lock Acquired to object EngineLock [exclusiveLocks= key: 88321641-ae26-4460-ab3e-30daa5a7fc1a value: VM 2012-06-19 09:50:07,213 INFO [org.ovirt.engine.core.bll.CreateAllSnapshotsFromVmCommand] (ajp--0.0.0.0-8009-7) [62433299] Running command: CreateAllSnapshotsFromVmCommand internal: false. Entities affected : ID: 88321641-ae26-4460-ab3e-30daa5a7fc1a Type: VM 2012-06-19 09:50:07,260 INFO [org.ovirt.engine.core.bll.CreateAllSnapshotsFromVmCommand] (ajp--0.0.0.0-8009-7) [62433299] Lock freed to object EngineLock [exclusiveLocks= key: 88321641-ae26-4460-ab3e-30daa5a7fc1a value: VM 2012-06-19 09:50:07,265 INFO [org.ovirt.engine.core.bll.CreateSnapshotCommand] (ajp--0.0.0.0-8009-7) [50705e1b] Running command: CreateSnapshotCommand internal: true. Entities affected : ID: 00000000-0000-0000-0000-000000000000 Type: Storage 2012-06-19 09:50:07,334 INFO [org.ovirt.engine.core.vdsbroker.irsbroker.CreateSnapshotVDSCommand] (ajp--0.0.0.0-8009-7) [50705e1b] START, CreateSnapshotVDSCommand(storagePoolId = 29decfa5-6776-45f2-be4c-5aa975e7decf, ignoreFailoverLimit = false, compatabilityVersion = 3.1, storageDomainId = 573aae44-b52c-48c4-a588-6338baedced7, imageGroupId = a5fe1b85-af8d-444b-be70-b0dfe9355593, imageSizeInBytes = 8589934592, volumeFormat = COW, newImageId = cc9b435b-f9c0-4bd4-bb01-1d8f92016448, newImageDescription = , imageId = 50d53c99-ffe7-4ae0-938b-c3f79720e13e, sourceImageGroupId = a5fe1b85-af8d-444b-be70-b0dfe9355593), log id: 7b7a0fb2 2012-06-19 09:50:07,336 INFO [org.ovirt.engine.core.vdsbroker.irsbroker.CreateSnapshotVDSCommand] (ajp--0.0.0.0-8009-7) [50705e1b] -- CreateSnapshotVDSCommand::ExecuteIrsBrokerCommand: calling 'createVolume' with two new parameters: description and UUID 2012-06-19 09:50:07,336 INFO [org.ovirt.engine.core.vdsbroker.irsbroker.CreateSnapshotVDSCommand] (ajp--0.0.0.0-8009-7) [50705e1b] -- createVolume parameters: 2012-06-19 09:50:07,529 INFO [org.ovirt.engine.core.vdsbroker.irsbroker.CreateSnapshotVDSCommand] (ajp--0.0.0.0-8009-7) [50705e1b] FINISH, CreateSnapshotVDSCommand, return: cc9b435b-f9c0-4bd4-bb01-1d8f92016448, log id: 7b7a0fb2 2012-06-19 09:50:07,572 INFO [org.ovirt.engine.core.bll.AsyncTaskManager] (ajp--0.0.0.0-8009-7) [50705e1b] AsyncTaskManager::AddTaskToManager: Adding task 2dcdc253-87f8-47cf-ba9f-80deaf131ce4 (Parent Command CreateAllSnapshotsFromVm, Parameters Type org.ovirt.engine.core.common.asynctasks.AsyncTaskParameters), polling hasn't started yet.. 2012-06-19 09:50:07,630 INFO [org.ovirt.engine.core.bll.EntityMultiAsyncTasks] (ajp--0.0.0.0-8009-7) [50705e1b] EntityMultiAsyncTasks::StartPollingTask: Current Action Type for entity 88321641-ae26-4460-ab3e-30daa5a7fc1a is CreateAllSnapshotsFromVm (determined by task 2dcdc253-87f8-47cf-ba9f-80deaf131ce4) 2012-06-19 09:50:13,628 INFO [org.ovirt.engine.core.bll.SPMAsyncTask] (QuartzScheduler_Worker-76) SPMAsyncTask::PollTask: Polling task 2dcdc253-87f8-47cf-ba9f-80deaf131ce4 (Parent Command CreateAllSnapshotsFromVm, Parameters Type org.ovirt.engine.core.common.asynctasks.AsyncTaskParameters) returned status finished, result 'success'. 2012-06-19 09:50:13,713 INFO [org.ovirt.engine.core.bll.SPMAsyncTask] (QuartzScheduler_Worker-76) BaseAsyncTask::OnTaskEndSuccess: Task 2dcdc253-87f8-47cf-ba9f-80deaf131ce4 (Parent Command CreateAllSnapshotsFromVm, Parameters Type org.ovirt.engine.core.common.asynctasks.AsyncTaskParameters) ended successfully. 2012-06-19 09:50:13,717 INFO [org.ovirt.engine.core.bll.EntityAsyncTask] (QuartzScheduler_Worker-76) EntityAsyncTask::EndAction: Ending action for 1 tasks (entity ID: 88321641-ae26-4460-ab3e-30daa5a7fc1a): calling EndAction for action type CreateAllSnapshotsFromVm. 2012-06-19 09:50:13,719 INFO [org.ovirt.engine.core.bll.EntityAsyncTask] (pool-3-thread-48) EntityAsyncTask::EndCommandAction [within thread]context: Attempting to EndAction CreateAllSnapshotsFromVm 2012-06-19 09:50:13,746 INFO [org.ovirt.engine.core.bll.CreateAllSnapshotsFromVmCommand] (pool-3-thread-48) [62433299] Ending command successfully: org.ovirt.engine.core.bll.CreateAllSnapshotsFromVmCommand 2012-06-19 09:50:13,758 INFO [org.ovirt.engine.core.vdsbroker.vdsbroker.SnapshotVDSCommand] (pool-3-thread-48) [62433299] START, SnapshotVDSCommand(vdsId = c7bfb9f6-b926-11e1-ba3b-d7d59418f024, vmId=88321641-ae26-4460-ab3e-30daa5a7fc1a), log id: 2e483a2e 2012-06-19 09:50:13,832 ERROR [org.ovirt.engine.core.vdsbroker.vdsbroker.BrokerCommandBase] (pool-3-thread-48) [62433299] Failed in SnapshotVDS method 2012-06-19 09:50:13,833 ERROR [org.ovirt.engine.core.vdsbroker.vdsbroker.BrokerCommandBase] (pool-3-thread-48) [62433299] Error code SNAPSHOT_FAILED and error message VDSGenericException: VDSErrorException: Failed to SnapshotVDS, error = Snapshot failed 2012-06-19 09:50:13,834 INFO [org.ovirt.engine.core.vdsbroker.vdsbroker.BrokerCommandBase] (pool-3-thread-48) [62433299] Command org.ovirt.engine.core.vdsbroker.vdsbroker.SnapshotVDSCommand return value mMessage Snapshot failed 2012-06-19 09:50:13,836 ERROR [org.ovirt.engine.core.vdsbroker.VDSCommandBase] (pool-3-thread-48) [62433299] Command SnapshotVDS execution failed. Exception: VDSErrorException: VDSGenericException: VDSErrorException: Failed to SnapshotVDS, error = Snapshot failed 2012-06-19 09:50:13,837 INFO [org.ovirt.engine.core.vdsbroker.vdsbroker.SnapshotVDSCommand] (pool-3-thread-48) [62433299] FINISH, SnapshotVDSCommand, log id: 2e483a2e 2012-06-19 09:50:13,837 ERROR [org.ovirt.engine.core.bll.CreateAllSnapshotsFromVmCommand] (pool-3-thread-48) [62433299] Wasnt able to live snpashot due to error: VdcBLLException: VdcBLLException: org.ovirt.engine.core.vdsbroker.vdsbroker.VDSErrorException: VDSGenericException: VDSErrorException: Failed to SnapshotVDS, error = Snapshot failed, rolling back. 2012-06-19 09:50:13,840 ERROR [org.ovirt.engine.core.bll.CreateSnapshotCommand] (pool-3-thread-48) [50705e1b] Ending command with failure: org.ovirt.engine.core.bll.CreateSnapshotCommand 2012-06-19 09:50:14,188 INFO [org.ovirt.engine.core.bll.EntityAsyncTask] (pool-3-thread-48) EntityAsyncTask::HandleEndActionResult [within thread]: EndAction for action type CreateAllSnapshotsFromVm completed, handling the result. 2012-06-19 09:50:14,189 INFO [org.ovirt.engine.core.bll.EntityAsyncTask] (pool-3-thread-48) EntityAsyncTask::HandleEndActionResult [within thread]: EndAction for action type CreateAllSnapshotsFromVm hasn't succeeded, clearing tasks. Is live snapshots a new Ovirt feature? Taking a snapshot on a non-running host is fine. Winfried _______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users