Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.

Bug 1512881

Summary: [RFE] Implement a way to reset/fix stuck jobs without having to modify quartz DB directly.
Product: [Community] Candlepin Reporter: vritant <vrjain>
Component: candlepinAssignee: candlepin-bugs
Status: NEW --- QA Contact: Katello QA List <katello-qa-list>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 2.0CC: candlepin-bugs, katello-qa-list, redakkan, skallesh
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1512879 Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On: 1512879, 1512884    
Bug Blocks:    

Description vritant 2017-11-14 11:54:38 UTC
+++ This bug was initially created as a clone of Bug #1512879 +++

Hosted mode appears to be getting bitten by the following Quartz bug:

A PR has been in the queue for some time, but there's no action on getting it merged.

In hosted, certain jobs are getting stuck in the Blocked state and will no longer run. The workaround sited in the quartz issue seems to allow hosted to start functioning again. 

This RFE is to see if there is a way using the existing Quartz API that we can get these jobs out of this state without having to manually update the state in the quartz tables to get them going.