Bug 1199827 - RHEL-OSP-Installer should disable all repos before activating the right ones
Summary: RHEL-OSP-Installer should disable all repos before activating the right ones
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: rhel-osp-installer
Version: 6.0 (Juno)
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: z2
: Installer
Assignee: Mike Burns
QA Contact: Omri Hochman
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-03-08 19:01 UTC by Alessandro Vozza
Modified: 2022-07-09 07:13 UTC (History)
10 users (show)

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.
Clone Of:
Environment:
Last Closed: 2015-04-07 15:08:52 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2015:0791 0 normal SHIPPED_LIVE Important: Red Hat Enterprise Linux OpenStack Platform Installer update 2015-04-07 19:07:29 UTC

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


Note You need to log in before you can comment on or make changes to this bug.