Bug 1181162 - F21: Cannot get JAVA_HOME make sure supported JRE is installed
Summary: F21: Cannot get JAVA_HOME make sure supported JRE is installed
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-engine
Classification: oVirt
Component: Setup.Engine
Version: ---
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ovirt-3.6.0-rc
: 3.6.0
Assignee: Sandro Bonazzola
QA Contact: Ondra Machacek
URL:
Whiteboard: integration
Depends On:
Blocks: oVirt_Fedora_21_Support
TreeView+ depends on / blocked
 
Reported: 2015-01-12 13:55 UTC by Sandro Bonazzola
Modified: 2015-11-27 07:55 UTC (History)
8 users (show)

Fixed In Version: ovirt-engine-3.6.0-0.0.master.20150412172306.git55ba764
Clone Of:
Environment:
Last Closed: 2015-11-27 07:55:14 UTC
oVirt Team: ---
Embargoed:
rule-engine: ovirt-3.6.0+
ylavi: planning_ack+
rule-engine: devel_ack+
rule-engine: testing_ack+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 36812 0 master MERGED packaging: add JDK 1.8 support to java-home Never

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.


Note You need to log in before you can comment on or make changes to this bug.