New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Jobs continue to run after service restart. #7139
Comments
Confirmed following the @jvermillion-identifi steps. On 3.3.3: On 3.3.11 (the execution bar stucks): service.log output:
Happening on 3.4.0: Thanks for the feedback @jvermillion-identifi! |
Got the same problem on certains jobs on 3.3.11 and 3.4.0. in service.log ; I can see an "error parsing JSON" while trying to delete the execution even if the job seems to still running. I have no "dead" process on the instance. (Edit) By comparing an already succeeded and one still running, you can see there's no date_completed (set to NULL) and the status is "running".
In this example, I've make it work by UPDATE those values with a later date and change the status to "succeeded" UPDATE execution SET status = "succeeded" where id = "309173"; I hope it'll works for you. |
This has happened to me too. Rundeck 3.3.12. It is really annoying. In my environment I have several jobs scheduled to run very often and the AWS instance where Rundeck is running (only servide, the DB is persisten in RDS) may be redeployed at will. Sometimes when the instance gets redeployed lost of "running" jobs get stuck and start to pile up. |
Rundeck 3.4.4 still experiences this. Don't know what to do with it. |
Same behaviour on 3.4.1 |
Seems like a fairly serious bug why hasn't it been fixed yet. I've had to create my own work around using the rundeck cli tool.
|
In an effort to focus on bugs and issues that impact currently supported versions of Rundeck, we have elected to notify GitHub issue creators if their issue is classified as stale and close the issue. An issue is identified as stale when there have been no new comments, responses or other activity within the last 12 months. If a closed issue is still present please feel free to open a new Issue against the current version and we will review it. If you are an enterprise customer, please contact your Rundeck Support to assist in your request. |
We are still seeing this bug on Rundeck 4.12.1. |
Still happening in 5.0.0.20231216-1. |
Describe the bug
Recently upgraded from 3.3.3 to 3.3.11.
When restarting the Rundeck service after the Web GUI stops responding jobs that are currently running continue to run after the restart. The work the jobs are doing has been completed but Rundeck still shows the job in a running state. Previously in 3.3.3 Rundeck would mark all jobs running when service restarted as "Incomplete".
The jobs running prevent future scheduled executions from running and have to be manually killed as they won't end on their own.
IRC chat support (MegaDrive) suggested this was a bug.
My Rundeck detail
Rundeck version: 3.3.11
install type: Deb
OS Name/version: Debian 4.9
DB Type/version: mssql
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Previously jobs used to get marked incomplete.
Screenshots
N/A
Desktop (please complete the following information):
N/A
Additional context
Attaching service.log at time of issue. Approx 3:05PM EST 06/24/2021
service.log
The text was updated successfully, but these errors were encountered: