Bug 1101402
| Summary: | if createrepo fails Beaker should do its best to clean things up | ||
|---|---|---|---|
| Product: | [Retired] Beaker | Reporter: | Dan Callaghan <dcallagh> |
| Component: | general | Assignee: | Dan Callaghan <dcallagh> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | tools-bugs <tools-bugs> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 0.16 | CC: | aigao, asaha, dcallagh, drohwer, jhutar, rmancy, xma |
| Target Milestone: | 0.17 | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2014-06-10 23:28:23 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
2014-05-27 06:45:29 UTC
Most important one is the /var/www/beaker/rpms/.repodata directory which is created by createrepo_c. We should check for other temp files/directories, and also check what naming scheme createrepo uses as well. I still haven't figured out what is causing createrepo_c to be killed with SIGHUP but this should be an acceptable bandaid solution. On Gerrit: http://gerrit.beaker-project.org/3121 This bug fix has been applied to the release-0.16 branch, however we have elected not to do another maintenance release of the 0.16.x series. This fix will be included in 0.17.0 instead. Suggested steps for verification: 1. Upload a task to Beaker 2. On the Beaker server, wait for the createrepo_c process to be started and then: killall -9 createrepo_c 3. Task upload should fail with an XML-RPC fault. 4. Try task upload again, it should succeed. Beaker 0.17.0 has been released. |