Bug 1607886
| Summary: | Upgrade from 6.3 to 6.4 failed at Upgrade Step: set_upstream_pool_id | |||
|---|---|---|---|---|
| Product: | Red Hat Satellite | Reporter: | Nikhil Kathole <nkathole> | |
| Component: | Subscription Management | Assignee: | Partha Aji <paji> | |
| Status: | CLOSED ERRATA | QA Contact: | Nikhil Kathole <nkathole> | |
| Severity: | high | Docs Contact: | ||
| Priority: | unspecified | |||
| Version: | 6.4 | CC: | bcourt, inecas, khowell, nkathole | |
| Target Milestone: | 6.4.0 | Keywords: | Triaged, Upgrades | |
| Target Release: | Unused | |||
| Hardware: | Unspecified | |||
| OS: | Unspecified | |||
| Whiteboard: | ||||
| Fixed In Version: | tfm-rubygem-katello-3.7.0.9-1 | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 1608426 (view as bug list) | Environment: | ||
| Last Closed: | 2018-10-16 19:26:50 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: | 1608426 | |||
| Bug Blocks: | ||||
|
Description
Nikhil Kathole
2018-07-24 13:36:53 UTC
Kevin and Bcourt... I need help with this.
Katello is making a request to candlepin:
GET /candlepin/pools/29b8d2cd581a95a30158876f68e00c4f/entitlements?include="consumer.uuid"
And this request is taking a LONG time. It seems like close to an hour. After adding some debugging i discovered that candlepin is returning:
{"displayMessage"=>"OAuth problem encountered. Internal message is: timestamp_refused", "requestUuid"=>"5ab28817-cc3a-4826-957f-fd6af5608e95"}
Other pools seem to return with no issue. I tried adding paging:
/candlepin/pools/29b8d2cd581a95a30158876f68e00c4f/entitlements?per_page=100&page=1
with the same result. There are ~12,000 consumers attached to this pool, but watching 'top' i see postgresql take quite a bit of cpu for a very short time (just a second or so as expected), but then java takes 200-300% cpu for the full hour.
I'm removing the needinfo as BZ's have been opened upstream to track the work to either fix this in candlepin or provide an alternate API. Created redmine issue https://projects.theforeman.org/issues/24436 from this bug Moving the bugzilla to POST. The candlepin changes have been completed and are in builds upstream. The katello changes have been completed, tested and merged upstream. VERIFIED Version tested: Satellite 6.4 snap 15 upgrade is successful with respective db. 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/RHSA-2018:2927 |