Project

General

Profile

Actions

Bug #8563

closed

PurgeEmptyErrata and PurgeEmptyPackageGroups can timeout on large repos

Added by Justin Sherrill almost 10 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Category:
Content Views
Target version:
Difficulty:
easy
Triaged:
Yes
Fixed in Releases:
Found in Releases:

Description

a user has reported seeing timeouts on the mentioned tasks as part of a content view publish

RestClient::RequestTimeout

Request Timeout

---
- /opt/rh/ruby193/root/usr/share/gems/gems/rbovirt-0.0.29/lib/restclient_ext/request.rb:56:in
  `rescue in transmit'
- /opt/rh/ruby193/root/usr/share/gems/gems/rbovirt-0.0.29/lib/restclient_ext/request.rb:11:in
  `transmit'
- /opt/rh/ruby193/root/usr/share/gems/gems/rest-client-1.6.7/lib/restclient/request.rb:64:in
  `execute'
- /opt/rh/ruby193/root/usr/share/gems/gems/rest-client-1.6.7/lib/restclient/request.rb:33:in
  `execute'
- /opt/rh/ruby193/root/usr/share/gems/gems/rest-client-1.6.7/lib/restclient/resource.rb:67:in
  `post'
- /opt/rh/ruby193/root/usr/share/gems/gems/runcible-1.1.0/lib/runcible/base.rb:96:in
  `get_response'
- /opt/rh/ruby193/root/usr/share/gems/gems/runcible-1.1.0/lib/runcible/base.rb:87:in
  `call'
- /opt/rh/ruby193/root/usr/share/gems/gems/runcible-1.1.0/lib/runcible/resources/repository.rb:161:in
  `unit_search'
- /opt/rh/ruby193/root/usr/share/gems/gems/katello-2.0.0/app/models/katello/glue/pulp/repo.rb:664:in
  `package_lists_for_publish'
- /opt/rh/ruby193/root/usr/share/gems/gems/katello-2.0.0/app/lib/actions/pulp/repository/purge_empty_errata.rb:25:in
  `invoke_external_task'
- /opt/rh/ruby193/root/usr/share/gems/gems/dynflow-0.7.3/lib/dynflow/action/polling.rb:70:in

We need to optimize Repository#package_lists_for_publish to fetch the packages in a paged manner

Actions #1

Updated by Eric Helms almost 10 years ago

  • Target version set to 62
  • Triaged changed from No to Yes
Actions #2

Updated by Eric Helms almost 10 years ago

  • Target version changed from 62 to 63
Actions #3

Updated by Justin Sherrill almost 10 years ago

  • Assignee set to Justin Sherrill
Actions #4

Updated by The Foreman Bot almost 10 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/katello/pull/4910 added
  • Pull request deleted ()
Actions #5

Updated by Justin Sherrill almost 10 years ago

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

Updated by Mike McCune over 9 years ago

  • Bugzilla link set to 1217789
Actions

Also available in: Atom PDF