Bug 1209022

Summary: Handling new Wildfly application server in engine so it will not affect reports
Product: [Retired] ovirt-engine-reports Reporter: Shirly Radco <sradco>
Component: GeneralAssignee: Yedidyah Bar David <didi>
Status: CLOSED CURRENTRELEASE QA Contact: Lukas Svaty <lsvaty>
Severity: high Docs Contact:
Priority: low    
Version: ---CC: bazulay, bugs, didi, eedri, gklein, gpadgett, lsurette, pmatyas, rbalakri, sbonazzo, sradco, yeylon, ykaul, ylavi
Target Milestone: ovirt-3.6.0-rcFlags: rule-engine: ovirt-3.6.0+
ylavi: planning_ack+
rule-engine: devel_ack+
pstehlik: testing_ack+
Target Release: 3.6.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ovirt-3.6.0-beta2 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-02-10 12:51:08 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Integration RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 956226, 1234821    
Attachments:
Description Flags
script to apply manual workaround to dead reporting service none

Description Shirly Radco 2015-04-05 09:41:42 UTC
Description of problem:
In 3.6 the engine will move to Wildfly. Currently Jaspersoft do not support it, and we will need to still use  jboss-as 7.1.1.
We need to make sure upgrade is handled and that there are no collisions between the application servers.

Comment 1 Sandro Bonazzola 2015-04-15 09:58:18 UTC
Not sure that wildfly support will be included in 3.6 yet, giving low priority to this for now.

Comment 2 Barak 2015-06-24 11:46:06 UTC
Did now that wildfly is officially in for upstream.
Did you verify clean installation and upgrade work ?

Comment 3 Yedidyah Bar David 2015-06-24 12:14:51 UTC
(In reply to Barak from comment #2)
> Did now that wildfly is officially in for upstream.
> Did you verify clean installation and upgrade work ?

I didn't yet, but do not expect problems with that.

Our problem is making jasperreports work in fedora 22. Once we have that working, we can verify that there are no collisions with the engine (or fix if needed). I do not see yet reports built for f22, don't know if there are problems. IIRC Shirly told me that jasperreports is not supported with wildfly/jdk1.8, although I see that we do build it [1]. Searching the net I see a workaround [2] to make it work, although a comment there mentions it's not supported yet.

Shirly - what's the status with that? 

[1] http://plain.resources.ovirt.org/pub/ovirt-master-snapshot-static/rpm/fc22/noarch/
[2] http://community.jaspersoft.com/questions/845626/jasperserver-60-jboss-8-wildfly

Comment 4 Barak 2015-06-24 12:24:06 UTC
Did the last time we talked about it we agreed that reports should still run on 7.1.1 and we need to verify it does not break (and that 2 app servers can run on the same host (F22 or ...))

This also goes for upgrade from 3.5 .. after upgrade to 3.6 engine should run on wildfly and reports on 7.1.1.

Comment 5 Yedidyah Bar David 2015-06-25 09:38:00 UTC
Let me give the details, as I know them currently.

None of this is related to the engine or to conflicts with it.

Java 1.7 is eol. So is openjdk 1.7.

Fedora 21/22 are shipping with openjdk 1.8 and without 1.7.

el (7, and iirc also 6 now!) ships with 1.8 by default, and has also 1.7.

jboss 7.1.1 can't work with 1.8.

Sandro tried and failed to compile openjdk 1.7 on f21.

IIUC we can try to use Oracle's jdk 1.7 on it, not sure about this.

So afaiu, our options are:

1. Drop fedora support until jasperreports supports wildfly officially, and keep only el.

2. Try using wildfly anyway on fedora, see comment 3.

3. Spend more time on using jboss 7.1.1 on Fedora 21/22 - either by making it work on openjdk 1.8 or by porting openjdk 1.7 to it.

I might be missing something, or have some of the above wrong - I didn't test all of this by myself.

Please advice how to continue.

Comment 6 Yedidyah Bar David 2015-06-25 09:53:25 UTC
BTW, another option is to use some other application server, e.g. tomcat. This will require more work, not sure it's worth it.

Comment 7 Barak 2015-06-25 12:54:09 UTC
Please check clean install & upgrade on cenOS 6.6 (where we have openjdk 1.7)
keep in mind that all (engine , dwh & reports) needs to be installed on the same host.

About Fedora 22 we can use jdk 1.7 from oracle - but lets start with CentOS 6.6

Comment 8 Max Kovgan 2015-06-25 14:42:45 UTC
hi, Shirley.

I have run a clean RHEL6.7 install, and the following packages/versions:

ovirt-engine-cli-3.6.0.0-0.3.20150623.git53408f5.el6.noarch
ovirt-engine-wildfly-8.2.0-1.el6.x86_64
ovirt-engine-setup-base-3.6.0-0.0.master.20150624173726.git0568f1b.el6.noarch
ovirt-engine-setup-plugin-websocket-proxy-3.6.0-0.0.master.20150624173726.git0568f1b.el6.noarch
ovirt-engine-webadmin-portal-3.6.0-0.0.master.20150624173726.git0568f1b.el6.noarch
ovirt-engine-setup-plugin-ovirt-engine-3.6.0-0.0.master.20150624173726.git0568f1b.el6.noarch
ovirt-engine-backend-3.6.0-0.0.master.20150624173726.git0568f1b.el6.noarch
ovirt-engine-extension-aaa-jdbc-1.0.0-0.0.master.20150616142746.git03b5d8b.el6.noarch
ovirt-engine-lib-3.6.0-0.0.master.20150624173726.git0568f1b.el6.noarch
ovirt-engine-wildfly-overlay-001-2.el6.noarch
ovirt-engine-setup-plugin-ovirt-engine-common-3.6.0-0.0.master.20150624173726.git0568f1b.el6.noarch
ovirt-engine-vmconsole-proxy-helper-3.6.0-0.0.master.20150624173726.git0568f1b.el6.noarch
ovirt-engine-websocket-proxy-3.6.0-0.0.master.20150624173726.git0568f1b.el6.noarch
ovirt-engine-jboss-as-7.1.1-1.el6.x86_64
ovirt-engine-userportal-3.6.0-0.0.master.20150624173726.git0568f1b.el6.noarch
ovirt-engine-setup-3.6.0-0.0.master.20150624173726.git0568f1b.el6.noarch
ovirt-engine-dbscripts-3.6.0-0.0.master.20150624173726.git0568f1b.el6.noarch
ovirt-engine-3.6.0-0.0.master.20150624173726.git0568f1b.el6.noarch
ovirt-engine-reports-3.6.0-0.0.master.20150624094644.20150624094424.git019fd83.el6.noarch
ovirt-engine-dwh-3.6.0-0.0.master.20150617151108.20150617150804.gitfccbb7a.el6.noarch
ovirt-engine-sdk-python-3.6.0.0-0.15.20150623.gitf4b30f9.el6.noarch
ovirt-engine-extensions-api-impl-3.6.0-0.0.master.20150624173726.git0568f1b.el6.noarch
ovirt-engine-setup-plugin-vmconsole-proxy-helper-3.6.0-0.0.master.20150624173726.git0568f1b.el6.noarch
ovirt-engine-tools-3.6.0-0.0.master.20150624173726.git0568f1b.el6.noarch
ovirt-engine-restapi-3.6.0-0.0.master.20150624173726.git0568f1b.el6.noarch
ovirt-engine-reports-setup-3.6.0-0.0.master.20150624094644.20150624094424.git019fd83.el6.noarch
ovirt-engine-dwh-setup-3.6.0-0.0.master.20150617151108.20150617150804.gitfccbb7a.el6.noarch

the problem reproduces "nicely".
I'll contact in other channels for more info.

Comment 9 Greg Padgett 2015-06-25 15:56:58 UTC
(In reply to Yedidyah Bar David from comment #5)
> 3. Spend more time on using jboss 7.1.1 on Fedora 21/22 - either by making
> it work on openjdk 1.8 or by porting openjdk 1.7 to it.

Anecdotally, on Fedora 21 I have both jboss-as/openjdk-1.7 and wildfly/openjdk-1.8 working by installing the F20 openjdk 1.7 packages.  It's ugly, but functional.  Perhaps repackaging openjdk would be enough... but YMMV on F22, I have not tried anything on it yet.

Comment 10 Max Kovgan 2015-06-28 16:07:37 UTC
Created attachment 1044069 [details]
script to apply manual workaround to dead reporting service

transfer to /tmp and chmod +x and then run as root without any parameters.

Comment 11 Yedidyah Bar David 2015-06-30 07:21:32 UTC
*** Bug 1235632 has been marked as a duplicate of this bug. ***

Comment 12 Lukas Svaty 2016-02-10 07:02:54 UTC
Reports currently using jboss (ovirt-engine-jboss-as-7.1.1-1.el6.x86_64). Running and functional.

Verified with these packages:
ovirt-engine-extension-aaa-jdbc-1.0.5-1.el6.noarch
ovirt-host-deploy-1.4.1-1.el6.noarch
ovirt-engine-tools-3.6.2.6-1.el6.noarch
ovirt-engine-setup-plugin-vmconsole-proxy-helper-3.6.2.6-1.el6.noarch
ovirt-engine-dbscripts-3.6.2.6-1.el6.noarch
ovirt-release36-002-2.noarch
ovirt-engine-lib-3.6.2.6-1.el6.noarch
ovirt-engine-reports-3.6.2.4-1.el6.noarch
ovirt-engine-dwh-setup-3.6.2-1.el6.noarch
ovirt-engine-sdk-python-3.6.2.1-1.el6.noarch
ovirt-engine-extensions-api-impl-3.6.2.6-1.el6.noarch
ovirt-image-uploader-3.6.0-1.el6.noarch
ovirt-host-deploy-java-1.4.1-1.el6.noarch
ovirt-engine-setup-plugin-websocket-proxy-3.6.2.6-1.el6.noarch
ovirt-vmconsole-1.0.0-1.el6.noarch
ovirt-engine-websocket-proxy-3.6.2.6-1.el6.noarch
ovirt-engine-backend-3.6.2.6-1.el6.noarch
ovirt-engine-webadmin-portal-3.6.2.6-1.el6.noarch
ovirt-engine-vmconsole-proxy-helper-3.6.2.6-1.el6.noarch
ovirt-engine-setup-3.6.2.6-1.el6.noarch
ovirt-engine-restapi-3.6.2.6-1.el6.noarch
ovirt-engine-3.6.2.6-1.el6.noarch
ovirt-guest-agent-1.0.11-1.el6.noarch
ovirt-engine-wildfly-8.2.1-1.el6.x86_64
ovirt-engine-setup-plugin-ovirt-engine-common-3.6.2.6-1.el6.noarch
ovirt-engine-reports-setup-3.6.2.4-1.el6.noarch
ovirt-engine-dwh-3.6.2-1.el6.noarch
ovirt-iso-uploader-3.6.0-1.el6.noarch
ebay-cors-filter-1.0.1-0.1.ovirt.el6.noarch
ovirt-vmconsole-proxy-1.0.0-1.el6.noarch
ovirt-engine-cli-3.6.0.2-1.el6.noarch
ovirt-engine-userportal-3.6.2.6-1.el6.noarch
ovirt-engine-setup-plugin-ovirt-engine-3.6.2.6-1.el6.noarch
ovirt-log-collector-3.6.0-1.el6.noarch
ovirt-engine-wildfly-overlay-8.0.4-1.el6.noarch
ovirt-setup-lib-1.0.1-1.el6.noarch
ovirt-engine-setup-base-3.6.2.6-1.el6.noarch
ovirt-engine-jboss-as-7.1.1-1.el6.x86_64