Project

General

Profile

Actions

Bug #24187

closed

katello paginates call when fetching upstream subs, leading to possible tomcat error

Added by Chris Duryee almost 6 years ago. Updated almost 6 years ago.

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

Description

If you add "per_page" to the parameter list when calling upstream candlepin, a set of links will be sent back in the response header. If your URL is longer than a couple of KB, these links may exceed 8KB in total. Once this happens, tomcat will refuse to send the reply since the HTTP header is bigger than 8KB.

There are a few ways to address this, but the easiest is to simply not paginate this particular API call to upstream candlepin. We already send a subset of pool IDs up, based on which page is being displayed to the user.

Actions #1

Updated by The Foreman Bot almost 6 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/katello/pull/7503 added
Actions #2

Updated by Jonathon Turel almost 6 years ago

  • translation missing: en.field_release set to 338
Actions #3

Updated by Chris Duryee almost 6 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100
Actions #4

Updated by Brad Buckingham almost 6 years ago

  • Target version set to Katello 3.7.0
Actions

Also available in: Atom PDF