By default installation of Satellite 6.0 doesn’t update python-rhsm, if we don’t update we’ll hit this bug during a yum update:
* https://bugzilla.redhat.com/show_bug.cgi?id=1112833
Example:
https://rhs6/pulp/repos/fite_labs/DEV/rhel-6-server-x86_64-cv/content/dist/rhel/server/6/6Server/x86_64/os/repodata/repomd.xml: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 403 Forbidden" Trying other mirror. Error: Cannot retrieve repository metadata (repomd.xml) for repository: rhel-6-server-rpms. Please verify its path and try again
Easiest solution is to upgrade python-rhsm package and reboot the server (or restart katello service).
[email protected]:~# yum upgrade Loaded plugins: product-id, subscription-manager Resolving Dependencies --> Running transaction check ---> Package python-rhsm.x86_64 0:1.10.12-2.el7 will be updated ---> Package python-rhsm.x86_64 0:1.12.5-1.el7 will be an update --> Finished Dependency Resolution Dependencies Resolved ============================================================================================================================================================================ Package Arch Version Repository Size ============================================================================================================================================================================ Updating: python-rhsm x86_64 1.12.5-1.el7 katello-local 112 k Transaction Summary ============================================================================================================================================================================ Upgrade 1 Package Total download size: 112 k Is this ok [y/d/N]: y Downloading packages: Running transaction check Running transaction test Transaction test succeeded Running transaction Updating : python-rhsm-1.12.5-1.el7.x86_64 1/2 Cleanup : python-rhsm-1.10.12-2.el7.x86_64 2/2 Verifying : python-rhsm-1.12.5-1.el7.x86_64 1/2 Verifying : python-rhsm-1.10.12-2.el7.x86_64 2/2 Updated: python-rhsm.x86_64 0:1.12.5-1.el7 Complete! [email protected]:~# reboot
And try again to update from a new host and that it would work! Magic!