Bug 1665967

Summary: Subscription-Manager packages in Extras repository causing conflicts
Product: Red Hat Enterprise Linux 7 Reporter: Terry Bowling <tbowling>
Component: subscription-managerAssignee: candlepin-bugs
Status: CLOSED ERRATA QA Contact: Red Hat subscription-manager QE Team <rhsm-qe>
Severity: high Docs Contact:
Priority: urgent    
Version: 7.6CC: csnyder, ddarrah, jsefler, khowell, mdomonko, redakkan, rjerrido, salmy, thoger
Target Milestone: rc   
Target Release: 7.6   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-08-06 12:57:25 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 Terry Bowling 2019-01-14 15:11:06 UTC
Description of problem:

Subscription-Manager packages are duplicated in the base RHEL 7 Server repo as well as in Extras.  This causes conflicts when a user needs to lock to a specific minor release.

Valid reasons a user might need to lock to a specific minor release include:
 - 2 year EUS support option providing a longer period of time customers to transition and test their own custom applications
 - SAP certification which provides a 4 year EUS option
 - Telco support which provides 4 year EUS option

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

Comment 2 Terry Bowling 2019-01-14 15:27:51 UTC
I believe this might be a violation of Extras content policy to have duplicated or newer versions of packages in Extras that also exist in the Base Server repo.  I am still looking for a document to confirm this.

Specifically, three packages in Extras are duplicated and should probably be removed:

	subscription-manager.x86_64                   1.21.10-2.el7   rhel-7-server-extras-rpms
	subscription-manager-rhsm.x86_64              1.21.10-2.el7   rhel-7-server-extras-rpms
	subscription-manager-rhsm-certificates.x86_64 1.21.10-2.el7   rhel-7-server-extras-rpms

I suspect these were added in support of the relatively new subscription-manager-cockpit.noarch in Optional repo which may depend on specific versions of the above packages.  However, these should take an approach of forward support and not break previous releases, so I consider this an important regression.

Here is what we are seeing.

# yum4 list subscription-manage* \
	--showduplicates
	--enablerepo=rhel-7-server-rpms 
	--enablerepo=rhel-7-server-extras-rpms 
	--enablerepo=rhel-7-server-optional-rpms

Last metadata expiration check: 2 days, 22:44:58 ago on Fri 11 Jan 2019 11:34:51 AM EST.
Installed Packages
subscription-manager.x86_64                              1.21.10-3.el7_6            @System                    
subscription-manager-rhsm.x86_64                         1.21.10-3.el7_6            @System                    
subscription-manager-rhsm-certificates.x86_64            1.21.10-3.el7_6            @System                    
Available Packages
subscription-manager.x86_64                              1.10.14-7.el7              rhel-7-server-rpms         
subscription-manager.x86_64                              1.10.14-8.el7_0            rhel-7-server-rpms         
subscription-manager.x86_64                              1.10.14-9.el7_0            rhel-7-server-rpms         
subscription-manager.x86_64                              1.10.14-13.el7_0           rhel-7-server-rpms         
subscription-manager.x86_64                              1.13.22-1.el7              rhel-7-server-rpms         
subscription-manager.x86_64                              1.15.9-15.el7              rhel-7-server-rpms         
subscription-manager.x86_64                              1.17.15-1.el7              rhel-7-server-rpms         
subscription-manager.x86_64                              1.19.21-1.el7              rhel-7-server-rpms         
subscription-manager.x86_64                              1.19.23-1.el7_4            rhel-7-server-rpms         
subscription-manager.x86_64                              1.20.10-1.el7              rhel-7-server-rpms         
subscription-manager.x86_64                              1.20.11-1.el7_5            rhel-7-server-rpms         
subscription-manager.x86_64                              1.21.10-2.el7              rhel-7-server-extras-rpms  
subscription-manager.x86_64                              1.21.10-2.el7              rhel-7-server-rpms         
subscription-manager.x86_64                              1.21.10-3.el7_6            @System                    
subscription-manager.x86_64                              1.21.10-3.el7_6            rhel-7-server-rpms         
subscription-manager-cockpit.noarch                      1.20.10-1.el7              rhel-7-server-optional-rpms
subscription-manager-cockpit.noarch                      1.20.11-1.el7_5            rhel-7-server-optional-rpms
subscription-manager-cockpit.noarch                      1.21.10-2.el7              rhel-7-server-optional-rpms
subscription-manager-cockpit.noarch                      1.21.10-3.el7_6            rhel-7-server-optional-rpms
subscription-manager-firstboot.x86_64                    1.10.14-7.el7              rhel-7-server-rpms         
subscription-manager-firstboot.x86_64                    1.10.14-8.el7_0            rhel-7-server-rpms         
subscription-manager-firstboot.x86_64                    1.10.14-9.el7_0            rhel-7-server-rpms         
subscription-manager-firstboot.x86_64                    1.10.14-13.el7_0           rhel-7-server-rpms         
subscription-manager-firstboot.x86_64                    1.13.22-1.el7              rhel-7-server-rpms         
subscription-manager-gui.x86_64                          1.10.14-7.el7              rhel-7-server-rpms         
subscription-manager-gui.x86_64                          1.10.14-8.el7_0            rhel-7-server-rpms         
subscription-manager-gui.x86_64                          1.10.14-9.el7_0            rhel-7-server-rpms         
subscription-manager-gui.x86_64                          1.10.14-13.el7_0           rhel-7-server-rpms         
subscription-manager-gui.x86_64                          1.13.22-1.el7              rhel-7-server-rpms         
subscription-manager-gui.x86_64                          1.15.9-15.el7              rhel-7-server-rpms         
subscription-manager-gui.x86_64                          1.17.15-1.el7              rhel-7-server-rpms         
subscription-manager-gui.x86_64                          1.19.21-1.el7              rhel-7-server-rpms         
subscription-manager-gui.x86_64                          1.19.23-1.el7_4            rhel-7-server-rpms         
subscription-manager-gui.x86_64                          1.20.10-1.el7              rhel-7-server-rpms         
subscription-manager-gui.x86_64                          1.20.11-1.el7_5            rhel-7-server-rpms         
subscription-manager-gui.x86_64                          1.21.10-2.el7              rhel-7-server-rpms         
subscription-manager-gui.x86_64                          1.21.10-3.el7_6            rhel-7-server-rpms         
subscription-manager-initial-setup-addon.x86_64          1.15.9-15.el7              rhel-7-server-rpms         
subscription-manager-initial-setup-addon.x86_64          1.17.15-1.el7              rhel-7-server-rpms         
subscription-manager-initial-setup-addon.x86_64          1.19.21-1.el7              rhel-7-server-rpms         
subscription-manager-initial-setup-addon.x86_64          1.19.23-1.el7_4            rhel-7-server-rpms         
subscription-manager-initial-setup-addon.x86_64          1.20.10-1.el7              rhel-7-server-rpms         
subscription-manager-initial-setup-addon.x86_64          1.20.11-1.el7_5            rhel-7-server-rpms         
subscription-manager-initial-setup-addon.x86_64          1.21.10-2.el7              rhel-7-server-rpms         
subscription-manager-initial-setup-addon.x86_64          1.21.10-3.el7_6            rhel-7-server-rpms         
subscription-manager-migration.x86_64                    1.10.14-7.el7              rhel-7-server-rpms         
subscription-manager-migration.x86_64                    1.10.14-8.el7_0            rhel-7-server-rpms         
subscription-manager-migration.x86_64                    1.10.14-9.el7_0            rhel-7-server-rpms         
subscription-manager-migration.x86_64                    1.10.14-13.el7_0           rhel-7-server-rpms         
subscription-manager-migration.x86_64                    1.13.22-1.el7              rhel-7-server-rpms         
subscription-manager-migration.x86_64                    1.15.9-15.el7              rhel-7-server-rpms         
subscription-manager-migration.x86_64                    1.17.15-1.el7              rhel-7-server-rpms         
subscription-manager-migration.x86_64                    1.19.21-1.el7              rhel-7-server-rpms         
subscription-manager-migration.x86_64                    1.19.23-1.el7_4            rhel-7-server-rpms         
subscription-manager-migration.x86_64                    1.20.10-1.el7              rhel-7-server-rpms         
subscription-manager-migration.x86_64                    1.20.11-1.el7_5            rhel-7-server-rpms         
subscription-manager-migration.x86_64                    1.21.10-2.el7              rhel-7-server-rpms         
subscription-manager-migration.x86_64                    1.21.10-3.el7_6            rhel-7-server-rpms         
subscription-manager-migration-data.noarch               2.0.7-1.el7                rhel-7-server-rpms         
subscription-manager-migration-data.noarch               2.0.18-1.el7               rhel-7-server-rpms         
subscription-manager-migration-data.noarch               2.0.24-1.el7               rhel-7-server-rpms         
subscription-manager-migration-data.noarch               2.0.31-1.el7               rhel-7-server-rpms         
subscription-manager-migration-data.noarch               2.0.37-1.el7               rhel-7-server-rpms         
subscription-manager-migration-data.noarch               2.0.39-1.el7               rhel-7-server-rpms         
subscription-manager-migration-data.noarch               2.0.45-1.el7               rhel-7-server-rpms         
subscription-manager-plugin-container.x86_64             1.13.22-1.el7              rhel-7-server-optional-rpms
subscription-manager-plugin-container.x86_64             1.15.9-15.el7              rhel-7-server-optional-rpms
subscription-manager-plugin-container.x86_64             1.17.15-1.el7              rhel-7-server-rpms         
subscription-manager-plugin-container.x86_64             1.19.21-1.el7              rhel-7-server-rpms         
subscription-manager-plugin-container.x86_64             1.19.23-1.el7_4            rhel-7-server-rpms         
subscription-manager-plugin-container.x86_64             1.20.10-1.el7              rhel-7-server-rpms         
subscription-manager-plugin-container.x86_64             1.20.11-1.el7_5            rhel-7-server-rpms         
subscription-manager-plugin-container.x86_64             1.21.10-2.el7              rhel-7-server-rpms         
subscription-manager-plugin-container.x86_64             1.21.10-3.el7_6            rhel-7-server-rpms         
subscription-manager-plugin-ostree.x86_64                1.13.22-1.el7              rhel-7-server-optional-rpms
subscription-manager-plugin-ostree.x86_64                1.15.9-15.el7              rhel-7-server-optional-rpms
subscription-manager-plugin-ostree.x86_64                1.17.15-1.el7              rhel-7-server-optional-rpms
subscription-manager-plugin-ostree.x86_64                1.19.21-1.el7              rhel-7-server-optional-rpms
subscription-manager-plugin-ostree.x86_64                1.19.23-1.el7_4            rhel-7-server-optional-rpms
subscription-manager-plugin-ostree.x86_64                1.20.10-1.el7              rhel-7-server-optional-rpms
subscription-manager-plugin-ostree.x86_64                1.20.11-1.el7_5            rhel-7-server-optional-rpms
subscription-manager-plugin-ostree.x86_64                1.21.10-2.el7              rhel-7-server-optional-rpms
subscription-manager-plugin-ostree.x86_64                1.21.10-3.el7_6            rhel-7-server-optional-rpms
subscription-manager-rhsm.x86_64                         1.20.10-1.el7              rhel-7-server-rpms         
subscription-manager-rhsm.x86_64                         1.20.11-1.el7_5            rhel-7-server-rpms         
subscription-manager-rhsm.x86_64                         1.21.10-2.el7              rhel-7-server-extras-rpms  
subscription-manager-rhsm.x86_64                         1.21.10-2.el7              rhel-7-server-rpms         
subscription-manager-rhsm.x86_64                         1.21.10-3.el7_6            @System                    
subscription-manager-rhsm.x86_64                         1.21.10-3.el7_6            rhel-7-server-rpms         
subscription-manager-rhsm-certificates.x86_64            1.20.10-1.el7              rhel-7-server-rpms         
subscription-manager-rhsm-certificates.x86_64            1.20.11-1.el7_5            rhel-7-server-rpms         
subscription-manager-rhsm-certificates.x86_64            1.21.10-2.el7              rhel-7-server-extras-rpms  
subscription-manager-rhsm-certificates.x86_64            1.21.10-2.el7              rhel-7-server-rpms         
subscription-manager-rhsm-certificates.x86_64            1.21.10-3.el7_6            @System                    
subscription-manager-rhsm-certificates.x86_64            1.21.10-3.el7_6            rhel-7-server-rpms

Comment 15 John Sefler 2019-02-28 23:51:49 UTC
Verifying....

[root@kvm-01-guest27 ~]# cat /etc/redhat-release 
Red Hat Enterprise Linux Server release 7.6 (Maipo)
[root@kvm-01-guest27 ~]# 
[root@kvm-01-guest27 ~]# subscription-manager register --username=qa --auto-attach
Registering to: subscription.rhsm.redhat.com:443/subscription
Password: 
The system has been registered with ID: 9bd08bdd-990e-4f48-a3d0-3d6eef439c0b
The registered system name is: kvm-01-guest27.lab.eng.rdu2.redhat.com
Installed Product Current Status:
Product Name: Red Hat Enterprise Linux Server
Status:       Subscribed

[root@kvm-01-guest27 ~]# subscription-manager repos --enable=*extras*
Repository 'rhel-7-server-extras-beta-debug-rpms' is enabled for this system.
Repository 'rhel-7-server-extras-source-rpms' is enabled for this system.
Repository 'rhel-7-server-extras-beta-rpms' is enabled for this system.
Repository 'rhel-7-server-extras-beta-source-rpms' is enabled for this system.
Repository 'rhel-7-server-extras-debug-rpms' is enabled for this system.
Repository 'rhel-7-server-extras-rpms' is enabled for this system.
[root@kvm-01-guest27 ~]# 
[root@kvm-01-guest27 ~]# yum list *subscription* --disablerepo=beaker* --showduplicates
Loaded plugins: product-id, search-disabled-repos, subscription-manager
Installed Packages
subscription-manager.x86_64                     1.21.10-3.el7_6  @beaker-Server/7.6      
subscription-manager-rhsm.x86_64                1.21.10-3.el7_6  @beaker-Server/7.6      
subscription-manager-rhsm-certificates.x86_64   1.21.10-3.el7_6  @beaker-Server/7.6      
Available Packages
dnf-plugin-subscription-manager.x86_64          1.21.5-7.el7     rhel-7-server-extras-beta-rpms
dnf-plugin-subscription-manager.x86_64          1.21.10-2.el7    rhel-7-server-extras-rpms
dnf-plugin-subscription-manager.x86_64          1.21.10-3.el7_6  rhel-7-server-extras-rpms
subscription-manager.x86_64                     1.10.14-7.el7    rhel-7-server-rpms      
subscription-manager.x86_64                     1.10.14-8.el7_0  rhel-7-server-rpms      
subscription-manager.x86_64                     1.10.14-9.el7_0  rhel-7-server-rpms      
subscription-manager.x86_64                     1.10.14-13.el7_0 rhel-7-server-rpms      
subscription-manager.x86_64                     1.13.22-1.el7    rhel-7-server-rpms      
subscription-manager.x86_64                     1.15.9-15.el7    rhel-7-server-rpms      
subscription-manager.x86_64                     1.17.15-1.el7    rhel-7-server-rpms      
subscription-manager.x86_64                     1.19.21-1.el7    rhel-7-server-rpms      
subscription-manager.x86_64                     1.19.23-1.el7_4  rhel-7-server-rpms      
subscription-manager.x86_64                     1.20.10-1.el7    rhel-7-server-rpms      
subscription-manager.x86_64                     1.20.11-1.el7_5  rhel-7-server-rpms      
subscription-manager.x86_64                     1.21.10-2.el7    rhel-7-server-rpms      
subscription-manager.x86_64                     1.21.10-3.el7_6  rhel-7-server-rpms      
subscription-manager-firstboot.x86_64           1.10.14-7.el7    rhel-7-server-rpms      
subscription-manager-firstboot.x86_64           1.10.14-8.el7_0  rhel-7-server-rpms      
subscription-manager-firstboot.x86_64           1.10.14-9.el7_0  rhel-7-server-rpms      
subscription-manager-firstboot.x86_64           1.10.14-13.el7_0 rhel-7-server-rpms      
subscription-manager-firstboot.x86_64           1.13.22-1.el7    rhel-7-server-rpms      
subscription-manager-gui.x86_64                 1.10.14-7.el7    rhel-7-server-rpms      
subscription-manager-gui.x86_64                 1.10.14-8.el7_0  rhel-7-server-rpms      
subscription-manager-gui.x86_64                 1.10.14-9.el7_0  rhel-7-server-rpms      
subscription-manager-gui.x86_64                 1.10.14-13.el7_0 rhel-7-server-rpms      
subscription-manager-gui.x86_64                 1.13.22-1.el7    rhel-7-server-rpms      
subscription-manager-gui.x86_64                 1.15.9-15.el7    rhel-7-server-rpms      
subscription-manager-gui.x86_64                 1.17.15-1.el7    rhel-7-server-rpms      
subscription-manager-gui.x86_64                 1.19.21-1.el7    rhel-7-server-rpms      
subscription-manager-gui.x86_64                 1.19.23-1.el7_4  rhel-7-server-rpms      
subscription-manager-gui.x86_64                 1.20.10-1.el7    rhel-7-server-rpms      
subscription-manager-gui.x86_64                 1.20.11-1.el7_5  rhel-7-server-rpms      
subscription-manager-gui.x86_64                 1.21.10-2.el7    rhel-7-server-rpms      
subscription-manager-gui.x86_64                 1.21.10-3.el7_6  rhel-7-server-rpms      
subscription-manager-initial-setup-addon.x86_64 1.15.9-15.el7    rhel-7-server-rpms      
subscription-manager-initial-setup-addon.x86_64 1.17.15-1.el7    rhel-7-server-rpms      
subscription-manager-initial-setup-addon.x86_64 1.19.21-1.el7    rhel-7-server-rpms      
subscription-manager-initial-setup-addon.x86_64 1.19.23-1.el7_4  rhel-7-server-rpms      
subscription-manager-initial-setup-addon.x86_64 1.20.10-1.el7    rhel-7-server-rpms      
subscription-manager-initial-setup-addon.x86_64 1.20.11-1.el7_5  rhel-7-server-rpms      
subscription-manager-initial-setup-addon.x86_64 1.21.10-2.el7    rhel-7-server-rpms      
subscription-manager-initial-setup-addon.x86_64 1.21.10-3.el7_6  rhel-7-server-rpms      
subscription-manager-migration.x86_64           1.10.14-7.el7    rhel-7-server-rpms      
subscription-manager-migration.x86_64           1.10.14-8.el7_0  rhel-7-server-rpms      
subscription-manager-migration.x86_64           1.10.14-9.el7_0  rhel-7-server-rpms      
subscription-manager-migration.x86_64           1.10.14-13.el7_0 rhel-7-server-rpms      
subscription-manager-migration.x86_64           1.13.22-1.el7    rhel-7-server-rpms      
subscription-manager-migration.x86_64           1.15.9-15.el7    rhel-7-server-rpms      
subscription-manager-migration.x86_64           1.17.15-1.el7    rhel-7-server-rpms      
subscription-manager-migration.x86_64           1.19.21-1.el7    rhel-7-server-rpms      
subscription-manager-migration.x86_64           1.19.23-1.el7_4  rhel-7-server-rpms      
subscription-manager-migration.x86_64           1.20.10-1.el7    rhel-7-server-rpms      
subscription-manager-migration.x86_64           1.20.11-1.el7_5  rhel-7-server-rpms      
subscription-manager-migration.x86_64           1.21.10-2.el7    rhel-7-server-rpms      
subscription-manager-migration.x86_64           1.21.10-3.el7_6  rhel-7-server-rpms      
subscription-manager-migration-data.noarch      2.0.7-1.el7      rhel-7-server-rpms      
subscription-manager-migration-data.noarch      2.0.18-1.el7     rhel-7-server-rpms      
subscription-manager-migration-data.noarch      2.0.24-1.el7     rhel-7-server-rpms      
subscription-manager-migration-data.noarch      2.0.31-1.el7     rhel-7-server-rpms      
subscription-manager-migration-data.noarch      2.0.37-1.el7     rhel-7-server-rpms      
subscription-manager-migration-data.noarch      2.0.39-1.el7     rhel-7-server-rpms      
subscription-manager-migration-data.noarch      2.0.45-1.el7     rhel-7-server-rpms      
subscription-manager-plugin-container.x86_64    1.17.15-1.el7    rhel-7-server-rpms      
subscription-manager-plugin-container.x86_64    1.19.21-1.el7    rhel-7-server-rpms      
subscription-manager-plugin-container.x86_64    1.19.23-1.el7_4  rhel-7-server-rpms      
subscription-manager-plugin-container.x86_64    1.20.10-1.el7    rhel-7-server-rpms      
subscription-manager-plugin-container.x86_64    1.20.11-1.el7_5  rhel-7-server-rpms      
subscription-manager-plugin-container.x86_64    1.21.10-2.el7    rhel-7-server-rpms      
subscription-manager-plugin-container.x86_64    1.21.10-3.el7_6  rhel-7-server-rpms      
subscription-manager-rhsm.x86_64                1.20.10-1.el7    rhel-7-server-rpms      
subscription-manager-rhsm.x86_64                1.20.11-1.el7_5  rhel-7-server-rpms      
subscription-manager-rhsm.x86_64                1.21.10-2.el7    rhel-7-server-rpms      
subscription-manager-rhsm.x86_64                1.21.10-3.el7_6  rhel-7-server-rpms      
subscription-manager-rhsm-certificates.x86_64   1.20.10-1.el7    rhel-7-server-rpms      
subscription-manager-rhsm-certificates.x86_64   1.20.11-1.el7_5  rhel-7-server-rpms      
subscription-manager-rhsm-certificates.x86_64   1.21.10-2.el7    rhel-7-server-rpms      
subscription-manager-rhsm-certificates.x86_64   1.21.10-3.el7_6  rhel-7-server-rpms      
[root@kvm-01-guest27 ~]# 

VERIFIED: The only subscription-manager package available from *extras* is dnf-plugin-subscription-manager.x86_64.  Moreover, dnf-plugin-subscription-manager.x86_64 is only available from extras




[root@kvm-01-guest27 ~]# subscription-manager repos --list-enabled
+----------------------------------------------------------+
    Available Repositories in /etc/yum.repos.d/redhat.repo
+----------------------------------------------------------+
Repo ID:   rhel-7-server-extras-rpms
Repo Name: Red Hat Enterprise Linux 7 Server - Extras (RPMs)
Repo URL:  https://cdn.redhat.com/content/dist/rhel/server/7/7Server/$basearch/extras/os
Enabled:   1

Repo ID:   rhel-7-server-extras-beta-debug-rpms
Repo Name: Red Hat Enterprise Linux 7 Server - Extras Beta (Debug RPMs)
Repo URL:  https://cdn.redhat.com/content/beta/rhel/server/7/$basearch/extras/debug
Enabled:   1

Repo ID:   rhel-7-server-extras-source-rpms
Repo Name: Red Hat Enterprise Linux 7 Server - Extras (Source RPMs)
Repo URL:  https://cdn.redhat.com/content/dist/rhel/server/7/7Server/$basearch/extras/source/SRP
           MS
Enabled:   1

Repo ID:   rhel-7-server-extras-beta-source-rpms
Repo Name: Red Hat Enterprise Linux 7 Server - Extras Beta (Source RPMs)
Repo URL:  https://cdn.redhat.com/content/beta/rhel/server/7/$basearch/extras/source/SRPMS
Enabled:   1

Repo ID:   rhel-7-server-extras-debug-rpms
Repo Name: Red Hat Enterprise Linux 7 Server - Extras (Debug RPMs)
Repo URL:  https://cdn.redhat.com/content/dist/rhel/server/7/7Server/$basearch/extras/debug
Enabled:   1

Repo ID:   rhel-7-server-rpms
Repo Name: Red Hat Enterprise Linux 7 Server (RPMs)
Repo URL:  https://cdn.redhat.com/content/dist/rhel/server/7/$releasever/$basearch/os
Enabled:   1

Repo ID:   rhel-7-server-extras-beta-rpms
Repo Name: Red Hat Enterprise Linux 7 Server - Extras Beta (RPMs)
Repo URL:  https://cdn.redhat.com/content/beta/rhel/server/7/$basearch/extras/os
Enabled:   1


BEWARE: All of the non-beta extras repos shown above are fixed to the latest "7Server" content set paths and cannot be "pinned" to an older "$releasever".  That means that you cannot install dnf-plugin-subscription-manager from extras if you have pinned your content to a former release because the version of subscription-manager that dnf-plugin-subscription-manager depends on will not match 1.21.10-3.el7_6 as shown here...

[root@kvm-01-guest27 ~]# yum deplist dnf-plugin-subscription-manager
Loaded plugins: product-id, search-disabled-repos, subscription-manager
package: dnf-plugin-subscription-manager.x86_64 1.21.10-3.el7_6
  dependency: dnf >= 1.0.0
   provider: dnf.noarch 4.0.9.2-1.el7_6
  dependency: python(abi) = 2.7
   provider: python.x86_64 2.7.5-76.el7
  dependency: python2-dnf-plugins-core
   provider: python2-dnf-plugins-core.noarch 4.0.2.2-3.el7_6
  dependency: subscription-manager = 1.21.10-3.el7_6
   provider: subscription-manager.x86_64 1.21.10-3.el7_6

In other words, don't expect an EUS system to be able to install dnf-plugin-subscription-manager from extras.

Comment 17 errata-xmlrpc 2019-08-06 12:57:25 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/RHBA-2019:2008