Bug #33354
closedRepository Clear failed
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
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
Updated by The Foreman Bot over 3 years ago
- Fixed in Releases Katello 4.3.0 added
Updated by Anonymous over 3 years ago
- Status changed from Ready For Testing to Closed
Applied in changeset katello|6c85818acca53fdb92b0f87edcf6d5bed9f972ed.
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