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
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
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