Project

General

Profile

Actions

Feature #21007

closed

Templates API to mark a build as failed

Added by Ivan Necas about 7 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Category:
Unattended installations
Target version:
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 4 (0 open4 closed)

Related to Foreman - Feature #8780: Add a way to prevent reboot on failed deployDuplicate12/22/2014Actions
Related to Foreman - Bug #24022: Encoding::UndefinedConversionError at failed hosts callClosedLukas Zapletal06/20/2018Actions
Related to Foreman - Feature #24252: Intermediate provisioning stepRejectedActions
Related to Smart Proxy - Feature #25390: Modify Templates API to proxy build as failedClosedLukas ZapletalActions
Actions #1

Updated by Ivan Necas about 7 years 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
Actions #2

Updated by Lukas Zapletal over 6 years ago

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

Updated by The Foreman Bot over 6 years ago

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

Updated by The Foreman Bot over 6 years ago

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

Updated by Lukas Zapletal over 6 years ago

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

Updated by Marek Hulán over 6 years ago

  • Translation missing: en.field_release set to 353
Actions #7

Updated by Timo Goebel over 6 years ago

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

Updated by Anonymous over 6 years ago

Actions #9

Updated by Ewoud Kohl van Wijngaarden over 6 years ago

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

Updated by Lukas Zapletal about 6 years ago

  • Related to Feature #25390: Modify Templates API to proxy build as failed added
Actions

Also available in: Atom PDF