Project

General

Profile

Actions

Feature #13016

closed

Introduce job invocation state

Added by Marek Hulán almost 9 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Usability
Difficulty:
Triaged:
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 3 (1 open2 closed)

Related to Foreman Remote Execution - Feature #13020: Make job invocation state column sortableNew01/06/2016Actions
Related to Foreman Remote Execution - Feature #13038: Display status in hammer outputClosedMarek Hulán01/07/2016Actions
Blocks Foreman Remote Execution - Feature #12814: Ship some default job invocation search bookmarksClosedMarek Hulán12/14/2015Actions
Actions

Also available in: Atom PDF