Project

General

Profile

Feature #13016

Introduce job invocation state

Added by Marek Hulán over 6 years ago. Updated about 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Usability
Difficulty:
Triaged:
Bugzilla link:
Fixed in Releases:
Found in Releases:

Description

Part of #12814 was introducing a job invocation state. Currently we use state from foreman tasks which in job context is not ideal for searching (states like planning, planned, scheduled). We should define relevant states for job and use them in all helpers and views instead. We don't want to save state in DB though but rather create a mapping to foreman tasks state and result. We want to avoid another cached state (dynflow task state, foreman task state, execution state).

States relevant for job
  • queued - not started yet (executor did not create task / scheduled to future)
  • running - task exists and should be processed already
  • failed - final state with error
  • succeeded - final state with success (or even warning)

Related issues

Related to Foreman Remote Execution - Feature #13020: Make job invocation state column sortableNew2016-01-06
Related to Foreman Remote Execution - Feature #13038: Display status in hammer outputClosed2016-01-07
Blocks Foreman Remote Execution - Feature #12814: Ship some default job invocation search bookmarksClosed2015-12-14

Associated revisions

Revision 95c723b0 (diff)
Added by Marek Hulán over 6 years ago

Fixes #13016 - introduce job invocation status

Revision 4f6d01a8
Added by Marek Hulán over 6 years ago

Merge pull request #101 from ares/fix/13016

Fixes #13016 - introduce job invocation status

History

#1 Updated by Marek Hulán over 6 years ago

  • Blocks Feature #12814: Ship some default job invocation search bookmarks added

#2 Updated by The Foreman Bot over 6 years ago

  • Status changed from Assigned to Ready For Testing
  • Target version set to 97
  • Pull request https://github.com/theforeman/foreman_remote_execution/pull/101 added

#3 Updated by Marek Hulán over 6 years ago

  • Related to Feature #13020: Make job invocation state column sortable added

#4 Updated by Marek Hulán over 6 years ago

#5 Updated by Marek Hulán over 6 years ago

  • Legacy Backlogs Release (now unused) set to 109

#6 Updated by Marek Hulán over 6 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100

Also available in: Atom PDF