Bug 951092 - rhevm-upgrade: we are getting a list of empty tasks but still failing in upgrade on running tasks
Summary: rhevm-upgrade: we are getting a list of empty tasks but still failing in upgr...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine-setup
Version: 3.2.0
Hardware: x86_64
OS: Linux
urgent
high
Target Milestone: ---
: 3.2.0
Assignee: Alex Lourie
QA Contact: Pavel Stehlik
URL:
Whiteboard: integration
: 959882 (view as bug list)
Depends On:
Blocks: 948448 966721
TreeView+ depends on / blocked
 
Reported: 2013-04-11 13:02 UTC by Dafna Ron
Modified: 2013-06-11 08:17 UTC (History)
9 users (show)

Fixed In Version: sf17.1
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-06-11 08:17:13 UTC
oVirt Team: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
logs (541.70 KB, application/x-gzip)
2013-04-11 13:02 UTC, Dafna Ron
no flags Details
eng-upg-task.log.tgz (55.09 KB, application/x-gzip)
2013-05-17 13:51 UTC, Pavel Stehlik
no flags Details


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

Description Dafna Ron 2013-04-11 13:02:13 UTC
Created attachment 734175 [details]
logs

Description of problem:

although the upragde is showing a list of empty tasks we are reaching the clear task step in upgrade and failing to clear the tasks (can't clear task -> upgrade cannot continue). 
My setup was not a clean sf13 but a setup that was upgraded from 3.1 (including jboss)

please note that we do have tasks in asyncTasks table

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

3.1.4 -> sf13 -> sf13.1

How reproducible:

100% when running rhevm-upgarde. 

Steps to Reproduce:
1. create tasks (like create a pool)  in sf13
2. block connectivity to the storage from the vds
3. after tasks fail check that you have tasks in asynctasks but no longer have them in vds
4. upgrade to sf13.1 
  
Actual results:

we are getting a list of empty tasks and yet reaching the step for clear tasks. 

Expected results:

we should either get a list of tasks or continue with the upragde without cleanning tasks

Additional info:logs

[root@dafna-31 ~]# rhevm-upgrade 

Checking for updates... (This may take several minutes)...[ DONE ]
10 Updates available:
 * rhevm-3.2.0-10.19.beta2.el6ev.noarch
 * rhevm-backend-3.2.0-10.19.beta2.el6ev.noarch
 * rhevm-config-3.2.0-10.19.beta2.el6ev.noarch
 * rhevm-dbscripts-3.2.0-10.19.beta2.el6ev.noarch
 * rhevm-genericapi-3.2.0-10.19.beta2.el6ev.noarch
 * rhevm-notification-service-3.2.0-10.19.beta2.el6ev.noarch
 * rhevm-restapi-3.2.0-10.19.beta2.el6ev.noarch
 * rhevm-tools-common-3.2.0-10.19.beta2.el6ev.noarch
 * rhevm-userportal-3.2.0-10.19.beta2.el6ev.noarch
 * rhevm-webadmin-portal-3.2.0-10.19.beta2.el6ev.noarch

During the upgrade process, RHEV Manager  will not be accessible.
All existing running virtual machines will continue but you will not be able to
start or stop any new virtual machines during the process.

Would you like to proceed? (yes|no): yes
Stopping ovirt-engine service...                     [ DONE ]
Stopping DB related services...                      [ DONE ]
Cleaning async tasks...                              [ DONE ]

Info: The following tasks have been found running in the system: 

System Tasks:
                                                             



[ Apr 11 15:24:48 ] Would you like to proceed and try to stop tasks automatically?
(Answering 'no' will stop the upgrade)? (yes|no): 


engine=# SELECT task_id from async_tasks;
               task_id                
--------------------------------------
 cfd1ebe2-002d-41b5-bc30-e77e7127be5e
 90956904-f189-4585-a856-60d5e3210dec
 f6140a96-f641-4f4a-9892-cbe3b627513f

Comment 4 Pavel Stehlik 2013-05-17 13:51:19 UTC
Created attachment 749352 [details]
eng-upg-task.log.tgz

engine.log

Comment 5 Alex Lourie 2013-05-19 08:28:31 UTC
Hi Pavel

Can you please attach the engine-upgrade log?

Thanks.

Comment 6 Alex Lourie 2013-05-19 10:34:53 UTC
*** Bug 959882 has been marked as a duplicate of this bug. ***

Comment 12 Moran Goldboim 2013-06-05 09:31:28 UTC
not relevant for zstream - no use of SP was done in 3.1.z code.

Comment 13 Itamar Heim 2013-06-11 08:17:13 UTC
3.2 has been released


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