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

Bug 1199827

Summary: RHEL-OSP-Installer should disable all repos before activating the right ones
Product: Red Hat OpenStack Reporter: Alessandro Vozza <avozza>
Component: rhel-osp-installerAssignee: Mike Burns <mburns>
Status: CLOSED ERRATA QA Contact: Omri Hochman <ohochman>
Severity: medium Docs Contact:
Priority: medium    
Version: 6.0 (Juno)CC: aberezin, ajeain, avozza, dmacpher, mburns, nobody, rhos-maint, sasha, spollitt, yeylon
Target Milestone: z2Keywords: ZStream
Target Release: Installer   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: rhel-osp-installer-0.5.7-1.el7ost Doc Type: Enhancement
Doc Text:
This enhancement disable all repositories by default during the subscription management stage of the provisioning process. This is due to some invalid or incorrect repositories becoming enabled and resulting in untested package combinations. Now all the repositories are disabled in the kickstart prior to enabling the required repositories listed in the installer.
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-04-07 15:08:52 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 Alessandro Vozza 2015-03-08 19:01:35 UTC
Description of problem:

By default, the installer subscribes each machine and enables the repos specified during the wizard installation. However, this can leave unnecessary repos enabled on systems that may not need them

Version-Release number of selected component (if applicable):


How reproducible:

Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Creating patches for https://github.com/theforeman/foreman-installer-staypuft as I'm entering this BZ

Comment 5 Alessandro Vozza 2015-03-08 19:18:27 UTC
https://github.com/theforeman/foreman-installer-staypuft/pull/140

and 

https://github.com/theforeman/foreman-installer-staypuft/pull/139

I added also reference to rhel-ha-for-rhel-7-server-rpms as per BZ1196310

Comment 6 Arthur Berezin 2015-03-11 18:22:18 UTC
Can users turn this off in case that want to keep the existing repos?

Comment 7 Mike Burns 2015-03-11 18:25:13 UTC
It's not something configurable (as far as no disabling), but the user can specify additional repos if needed.  The idea here is to prevent some repos that we don't want getting enabled by default.  For most people, this should be a mostly invisible change.

Comment 9 Omri Hochman 2015-03-16 21:00:21 UTC
Verified with : rhel-osp-installer-0.5.7-1.el7ost.noarch


The 'disable repo part' could found on the redhat_register snippet after choosing to use subscription-manager during running rhel-osp-installer. : 
 
# workaround for RHEL 6.4 bug https://bugzilla.redhat.com/show_bug.cgi?id=1008016
    subscription-manager repos --list > /dev/null
    subscription-manager repos --disable=*

Comment 11 errata-xmlrpc 2015-04-07 15:08:52 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/RHSA-2015-0791.html