Bug 903442
Summary: | Temporary workaround for 807237 | ||
---|---|---|---|
Product: | [Retired] Beaker | Reporter: | Raymond Mancy <rmancy> |
Component: | scheduler | Assignee: | Raymond Mancy <rmancy> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 0.11 | CC: | asaha, dcallagh, ebaak, jkortus, mishin, qwan, rglasz, rmancy |
Target Milestone: | 0.11 | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | Misc | ||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2013-02-13 03:37:35 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
Raymond Mancy
2013-01-24 01:50:33 UTC
Perhaps a simple script admins can run on the server to check (and optionally correct) the state of all incomplete recipes? So, by default it would just list all the incomplete jobs and recipe sets where all tasks are actually complete, with a command line option to tell it to propagate the low-level state to overwrite the stale data at the higher levels. I've been using this to work around the problem: session.begin() jobs = Job.query.all() for job in jobs: print "JOB: %s Status: %s" % (job.id,job.status) if not job.is_finished(): print "Updating..." job.update_status() print "Finished." session.commit() Beaker 0.11.3 hot fix has been released. |