Bug #19182

Updating an ostree repo causes ISE

Added by Partha Aji 3 months ago. Updated 3 months ago.

Status:Closed
Priority:Normal
Assigned To:Partha Aji
Category:OSTree
Target version:Team Tom - iteration 11
Difficulty: Pull request:https://github.com/Katello/katello/pull/6741, https://github.com/Katello/katello/pull/6733
Bugzilla link:
Story points-
Velocity based estimate-
ReleaseKatello 3.4.0Release relationshipAuto

Description

Updating any attribute of an ostree repo causes ISE with the following trace

2017-04-03T02:58:12 1f693ef5 [app] [E] NoMethodError: undefined method `ostree_publish_depth' for #<Katello::Repository:0x0000000b9eb398> | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/activemodel-4.2.8/lib/active_model/attribute_methods.rb:433:in `method_missing' | /home/vagrant/katello/app/models/katello/glue/pulp/repo.rb:281:in `generate_distributors' | /home/vagrant/katello/app/lib/actions/pulp/repository/refresh.rb:44:in `block in update_or_associate_distributors' | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/dynflow-0.8.23/lib/dynflow/execution_plan.rb:305:in `call' | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/dynflow-0.8.23/lib/dynflow/execution_plan.rb:305:in `switch_flow' | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/dynflow-0.8.23/lib/dynflow/action.rb:370:in `concurrence' | /home/vagrant/katello/app/lib/actions/pulp/repository/refresh.rb:41:in `update_or_associate_distributors'

Associated revisions

Revision 1c676303
Added by Partha Aji 3 months ago

fixes #19182 - Updates ostree repo correctly

When updating an OSTree repo one would encounter a stack trace saying
"undefined method `ostree_publish_depth'
This commit fixes that issue

History

#1 Updated by The Foreman Bot 3 months ago

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

#2 Updated by Partha Aji 3 months ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100

#3 Updated by The Foreman Bot 3 months ago

  • Pull request https://github.com/Katello/katello/pull/6741 added

Also available in: Atom PDF