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

Projects
None yet
2 participants
@rocketeerbkw
Copy link
Member

rocketeerbkw commented Feb 13, 2019

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

Merge pull request #898 from amazeeio/896-fail-tasks-on-errors
Update task status to "failed" when services error out

@Schnitzel Schnitzel merged commit 4975d1f into master Feb 27, 2019

1 check passed

continuous-integration/jenkins/pr-merge This commit looks good
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.