Skip to content
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

Update task status to "failed" when services error out #898

Merged
merged 2 commits into from
Feb 27, 2019

Conversation

rocketeerbkw
Copy link
Member

Checklist

  • Affected Issues have been mentioned in the Closing issues section
  • Changelog entry has been written

The current task system uses existing openshift pods as a source for creating new openshift job pods. If the pods are idled, the task system will not find a running pod of the correct service and the openshiftjob service will bail out. This could leave the task in "active" status forever.

This PR updates the status of the task to "failed" when this, or other final errors, occur.

Changelog Entry

Bugfix - Update task status to "failed" when services error out (#896)

Closing issues

closes #896

Schnitzel added a commit that referenced this pull request Feb 26, 2019
Update task status to "failed" when services error out
@Schnitzel Schnitzel merged commit 4975d1f into master Feb 27, 2019
@rocketeerbkw rocketeerbkw deleted the 896-fail-tasks-on-errors branch March 25, 2019 21:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Fail Task if openshiftjob could not find a pod for the requested service
2 participants