Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1734718

Summary: [RFE] Update DWH to use OpenJDK 11 - both build and runtime
Product: [oVirt] ovirt-engine-dwh Reporter: Martin Perina <mperina>
Component: GeneralAssignee: Yedidyah Bar David <didi>
Status: CLOSED CURRENTRELEASE QA Contact: Guilherme Santos <gdeolive>
Severity: medium Docs Contact:
Priority: high    
Version: 4.3.0CC: bugs, sradco
Target Milestone: ovirt-4.4.0Keywords: FutureFeature
Target Release: 4.4.0Flags: mperina: ovirt-4.4?
pm-rhel: planning_ack?
sbonazzo: devel_ack+
lleistne: testing_ack+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ovirt-engine-dwh-4.4.0 Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-05-20 20:00:49 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: 1734716    

Description Martin Perina 2019-07-31 09:58:26 UTC
DWH needs to align with oVirt engine and use OpenJDK 11 instead of 8

Comment 1 Shirly Radco 2019-11-21 09:19:54 UTC
Note for QE, Please run full verification of DWH for this bug.

Comment 2 Guilherme Santos 2020-02-11 13:25:53 UTC
Verified on:
ovirt-engine-dwh-setup-4.4.0-0.0.master.20190901182033.el7ev.noarch
ovirt-engine-setup-4.4.0-0.14.master.el7.noarch

Steps:
1. Assure java environment version # java -v

2. Build:
2.1. On a separated machine (from the 4.4 engine one) install ovirt-engine-dwh-setup package
2.2. Run # engine-setup and set to "Configure Data Warehouse on this host"
2.3. Answer questions pointing to a 4.4 engine and finish installation
2.4. # systemctl status ovirt-engine-dwhd
2.5. Assure running java version on dwhd: # python -c "from ovirt_engine import java; print(java.Java().getJavaHome())" 
2.6. Open the engine web server and check for if dashboard is working as expected (manually refreshing it as well)

3. Runtime:
3.1. Enable debug logging on the machine with the dwh: # echo "DWH_AGGREGATION_DEBUG=true" >> /etc/ovirt-engine-dwh/ovirt-engine-dwhd.conf.d/logging.conf
3.2. Restart service: # systemctl restart ovirt-engine-dwhd
3.3. Check for timely statistical sync logs: 
       # grep SampleTimeKeepingJob /var/log/ovirt-engine-dwh/ovirt-engine-dwhd.log
       # grep HourlyTimeKeepingJob /var/log/ovirt-engine-dwh/ovirt-engine-dwhd.log
3.5. Open the engine web server and check for if dashboard is working as expected (manually refreshing it as well)

Results:
2.4. Service is running as expected 
2.5. Path for openjdk 11 shown
2.5. Dashboard showing data and updating as expected

3.3 Timely statistical logs being logged as expected 
3.5. Dashboard showing data and updating as expected

Comment 3 Sandro Bonazzola 2020-05-20 20:00:49 UTC
This bugzilla is included in oVirt 4.4.0 release, published on May 20th 2020.

Since the problem described in this bug report should be
resolved in oVirt 4.4.0 release, it has been closed with a resolution of CURRENT RELEASE.

If the solution does not work for you, please open a new bug report.