Bug 960988 - engine: we report failure and then success for creation of the same live snapshot
Summary: engine: we report failure and then success for creation of the same live snap...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine
Version: 3.2.0
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
: 3.3.0
Assignee: Daniel Erez
QA Contact: Raz Tamir
URL:
Whiteboard: storage
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-05-08 13:12 UTC by Dafna Ron
Modified: 2016-02-10 20:04 UTC (History)
12 users (show)

Fixed In Version: is24
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-01-21 22:11:51 UTC
oVirt Team: Storage
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
logs (3.36 MB, application/x-gzip)
2013-05-08 13:12 UTC, Dafna Ron
no flags Details


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 20668 0 None None None Never

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


Note You need to log in before you can comment on or make changes to this bug.