We renamed foreman-rake katello:reindex to katello:reimport with the 6.2.7 release. This is causing confusion for users and support and is more something we should have done in 6.3. Lets add a simple rake task in 6.2 that errors out with a warning stating to use katello:reimport so we can point people in the right direction.
Created redmine issue http://projects.theforeman.org/issues/18643 from this bug
Verified in Satellite 6.2.9 Snap 1 -bash-4.2# foreman-rake katello:reindex /opt/theforeman/tfm/root/usr/share/gems/gems/foreman_theme_satellite-0.1.42/app/models/concerns/satellite_packages.rb:4: warning: already initialized constant Katello::Ping::PACKAGES /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.0.117/app/models/katello/ping.rb:7: warning: previous definition of PACKAGES was here Importing Katello::Erratum Importing Katello::PackageGroup Importing Katello::PuppetModule Importing Katello::Rpm Importing Katello::Subscription Importing Katello::Pool Importing Katello::DockerManifest Importing Katello::DockerTag Importing Katello::ContentViewPuppetEnvironment Importing Katello::OstreeBranch Importing Activation Key Subscriptions DEPRECATION WARNING: katello:reindex is now katello:reimport, katello:reindex will be removed in 6.3
(In reply to jcallaha from comment #6) > Verified in Satellite 6.2.9 Snap 1 > > -bash-4.2# foreman-rake katello:reindex > /opt/theforeman/tfm/root/usr/share/gems/gems/foreman_theme_satellite-0.1.42/ > app/models/concerns/satellite_packages.rb:4: warning: already initialized > constant Katello::Ping::PACKAGES > /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.0.117/app/models/ > katello/ping.rb:7: warning: previous definition of PACKAGES was here > Importing Katello::Erratum > Importing Katello::PackageGroup > Importing Katello::PuppetModule > Importing Katello::Rpm > Importing Katello::Subscription > Importing Katello::Pool > Importing Katello::DockerManifest > Importing Katello::DockerTag > Importing Katello::ContentViewPuppetEnvironment > Importing Katello::OstreeBranch > Importing Activation Key Subscriptions > DEPRECATION WARNING: katello:reindex is now katello:reimport, > katello:reindex will be removed in 6.3 The text should be perhaps s/6.3/Satellite 6.3
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2017:1191