Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1064419

Summary: [engine-webadmin] snapshot is presented as 'OK' although its creation reported as failed in the event logs
Product: Red Hat Enterprise Virtualization Manager Reporter: Elad <ebenahar>
Component: ovirt-engine-webadmin-portalAssignee: Daniel Erez <derez>
Status: CLOSED DUPLICATE QA Contact: Elad <ebenahar>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 3.3.0CC: abaron, acanan, acathrow, derez, ebenahar, ecohen, gklein, iheim, Rhev-m-bugs, scohen, yeylon
Target Milestone: ---Keywords: Triaged
Target Release: 3.4.0   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: storage
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-02-19 08:32:18 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 Flags
logs and screenshot none

Description Elad 2014-02-12 15:03:40 UTC
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

Comment 1 Sean Cohen 2014-02-12 20:23:58 UTC
How reproducible?

Comment 2 Ayal Baron 2014-02-16 09:32:25 UTC
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?

Comment 3 Elad 2014-02-16 15:48:53 UTC
(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.

Comment 4 Allon Mureinik 2014-02-17 13:35:30 UTC
Daniel, wasn't this solved as part of single disk snapshots?

Comment 5 Daniel Erez 2014-02-19 08:32:18 UTC
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 ***