yum update on client fails with error 403
This document (000021111) is provided subject to the disclaimer at the end of this document.
Environment
Situation
Yum Update on rhel 8 clients fails with the following post-bootstrapping error:
[root@redhat8-test ~]# yum update Updating Subscription Management repositories. rhel--8-nonprod-171122-rhel8nprd171122-std-res-x86_64-server-8-baseos 30 kB/s | 3.9 kB 00:00 Errors during downloading metadata for repository 'susemanager:rhel--8-nonprod-171122-rhel8nprd171122-std-res-x86_64-server-8-baseos': - Status code: 403 for https://dnkgevelsmrp011.velux.org:443/rhn/manager/download/rhel--8-nonprod-171122-rhel8nprd171122-std-res-x86_64-server-8-baseos/repodata/repomd.xml Error: Failed to download metadata for repo 'susemanager:rhel--8-nonprod-171122-rhel8nprd171122-std-res-x86_64-server-8-baseos': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried
Resolution
#cp /usr/lib/python3.10/site-packages/dnf-plugins/susemanagerplugin.py /usr/lib/python3.6/site-packages/dnf-plugins/
Cause
The underlying cause of the bootstrap issue and update error 403 was the missing file susemanagerplugin.py at /usr/lib/python3.6/site-packages/dnf-plugins/.
Status
Disclaimer
This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.
- Document ID:000021111
- Creation Date: 26-Jun-2023
- Modified Date:19-Apr-2024
-
- SUSE Manager Server
For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com