Project

General

Profile

Bug #26171

rake task katello:upgrades:3.11:update_puppet_repos sometimes fails on slow hardware

Added by Justin Sherrill 7 months ago. Updated 7 months ago.

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

Description

on sufficiently slow hardware, the rake task:
katello:upgrades:3.11:update_puppet_repos

can fail

Associated revisions

Revision 463f2a55 (diff)
Added by Justin Sherrill 7 months ago

Fixes #26171 - wait on dist deletion task during upgrade

History

#1 Updated by Justin Sherrill 7 months ago

rake aborted!
ForemanTasks::TaskError: Task 02385a79-ded5-4fca-bcd8-d7d068eec3ce: RestClient::NotFound: 404 Not Found
/opt/theforeman/tfm/root/usr/share/gems/gems/foreman-tasks-0.14.4.3/lib/foreman_tasks.rb:55:in `block in sync_task'
/opt/theforeman/tfm/root/usr/share/gems/gems/foreman-tasks-0.14.4.3/lib/foreman_tasks.rb:54:in `tap'
/opt/theforeman/tfm/root/usr/share/gems/gems/foreman-tasks-0.14.4.3/lib/foreman_tasks.rb:54:in `sync_task'

#2 Updated by Justin Sherrill 7 months ago

2019-02-26T17:15:22 [E|bac|] 404 Not Found (RestClient::NotFound)
/opt/theforeman/tfm/root/usr/share/gems/gems/rest-client-2.0.1/lib/restclient/abstract_response.rb:223:in `exception_with_response'
/opt/theforeman/tfm/root/usr/share/gems/gems/rest-client-2.0.1/lib/restclient/abstract_response.rb:103:in `return!'
/opt/theforeman/tfm/root/usr/share/gems/gems/runcible-2.10.1/lib/runcible/base.rb:95:in `block in get_response'
/opt/theforeman/tfm/root/usr/share/gems/gems/rest-client-2.0.1/lib/restclient/request.rb:807:in `process_result'
/opt/theforeman/tfm/root/usr/share/gems/gems/rest-client-2.0.1/lib/restclient/request.rb:725:in `block in transmit'
/opt/rh/rh-ruby25/root/usr/share/ruby/net/http.rb:910:in `start'
/opt/theforeman/tfm/root/usr/share/gems/gems/rest-client-2.0.1/lib/restclient/request.rb:715:in `transmit'
/opt/theforeman/tfm/root/usr/share/gems/gems/rest-client-2.0.1/lib/restclient/request.rb:145:in `execute'
/opt/theforeman/tfm/root/usr/share/gems/gems/rest-client-2.0.1/lib/restclient/request.rb:52:in `execute'
/opt/theforeman/tfm/root/usr/share/gems/gems/rest-client-2.0.1/lib/restclient/resource.rb:76:in `put'
/opt/theforeman/tfm/root/usr/share/gems/gems/runcible-2.10.1/lib/runcible/base.rb:94:in `get_response'
/opt/theforeman/tfm/root/usr/share/gems/gems/runcible-2.10.1/lib/runcible/base.rb:74:in `call'
/opt/theforeman/tfm/root/usr/share/gems/gems/runcible-2.10.1/lib/runcible/resources/repository.rb:178:in `update_distributor'
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.10.0.21/app/services/katello/pulp/repository.rb:157:in `block in update_or_associate_distributors'
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.10.0.21/app/services/katello/pulp/repository.rb:153:in `each'
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.10.0.21/app/services/katello/pulp/repository.rb:153:in `update_or_associate_distributors'
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.10.0.21/app/services/katello/pulp/repository.rb:127:in `refresh'
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.10.0.21/app/lib/actions/pulp/repository/refresh.rb:21:in `run'
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.1.6/lib/dynflow/action.rb:539:in `block (3 levels) in ex

#3 Updated by The Foreman Bot 7 months ago

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

#4 Updated by Justin Sherrill 7 months ago

  • Status changed from Ready For Testing to Closed

#5 Updated by Andrew Kofink 7 months ago

  • Triaged changed from No to Yes
  • Target version set to Katello 3.11.0

Also available in: Atom PDF