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 #1

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
Actions #2

Updated by The Foreman Bot over 1 year ago

  • Fixed in Releases Katello 4.9.0 added
Actions #3

Updated by Evgeni Golov over 1 year ago

  • Status changed from Ready For Testing to Closed
Actions #4

Updated by Lucy Fu over 1 year ago

  • Category set to Repositories
  • Triaged changed from No to Yes
Actions

Also available in: Atom PDF