Bug 909688 - rhevm-upgrade: cannot upgrade rhevm because we cannot get zombie tasks with "no such file or directory" error
Summary: rhevm-upgrade: cannot upgrade rhevm because we cannot get zombie tasks with "...
Keywords:
Status: CLOSED DUPLICATE of bug 909097
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine-setup
Version: 3.1.2
Hardware: x86_64
OS: Linux
unspecified
urgent
Target Milestone: ---
: ---
Assignee: Moran Goldboim
QA Contact: Pavel Stehlik
URL:
Whiteboard: integration
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-02-10 13:11 UTC by Dafna Ron
Modified: 2013-02-10 14:44 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-02-10 14:44:23 UTC
oVirt Team: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
log (15.74 KB, application/octet-stream)
2013-02-10 13:11 UTC, Dafna Ron
no flags Details

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 ***


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