rundeck / rundeck

Enable Self-Service Operations: Give specific users access to your existing tools, services, and scripts

Home Page:http://rundeck.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Unable to delete job

agobezy opened this issue · comments

Describe the bug
Trying to delete a job and getting a 500 error.

The error message is "could not execute statement; SQL [n/a]; constraint [FKdtqy2uar1ln372ne8u2jj27nw]; nested exception is org.hibernate.exception.ConstraintViolationException: could not execute statement"

My Rundeck detail

  • Rundeck version: 5.1.1-20240305
  • install type: rpm
  • OS Name/version: Ubuntu Server 20.04
  • DB Type/version: Postgres

To Reproduce
Steps to reproduce the behavior:

  1. Login > select Project
  2. Select job > Actions > Delete this job
  3. Delete Jobs > 500 error

Expected behavior
Delete the job without a 500 error

Screenshots
image

Additional context
Recently removed the node that the job belonged to

This issue will be resolved in the next release.

Check out: #9012