Bug 921578
Summary: | [rhevm-upgrade] fails detecting running async tasks | ||
---|---|---|---|
Product: | Red Hat Enterprise Virtualization Manager | Reporter: | Sandro Bonazzola <sbonazzo> |
Component: | ovirt-engine-setup | Assignee: | Alex Lourie <alourie> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Pavel Stehlik <pstehlik> |
Severity: | urgent | Docs Contact: | |
Priority: | urgent | ||
Version: | 3.2.0 | CC: | acathrow, alourie, bazulay, dbotzer, dyasny, emesika, iheim, mgoldboi, oramraz, Rhev-m-bugs, sbonazzo, sgrinber, ykaul |
Target Milestone: | --- | ||
Target Release: | 3.2.0 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | integration | ||
Fixed In Version: | sf12 | 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: | |||
Bug Depends On: | |||
Bug Blocks: | 877749 |
Description
Sandro Bonazzola
2013-03-14 13:17:01 UTC
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 3.2 has been released |