Project

General

Profile

Bug #15376

Cannot apply large sets of errata on errata page because the host search returns a 414

Added by Adam Price about 3 years ago. Updated about 1 year ago.

Status:
Closed
Priority:
High
Assignee:
Category:
Errata Management
Target version:
Difficulty:
medium
Triaged:
Yes
Bugzilla link:
Team Backlog:
Fixed in Releases:
Found in Releases:

Description

It looks like the request to get a list of hosts with applicable errata from the selected list on the errata page is way too big.

I had a RHEL6.2 box with old packages. I sync'd RHEL 6Server on Katello. This showed 404 installable errata for my RHEL box.

Go to the Errata page, select all 404 errata to apply, click "Apply Errata." This opens a new page on the side to search for all hosts with applicable errata in the list of selected errata. I'm not sure what the threshold for failure is, but if you selected a large number of errata, this hosts search request fails with a 414 "Request-URI Too Long." For instance, I selected all 404 installable errata resulting in a request URI that was 16250 characters long.

Associated revisions

Revision d099e609 (diff)
Added by Walden Raines about 3 years ago

Fixes #15376: prevent 414 on errata applicable host list.

We were getting a 414 Request-URI Too Long when attempting to GET
applicable hosts for several errata simultaneously. This commit
updates the call to use a POST so there is no limit on the length
of the errata IDs.

http://projects.theforeman.org/issues/15376

Revision 83b5e1d8
Added by Walden Raines about 3 years ago

Merge pull request #6150 from waldenraines/15376

Fixes #15376: prevent 414 on errata applicable host list.

History

#1 Updated by Justin Sherrill about 3 years ago

  • Assignee set to Walden Raines
  • Legacy Backlogs Release (now unused) set to 162
  • Difficulty set to medium

#2 Updated by The Foreman Bot about 3 years ago

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

#3 Updated by Walden Raines about 3 years ago

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

Also available in: Atom PDF