Bug #17042

Failed orchestration steps are not logged

Added by Lukas Zapletal over 1 year ago. Updated 8 days ago.

Status:Closed
Priority:Normal
Assignee:Lukas Zapletal
Category:Orchestration
Target version:1.14.1
Difficulty: Team Backlog:
Triaged: Fixed in Releases:
Bugzilla link: Found in Releases:
Pull request:https://github.com/theforeman/foreman/pull/3959

Description

If an orchestration step returns false, the task is marked as "failed" but nothing is logged:

Delete the autosign entry for xyz.example.com
(failed task)
(nothing appears in logs)

We should log these with ERROR log level.

Associated revisions

Revision 2f7a4985
Added by Lukas Zapletal over 1 year ago

Fixes #17042 - add logging of task statuses after orchestration

Revision add80afa
Added by Lukas Zapletal over 1 year ago

Fixes #17042 - add logging of task statuses after orchestration

(cherry picked from commit 2f7a49850c36d5a4ce06e9f8b2fe891c78434238)

History

#1 Updated by The Foreman Bot over 1 year ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/3959 added

#2 Updated by Daniel Lobato Garcia over 1 year ago

  • Target version set to 1.5.2

#3 Updated by Lukas Zapletal over 1 year ago

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

#4 Updated by Dominic Cleal over 1 year ago

  • Legacy Backlogs Release (now unused) set to 210

#5 Updated by Daniel Lobato Garcia over 1 year ago

  • Target version changed from 1.5.2 to 1.4.3

Also available in: Atom PDF