Project

General

Profile

Feature #21007

Templates API to mark a build as failed

Added by Ivan Necas about 1 year ago. Updated about 1 month ago.

Status:
Closed
Priority:
Normal
Category:
Unattended installations
Target version:
Team Backlog:
Ivan
Fixed in Releases:
Found in Releases:

Description

If there is an error during the kickstart process there is currently no way to notify Satellite that the build has failed. Currently the only option is to just not notify that the build completed.

Suggested Enhancement:

Add a state to the build process of "Failed" or "Errored" and have an API call that a kickstart can make back to Satellite to indicate that the build has failed/errored.

The API call would be rendered in the template similarly as there is the foreman_url. Perhaps something lke foreman_url('built','fail', :message => "Failed to install puppet") that would allow achieving this.


Related issues

Related to Foreman - Feature #8780: Add a way to prevent reboot on failed deployDuplicate2014-12-22
Related to Foreman - Bug #24022: Encoding::UndefinedConversionError at failed hosts callClosed2018-06-20
Related to Foreman - Feature #24252: Intermediate provisioning stepRejected

Associated revisions

Revision 67110766 (diff)
Added by Lukas Zapletal 3 months ago

Fixes #21007 - new unattended action 'failed'

History

#1 Updated by Ivan Necas 12 months ago

  • Subject changed from Templates API to to mark a build as failed to Templates API to to mark a build as failed
  • Target version set to 113

#2 Updated by Lukas Zapletal 7 months ago

  • Related to Feature #8780: Add a way to prevent reboot on failed deploy added

#3 Updated by The Foreman Bot 7 months ago

  • Assignee set to Lukas Zapletal
  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/5292 added

#4 Updated by The Foreman Bot 7 months ago

  • Pull request https://github.com/theforeman/community-templates/pull/461 added

#5 Updated by Lukas Zapletal 3 months ago

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

#6 Updated by Marek Hulán 3 months ago

  • Legacy Backlogs Release (now unused) set to 353

#7 Updated by Timo Goebel 3 months ago

  • Related to Bug #24022: Encoding::UndefinedConversionError at failed hosts call added

#8 Updated by Michael Moll 2 months ago

#9 Updated by Ewoud Kohl van Wijngaarden about 1 month ago

  • Triaged set to No
  • Subject changed from Templates API to to mark a build as failed to Templates API to mark a build as failed

Also available in: Atom PDF