Problem: We have a query regarding space utilization on foreman server and external proxy server. We have one foreman main server and foreman smart proxy server. We have done the sync from foreman server to smart proxy server with the download option as “on demand”. Then we have register one vm with foreman-proxy server and tried to install nfs package on the server. But we are getting the below error:
[root@foreman-client ~]# yum update
Updating Subscription Management repositories.
BaseOS x86_64 os 151 B/s | 14 B 00:00
Errors during downloading metadata for repository 'ROCKY9_BaseOS_x86_64_os':
- Status code: 404 for https://smartproxyserver.com/pulp/content/Library/Rocky_content_view/custom/ROCKY9/BaseOS_x86_64_os/repodata/repomd.xml (IP: xx.xx.xx.xx)
Error: Failed to download metadata for repo 'ROCKY9_BaseOS_x86_64_os': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried.
Once we change the download policy as “immediate” and sync foreman server to foreman smart proxy server,packages are getting listed in the newly registered vm. Alsowe could see that the space utlization is more when we selec “immediate” download policy. So, is there anything that, when we first time sync from foreman to foreman-proxy, do we need to select download policy as “immediate” and then can we change it as “on demand” or it should be “immediate” only everytime when we do the sync?
Expected outcome:
Foreman and Proxy versions:- Foreman 3.13 with katello 4.15
**Foreman and Proxy plugin versions:**Foreman 3.13 with katello 4.15
Distribution and version: Rocky 9
Other relevant data: