Unsetting release doesn't change repo URL

Posted on

I am trying to unset and set release but the repo URL seems to be stuck at 7.2. Ideally after cleanup it should show $releasever in place of 7.2.
Red Hat 7.4 docker container running on a Ubuntu VM.
Looking at the rhsm.log, it seems that I am hitting some rate limit.

2018-01-30 05:51:53,052 [ERROR] subscription-manager:10500:MainThread @cache.py:235 - Access rate limit exceeded
2018-01-30 05:51:53,053 [WARNING] subscription-manager:10500:MainThread @cache.py:241 - Unable to reach server, using cached status.

What is this rate limit for? What I am trying do is iterate over all releases i.e. setting release to 7.1, 7.2, 7.3 & 7.4 and downloading all the kernels that meet certain criterion.
Is this rate limit based on number of packages I can download or is it based on number of requests?

[root@3d12bdf436e9 staged]# subscription-manager release --unset
Release preference has been unset

[root@3d12bdf436e9 staged]# yum clean all
Loaded plugins: ovl, product-id, search-disabled-repos, subscription-manager
Cleaning repos: rhel-7-server-eus-rpms rhel-7-server-rpms rhel-7-server-rt-rpms
Cleaning up everything

[root@3d12bdf436e9 staged]# subscription-manager release --show
Release not set

[root@3d12bdf436e9 staged]# subscription-manager repos | more
+----------------------------------------------------------+
    Available Repositories in /etc/yum.repos.d/redhat.repo
+----------------------------------------------------------+
Repo ID:   rhel-7-server-dotnet-debug-rpms
Repo Name: dotNET on RHEL Debug RPMs for Red Hat Enterprise Linux 7 Server
Repo URL:  https://cdn.redhat.com/content/dist/rhel/server/7/7.2/$basearch/dotne
t/1/debug
Enabled:   0

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://cdn.redhat.com/content/dist/rhel/server/7/7Server/$basearch/s
at-tools/6.2/os
Enabled:   0

Repo ID:   rhel-7-server-v2vwin-1-debug-rpms
Repo Name: Red Hat Virt V2V Tool for RHEL 7 (Debug RPMs)
Repo URL:  https://cdn.redhat.com/content/dist/rhel/server/7/7.2/$basearch/v2vwi
n/debug
Enabled:   0

Responses