Skip to content
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

Fixes #37399 - Container gateway needs to send ACCEPT headers from podman to Pulp #38

Merged
merged 2 commits into from
May 20, 2024

Conversation

ianballou
Copy link
Member

Without this change, pulling content with the newer pulp-container 2.19 will fail because Pulp will think the container gateway has no manifest acceptance capabilities, thus triggering a 404.

The change also allows errors from Pulp to be returned properly.

To test, try pulling any container content that's on the smart proxy.

To test the proper erroring, try syncing some content and then deleting it in Pulp. This will make the container gateway think that it has repositories synced when it really doesn't, so it should send requests to Pulp for content that doesn't exist.

@ianballou ianballou force-pushed the 37399-pass-headers-to-pulp branch 2 times, most recently from c0229a6 to 9252988 Compare April 30, 2024 20:17
Copy link
Member

@sjha4 sjha4 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ack 👍🏼
Able to pull images from proxy registry.
Able to see improved error message on images that don't exist.

Test_results

@ianballou ianballou merged commit 9440b1d into Katello:main May 20, 2024
5 checks passed
@ianballou ianballou deleted the 37399-pass-headers-to-pulp branch May 20, 2024 16:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants