Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1231922

Summary: HDP plugin installs unnecessary EPEL package
Product: Red Hat OpenStack Reporter: Elise Gafford <egafford>
Component: openstack-saharaAssignee: Elise Gafford <egafford>
Status: CLOSED ERRATA QA Contact: Luigi Toscano <ltoscano>
Severity: low Docs Contact:
Priority: unspecified    
Version: 6.0 (Juno)CC: egafford, kbasil, matt, mimccune, mlopes, sputhenp, yeylon
Target Milestone: z4Keywords: ZStream
Target Release: 6.0 (Juno)   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: openstack-sahara-2014.2.3-3.el7ost Doc Type: Bug Fix
Doc Text:
Previously, the HDP plug-in installed the 'Extra Packages for Enterprise Linux (EPEL)' repository on cluster generation, even though neither the plug-in nor the saraha-image-elements package used the repository for any purpose. Consequently, a superfluous and potentially error-prone step was introduced into HDP cluster generation; in addition, these clusters may potentially update to unsupported packages. With this update, the repository is no longer installed by the HDP plug-in.
Story Points: ---
Clone Of:
: 1231923 (view as bug list) Environment:
Last Closed: 2015-08-24 14:49:09 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Elise Gafford 2015-06-15 15:49:00 UTC
Description of problem:
The HDP plugin installs EPEL as part of its installation flow. Providing that a generated image is used, nothing is installed from this repository, but failure to install it or read its metadata will result in a failed cluster. Empirical tests verify that this installation can be wholly removed.


How reproducible:
100% (cluster creation failure is extremely sporadic, but package installation is universal.)


Steps to Reproduce:
1. Create any cluster using the HDP plugin.
2. Await cluster 'active' state.
3. Verify that 'epel.repo' exists in /etc/yum.repos.d/ on any cluster node.

Actual results:
EPEL repo exists on cluster nodes (though a yum list reveals that no package is installed from this repo.)

Expected results:
EPEL is uninstalled on RHEL HDP cluster nodes.

Additional info:
See https://bugzilla.redhat.com/show_bug.cgi?id=1221881

Comment 6 Luigi Toscano 2015-08-17 17:31:32 UTC
After this change, the instances of RHEL6 started by Sahara to build an HDP 2.0.6 cluster do not have the epel repositories enabled.

Verified with:
openstack-sahara-2014.2.3-3.el7ost.noarch
python-saharaclient-0.7.6-1.el7ost.noarch

Comment 8 errata-xmlrpc 2015-08-24 14:49:09 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://rhn.redhat.com/errata/RHBA-2015-1659.html