Project

General

Profile

Actions

Bug #31469

closed

smart proxy sync fails with puppet content, leading to paused tasks.

Added by Justin Sherrill about 4 years ago. Updated about 4 years ago.

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

Description

to reproduce,
1. create a puppet repo
2. upload a puppet module
3. create a cv and add the puppet module along side a yum repo
4. sync it to a smart proxy


ActiveRecord::RecordNotFound

Couldn't find Katello::Repository with 'id'=13

---
- "/opt/theforeman/tfm/root/usr/share/gems/gems/activerecord-6.0.3.4/lib/active_record/core.rb:177:in
  `find'" 
- "/opt/theforeman/tfm/root/usr/share/gems/gems/katello-4.0.0.pre.master/app/lib/actions/middleware/record_smart_proxy_sync_history.rb:6:in
  `run'" 
- "/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.7/lib/dynflow/middleware/stack.rb:23:in
  `call'" 
- "/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.7/lib/dynflow/middleware/stack.rb:27:in
  `pass'" 
- "/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.7/lib/dynflow/middleware.rb:19:in
  `pass'" 
- "/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.7/lib/dynflow/middleware.rb:32:in
  `run'" 
- "/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.7/lib/dynflow/middleware/stack.rb:23:in
  `call'" 
- "/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.7/lib/dynflow/middleware/stack.rb:27:in
  `pass'" 
- "/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.7/lib/dynflow/middleware.rb:19:in
  `pass'" 
- "/opt/theforeman/tfm/root/usr/share/gems/gems/katello-4.0.0.pre.master/app/lib/actions/middleware/remote_action.rb:16:in
  `block in run'" 
- "/opt/theforeman/tfm/root/usr/share/gems/gems/katello-4.0.0.pre.master/app/lib/actions/middleware/remote_action.rb:40:in
  `block in as_remote_user'" 
- "/opt/theforeman/tfm/root/usr/share/gems/gems/katello-4.0.0.pre.master/app/models/katello/concerns/user_extensions.rb:21:in
  `cp_config'" 
- "/opt/theforeman/tfm/root/usr/share/gems/gems/katello-4.0.0.pre.master/app/lib/actions/middleware/remote_action.rb:27:in
  `as_cp_user'" 
- "/opt/theforeman/tfm/root/usr/share/gems/gems/katello-4.0.0.pre.master/app/lib/actions/middleware/remote_action.rb:39:in
  `as_remote_user'" 
- "/opt/theforeman/tfm/root/usr/share/gems/gems/katello-4.0.0.pre.master/app/lib/actions/middleware/remote_action.rb:16:in
  `run'" 
- "/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.7/lib/dynflow/middleware/stack.rb:23:in
  `call'" 
- "/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.7/lib/dynflow/middleware/stack.rb:27:in
  `pass'" 
- "/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.7/lib/dynflow/middleware.rb:19:in
  `pass'" 
- "/opt/theforeman/tfm/root/usr/share/gems/gems/foreman-tasks-3.0.2/app/lib/actions/middleware/rails_executor_wrap.rb:14:in
  `block in run'" 
- "/opt/theforeman/tfm/root/usr/share/gems/gems/activesupport-6.0.3.4/lib/active_support/execution_wrapper.rb:88:in
  `wrap'" 
- "/opt/theforeman/tfm/root/usr/share/gems/gems/foreman-tasks-3.0.2/app/lib/actions/middleware/rails_executor_wrap.rb:13:in
  `run'" 
- "/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.7/lib/dynflow/middleware/stack.rb:23:in
  `call'" 
- "/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.7/lib/dynflow/middleware/stack.rb:27:in
  `pass'" 
Actions #1

Updated by The Foreman Bot about 4 years ago

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

Updated by Chris Roberts about 4 years ago

  • Target version set to Katello 3.18.1
  • Triaged changed from No to Yes
Actions #3

Updated by The Foreman Bot about 4 years ago

  • Fixed in Releases Katello 4.0.0 added
Actions #4

Updated by Justin Sherrill about 4 years ago

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

Updated by Justin Sherrill about 4 years ago

  • Bugzilla link set to 1912209
Actions

Also available in: Atom PDF