[ovirt-users] ovirt reports install js-ant failed to execute

Bill James bill.james at j2.com
Fri Apr 1 15:47:09 UTC 2016


I just upgraded to ovirt-engine 3.6.4 and thought I'd try reports to see 
what they are: http://www.ovirt.org/documentation/how-to/reports/reports/

yum install ovirt-engine-dwh ovirt-engine-reports

engine-setup fails with:

[ INFO  ] Deploying Jasper
[ ERROR ] Failed to execute stage 'Misc configuration': Command 
'./js-ant' failed to execute
[ INFO  ] Yum Performing yum transaction rollback


I saw one reference to it that said reinstall jasperreports-server-pro. 
I don't have pro but I tried reinstall of jasperreports-server, didn't help.
I saw another reference from 2014 about applying a patch to py script. 
But if that is still required 2 years later reports must not be worth it.

I figured I must be missing something more basic...

ovirt-engine-3.6.4.1-1.el7.centos.noarch
ovirt-engine-reports-setup-3.6.3-1.el7.centos.noarch
ovirt-engine-reports-3.6.3-1.el7.centos.noarch
ovirt-engine-dwh-setup-3.6.2-1.el7.centos.noarch
ovirt-engine-dwh-3.6.2-1.el7.centos.noarch

I'm installing on same host as ovirt-engine.

[root at ovirt dev aaa]# java -version
openjdk version "1.8.0_77"

Someone else said reports isn't compatible with java 8?

Is there any site that shows examples of what kind of reports are 
available? Still trying to determine what I get by installing this.



 From log:
2016-04-01 08:35:19 DEBUG otopi.context context._executeMethod:142 Stage 
cleanup METHOD 
otopi.plugins.ovirt_engine_common.base.core.answerfile.Plugin._cleanup
2016-04-01 08:35:19 INFO 
otopi.plugins.ovirt_engine_common.base.core.answerfile 
answerfile._cleanup:74 Generating answer file 
'/var/lib/ovirt-engine/setup/answers/20160401083519-setup.conf'
2016-04-01 08:35:19 DEBUG otopi.context context._executeMethod:142 Stage 
cleanup METHOD 
otopi.plugins.ovirt_engine_setup.ovirt_engine_dwh.db.schema.Plugin._rollback
2016-04-01 08:35:19 DEBUG otopi.context context._executeMethod:148 
condition False
2016-04-01 08:35:19 INFO otopi.context context.runSequence:427 Stage: 
Pre-termination
2016-04-01 08:35:19 DEBUG otopi.context context.runSequence:431 STAGE 
pre-terminate
2016-04-01 08:35:19 DEBUG otopi.context context._executeMethod:142 Stage 
pre-terminate METHOD otopi.plugins.otopi.core.misc.Plugin._preTerminate
2016-04-01 08:35:19 DEBUG otopi.context context.dumpEnvironment:500 
ENVIRONMENT DUMP - BEGIN
2016-04-01 08:35:19 DEBUG otopi.context context.dumpEnvironment:510 ENV 
BASE/aborted=bool:'False'
2016-04-01 08:35:19 DEBUG otopi.context context.dumpEnvironment:510 ENV 
BASE/debug=int:'0'
2016-04-01 08:35:19 DEBUG otopi.context context.dumpEnvironment:510 ENV 
BASE/error=bool:'True'
2016-04-01 08:35:19 DEBUG otopi.context context.dumpEnvironment:510 ENV 
BASE/exceptionInfo=list:'[(<type 'exceptions.RuntimeError'>, 
RuntimeError("Command './js-ant' failed to execute",), <traceback object 
at 0x3de5e60>)]'
2016-04-01 08:35:19 DEBUG otopi.context context.dumpEnvironment:510 ENV 
BASE/executionDirectory=str:'/etc/ovirt-engine/aaa'
2016-04-01 08:35:19 DEBUG otopi.context context.dumpEnvironment:510 ENV 
BASE/exitCode=list:'[{'priority': 90001, 'code': 0}]'
2016-04-01 08:35:19 DEBUG otopi.context context.dumpEnvironment:510 ENV 
BASE/log=bool:'True'
2016-04-01 08:35:19 DEBUG otopi.context context.dumpEnvironment:510 ENV 
BASE/pluginGroups=str:'otopi:ovirt-engine-common:ovirt-engine-setup'
2016-04-01 08:35:19 DEBUG otopi.context context.dumpEnvironment:510 ENV 
BASE/pluginPath=str:'/usr/share/otopi/plugins:/usr/share/ovirt-engine/setup/bin/../plugins'




More information about the Users mailing list