Created attachment 862357[details]
logs and screenshot
Description of problem:
There is a contradiction between what engine reports about snapshot creation in event logs and under snapshots tab in UI. Snapshot creation is reported as 'failed' in event logs and the snapshot exists under snapshots tab and reported as 'OK'.
Version-Release number of selected component (if applicable):
rhevm-3.3.1-0.47.el6ev.noarch
How reproducible:
Unknown
Steps to Reproduce:
Happened on Gluster env.:
1. Have a VM with 2 disks
2. Create a snapshot to the VM
3. Restart vdsm service during the snapshot creation
Actual results:
Snapshot reported as 'OK' but as failed in event logs
Additional info: vdsm.log, engine.log and screenshot
1. Is the snapshot really ok? i.e., is this a logging issue or a serious problem?
2. does this reproduce every time or requires specific timing of the restart?
(In reply to Sean Cohen from comment #1)
> How reproducible?
Sean, see below.
(In reply to Ayal Baron from comment #2)
> 1. Is the snapshot really ok? i.e., is this a logging issue or a serious
> problem?
> 2. does this reproduce every time or requires specific timing of the restart?
1. The snapshot seems to be ok, I'm able to restore it and the VM functions fine after the restore.
2. I'm not sure about the exact timing of the restart, it happens when restarting SPM while createVolume tasks are running.
According to the logs, the failure has occurred during the live snapshot operation. In which, according to the design, an event log is displayed [1] but no rollback is done on the snapshot (as it's still usable). See bug 870928 - comment #4.
[1] Message: Failed to create live snapshot 'last_try' for VM 'VM01'. VM restart is recommended.
*** This bug has been marked as a duplicate of bug 870928 ***
Created attachment 862357 [details] logs and screenshot Description of problem: There is a contradiction between what engine reports about snapshot creation in event logs and under snapshots tab in UI. Snapshot creation is reported as 'failed' in event logs and the snapshot exists under snapshots tab and reported as 'OK'. Version-Release number of selected component (if applicable): rhevm-3.3.1-0.47.el6ev.noarch How reproducible: Unknown Steps to Reproduce: Happened on Gluster env.: 1. Have a VM with 2 disks 2. Create a snapshot to the VM 3. Restart vdsm service during the snapshot creation Actual results: Snapshot reported as 'OK' but as failed in event logs Additional info: vdsm.log, engine.log and screenshot