Project

General

Profile

Actions

Bug #9872

closed

Sat6 Content Hosts unusable after candlepin has an error in finding a unit

Added by Eric Helms about 9 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
High
Assignee:
Category:
API
Target version:
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1201818
Description of problem:
This issue is about the failure tolerance of Sat6 and not the Candlepin error.

Listing content hosts is not possible anymore once candlepin has an error that it cannot find a unit. The result is that managing any other content hosts(e.g. content view change) and its subscriptions in the UI is not possible and you cannot use Sat6 anymore.

time curl -K /opt/hoici/etc/sat6/curl-hoici.conf "-HContent-Type: application/json" "-d{\"per_page\":9999}" -XGET https://localhost/katello/api/v2/organizations/4/systems | jq . {
"errors": [
"Katello::Resources::Candlepin::Consumer: 410 Gone {\"displayMessage\":\"Unit fb3480f1-401a-42dc-aab6-d9d9674c4a7e has been deleted\",\"requestUuid\":\"4e48eef6-f70a-4adf-b2aa-d3ae967af02e\",\"deletedId\":\"fb3480f1-401a-42dc-aab6-d9d9674c4a7e\"} (GET /candlepin/consumers/fb3480f1-401a-42dc-aab6-d9d9674c4a7e)"
],
"displayMessage": "Katello::Resources::Candlepin::Consumer: 410 Gone {\"displayMessage\":\"Unit fb3480f1-401a-42dc-aab6-d9d9674c4a7e has been deleted\",\"requestUuid\":\"4e48eef6-f70a-4adf-b2aa-d3ae967af02e\",\"deletedId\":\"fb3480f1-401a-42dc-aab6-d9d9674c4a7e\"} (GET /candlepin/consumers/fb3480f1-401a-42dc-aab6-d9d9674c4a7e)"
}

real 0m41.867s
user 0m0.181s
sys 0m0.052s

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. Sat6 Content Hosts shall be more tolerant against errors in candlepin
2.
3.

Actual results:
Sat6 has become unusable.

Expected results:
Sat6 is still usable for other content hosts.

Additional info:

Actions #1

Updated by Eric Helms about 9 years ago

  • Category set to API
  • Target version set to 68
  • translation missing: en.field_release set to 23
  • Triaged changed from No to Yes
Actions #2

Updated by The Foreman Bot about 9 years ago

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

Updated by Eric Helms about 9 years ago

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

Also available in: Atom PDF