Description of problem: The current 2.25 installer yum upgrades openssl on rhel nodes (eg. yarn-master server). If the openssl version is 1.0.1e-16 or greater then the yum upgrade should be skipped. Version-Release number of selected component (if applicable): 2.25 How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
Fixed in 2.26 by adding a new function, version_ok(), which handles a mix of numeric and non-numeric version string components and accurate compare.
I don't understand why do you need to check openssl version in rhs-hadoop. Do you require any specific openssl feature in installer which is not in older version?
Ambari rquires openssl 1.0.1e-16 or greater. This version of openssl is not, by default, on rhel 6.5 (at least not the 6.5 ISOs we've been using).
tested with rhs-hadoop-install-2_29-1.el6rhs.noarch and it's OK. -->VERIFIED Just one note: if version name format will change this test will break. I recommend use something like this: rpm -q --queryformat "%{Version},%{RELEASE}" openssl
Using rpm -q now for openssl and glusterfs version checking.
I've found small bug which I think is not important but should be documented. When openssl version will be something like "1.0.2-16" this check will not work. --- prepping rhel nodes... installed openssl version on mkudlej-mgmt.os1.phx2.redhat.com is 1.0.2-16 and needs updating yum upgrade openssl on mkudlej-mgmt.os1.phx2.redhat.com: Loaded plugins: product-id, security, subscription-manager This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register. Setting up Upgrade Process No Packages marked for Update installed openssl version on mkudlej-master.os1.phx2.redhat.com is 1.0.2-16 and needs updating yum upgrade openssl on mkudlej-master.os1.phx2.redhat.com: Loaded plugins: product-id, security, subscription-manager This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register. Setting up Upgrade Process No Packages marked for Update --- done prepping rhel nodes Anyway it will not affect functionality of any rhs-hadoop component and only extra upgrade of openssl will be triggered. -->VERIFIED
this has been fixed in 2.45
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://rhn.redhat.com/errata/RHEA-2015-0761.html