On 8/12/2020 10:55 pm, Benny Zlotnik wrote:
Do you know why your snapshot creation failed? Do you have logs with the error?
Here is the log (grepped for ERROR only to keep it a bit less verbose):

[root@ov-engine ~]# tail -f /var/log/ovirt-engine/engine.log | grep ERROR
2020-12-08 22:03:13,679+10 ERROR [org.ovirt.engine.core.vdsbroker.vdsbroker.SnapshotVDSCommand] (EE-ManagedThreadFactory-engineScheduled-Thread-72) [9b2283fe-37cc-436c-89df-37c81abcb2e1] Failed in 'SnapshotVDS' method 2020-12-08 22:03:13,710+10 ERROR [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (EE-ManagedThreadFactory-engineScheduled-Thread-72) [9b2283fe-37cc-436c-89df-37c81abcb2e1] EVENT_ID: VDS_BROKER_COMMAND_FAILURE(10,802), VDSM ov-node1 command SnapshotVDS failed: Snapshot failed 2020-12-08 22:03:13,710+10 ERROR [org.ovirt.engine.core.vdsbroker.vdsbroker.SnapshotVDSCommand] (EE-ManagedThreadFactory-engineScheduled-Thread-72) [9b2283fe-37cc-436c-89df-37c81abcb2e1] Command 'SnapshotVDSCommand(HostName = ov-node1, SnapshotVDSCommandParameters:{hostId='40b344e3-0508-48f4-9c86-589faa630adb', vmId='2a0df965-8434-4074-85cf-df12a69648e7'})' execution failed: VDSGenericException: VDSErrorException: Failed to SnapshotVDS, error = Snapshot failed, code = 48 2020-12-08 22:03:14,885+10 ERROR [org.ovirt.engine.core.bll.snapshots.CreateSnapshotForVmCommand] (EE-ManagedThreadFactory-engineScheduled-Thread-15) [9b2283fe-37cc-436c-89df-37c81abcb2e1] Ending command 'org.ovirt.engine.core.bll.snapshots.CreateSnapshotForVmCommand' with failure. 2020-12-08 22:03:14,932+10 ERROR [org.ovirt.engine.core.bll.snapshots.CreateSnapshotDiskCommand] (EE-ManagedThreadFactory-engineScheduled-Thread-15) [9b2283fe-37cc-436c-89df-37c81abcb2e1] Ending command 'org.ovirt.engine.core.bll.snapshots.CreateSnapshotDiskCommand' with failure. 2020-12-08 22:03:14,953+10 ERROR [org.ovirt.engine.core.bll.snapshots.CreateSnapshotCommand] (EE-ManagedThreadFactory-engineScheduled-Thread-15) [9b2283fe-37cc-436c-89df-37c81abcb2e1] Ending command 'org.ovirt.engine.core.bll.snapshots.CreateSnapshotCommand' with failure. 2020-12-08 22:03:14,977+10 ERROR [org.ovirt.engine.core.vdsbroker.vdsbroker.HSMRevertTaskVDSCommand] (EE-ManagedThreadFactory-engineScheduled-Thread-15) [9b2283fe-37cc-436c-89df-37c81abcb2e1] Trying to revert unknown task '4c2ec360-5a00-4bae-bc25-9d8c2d698172' 2020-12-08 22:03:16,309+10 ERROR [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (EE-ManagedThreadFactory-engineScheduled-Thread-15) [] EVENT_ID: USER_CREATE_SNAPSHOT_FINISHED_FAILURE(69), Failed to complete snapshot 'Test' creation for VM 'prod-DC1'.
On paper the situation does not look too bad, as the only discrepancy
between the database and vdsm is the status of the image, and since
it's legal on vdsm, changing it legal in database should work (image
status 1)
Using unlock_entity.sh -t all sets the status back to 1 (confirmed in DB) and then trying to create does not change it back to illegal, but trying to delete that snapshot fails and sets it back to 4.
Active Image is not the same image that has a parentid of all 00000
Can you elaborate on this? The image with the empty parent is usually
the base image (the first active image), the active image will usually
be the leaf (unless the VM is in preview or something similar)
 This is probably just my misunderstanding of the snapshot structure.
Of course do not make any changes without backing up first
Whats the best way to back up this (running) VM without snapshots? Can I just copy the folder and disk? Is there a way to copy it so it doesn't copy it as a 100G file (when only 20G used)?
_______________________________________________
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/Z3FBWNGWNQ3U4UAPXD7CXLLIRP25Y3BS/
_______________________________________________
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/YZ53RQIGHWVCWEFL4OQ3CH6OWGGIJDIK/

Reply via email to