Bug 1636953 - HDP 2.3 images fails to start with Ambari 2.4 RHEL images without repositories
Summary: HDP 2.3 images fails to start with Ambari 2.4 RHEL images without repositories
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-sahara
Version: 14.0 (Rocky)
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: rc
: 14.0 (Rocky)
Assignee: Telles Nobrega
QA Contact: Luigi Toscano
Kim Nylander
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-10-08 10:55 UTC by Luigi Toscano
Modified: 2019-01-11 11:53 UTC (History)
6 users (show)

Fixed In Version: openstack-sahara-9.0.1-0.20181010221803.eb72c78.el7ost
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-01-11 11:53:41 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
OpenStack gerrit 609539 0 None None None 2018-10-10 20:47:06 UTC
Red Hat Product Errata RHEA-2019:0045 0 None None None 2019-01-11 11:53:48 UTC
Storyboard 2003996 0 None None None 2018-10-08 10:55:16 UTC

Description Luigi Toscano 2018-10-08 10:55:17 UTC
Description of problem:
The creation of an HDP 2.3 cluster (on an Ambari 2.4 RHEL image) fails from rocky with the following error:

Creating cluster failed for the following reason(s): RemoteCommandException: Error during command execution: "yum install -y libtirpc-devel"

This would probably work on CentOS, on Ubuntu or on RHEL images with subscription or anyway with the repositories of the operating system configured.

The root cause seems to be the following snippet from sahara/plugins/ambari/resources/images/image.yaml:

  - argument_case:
       argument_name: ambari_version
       cases:
           2.6.2.0:
               - package: libtirpc-devel

HDP 2.3 requires Ambari 2.4 and there is a special rule in pack_image to change the Ambari version:

    def pack_image(...):
        if hadoop_version == '2.3':
            image_arguments['ambari_version'] = '2.4.3.0'

but pack_image is not used during the deployment, when validate_images is called instead.

So the same rule which changes ambari_version should apply when validate_images is used.


Version-Release number of selected component (if applicable):
openstack-sahara-9.0.1-0.20180921120831.0668acd.el7ost

Comment 6 Luigi Toscano 2018-11-21 20:42:58 UTC
Tested again using RHEL 7.6 for both the image and the deployment (the latter on packstack for resource issues):

openstack-sahara-9.0.1-0.20181010221803.eb72c78.el7ost
openstack-sahara-tests-0.7.0-0.20180925152245.bb23a5b.el7ost

Comment 10 errata-xmlrpc 2019-01-11 11:53:41 UTC
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-2019:0045


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