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

Bug 1231923

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: 7.0 (Kilo)CC: kbasil, lbopf, ltoscano, matt, mimccune, yeylon
Target Milestone: ga   
Target Release: 7.0 (Kilo)   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: openstack-sahara-2015.1.0-4.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 needless, potentially error-prone step was introduced into HDP cluster generation, and on update these clusters might update with unsupported packages. Now, the repository is no longer installed by the HDP plug-in.
Story Points: ---
Clone Of: 1231922 Environment:
Last Closed: 2015-08-05 13:26:37 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:57 UTC
+++ This bug was initially created as a clone of Bug #1231922 +++

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

--- Additional comment from Red Hat Bugzilla Rules Engine on 2015-06-15 11:49:01 EDT ---

Since this issue was entered in bugzilla, the release flag has been set to ? to ensure that it is properly evaluated for this release.

--- Additional comment from Red Hat Bugzilla Rules Engine on 2015-06-15 11:49:01 EDT ---

[openstack-release-7] The Target Release has been set to 7.0 to match the release flag.

Comment 4 Luigi Toscano 2015-06-22 18:04:43 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-common-2015.1.0-4.el7ost.noarch
openstack-sahara-engine-2015.1.0-4.el7ost.noarch
openstack-sahara-api-2015.1.0-4.el7ost.noarch
python-saharaclient-0.9.0-1.el7ost.noarch

Comment 6 errata-xmlrpc 2015-08-05 13:26:37 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-2015:1548