Description of problem: Setup reports is ignoring path in /etc/ovirt-engine-setup.conf.d/20-packaging-rhevm-reports.conf set to OVESETUP_CONFIG/jbossHome=str:/usr/share/jbossas and instead using /usr/share/jboss-as, therefore setup fails. Version-Release number of selected component (if applicable): rhevm-reports-setup-3.6.0-0.4.el6ev.noarch How reproducible: 100% Steps to Reproduce: 1. Install engine & dwh on a server 2. On second server try to install rhevm-reports Actual results: [ ERROR ] Failed to execute stage 'Misc configuration': Cannot find Jboss at /usr/share/jboss-as Expected results: Read jboss path from config file. Additional info: setting --jboss-home=dir parameter of engine-setup does not work as rhevm-reports is ignoring this parameter (another/same bug?) ~ engine-setup ... [ INFO ] Creating PostgreSQL 'ovirt_engine_reports' database [ INFO ] Configuring PostgreSQL [ ERROR ] Failed to execute stage 'Misc configuration': Cannot find Jboss at /usr/share/jboss-as [ INFO ] Yum Performing yum transaction rollback [ INFO ] Stage: Clean up Log file is located at /var/log/ovirt-engine/setup/ovirt-engine-setup-20150819095111-ef6u76.log [ INFO ] Generating answer file '/var/lib/ovirt-engine/setup/answers/20150819095617-setup.conf' [ INFO ] Stage: Pre-termination [ INFO ] Stage: Termination [ ERROR ] Execution of setup failed
It appears rhevm is reading jboss path from OVESETUP_REPORTS_CONFIG/jbossHome setting this to correct jboss path solved the issue. In the config file this variable should be included and set to default jboss path. The OVESETUP_CONFIG/jbossHome should be probably replaced by this. Correct conf line: OVESETUP_REPORTS_CONFIG/jbossHome=str:/usr/share/jbossas
verified in rhevm-reports-3.6.0-0.6.el6ev.noarch
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHEA-2016-0425.html