Bug 1271500
Summary: | [RFE] Improve recovery in case candlepin and katello are out of sync | ||
---|---|---|---|
Product: | Red Hat Satellite | Reporter: | Peter Vreman <peter.vreman> |
Component: | Subscription Management | Assignee: | Tom McKay <tomckay> |
Status: | CLOSED ERRATA | QA Contact: | Chris Duryee <cduryee> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 6.1.2 | CC: | aperotti, bbuckingham, bkearney, cduryee, cwelton, daniele, ehelms, tomckay, xdmoon |
Target Milestone: | Unspecified | Keywords: | FutureFeature, Triaged |
Target Release: | Unused | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | tfm-rubygem-katello-3.0.0.0-1 | Doc Type: | Enhancement |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2016-07-27 11:36:51 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: | 260381, 1122832, 1353215 |
Description
Peter Vreman
2015-10-14 07:43:19 UTC
I expect that https://github.com/Katello/katello/pull/5536 addresses this issue. To test, I think, simply manually delete a consumer record in candlepin and see what blows up. If things recover nicely and/or katello:reindex resolves mismatch, then I would mark this BZ verified. (In reply to Peter Vreman from comment #1) > I expect that https://github.com/Katello/katello/pull/5536 addresses this > issue. That has been merged upstream. Any news on the topic? Customer is asking update. tested with snap 19.1 verified, steps were: * set up a sat6, register system to itself * edit /etc/candlepin/candlepin.conf: ** comment out "module.config.adapter_module=org.candlepin.katello.KatelloModule" ** change "candlepin.auth.basic.enable=false" to true * restart tomcat * run "curl -k https://localhost:8443/candlepin/admin/init" to create candlepin admin user * run "curl -k -u admin:admin https://localhost:8443/candlepin/consumers/" to grab the UUID of the consumer to delete * run "curl -k -u admin:admin -X DELETE 'https://localhost:8443/candlepin/consumers/<UUID>'" * undo your changes to candlepin.conf * katello-service restart After this, main content host page with list of content hosts was still operational. NOTE: there is a smaller bug in https://bugzilla.redhat.com/show_bug.cgi?id=1354555, which is related to the host not disappearing after a reindex and backend object cleaning. However, the overall content host page is not broken, so I am marking this as VERIFIED. 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:1501 |