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

Bug 1181162

Summary: F21: Cannot get JAVA_HOME make sure supported JRE is installed
Product: [oVirt] ovirt-engine Reporter: Sandro Bonazzola <sbonazzo>
Component: Setup.EngineAssignee: Sandro Bonazzola <sbonazzo>
Status: CLOSED CURRENTRELEASE QA Contact: Ondra Machacek <omachace>
Severity: high Docs Contact:
Priority: unspecified    
Version: ---CC: bugs, ecohen, gklein, lsurette, omachace, rbalakri, sbonazzo, yeylon
Target Milestone: ovirt-3.6.0-rcFlags: rule-engine: ovirt-3.6.0+
ylavi: planning_ack+
rule-engine: devel_ack+
rule-engine: testing_ack+
Target Release: 3.6.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: integration
Fixed In Version: ovirt-engine-3.6.0-0.0.master.20150412172306.git55ba764 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-11-27 07:55:14 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1163062    

Description Sandro Bonazzola 2015-01-12 13:55:02 UTC
while running engine-setup on F21 from fb9bd16e72fe6e91377461cb59b68e4108341bd8

 2015-01-12 14:51:04 DEBUG otopi.context context._executeMethod:138 Stage validation METHOD otopi.plugins.ovirt_engine_setup.ovirt_engine_common.config.java.Plugin._validation
 2015-01-12 14:51:04 DEBUG otopi.context context._executeMethod:152 method exception
 Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/otopi/context.py", line 142, in _executeMethod
    method['method']()
  File "/usr/share/ovirt-engine/setup/bin/../plugins/ovirt-engine-setup/ovirt-engine-common/config/java.py", line 70, in _validation
    ] = java.Java().getJavaHome()
  File "/usr/lib/python2.7/site-packages/ovirt_engine/java.py", line 55, in getJavaHome
    error='(%s)' % stderr if stderr else '',
 RuntimeError: Cannot get JAVA_HOME make sure supported JRE is installed
 2015-01-12 14:51:04 ERROR otopi.context context._executeMethod:161 Failed to execute stage 'Setup validation': Cannot get JAVA_HOME make sure supported JRE is installed

Comment 1 Sandro Bonazzola 2015-02-20 11:07:58 UTC
Automated message: can you please update doctext or set it as not required?

Comment 2 Ondra Machacek 2015-11-13 11:12:17 UTC
$ java -version
openjdk version "1.8.0_65"
OpenJDK Runtime Environment (build 1.8.0_65-b17)
OpenJDK 64-Bit Server VM (build 25.65-b01, mixed mode)

$ bin/engine-setup
  ...
$ echo $?
0

Comment 3 Sandro Bonazzola 2015-11-27 07:55:14 UTC
Since oVirt 3.6.0 has been released, moving from verified to closed current release.