Bug 960988

Summary: engine: we report failure and then success for creation of the same live snapshot
Product: Red Hat Enterprise Virtualization Manager Reporter: Dafna Ron <dron>
Component: ovirt-engineAssignee: Daniel Erez <derez>
Status: CLOSED CURRENTRELEASE QA Contact: Raz Tamir <ratamir>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 3.2.0CC: abaron, acanan, acathrow, amureini, derez, ebenahar, iheim, jkt, lpeer, Rhev-m-bugs, scohen, yeylon
Target Milestone: ---   
Target Release: 3.3.0   
Hardware: x86_64   
OS: Linux   
Whiteboard: storage
Fixed In Version: is24 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-01-21 22:11:51 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 none

Description Dafna Ron 2013-05-08 13:12:16 UTC
Created attachment 745241 [details]
logs

Description of problem:

2013-May-08, 15:27 Snapshot 'Auto-generated for Live Storage Migration' creation for VM 'grrr-03' has been completed.
	
2013-May-08, 15:27 Failed to create live snapshot 'Auto-generated for Live Storage Migration' for VM 'grrr-03'. VM restart is recommended.

root@gold-vdsd ~]# lvs |grep 1a3e182b-cf6d-4206-aec1-847b348a60e1
  1a3e182b-cf6d-4206-aec1-847b348a60e1 d326916a-89b6-41c8-9c14-4b9cf8a1c979 -wi------   1.00g

Version-Release number of selected component (if applicable):

sf15

How reproducible:

100%

Steps to Reproduce:
1. run a vm on the hsm host live migrate a disk
2. stop vdsm service on hsm only
3.
  
Actual results:

we report the snapshot as failed and as completed. 

Expected results:

we should not report a failure unless it actually failed. 

Additional info: logs

Comment 1 Dafna Ron 2013-05-30 13:28:01 UTC
same issue happens when we block src domain during DeleteImageGroup is logged in the engine log. 
the mapping has changed (meaning that the LSM actually succeeded) and engine reports the task first as succeeded and than as failed: 

	
2013-May-30, 16:15
	
User admin@internal have failed to move disk NFS-RHEL6_iSCSI_Disk1 to domain tiger-01.
	
2013-May-30, 16:14
	
User admin@internal finished moving disk NFS-RHEL6_iSCSI_Disk1 to domain tiger-01.

Comment 2 Itamar Heim 2013-12-08 07:44:38 UTC
still planned for 3.4?

Comment 4 Daniel Erez 2014-01-01 11:08:56 UTC
The issue should already be resolved by commit I7c69f663836e74691c968f4a15c5f3012479a8b0
which addressed bug 1018876.

Comment 5 Aharon Canan 2014-01-02 08:58:34 UTC
verified using is29

Comment 6 Itamar Heim 2014-01-21 22:11:51 UTC
Closing - RHEV 3.3 Released