| Summary: | Autosubscribe not finding subscriptions | ||
|---|---|---|---|
| Product: | [Community] Candlepin | Reporter: | J.C. Molet <jmolet> |
| Component: | candlepin | Assignee: | Bryan Kearney <bkearney> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | J.C. Molet <jmolet> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 0.5 | CC: | bkearney, spandey |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Solaris | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2012-05-30 20:44:14 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Bug Depends On: | |||
| Bug Blocks: | 568421 | ||
|
Description
J.C. Molet
2011-02-11 16:02:49 UTC
I tracked this down to attempting to subscribe to both a modifier product, and a product that it modifies, in the same REST call. In particular, it only happens if the pool containing the modifier product is attempted to be entitled to first. Forcing that pool to come first is nigh impossible, however, and depends upon the database ids of the pools. What happens is the modifier entitlement certificate is generated, then when the modifiee entitlement certificate is generated, candlepin goes back and sees that this consumer has an entitlement that will modify the current one. So it attempts to delete the modifier entitlement certificate from the db so that it may regenerate one that performs the modification. This deletion fails, as the cert has not yet been saved to the db. There's a fix for this in master now, commit d48ce0b99. It should be in candlepin-0.2.7-1 As of tests since subscription-manager-0.95.3, I have not been able to reproduce this bug, and auto-subscribe is working as expected. Group move of VERIFIED Candlepin component bugs to RELEASE_PENDING |