Bug 818117

Summary: ovirt-engine-backend [Task Manager]: when a vm is rerun because of failure on host side task view is reporting vm launch as failed
Product: Red Hat Enterprise Virtualization Manager Reporter: Dafna Ron <dron>
Component: ovirt-engineAssignee: Eli Mesika <emesika>
Status: CLOSED CURRENTRELEASE QA Contact: Dafna Ron <dron>
Severity: medium Docs Contact:
Priority: high    
Version: 3.1.0CC: acathrow, dyasny, iheim, ofrenkel, Rhev-m-bugs, yeylon, ykaul, yzaslavs
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: virt, infra
Fixed In Version: si8 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
logs none

Description Dafna Ron 2012-05-02 09:24:59 UTC
Created attachment 581549 [details]
logs

Description of problem:

if during vm launch we have a failure on host the vm will rerun on a different host and succeed to run. 
Task manager is reporting vm launch as failed although rerun treatment was successfully. 

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

si2.1

How reproducible:

100%

Steps to Reproduce:
1. run a vm on specific host and kill it's pid during wait for launch
2.
3.
  
Actual results:

vm will rerun on second host but Task manager will report task as failed. 

Expected results:

we should either create a new task for the second launch or report rerun as a step. 

Additional info: logs and screen shot


killed vm in blond-vdsh:

[root@blond-vdsh ~]# vdsClient -s 0 list table 
96ac75c3-0364-4abe-94c2-65ad10eecb9c   9532  XP                   Up                                       
[root@blond-vdsh ~]# kill -9 9532


it reruan on orage-vdsd:

[root@orange-vdsd ~]# vdsClient -s 0 list table 
96ac75c3-0364-4abe-94c2-65ad10eecb9c  17521  XP                   Up

Comment 1 Eli Mesika 2012-06-19 11:15:33 UTC
http://gerrit.ovirt.org/#/c/5477/

Comment 2 Eli Mesika 2012-06-20 14:46:16 UTC
git hash : 11d2bbe

Comment 3 Dafna Ron 2012-07-01 15:37:58 UTC
verified on si8