Bug 1320557
Summary: | unregistering a Content Host can pause ListenOnCandlepinEvents with Candlepin::Consumer: 410 Gone error | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Satellite | Reporter: | Pavel Moravec <pmoravec> | ||||
Component: | Tasks Plugin | Assignee: | Tomas Strachota <tstrachota> | ||||
Status: | CLOSED ERRATA | QA Contact: | Kedar Bidarkar <kbidarka> | ||||
Severity: | high | Docs Contact: | |||||
Priority: | high | ||||||
Version: | 6.1.7 | CC: | bbuckingham, bcourt, bkearney, chrobert, ealcaniz, kbidarka, ktordeur, mmccune, sthirugn, tstrachota, xdmoon | ||||
Target Milestone: | Unspecified | Keywords: | Triaged | ||||
Target Release: | Unused | ||||||
Hardware: | x86_64 | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | |||||||
: | 1325879 (view as bug list) | Environment: | |||||
Last Closed: | 2016-05-17 05:33:01 UTC | Type: | Bug | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Bug Depends On: | |||||||
Bug Blocks: | 1325879 | ||||||
Attachments: |
|
Description
Pavel Moravec
2016-03-23 13:44:03 UTC
Present also in 6.1.8 An alternative way to fixing the race/concurrency condition in katello would be to prevent candlepin in generating and sending the (just deleted) consumer compliance. Consumer deletion triggers entitlements deletion what triggers back compliance computation for the just deleted consumer - the latest is ridiculous and sending the compliance.create message to katello in fact triggers the race condition there. Created attachment 1156316 [details]
hotfix patch
== HOTFIX INSTRUCTIONS == 1) Download 1320557-001.patch from this bug 2) Copy to: cp 1320557-001.patch /opt/rh/ruby193/root/usr/share/gems/gems/katello-`rpm -q --queryformat '%{VERSION}\n' ruby193-rubygem-katello` 3) Patch: patch -p1 < 1320557-001.patch 4) restart: katello-service restart I ran the script in loop for almost an hour and nothing seen, also the dynflow tasks was clean. VERIFIED With sat6.1.9 compose1 Need to test is properly, re-opening this bug. Also tested by grepping for "410 Gone" This issue is no longer seen with sat6.1.9 compose1 Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2016:1084 |