Bug #9872
closedSat6 Content Hosts unusable after candlepin has an error in finding a unit
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:
Updated by Eric Helms almost 10 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
Updated by The Foreman Bot almost 10 years ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/Katello/katello/pull/5130 added
- Pull request deleted (
)
Updated by Eric Helms almost 10 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset katello|2e21704f0886a8da91fc9c38b89ebf83b41b8f7c.