diff --git a/lib/katello/tasks/clean_backend_objects.rake b/lib/katello/tasks/clean_backend_objects.rake index 5eacf5c266d..bd63e09de5f 100644 --- a/lib/katello/tasks/clean_backend_objects.rake +++ b/lib/katello/tasks/clean_backend_objects.rake @@ -21,6 +21,7 @@ namespace :katello do Katello::System.index.remove system system.system_activation_keys.destroy_all system.system_host_collections.destroy_all + system.system_errata.destroy_all system.delete end end