Desde nuestro servidor p-01 vemos que repositorios tenemos configurados.
[root@p-01 ~]# yum repolist
Loaded plugins: langpacks, product-id, search-disabled-repos, subscription-manager
repo id repo name status
!rhel-7-server-optional-rpms/7Server/x86_64 Red Hat Enterprise Linux 7 Server - Optional (RPMs) 12,683
!rhel-7-server-rpms/7Server/x86_64 Red Hat Enterprise Linux 7 Server (RPMs) 16,956
repolist: 29,639
En este caso estan los rhel-7-server-rpms y rhel-7-server-optional-rpms
Verifico que repositorios tengo disponibles para habilitar
Me muestra el nombre la url y si esta o no habilitado.
[root@p-01 ~]# subscription-manager repos --list
+----------------------------------------------------------+
Available Repositories in /etc/yum.repos.d/redhat.repo
+----------------------------------------------------------+
Repo ID: rhel-7-server-satellite-tools-6.2-rpms
Repo Name: Red Hat Satellite Tools 6.2 (for RHEL 7 Server) (RPMs)
Repo URL: https://sat.xxx/pulp/repos/xxx/Library/content/dist/rhel/server/7/7Server/$basearch/sat-tools/6.2/os
Enabled: 0
Repo ID: rhel-server-rhscl-7-rpms
Repo Name: Red Hat Software Collections RPMs for Red Hat Enterprise Linux 7 Server
Repo URL: https://sat.xxx/pulp/repos/xxx/Library/content/dist/rhel/server/7/$releasever/$basearch/rhscl/1/os
Enabled: 0
Repo ID: rhel-7-server-optional-rpms
Repo Name: Red Hat Enterprise Linux 7 Server - Optional (RPMs)
Repo URL: https://sat.xxx/pulp/repos/xxx/Library/content/dist/rhel/server/7/$releasever/$basearch/optional/os
Enabled: 1
Repo ID: rhel-7-server-openstack-10-tools-rpms
Repo Name: Red Hat OpenStack Platform 10 Tools for RHEL 7 Server (RPMs)
Repo URL: https://sat.xxx/pulp/repos/xxx/Library/content/dist/rhel/server/7/$releasever/$basearch/openstack-to
ols/10/os
Enabled: 0
Repo ID: rhel-7-server-rh-common-rpms
Repo Name: Red Hat Enterprise Linux 7 Server - RH Common (RPMs)
Repo URL: https://sat.xxx/pulp/repos/xxx/Library/content/dist/rhel/server/7/$releasever/$basearch/rh-common/os
Enabled: 0
Repo ID: rhel-7-server-rhn-tools-rpms
Repo Name: RHN Tools for Red Hat Enterprise Linux 7 Server (RPMs)
Repo URL: https://sat.xxx/pulp/repos/xxx/Library/content/dist/rhel/server/7/$releasever/$basearch/rhn-tools/os
Enabled: 0
Repo ID: rhel-7-server-v2vwin-1-rpms
Repo Name: Red Hat Virt V2V Tool for RHEL 7 (RPMs)
Repo URL: https://sat.xxx/pulp/repos/xxx/Library/content/dist/rhel/server/7/$releasever/$basearch/v2vwin/os
Enabled: 0
Repo ID: rhel-7-server-rpms
Repo Name: Red Hat Enterprise Linux 7 Server (RPMs)
Repo URL: https://sat.xxx/pulp/repos/xxx/Library/content/dist/rhel/server/7/$releasever/$basearch/os
Enabled: 1
Repo ID: rhel-7-server-supplementary-rpms
Repo Name: Red Hat Enterprise Linux 7 Server - Supplementary (RPMs)
Repo URL: https://sat.xxx/pulp/repos/xxx/Library/content/dist/rhel/server/7/$releasever/$basearch/supplementar
y/os
Enabled: 0
Repo ID: rhel-7-server-extras-rpms
Repo Name: Red Hat Enterprise Linux 7 Server - Extras (RPMs)
Repo URL: https://sat.xxx/pulp/repos/xxx/Library/content/dist/rhel/server/7/7Server/$basearch/extras/os
Enabled: 0
Habilito el que me falta y reviso
[root@p-01 ~]# subscription-manager repos --enable rhel-7-server-extras-rpms
[root@p-01 ~]# yum repolist
Loaded plugins: langpacks, product-id, search-disabled-repos, subscription-manager
rhel-7-server-extras-rpms | 2.0 kB 00:00:00
rhel-7-server-optional-rpms | 2.0 kB 00:00:00
rhel-7-server-rpms | 2.0 kB 00:00:00
(1/9): rhel-7-server-extras-rpms/x86_64/group | 130 B 00:00:00
(2/9): rhel-7-server-extras-rpms/x86_64/updateinfo | 182 kB 00:00:00
(3/9): rhel-7-server-extras-rpms/x86_64/primary | 154 kB 00:00:00
(4/9): rhel-7-server-optional-rpms/7Server/x86_64/group | 19 kB 00:00:00
(5/9): rhel-7-server-optional-rpms/7Server/x86_64/updateinfo | 1.6 MB 00:00:00
(6/9): rhel-7-server-optional-rpms/7Server/x86_64/primary | 3.6 MB 00:00:00
(7/9): rhel-7-server-rpms/7Server/x86_64/group | 595 kB 00:00:00
(8/9): rhel-7-server-rpms/7Server/x86_64/updateinfo | 2.2 MB 00:00:00
(9/9): rhel-7-server-rpms/7Server/x86_64/primary | 23 MB 00:00:00
rhel-7-server-extras-rpms 603/603
rhel-7-server-optional-rpms 12683/12683
rhel-7-server-rpms 16956/16956
repo id repo name status
!rhel-7-server-extras-rpms/x86_64 Red Hat Enterprise Linux 7 Server - Extras (RPMs) 603
!rhel-7-server-optional-rpms/7Server/x86_64 Red Hat Enterprise Linux 7 Server - Optional (RPMs) 12,683
!rhel-7-server-rpms/7Server/x86_64 Red Hat Enterprise Linux 7 Server (RPMs) 16,956
repolist: 30,242