Bug 1098149
| Summary: | engine-cleanup is failing when reports is installed due to missing OVESETUP_REPORTS_CONFIG/jasperHome | |||
|---|---|---|---|---|
| Product: | [Retired] oVirt | Reporter: | Alon Bar-Lev <alonbl> | |
| Component: | ovirt-engine-reports | Assignee: | Yedidyah Bar David <didi> | |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Pavel Stehlik <pstehlik> | |
| Severity: | high | Docs Contact: | ||
| Priority: | high | |||
| Version: | 3.4 | CC: | acathrow, gklein, iheim, sbonazzo, sradco, yeylon, ylavi | |
| Target Milestone: | --- | |||
| Target Release: | 3.4.2 | |||
| Hardware: | Unspecified | |||
| OS: | Unspecified | |||
| Whiteboard: | integration | |||
| Fixed In Version: | ovirt-3.4.2 GA ovirt-engine-reports-3.4.2-1.fc20.noarch.rpm | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 1100248 (view as bug list) | Environment: | ||
| Last Closed: | 2014-06-11 06:44:42 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: | 1100248, 1112550 | |||
This is an automated message oVirt 3.4.2 has been released: * should fix your issue * should be available at your local mirror within two days. If problems still persist, please make note of it in this bug report. |
after clean installation of all components (engine, dwh, reports) when running engine-cleanup we get: [ INFO ] Stage: Initializing [ INFO ] Stage: Environment setup Configuration files: ['/etc/ovirt-engine-setup.conf.d/10-packaging.conf', '/etc/ovirt-engine-setup.conf.d/20-setup-ovirt-post.conf'] Log file: /var/log/ovirt-engine/setup/ovirt-engine-remove-20140515142947-vh6675.log Version: otopi-1.2.1 (otopi-1.2.1-1.fc19) [ ERROR ] Failed to execute stage 'Environment setup': 'OVESETUP_REPORTS_CONFIG/jasperHome' [ INFO ] Stage: Clean up Log file is located at /var/log/ovirt-engine/setup/ovirt-engine-remove-20140515142947-vh6675.log [ INFO ] Generating answer file '/var/lib/ovirt-engine/setup/answers/20140515142948-cleanup.conf' [ INFO ] Stage: Pre-termination [ INFO ] Stage: Termination [ ERROR ] Execution of cleanup failed Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/otopi/context.py", line 142, in _executeMethod method['method']() File "/usr/share/ovirt-engine/setup/bin/../plugins/ovirt-engine-common/ovirt-engine-reports/db/connection.py", line 116, in _setup self.environment[oreportscons.ConfigEnv.JASPER_HOME], Cause: JASPER_HOME has no postinstall value and required for database connection. Why do we need database connection in cleanup? Workaround: # engine-cleanup --otopi-environment="OVESETUP_REPORTS_CONFIG/jasperHome=str:/usr/share/jasperreports-server/"