Bug 950895
Summary: | database error in schedule_queued_recipe causes beakerd to die: SAVEPOINT sa_savepoint_9 does not exist | ||
---|---|---|---|
Product: | [Retired] Beaker | Reporter: | Dan Callaghan <dcallagh> |
Component: | scheduler | Assignee: | Nick Coghlan <ncoghlan> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | tools-bugs <tools-bugs> |
Severity: | unspecified | Docs Contact: | |
Priority: | high | ||
Version: | 0.11 | CC: | asaha, dcallagh, llim, qwan, rglasz, rmancy, xjia |
Target Milestone: | 0.13 | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | Scheduler | ||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2013-06-25 06:27:39 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
Dan Callaghan
2013-04-11 07:27:46 UTC
Looking into this, what I suspect may be happening is that because of the deadlock, MySQL has thrown out our entire transaction, but beakerd is blissfully unaware of this and attempts to commit the no longer valid transaction and goes boom. We can mitigate the consequences by wrapping the commit in a try/except that just logs the error if it dies. I will also change the code so that we log any exceptions that escape the inner scheduling loop. On Gerrit: http://gerrit.beaker-project.org/#/c/1954/ Beaker 0.13.1 has been released. |