-
Notifications
You must be signed in to change notification settings - Fork 119
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remote Sync Strips Trailing Forward Slash - Results in 404 #3240
Comments
It looks to me like the remote is configured correctly. And since the trailing slash is part of the url there, I cannot see that the cli is to blame either. Would you be able to provide a full stacktrace of this failure? |
Sure thing, thanks for looking at this with me.
|
@dralley Does this look familiar to you? Would you agree reassigning this issue to pulp_rpm? |
I'm fine with reassigning it to pulp_rpm. I agree that it probably isn't a CLI issue, at least. |
It appears that this line of code in
|
What happens here is that your URL has been identified as mirrorlist, which is not true pulp_rpm/pulp_rpm/app/tasks/synchronizing.py Line 301 in 748b3dd
Can you share with us the contents of /repodata? |
Related: pulp/pulpcore#3173 |
Hello @munkey01, Another possible reason for I think this is not related to slashes, although it may "look like" at first sight. ps: just additional information, the 404 is expected when trying to get |
Summary
I have 2 pulp servers, one of which serves as a primary (where I control package promotion, etc) and the other simply syncs repositories from the primary. I am using nginx as my reverse proxy and am also utilizing certgaurd as well (though I don't think this has impact here). The problem, is that my secondary server's rpm remote points to the primary's distribution and includes a trailing slash, but
pulp rpm sync
seems to be stripping that slash away, resulting in 404s.Steps to reproduce
Expected behavior
I expected the call to
pulp rpm repository sync
on the secondary to have retained the tailing forward slash as defined in the rpm remote.Stacktrace/Error log
Pulp and pulp-cli version info
Additonal context
The text was updated successfully, but these errors were encountered: