Bug 1372708
| Summary: | dynflow may not start with many tasks in pending state, may segfault | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | Red Hat Satellite | Reporter: | Chris Duryee <cduryee> | ||||||
| Component: | Tasks Plugin | Assignee: | satellite6-bugs <satellite6-bugs> | ||||||
| Status: | CLOSED ERRATA | QA Contact: | jcallaha | ||||||
| Severity: | medium | Docs Contact: | |||||||
| Priority: | high | ||||||||
| Version: | 6.2.0 | CC: | bbuckingham, bkearney, chrobert, daniele, inecas, jcallaha, kdixon, mmccune, oshtaier, pdwyer, rplevka, unwosu, zhunting | ||||||
| Target Milestone: | Unspecified | Keywords: | PrioBumpField, Triaged | ||||||
| Target Release: | Unused | ||||||||
| Hardware: | Unspecified | ||||||||
| OS: | Unspecified | ||||||||
| Whiteboard: | |||||||||
| Fixed In Version: | tfm-rubygem-dynflow-0.8.13.3-2 | Doc Type: | If docs needed, set a value | ||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | |||||||||
| : | 1406080 (view as bug list) | Environment: | |||||||
| Last Closed: | 2017-01-26 10:42:05 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: | |||||||||
| Bug Depends On: | |||||||||
| Bug Blocks: | 1406080 | ||||||||
| Attachments: |
|
||||||||
|
Description
Chris Duryee
2016-09-02 12:45:40 UTC
proposed fix: https://github.com/Dynflow/dynflow/pull/198 Created redmine issue http://projects.theforeman.org/issues/16486 from this bug Verified in Satellite 6.2.7 Snap 3. I used 328 simultaneous paused repo syncs to test this bug. Verification steps are below. The tasks immediately started being handled when the foreman-tasks service was restarted. Due to the amount of repo syncs it took approximately 6 hours to process them all. 1. systemctl stop pulp_workers 2. start a large number of repository sync tasks. - You can use this url for repo discovery http://pubmirror1.math.uh.edu/fedora-buffet/fedora/linux/ 3. wait for all tasks to move into pending state 4. query number of pending tasks (see attached screenshot 1) 5. systemctl stop foreman-tasks 6. systemctl start pulp_workers && systemctl start foreman-tasks 7. watch the pending sync tasks drop off the query (see attachment 2 [details]) Created attachment 1244141 [details]
screenshot 1
Created attachment 1244142 [details]
screenshot 2
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2017:0197 |