Description of problem: The Registration of the Sat 6 server worked but not all repositories are automatically enabled Version-Release number of selected component (if applicable): QCI-1.0-RHEL-7-20160808.t.0 How reproducible: 100% Steps to Reproduce: 1. Install QCI 2. Log into run launch-fusor-installer 3. Change "15. Register Host For Updates" to true 4. Enter valid values for Username/password 5. When installation finishes: yum repolist Actual results: Loaded plugins: langpacks, product-id, search-disabled-repos, subscription-manager repo id repo name status rhel-7-server-eus-rpms/7Server/x86_64 Red Hat Enterprise Linux 7 Server - Extended Update Support (RPMs) 11,189 rhel-7-server-rpms/7Server/x86_64 Red Hat Enterprise Linux 7 Server (RPMs) 11,198 rhel-ha-for-rhel-7-server-eus-rpms/7Server/x86_64 Red Hat Enterprise Linux High Availability (for RHEL 7 Server) - Extended Update Support (RPMs) 224 rhel-ha-for-rhel-7-server-rpms/7Server/x86_64 Red Hat Enterprise Linux High Availability (for RHEL 7 Server) (RPMs) 224 repolist: 22,835 Expected results: Loaded plugins: langpacks, product-id, search-disabled-repos, subscription-manager repo id repo name status rhel-7-server-rpms/7Server/x86_64 Red Hat Enterprise Linux 7 Server (RPMs) 11,198 rhel-7-server-satellite-6.2-rpms/x86_64 Red Hat Satellite 6.2 (for RHEL 7 Server) (RPMs) 303 rhel-server-rhscl-7-rpms/7Server/x86_64 Red Hat Software Collections RPMs for Red Hat Enterprise Linux 7 Server 6,143 repolist: 17,644 Additional info: https://access.redhat.com/documentation/en/red-hat-satellite/6.2/paged/installation-guide/chapter-3-installing-satellite-server Section 3.1.3 b Workaround: * yum clean all * subscription-manager repos --disable='*' * subscription-manager repos --enable=rhel-7-server-rpms \ --enable=rhel-server-rhscl-7-rpms \ --enable=rhel-7-server-satellite-6.2-rpms
Might be related to the embedded product certs we install as part of ISO install
The entitlement has the following repos enabled (there are many others but these are the ones found because of the auto-attach): Content: Type: yum Name: Red Hat Enterprise Linux 7 Server - Extended Update Support (RPMs) Label: rhel-7-server-eus-rpms Vendor: Red Hat URL: /content/eus/rhel/server/7/$releasever/$basearch/os GPG: file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release Enabled: True Expires: 86400 Required Tags: rhel-7-server Arches: x86_64 Content: Type: yum Name: Red Hat Enterprise Linux 7 Server (RPMs) Label: rhel-7-server-rpms Vendor: Red Hat URL: /content/dist/rhel/server/7/$releasever/$basearch/os GPG: file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release Enabled: True Expires: 86400 Required Tags: rhel-7-server Arches: x86_64 Content: Type: yum Name: Red Hat Enterprise Linux High Availability (for RHEL 7 Server) - Extended Update Support (RPMs) Label: rhel-ha-for-rhel-7-server-eus-rpms Vendor: Red Hat URL: /content/eus/rhel/server/7/$releasever/$basearch/highavailability/os GPG: file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release Enabled: True Expires: 86400 Required Tags: rhel-7-server Arches: x86_64 Content: Type: yum Name: Red Hat Enterprise Linux High Availability (for RHEL 7 Server) (RPMs) Label: rhel-ha-for-rhel-7-server-rpms Vendor: Red Hat URL: /content/dist/rhel/server/7/$releasever/$basearch/highavailability/os GPG: file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release Enabled: True Expires: 86400 Required Tags: rhel-7-server Arches: x86_64
The expected repos (aside from rhel-7-server-rpms) are not enabled in the certificate which is why they are not enabled by default. They are AVAILABLE. Content: Type: yum Name: Red Hat Satellite 6.2 (for RHEL 7 Server) (RPMs) Label: rhel-7-server-satellite-6.2-rpms Vendor: Red Hat URL: /content/dist/rhel/server/7/7Server/$basearch/satellite/6.2/os GPG: file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release Enabled: False Expires: 86400 Required Tags: rhel-7-server Arches: x86_64 Content: Type: yum Name: Red Hat Software Collections RPMs for Red Hat Enterprise Linux 7 Server Label: rhel-server-rhscl-7-rpms Vendor: Red Hat URL: /content/dist/rhel/server/7/$releasever/$basearch/rhscl/1/os GPG: file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release,file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release Enabled: False Expires: 86400 Required Tags: rhel-7-server Arches: x86_64, ppc64le, ppc64, aarch64, s390x
https://github.com/fusor/fusor-installer/pull/89
BEFORE FIX: [root@sat62fusor ~]# yum repolist Loaded plugins: langpacks, product-id, search-disabled-repos, subscription-manager repo id repo name status rhel-7-server-eus-rpms/7Server/x86_64 Red Hat Enterprise Linux 7 Server - Extended Update Support (RPMs) 11,232 rhel-7-server-rpms/7Server/x86_64 Red Hat Enterprise Linux 7 Server (RPMs) 11,241 rhel-ha-for-rhel-7-server-eus-rpms/7Server/x86_64 Red Hat Enterprise Linux High Availability (for RHEL 7 Server) - Extended Update Support (RPMs) 224 rhel-ha-for-rhel-7-server-rpms/7Server/x86_64 Red Hat Enterprise Linux High Availability (for RHEL 7 Server) (RPMs) 224 repolist: 22,921
Output from installer changed. The auto-attach still subscribes to EUS that is purely based on how the RHCI SKU is defined. But we disable all repos and enable the appropriate ones. ------ 18. Cancel installation 1 Register this host with subscription manager to the customer portal for updates Registering to: subscription.rhn.redhat.com:443/subscription The system has been registered with ID: c3d953f6-9590-4759-b57d-566b766f7455 Installed Product Current Status: Product Name: Red Hat Software Collections (for RHEL Server) Status: Subscribed Product Name: Red Hat Enterprise Linux Server Status: Subscribed Product Name: Red Hat Satellite Status: Subscribed Product Name: Red Hat Enterprise Linux Server - Extended Update Support Status: Subscribed Repository 'rhel-7-server-rpms' is enabled for this system. Repository 'rhel-7-server-satellite-6.1-rpms' is enabled for this system. Repository 'rhel-server-rhscl-7-rpms' is enabled for this system. This host was successfully registered!
AFTER FIX: ======= [root@sat62fusor ~]# yum repolist Loaded plugins: langpacks, product-id, search-disabled-repos, subscription-manager repo id repo name status rhel-7-server-rpms/7Server/x86_64 Red Hat Enterprise Linux 7 Server (RPMs) 11,241 rhel-7-server-satellite-6.1-rpms/x86_64 Red Hat Satellite 6.1 (for RHEL 7 Server) (RPMs) 710 rhel-server-rhscl-7-rpms/7Server/x86_64 Red Hat Software Collections RPMs for Red Hat Enterprise Linux 7 Server 6,279 repolist: 18,230
Verified on QCI-1.0-RHEL-7-20160825.t.0.
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-2016:1862