While testing bug #877749 it has been noted that rhevm-upgrade fails detecting running async tasks. It seems that the output from "select * from fn_db_get_async_tasks()" is changed and upgrade-engine can't detect active tasks correctly. It searched for the string RECORD in the output of the query but it seems that the keyword is not present anymore.
another dup of the problem?
No, this is not a dup. The problem is in a wrong parsing of the output of the SELECT command. The suggested solution: 1. Run the SELECT query with COUNT() statement and compare to 0. 2. If >0, run again without COUNT and display the results. 3. If ==0, return ''. This way we won't have to really parse the text output from the SQL query.
(In reply to comment #5) > The suggested solution: > > 1. Run the SELECT query with COUNT() statement and compare to 0. > 2. If >0, run again without COUNT and display the results. > 3. If ==0, return ''. Looks good to me. The same solution should be applied also to compensations.
patch http://gerrit.ovirt.org/13131 merged upstream master: http://gerrit.ovirt.org/gitweb?p=ovirt-engine.git;a=commit;h=9d1a0ae62da705e63484b50fdde724f63563c23f Can't add the reference to External Trackers
3.2 has been released