Project

General

Profile

Bug #26870

error updating a yum repo "can't write unknown attribute `capsule_id`"

Added by Justin Sherrill 5 months ago. Updated 5 months ago.

Status:
Closed
Priority:
Normal
Category:
Repositories
Target version:
Difficulty:
Triaged:
Yes
Bugzilla link:
Fixed in Releases:
Found in Releases:

Description

can't write unknown attribute `capsule_id` (ActiveModel::MissingAttributeError)
/home/vagrant/.rvm/gems/ruby-2.5.1/gems/activemodel-5.2.1/lib/active_model/attribute.rb:207:in `with_value_from_database'
/home/vagrant/.rvm/gems/ruby-2.5.1/gems/activemodel-5.2.1/lib/active_model/attribute_set.rb:57:in `write_from_user'
/home/vagrant/.rvm/gems/ruby-2.5.1/gems/activerecord-5.2.1/lib/active_record/attribute_methods/write.rb:51:in `_write_attribute'
/home/vagrant/.rvm/gems/ruby-2.5.1/gems/activerecord-5.2.1/lib/active_record/attribute_methods/write.rb:45:in `write_attribute'
/home/vagrant/.rvm/gems/ruby-2.5.1/gems/activerecord-5.2.1/lib/active_record/attribute_methods.rb:410:in `[]='
/home/vagrant/git/katello/app/lib/actions/pulp/repository/refresh.rb:11:in `plan'
/home/vagrant/.rvm/gems/ruby-2.5.1/gems/dynflow-1.2.3/lib/dynflow/action.rb:492:in `block (3 levels) in execute_pla


Related issues

Related to Katello - Feature #26238: Update a file repository with pulp3Closed

Associated revisions

Revision 4b11f18a (diff)
Added by Justin Sherrill 5 months ago

Fixes #26870 - properly adapt repo update task

as part of a recent refactoring, the pulp2 repo update
task was being called improperly. This adds an adapter action
in the orchestration layer.

History

#1 Updated by Justin Sherrill 5 months ago

  • Related to Feature #26238: Update a file repository with pulp3 added

#2 Updated by The Foreman Bot 5 months ago

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

#3 Updated by Andrew Kofink 5 months ago

  • Triaged changed from No to Yes
  • Target version set to Katello 3.13.0

#4 Updated by Justin Sherrill 5 months ago

  • Status changed from Ready For Testing to Closed

Also available in: Atom PDF