Project

General

Profile

Actions

Bug #36425

closed

useless redirect when fetching pulp3 status

Added by Evgeni Golov over 1 year ago. Updated over 1 year ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Repositories
Target version:
-
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

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 :)

Actions

Also available in: Atom PDF