Project

General

Profile

Actions

Feature #13016

closed

Introduce job invocation state

Added by Marek Hulán about 8 years ago. Updated over 5 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 #1

Updated by Marek Hulán about 8 years ago

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

Updated by The Foreman Bot about 8 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
Actions #3

Updated by Marek Hulán about 8 years ago

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

Updated by Marek Hulán about 8 years ago

Actions #5

Updated by Marek Hulán about 8 years ago

  • translation missing: en.field_release set to 109
Actions #6

Updated by Marek Hulán about 8 years ago

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

Also available in: Atom PDF