[katello-devel] Katello Integrity Check script

Lukas Zapletal lzap at redhat.com
Wed Apr 4 11:43:52 UTC 2012


Hello,

I was investigating data integrity issue and I found non-trivial to
search differences between Katello and backend engine databases.
Therefore I have created a "debug" script which performs some
non-intrusive checks and prints the results to the output.

This is description and example how it works:

https://fedorahosted.org/katello/wiki/IntegrityCheckScript

Please feel free to add more checks. Currently it only compares
repositories in Katello and Pulp and prints those that are missing in
one, or the other.

The script cannot be run with a plain ruby interpreter, it uses rails
runner and must be executed in the /usr/share/katello as described on
the wiki. To create another checks, the easiest is to use "rails
console" to write them.

Hope you will like it.

-- 
Later,

 Lukas Zapletal | E32E400A
 RHN Satellite Engineering
 Red Hat Czech s.r.o. Brno




More information about the katello-devel mailing list