Bug 1400579 - Jobs with status "WAITING" never get processed
Summary: Jobs with status "WAITING" never get processed
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Candlepin
Classification: Community
Component: candlepin
Version: 0.9.51
Hardware: Unspecified
OS: Unspecified
medium
low
Target Milestone: ---
: ---
Assignee: candlepin-bugs
QA Contact: Katello QA List
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-12-01 14:18 UTC by Shayne Riley
Modified: 2017-08-01 18:50 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-08-01 18:50:30 UTC


Attachments (Terms of Use)

Description Shayne Riley 2016-12-01 14:18:28 UTC
Description of problem:

If there is a job in the queue marked "WAITING", it will never get processed until candlepin is restarted.


Version-Release number of selected component (if applicable):
0.9.51.20


How reproducible:
Always


Steps to Reproduce:
1. Create two identical jobs, one immediately after the other. For example, create two jobs to refresh the pools of a specific owner. Make note of both of the job ids.
2. Poll the first job until its status reads "FINISHED"
3. Poll the second job. Its status will always be "WAITING"

Actual results:
The job marked "WAITING" never gets processed.


Expected results:
The job gets processed if the queue isn't too full and the first job is completed.


Note You need to log in before you can comment on or make changes to this bug.