Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1576973 - Different jdk versions on ambari images generated by sahara-image-pack and sahara-image-create leads to cluster creation failure
Different jdk versions on ambari images generated by sahara-image-pack and sa...
Status: CLOSED ERRATA
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-sahara (Show other bugs)
13.0 (Queens)
Unspecified Unspecified
high Severity high
: rc
: 13.0 (Queens)
Assigned To: Telles Nobrega
Luigi Toscano
: Regression, Triaged
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2018-05-10 17:23 EDT by Luigi Toscano
Modified: 2018-06-27 09:56 EDT (History)
5 users (show)

See Also:
Fixed In Version: openstack-sahara-8.0.1-0.20180328233740.36531cb.el7ost
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2018-06-27 09:55:31 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
OpenStack gerrit 567949 None stable/queens: MERGED sahara: Fixing java version for Ambari (I78da2fb94b0e8a362c7b4daae166849974682960) 2018-05-14 11:46 EDT
Red Hat Product Errata RHEA-2018:2086 None None None 2018-06-27 09:56 EDT
OpenStack Storyboard 2002003 None None None 2018-05-10 17:23 EDT

  None (edit)
Description Luigi Toscano 2018-05-10 17:23:52 EDT
Description of problem:

There is a mismatch between the jdk version handled during provisioning of Ambari instances:
- sahara-image-pack pre-loads java-1.7.0-openjdk-devel
- sahara-image-create pre-loads java-1.8.0-openjdk-devel

On the other side, sahara-engine (the service) uses the same code of sahara-image-pack and tries to ensure that java-1.7.0-openjdk-devel is installed.

This means that, if the instance is generated using sahara-image-create has no repositories configured, the creation of the cluster will fail.

This is not a total blocker because a workaround exists: an instance generated with sahara-image-create should be tuned to point to a repository with the packages, or the package java-1.7.0-openjdk-devel should be pre-loaded.

Instead, all images should use java-1.8.0-openjdk{,-devel}.

Nevertheless, it is a regression in the behavior of the images produced with sahara-image-create (the only way to produce images before 13) and  it could be nice to have it fixed before the final release.

Version-Release number of selected component (if applicable):
Image generated with:
sahara-image-elements-8.0.1-0.20180316135145.c235e1e.el7ost

OpenStack deployment using:
openstack-sahara-8.0.1-0.20180328233739.36531cb.el7ost
Comment 6 Luigi Toscano 2018-05-17 12:38:32 EDT
sahara-image-pack now injects java 1.8 and this is the version checked during the startup process.

Verified with:
openstack-sahara-image-8.0.1-0.20180328233740.36531cb.el7ost
Comment 7 Luigi Toscano 2018-05-17 12:40:01 EDT
Small typo

(In reply to Luigi Toscano from comment #6)

> Verified with (source package):
> openstack-sahara-8.0.1-0.20180328233740.36531cb.el7ost
Comment 10 errata-xmlrpc 2018-06-27 09:55:31 EDT
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

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

https://access.redhat.com/errata/RHEA-2018:2086

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