Ever had a problem where yum will look for the media repository, despite the fact that there is no configuration in place to use that repo, and you’ve completely cleaned out the cache?
This had me completely stumped, however I finally found the fix.
If you create a local yum mirror repository using the ISO images (I did this so I didn’t have to download all the RPMs again), the repodata/ directory ends up contains some XML files that specifically identify it as a local media repo, not as an online one. These XML files then screw up yum and make it look like yum is trying to connect to a non-existent media repository.
The fix is to that if you are creating a yum repo, make sure the repodata/ folder is mirrored from an existing online repo, not an ISO.