Description of problem: Again another odd way where RHEVM keeps files to configure some feature. This time - mail server - configuration of scheduler. # rpm -qf /usr/share/ovirt-engine/rhevm-reports.war/WEB-INF/js.quartz.properties file /usr/share/ovirt-engine/rhevm-reports.war/WEB-INF/js.quartz.properties is not owned by any package [root@test ~]# cat -n /usr/share/ovirt-engine/rhevm-reports.war/WEB-INF/js.quartz.properties 1 # This file will consolidate all the configurable quartz properties 2 # 3 # Other properties which didn't need configuration are kept in js.quartz.base.properties 4 5 quartz.delegateClass=org.quartz.impl.jdbcjobstore.PostgreSQLDelegate 6 7 quartz.tablePrefix=QRTZ_ 8 quartz.extraSettings= 9 10 report.scheduler.web.deployment.uri=http://localhost:8080/rhevm-reports 11 12 report.scheduler.mail.sender.host=mail.localhost.com 13 report.scheduler.mail.sender.username=admin 14 report.scheduler.mail.sender.password=password 15 report.scheduler.mail.sender.from=admin 16 report.scheduler.mail.sender.protocol=smtp 17 report.scheduler.mail.sender.port=25 /usr! Should be in /etc! Would it survive upgrade? I would propose one general configuration file for all similar configuration options, somewhere in /etc/sysconfig. Sorry but mail server configuration could be shared with notifier... Version-Release number of selected component (if applicable): is32.2 rhevm-reports-3.3.0-28.el6ev.noarch How reproducible: 100% Steps to Reproduce: 1. 2. 3. Actual results: configuration is in /usr Expected results: /etc, all toys in /etc Additional info:
We use JRS which packages all it's config in the WAR folder. We can not control this and we preserve the user settings in upgrades. In 3.4 we moved the war from /usr, so no changes will be done there after that. Yaniv
Reopening for 3.4 so QE will be able to verify it for the next release.
*** This bug has been marked as a duplicate of bug 1041124 ***
This cannot be duplicate of BZ1041124 because this BZ is about rhevm-reports and the other bug is about rhevm-dwh.
jasperreports-server-5.5.0-7.el6 needed for verification (alonbl@ informed).
(In reply to Jiri Belka from comment #7) > jasperreports-server-5.5.0-7.el6 needed for verification (alonbl@ informed). also newer version of ovirt-engine-reports, beta2 did not include something that is usable.
Please put back to ON_QA when there's new version which fixes the issue. comment#8 clearly states beta2 did not contain the fix. Thank you.
Beta 3 released. Yaniv
ok, av2, it's out of /usr now. # find /var -type f -name 'js.quartz.properties' | xargs rpm -qf file /var/lib/ovirt-engine-reports/build-conf/webapp/WEB-INF/js.quartz.properties is not owned by any package file /var/lib/ovirt-engine-reports/build-conf/js.quartz.properties is not owned by any package file /var/lib/ovirt-engine-reports/ovirt-engine-reports.war/WEB-INF/classes/js.quartz.properties is not owned by any package file /var/lib/ovirt-engine-reports/ovirt-engine-reports.war/WEB-INF/js.quartz.properties is not owned by any package
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. http://rhn.redhat.com/errata/RHEA-2014-0602.html