Bug 909688

Summary: rhevm-upgrade: cannot upgrade rhevm because we cannot get zombie tasks with "no such file or directory" error
Product: Red Hat Enterprise Virtualization Manager Reporter: Dafna Ron <dron>
Component: ovirt-engine-setupAssignee: Moran Goldboim <mgoldboi>
Status: CLOSED DUPLICATE QA Contact: Pavel Stehlik <pstehlik>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 3.1.2CC: acathrow, bazulay, dyasny, hateya, iheim, Rhev-m-bugs, ykaul
Target Milestone: ---Keywords: Regression, TestBlocker
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard: integration
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-02-10 14:44:23 UTC 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
log none

Description Dafna Ron 2013-02-10 13:11:25 UTC
Created attachment 695761 [details]
log

Description of problem:

we seem to be missing a file which in dbscripts directory. 
speaking to Alex, since rhevm-upgrade cleans the zombie tasks before upgrade we are trying to run a file which does not yet exists (since its downloaded when installing the new packages). 
as a resulte we are getting the following error when trying to upgrade to si27:

2013-02-10 14:39:27::ERROR::rhevm-upgrade::1498::root:: Traceback (most recent call last):
  File "/usr/bin/rhevm-upgrade", line 1491, in <module>
    main(options)
  File "/usr/bin/rhevm-upgrade", line 1342, in main
    checkRunningTasks()
  File "/usr/bin/rhevm-upgrade", line 1069, in checkRunningTasks
    if zombie_tasks_found():
  File "/usr/bin/rhevm-upgrade", line 936, in zombieTasksFound
    msg="Can't get zombie async tasks",
  File "/usr/share/ovirt-engine/scripts/common_utils.py", line 363, in execCmd
    env=env,
  File "/usr/lib64/python2.6/subprocess.py", line 639, in __init__
    errread, errwrite)
  File "/usr/lib64/python2.6/subprocess.py", line 1228, in _execute_child
    raise child_exception
OSError: [Errno 2] No such file or directory


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

si26.1 -> si27

How reproducible:

100%

Steps to Reproduce:
1. install si26.1
2. try to upgrade to si27
3.
  
Actual results:

we fail to upgrade since rhevm-upgrade is trying to use a script which is not yet downloaded.

Expected results:

we should succeed update

Additional info: upgrade log

Comment 1 Yaniv Kaul 2013-02-10 14:44:23 UTC

*** This bug has been marked as a duplicate of bug 909097 ***