Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1418352 - Deprecate warning for our removal of katello:reindex in 6.2
Summary: Deprecate warning for our removal of katello:reindex in 6.2
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Content Management
Version: 6.2.7
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: Unspecified
Assignee: John Mitsch
QA Contact: jcallaha
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-02-01 15:44 UTC by Mike McCune
Modified: 2019-09-25 21:20 UTC (History)
7 users (show)

Fixed In Version: tfm-rubygem-katello-3.0.0.115-1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-05-01 14:28:44 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Mike McCune 2017-02-01 15:44:39 UTC
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.

Comment 4 John Mitsch 2017-02-23 14:13:25 UTC
Created redmine issue http://projects.theforeman.org/issues/18643 from this bug

Comment 6 jcallaha 2017-03-22 18:08:52 UTC
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

Comment 7 sthirugn@redhat.com 2017-03-22 18:16:13 UTC
(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

Comment 9 Bryan Kearney 2017-05-01 14:28:44 UTC
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

Comment 10 Bryan Kearney 2017-05-01 14:29:00 UTC
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


Note You need to log in before you can comment on or make changes to this bug.