Bug 861149
| Summary: | rhevm-reports producing huge log under /usr/share/jasperreports-server-pro | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Virtualization Manager | Reporter: | Stephen Gordon <sgordon> | ||||
| Component: | ovirt-engine-reports | Assignee: | Alex Lourie <alourie> | ||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | David Botzer <dbotzer> | ||||
| Severity: | urgent | Docs Contact: | |||||
| Priority: | high | ||||||
| Version: | 3.1.0 | CC: | acathrow, bazulay, dyasny, iheim, pstehlik, Rhev-m-bugs, ykaul, ylavi | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | infra integration | ||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2012-12-04 19:59:00 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: | |||||||
| Bug Depends On: | |||||||
| Bug Blocks: | 796214 | ||||||
| Attachments: |
|
||||||
|
Description
Stephen Gordon
2012-09-27 16:08:37 UTC
For comparison the log from a previous version/run (probably SI18 on this machine) is 36K. Versions: rhevm-dwh-3.1.0-13.el6ev.noarch rhevm-reports-3.1.0-14.el6ev.noarch 3.1/si20 To workaround this, need to do the following: 1. dropdb rhevmreports -- but than u loose all previous Adhoc reports and any other configuration done (such as tasks) 2. rhevm-reports-setup This happens because db is not dropped and jasper is waiting for user input. Alex, please check we are testing for the db correctly (even in remote db setup). Also opened case with jasper number 28910. Yaniv Steve or David Please reproduce this, write detailed reproduction steps and attach the log file of reports setup execution. Thank you. (In reply to comment #4) > Steve or David > > Please reproduce this, write detailed reproduction steps and attach the log > file of reports setup execution. > > Thank you. As per the bug description the way to reproduce was: 1) Upgrade from si19.1->si20: # yum update rhevm-setup # rhevm-upgrade # yum update # rhevm-dwh-setup # rhevm-reports-setup 2) Wait for / to be flooded as a result of a quickly growing js-install-pro*.log. 3) Profit? I no longer have logs from the original run, nor do I have an si19.1 setup to try again on. However I ran rhevm-setup on my si20 install to refresh the installation and it resulted in the same behavior. While js-install-pro*.log has moved to /usr/share/jasperreports-server-pro/buildomatic/logs/, this file again grew to 14G and resulted in / being 100% full. Created attachment 627654 [details]
Logs from latest run of rhevm-reports-setup.
(In reply to comment #5) > I no longer have logs from the original run, nor do I have an si19.1 setup > to try again on. However I ran rhevm-setup on my si20 install to refresh the > installation and it resulted in the same behavior. Obviously here I meant to say rhevm-reports-setup, not rhevm-setup. Log attached. Note that it looks like the reports common_utils perform the db existence check slightly differently to the dwh common_utils.
From /usr/share/ovirt-engine-reports/common_utils.py:
"--set ON_ERROR_STOP=1",
From /usr/share/ovirt-engine-dwh/common_utils.py:
"--set",
"ON_ERROR_STOP=1",
Hi Stephen This is actually seems to be a root of a problem. You're right about the code difference, but it should've thrown an exception on setup, not finish it correctly. Anyway, this problem was fixed and you should be getting the fixed code in the next build. I would appreciate if you'd retest it with the build si21. Thank you. Any news on this? Can we close it? Yaniv (In reply to comment #10) > Any news on this? I installed the newer build and still have some hard drive space available. A significant improvement. > Can we close it? What about QE? (In reply to comment #11) > (In reply to comment #10) > > Any news on this? > > I installed the newer build and still have some hard drive space available. > A significant improvement. > Great. > > Can we close it? > > What about QE? Moving bug to QA for proper testing. Note for QA: Please verify the fix with the last build. Fixed, 3.1/si24 (upgrade si23-si24) Reports-setup works correctly Fixed, 3.1/si24 (upgrade si23-si24) |