Bug 1320221 - [RFE] RHEL registration script should disable auto-attach repos
Summary: [RFE] RHEL registration script should disable auto-attach repos
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-tripleo-heat-templates
Version: 7.0 (Kilo)
Hardware: Unspecified
OS: Unspecified
low
unspecified
Target Milestone: ---
: ---
Assignee: Jiri Stransky
QA Contact: Omri Hochman
URL:
Whiteboard:
: 1330802 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-03-22 15:23 UTC by Ian Pilcher
Modified: 2018-06-26 20:41 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-06-26 20:41:11 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Ian Pilcher 2016-03-22 15:23:28 UTC
When registering with Satellite 6 or the Customer Portal, the RHEL registration script (extraconfig/pre_deploy/rhel-registration/scripts/rhel-registration) should disable any "auto-attached" repositories before enabling the repos listed in the rhel_reg_repos parameter.  I.e., it should do the equivalent of:

# subscription-manager repos --disable=*
# subscription-manager repos --enable=... --enable=...

Currently these repos are left enabled, which can create conflicts when running updates.  For example, I have the following in environment-rhel-registration.yaml:

rhel_reg_repos: "rhel-7-server-rpms,rhel-7-server-extras-rpms,rhel-7-server-rh-common-rpms,rhel-ha-for-rhel-7-server-rpms,rhel-7-server-openstack-7.0-rpms"

But when I use my Red Hat Employee Subscription, I end up with all of these repos enabled on my overcloud nodes:

Repo ID:   rhel-rs-for-rhel-7-server-eus-rpms
Repo ID:   rhel-7-server-extras-rpms
Repo ID:   rhel-7-server-openstack-7.0-rpms
Repo ID:   rhel-sjis-for-rhel-7-server-rpms
Repo ID:   rhel-lb-for-rhel-7-server-htb-rpms
Repo ID:   rhel-sap-hana-for-rhel-7-server-rpms
Repo ID:   rhel-7-server-htb-rpms
Repo ID:   rhel-ha-for-rhel-7-server-eus-rpms
Repo ID:   rhel-sap-for-rhel-7-server-rpms
Repo ID:   rhel-7-server-rt-htb-rpms
Repo ID:   rhel-7-server-eus-rpms
Repo ID:   rhel-rs-for-rhel-7-server-rpms
Repo ID:   rhel-7-server-rpms
Repo ID:   rhel-7-server-rh-common-rpms
Repo ID:   rhel-ha-for-rhel-7-server-rpms
Repo ID:   rhel-ha-for-rhel-7-server-htb-rpms
Repo ID:   rhel-7-server-aus-rpms
Repo ID:   rhel-7-server-rt-rpms
Repo ID:   rhel-rs-for-rhel-7-server-htb-rpms
Repo ID:   rhel-7-server-rt-beta-rpms

Comment 2 Mike Burns 2016-04-07 21:14:44 UTC
This bug did not make the OSP 8.0 release.  It is being deferred to OSP 10.

Comment 5 Mike Burns 2016-05-03 15:28:50 UTC
*** Bug 1330802 has been marked as a duplicate of this bug. ***

Comment 7 Red Hat Bugzilla Rules Engine 2017-03-13 06:11:29 UTC
This bugzilla has been removed from the release and needs to be reviewed and Triaged for another Target Release.

Comment 8 Jaromir Coufal 2018-06-26 20:41:11 UTC
This should be fixed, please reopen if it is still an issue.


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