[Satellite6.6] Running "foreman-rake katello:reimport" on a Red Hat Satllite6.6 upgraded from Red Hat Satllite6.5 error with "NoMethodError: undefined method `pulp2_service_class' for nil:NilClass"

Solution Verified - Updated -


  • Running "katello:reimport" after upgrading a Red Hat Satllite6.5 to Red Hat Satllite6.6, errors:
[root@satellite ~]# foreman-rake katello:reimport
Importing Katello::Erratum
Importing Katello::PackageGroup
Importing Katello::PuppetModule
Importing Katello::Rpm
Importing Katello::Srpm
Importing Katello::ModuleStream
Importing Katello::YumMetadataFile
Importing Katello::Deb
rake aborted!
NoMethodError: undefined method `pulp2_service_class' for nil:NilClass
/opt/theforeman/tfm/root/usr/share/gems/gems/katello- `content_service'
/opt/theforeman/tfm/root/usr/share/gems/gems/katello- `import_all'
/opt/theforeman/tfm/root/usr/share/gems/gems/katello- `block (3 levels) in <top (required)>'
/opt/theforeman/tfm/root/usr/share/gems/gems/katello- `each'
/opt/theforeman/tfm/root/usr/share/gems/gems/katello- `block (2 levels) in <top (required)>'
/opt/rh/rh-ruby25/root/usr/share/gems/gems/rake-12.3.0/exe/rake:27:in `<top (required)>'
Tasks: TOP => katello:reimport


  • Red Hat Satellite 6.6

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In