Project

General

Profile

Actions

Bug #33354

closed

Repository Clear failed

Added by Bernhard Suttner over 3 years ago. Updated over 3 years ago.

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

Description

When attempting to generate an incremental update of the associated content views from the Debian 10 errata DSA-4873-1, the task stopped (paused) with the following error:

=== BEGIN ===
Action:
Actions::Pulp::Repository::Clear
Input: {"repo_id"=>898,
"smart_proxy_id"=>1,
"remote_user"=>"admin",
"remote_cp_user"=>"admin",
"current_request_id"=>nil,
"current_timezone"=>"Europe/Berlin",
"current_user_id"=>5,
"current_organization_id"=>1,
"current_location_id"=>3}
Output: {}
Exception:
ActiveRecord::RecordNotFound: Couldn't find SmartProxy with 'id'=1 [WHERE (smart_proxies.id IN (2))]
Backtrace:
/opt/theforeman/tfm/root/usr/share/gems/gems/activerecord-6.0.3.1/lib/active_record/relation/finder_methods.rb:339:in `raise_record_not_found_exception!'
/opt/theforeman/tfm/root/usr/share/gems/gems/activerecord-6.0.3.1/lib/active_record/relation/finder_methods.rb:451:in `find_one'
/opt/theforeman/tfm/root/usr/share/gems/gems/activerecord-6.0.3.1/lib/active_record/relation/finder_methods.rb:433:in `find_with_ids'

By temporarily assigning Smart Proxy #1 (Katello main instance) to Location #3, where the host and Smart Proxy #2 selected in the errata are located, the task could be continued and successfully completed.
When starting the Incremental Update, location #3 was selected in the dropdown at the top.

See Foreman Task Dynflow screenshot


Files

repo-clear.png View repo-clear.png 1.48 MB Bernhard Suttner, 08/26/2021 11:35 AM
Actions #1

Updated by The Foreman Bot over 3 years ago

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

Updated by The Foreman Bot over 3 years ago

  • Fixed in Releases Katello 4.3.0 added
Actions #3

Updated by Anonymous over 3 years ago

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

Updated by Justin Sherrill over 3 years ago

  • Category set to Content Views
  • Target version set to Katello 4.3.0
  • Triaged changed from No to Yes
Actions

Also available in: Atom PDF