Project

General

Profile

Bug #9915

rake clean_backend_objects fails with error

Added by Justin Sherrill almost 8 years ago. Updated over 4 years ago.

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

Description


no error — just a long exception "exception when destroying candlepin consumer 2f86ed42-f840-49e8-9c75-d3671fb38237:Katello::Resources::Candlepin::Consumer: 500 Internal
Server Error {\"displayMessage\":\"Runtime Error null at org.candlepin.service.impl.DefaultIdentityCertServiceAdapter.deleteIdentityCert:6
9\",\"requestUuid\":\"56b221d5-a292-48d9-94c9-46e6c2a455e9\"} (DELETE /candlepin/consumers/2f86ed42-f840-49e8-9c75-d3671fb38237): {\"displayMessage\":\"Runtime Error null at
org.candlepin.service.impl.DefaultIdentityCertServiceAdapter.deleteIdentityCert:69\",\"requestUuid\":\"56b221d5-a292-48d9-94c9-46e6c2a455e9\"}"

this is due to there being 'ubercert' consumers that cannot be deleted properly

Associated revisions

Revision d2cc576e (diff)
Added by Eric Helms almost 8 years ago

Fixes #9915: Backend cleanup script handles uebercert and hypervisors.

When an uebercert is generated Candlepin generates a consumer. If
a user runs the cleanup script we don't want to attempt to delete
as it leads to errors and is not a consumer we manage directly.
Also, we previously were preventing deletion of Hypervisors due
in part to the errors that the script would generate since Hypervisors
do not create corresponding Pulp consumers.

Revision a5e352a1
Added by Eric Helms almost 8 years ago

Merge pull request #5172 from ehelms/fixes-9915

Fixes #9915: Backend cleanup script handles uebercert and hypervisors.

History

#1 Updated by Justin Sherrill almost 8 years ago

  • Bugzilla link set to 1206340

#2 Updated by Eric Helms almost 8 years ago

  • Target version deleted (68)

#3 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/5172 added
  • Pull request deleted ()

#4 Updated by Eric Helms almost 8 years ago

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

Also available in: Atom PDF