Issue #9190
closedProblem syncing rpm-repo for bacula enterprise
Description
I'm having a problem syncing the bweb repo from Bacula Enterprise Edition.
For more details, please see: https://community.theforeman.org/t/problem-syncing-rpm-repo-for-bacula-enterprise/24679
Please find in attachment the repomd.xml file from the Dependencies folder as Sherrill Justin mentioned in his reply.
Please let me know if additional information is required.
Files
Updated by dalley over 2 years ago
I don't have access to the enterprise edition repos so I can't do an apples-to-apples reproduction, but just browsing the repos for their community edition (from an actual browser) I was able to reproduce the "looping" behavior.
https://www.bacula.org/packages/5bd703346c037/bacula/
if you keep clicking on "backula" it will just keep recursing into deeper and deeper subdirectories, e.g.
So it's not immediately clear whether this is an actual Pulp bug or caused by their web hosting - at least not without the ability to access the repos you're looking at.
Since you have access, you take a look at {repo+creds}/rpms/bweb/12.8.1/rhel7-64/, open primary.xml.gz, find the "perl-Net-SSH-Perl-1.34-1.el7.centos.noarch.rpm" package, look at the location_href value, append it to the repository, and then try to download the file it's pointing to with "curl -I -L $url"?
This will print out the response headers if/when it tries to redirect you.
Updated by dalley over 2 years ago
Unrelated sidenote: visiting https://www.baculasystems.com/dl/ will raise 500 server error, so their IT practices seem a little suspect :)
Updated by Langesmalle over 2 years ago
Hi, The primary.xml.gz file from Bacula was indeed not correct. After they modified it were able to sync the repo within foreman.
Thnx for your feedback. Issue can be closed.
Updated by dalley over 2 years ago
- Status changed from NEW to CLOSED - NOTABUG
No problem! Thanks for your interest.