Project

General

Profile

Feature #10724

Need a better rake katello:reindex

Added by Partha Aji almost 8 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Installer
Target version:
Difficulty:
Triaged:
Yes
Bugzilla link:
Fixed in Releases:
Found in Releases:
Red Hat JIRA:

Description

The current katello reindex has some of the following issues
1) Stops at the first object failure and does not continue indexing the rest
2) Does not provide debug information on what exact object failed

We need it to be little more useful that that.


Related issues

Related to Katello - Bug #10637: Reindex failsResolved2015-05-28

Associated revisions

Revision 7e246b83 (diff)
Added by Partha Aji almost 8 years ago

Fixes #10724 - Peppier katello:reindex

This commit modifies the outcome of rake katello:reindex in the
following ways

1) It does not stop the task at the first object indexing failure.
2) It prints useful information on the object that it was unable to
index.
3) It does not run reindex unless Katello::Ping works. This will ensure
that customers are not running rake katello:reindex in a half baked
environment.

In the case of Repos and Content Hosts it provides information like
Candlepin/Pulp/Foreman data was out of sync etc

Revision 4169c538
Added by Mike McCune almost 8 years ago

Merge pull request #5277 from parthaa/reindex

Fixes #10724 - Peppier katello:reindex

History

#1 Updated by The Foreman Bot almost 8 years ago

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

#2 Updated by Mike McCune almost 8 years ago

  • Bugzilla link set to 1229909

#3 Updated by Partha Aji almost 8 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100

#4 Updated by Eric Helms over 7 years ago

#5 Updated by Eric Helms over 7 years ago

  • Legacy Backlogs Release (now unused) set to 31
  • Triaged changed from No to Yes

Also available in: Atom PDF