Actions
Bug #36425
closeduseless redirect when fetching pulp3 status
Description
my pulp (api) logs are full of:
May 23 09:38:47 example.com pulpcore-api[597535]: pulp [25cfd504-6b87-4980-97d9-0c17fd3a5ad0]: - - [23/May/2023:09:38:47 +0000] "GET /pulp/api/v3/status HTTP/1.1" 301 0 "-" "rest-client/2.1.0 (linux x86_64) ruby/2.7.6p219" May 23 09:38:47 example.com pulpcore-api[597535]: pulp [25cfd504-6b87-4980-97d9-0c17fd3a5ad0]: - - [23/May/2023:09:38:47 +0000] "GET /pulp/api/v3/status/ HTTP/1.1" 200 4532 "-" "rest-client/2.1.0 (linux x86_64) ruby/2.7.6p219"
this is because Katello asks for the pulpcore api status at /pulp/api/v3/status, but pulpcore decides that this is the wrong URL and redirects to one with a slash.
the redirect doesn't really hurt, but it's wasting resources, so let's get rid of it :)
Updated by The Foreman Bot over 1 year ago
- Status changed from New to Ready For Testing
- Assignee set to Evgeni Golov
- Pull request https://github.com/Katello/katello/pull/10568 added
Updated by The Foreman Bot over 1 year ago
- Fixed in Releases Katello 4.9.0 added
Updated by Evgeni Golov over 1 year ago
- Status changed from Ready For Testing to Closed
Applied in changeset katello|9a0e3e14b4d8377cc9b4b2da8358553334ca5e16.
Updated by Lucy Fu over 1 year ago
- Category set to Repositories
- Triaged changed from No to Yes
Actions