Bug 1017391
Summary: | CONSTRAINT `FK278CE8101186666B` Exception | ||
---|---|---|---|
Product: | [Community] Candlepin | Reporter: | Dennis Crissman <dcrissman> |
Component: | candlepin | Assignee: | Jesus M. Rodriguez <jesusr> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Katello QA List <katello-qa-list> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 0.9 | CC: | dcrissman, dgoodwin, jesusr |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2014-02-07 16:25:14 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: |
Description
Dennis Crissman
2013-10-09 19:01:55 UTC
Constraint violation during hypervisor checkin, but how that could try to refer to a consumer ID that doesn't exist is beyond me. there is another bug that occurred where hosted schema had a not null constraint on username for cp_consumer. HypervisorResource does not set the username when it attempts to create a Consumer. My theory is the creation of the Consumer failed, so when the facts were trying to get stored the constraint was violated, causing the above exception. 1st thing is hosted schema should be changed to allow username to be null like the default candlepin schema is. I suspect that would fix both cases. With hosted using liquibase now, we are in sync. closing current release. |