Problem:
When I do a dnf makecache or dnf update (on a machine that points to my pulp repo server) I sometimes get a 403 from the pulp repos as result:
$ sudo dnf makecache
AlmaLinux 9 - Extras 22 kB/s | 3.8 kB 00:00
Extra Packages for Enterprise Linux 9 openh264 (From Cisco) - x86_64 7.5 kB/s | 993 B 00:00
Microsoft Production 3.6 kB/s | 481 B 00:00
AlmaAppstream 9 - Pulp 3.1 kB/s | 489 B 00:00
Errors during downloading metadata for repository āAlmaAppstreamā:
- Status code: 403 for pulp-contain/artifact/d8/02e917248346ab6f9bea1568105e2e90b50e9e7d75d759c83acc2116c49f4f?se=2025-06-13T16%3A47%3A13Z&sp=r&sv=2025-05-05&sr=b&rscc=no-cache&rscd=attachment%3Bfilename%3Drepomd.xml&rsct=text/xml&sig
Note: I removed the signature and the initial part of the address so it wonāt link in the post
Expected outcome:
The dnf command completes without error.
Pulpcore version:
{
ācomponentā: ācoreā,
āversionā: ā3.76.1ā,
āpackageā: āpulpcoreā,
āmoduleā: āpulpcore.appā,
ādomain_compatibleā: true
},
Pulp plugins installed and their versions:
āversionsā: {
ādebā: ā3.5.2ā,
ānpmā: ā0.3.3ā,
ārpmā: ā3.29.2ā,
ācoreā: ā3.76.1ā,
āfileā: ā3.76.1ā,
āmavenā: ā0.10.1ā,
āostreeā: ā2.4.8ā,
āpythonā: ā3.14.0ā,
āansibleā: ā0.25.0ā,
ācertguardā: ā3.76.1ā,
ācontainerā: ā2.25.0ā
Operating system - distribution and version:
AlmaLinux 9.6
Other relevant data:
This command will eventually work if I give it a few minutes. The azure network security is setup correctly to allow it to access (it eventually works if the security wasnāt setup correctly it would never work)
I donāt have any issues when I sync my repos.
Here is my config for azure storage:
MEDIA_ROOT = āā
STORAGES = {
ādefaultā: {
āBACKENDā: āstorages.backends.azure_storage.AzureStorageā,
āOPTIONSā: {
āaccount_nameā: āreskitscoreccpulpstoreā,
āazure_containerā: āpulp-containā,
āaccount_keyā: {{{ removed }}},
āexpiration_secsā: 60,
āoverwrite_filesā: āTrueā,
ālocationā: āā
},
},
āstaticfilesā: {
āBACKENDā: āstorages.backends.azure_storage.AzureStorageā,
āOPTIONSā: {
āaccount_nameā: āreskitscoreccpulpstoreā,
āazure_containerā: āpulp-contain-staticā,
āaccount_keyā: {{{ removed }}},
āexpiration_secsā: 60,
āoverwrite_filesā: āTrueā,
ālocationā: āā
},
},
}
If someone has any experience here some advice would greatly appreciated!
Thanks,
-Sheldon