Bug 999794

Summary: [engine-backend] IrsOperationFailedNoFailoverException trace in the log when vdsm fails to remove leftover LVs after failed LSM
Product: Red Hat Enterprise Virtualization Manager Reporter: Elad <ebenahar>
Component: ovirt-engineAssignee: Daniel Erez <derez>
Status: CLOSED WONTFIX QA Contact: Aharon Canan <acanan>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 3.3.0CC: acathrow, amureini, iheim, lpeer, Rhev-m-bugs, scohen, yeylon
Target Milestone: ---Keywords: Triaged
Target Release: 3.3.0   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: storage
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-09-09 08:00:33 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:
Attachments:
Description Flags
logs none

Description Elad 2013-08-22 07:07:27 UTC
Created attachment 789053 [details]
logs

Description of problem:
Engine throws this exception when vdsm is unable to delete an image that was left on source SD after live storage migration failed.

Version-Release number of selected component (if applicable):
rhevm-3.3.0-0.15.master.el6ev.noarch

How reproducible:
100%

Steps to Reproduce:
On a block pool with more than one storage domains:
- create a VM from template and run it on hsm
- live migrate vm's disk and fail LSM during syncImage task on vdsm (restart vdsm)
- after vdsm comes up, it will perform roll-back and try to delete the volume from the dst domain. 
- restart vdsm during deleteImage task

Actual results:
vdsm fails in deleteImage. Engine throws this exception:

2013-08-21 15:30:52,103 ERROR [org.ovirt.engine.core.bll.CommandAsyncTask] (pool-5-thread-47) [within thread]: EndAction for action type LiveMigrateDisk threw an exception.: javax.ejb.EJBException: org.ovirt.engin
e.core.common.errors.VdcBLLException: VdcBLLException: org.ovirt.engine.core.vdsbroker.irsbroker.IrsOperationFailedNoFailoverException: IRSGenericException: IRSErrorException: Cannot remove Logical Volume: ('4700d
87c-0616-4051-880e-6f3d15357bc4', "{'114f06ed-8288-4955-955f-d4708b55c885': ImgsPar(imgs=['f74dd0fe-150f-4037-8992-71d7ea0ac982'], parent='a3befb04-1a36-4f16-a9da-3a1d691b6833'), 'a3befb04-1a36-4f16-a9da-3a1d691b6
833': ImgsPar(imgs=['f74dd0fe-150f-4037-8992-71d7ea0ac982'], parent='00000000-0000-0000-0000-000000000000'), '7ca6a8c5-16d1-4ea9-b184-4a0003865929': ImgsPar(imgs=['f74dd0fe-150f-4037-8992-71d7ea0ac982'], parent='1
14f06ed-8288-4955-955f-d4708b55c885')}") (Failed with error CannotRemoveLogicalVolume and code 551)
        at org.jboss.as.ejb3.tx.CMTTxInterceptor.handleExceptionInNoTx(CMTTxInterceptor.java:191) [jboss-as-ejb3.jar:7.2.0.Final-redhat-8]


Expected results:
This exception should not be shown in engine.log

Additional info:
logs

Comment 1 Allon Mureinik 2013-09-09 08:00:33 UTC
Talked to Elad and Daniel - the issue here is the trace in the log.
We maintain that these traces provide useful debugging information when such an error occurs - won't fix.