The gerrit patched linked above tries to curl the base_url of all repos listed in /etc/yum.repos.d/* and fails if the connection fails for at least one repo.
One thing I haven't tested yet is if this covers cases where repos are provided via satellite.
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-2017:3462