Bug 829485
Summary: | errata.clone and errata.cloneAsOriginal times out with 503 Service Temporarily Unavailable when errate list > 50 items | ||
---|---|---|---|
Product: | [Community] Spacewalk | Reporter: | Stephen Herr <sherr> |
Component: | API | Assignee: | Stephen Herr <sherr> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Red Hat Satellite QA List <satqe-list> |
Severity: | high | Docs Contact: | |
Priority: | high | ||
Version: | 1.8 | CC: | cperry, csuleski, dtrainor, mhuth, mmello, nigjones, prutledg, slukasik, tlestach, xdmoon |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | spacewalk-java-1.8.98-1 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | 745688 | Environment: | |
Last Closed: | 2012-11-01 16:21:13 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | 745688, 838672 | ||
Bug Blocks: | 871344 |
Description
Stephen Herr
2012-06-06 21:17:00 UTC
I have created two new API methods that clone errata asynchronously, cloneAsync() and cloneAsOriginalAsync(). These methods will enqueue the errata cloning and return, and will not wait for the actual cloning to occur. I have also updated the spacewalk-clone-by-date script to include a --background option, which will use the asynchronous methods instead of the synchronous ones. Committed to Spacewalk git: faee056b1eacf35b36d34a79c2aaaffb58c0255e and 85b1ab06a230843ccd263cb626b84c0ac6f59f00 updated man page ^ and 24e19395e13ddc8d88dcbeace669db62e388bdec (fixed typo) and 32b55cbe8222607a9c8f59d109f3f90ed96e1fee This commit fixes some database issues. This commit fixes the last of the known issues, the deadlock if you try to schedule a synchronous job while the asyncrhonous jobs are happening in the background. Instead of a deadlock the user is presented with an error and told to wait a little while. 7713d370ccb509980056ecd18a5846960f964458 Moving ON_QA. Packages that address this bugzilla should now be available in yum repos at http://yum.spacewalkproject.org/nightly/ Spacewalk 1.8 has been released: https://fedorahosted.org/spacewalk/wiki/ReleaseNotes18 |