Project

General

Profile

Actions

Bug #12376

closed

import_package_groups rake task fails with ' uninitialized constant Katello::Pulp::PackageGroup::CONTENT_TYPE'

Added by Justin Sherrill about 9 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Category:
Upgrades
Target version:
Difficulty:
easy
Triaged:
Yes
Fixed in Releases:
Found in Releases:

Description

rake katello:upgrades:2.4:import_package_groups --trace

Importing Package Groups
rake aborted!
NameError: uninitialized constant Katello::Pulp::PackageGroup::CONTENT_TYPE
/home/vagrant/git/foreman/config/initializers/deprecations.rb:3:in `const_missing'
/home/vagrant/git/katello/app/services/katello/pulp/pulp_content_unit.rb:49:in `fetch'
/home/vagrant/git/katello/app/services/katello/pulp/pulp_content_unit.rb:28:in `fetch_all'
/home/vagrant/git/katello/app/models/katello/concerns/pulp_database_unit.rb:41:in `import_all'
/home/vagrant/git/katello/lib/katello/tasks/upgrades/2.4/import_package_groups.rake:8:in `block (4 levels) in <top (required)>'
/home/vagrant/.rvm/gems/ruby-2.0.0-p598/gems/rake-10.4.2/lib/rake/task.rb:240:in `call'
/home/vagrant/.rvm/g

Actions

Also available in: Atom PDF