Project

General

Profile

Bug #30314

pulp2 Debian sync starts with stacktraces

Added by Markus Bucher 4 months ago. Updated 4 months ago.

Status:
Closed
Priority:
Low
Assignee:
-
Category:
Repositories
Target version:
Difficulty:
Triaged:
Yes
Bugzilla link:

Description

When synchronizing a deb repository the log shows backtraces.

The error is not critical, but can fill up the log pretty bad if many sync-tasks are done regularilly.

2020-07-02T16:30:58 [E|bac|] Error in progress calculation
2020-07-02T16:30:58 [E|bac|] undefined method `>' for nil:NilClass (NoMethodError)
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.16.0.pre.master/app/lib/actions/pulp/repository/presenters/deb_presenter.rb:7:in `progress'
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.16.0.pre.master/app/lib/actions/pulp/repository/sync.rb:61:in `run_progress'
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.3/lib/dynflow/action/progress.rb:18:in `block in run'
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.3/lib/dynflow/action/progress.rb:34:in `ensure in with_progress_calculation'
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.3/lib/dynflow/action/progress.rb:33:in `with_progress_calculation'
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.3/lib/dynflow/action/progress.rb:17:in `run'
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.3/lib/dynflow/middleware/stack.rb:23:in `call'
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.3/lib/dynflow/middleware/stack.rb:27:in `pass'
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.3/lib/dynflow/middleware.rb:19:in `pass'

Associated revisions

Revision aab445d9 (diff)
Added by Markus Bucher 4 months ago

Fixes #30314 - Fix exception in deb sync progress

History

#1 Updated by The Foreman Bot 4 months ago

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

#2 Updated by The Foreman Bot 4 months ago

  • Fixed in Releases Katello 4.0.0 added

#3 Updated by Markus Bucher 4 months ago

  • Status changed from Ready For Testing to Closed

#4 Updated by John Mitsch 4 months ago

  • Triaged changed from No to Yes
  • Target version set to Katello 3.16.0
  • Category set to Repositories

Also available in: Atom PDF