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

Also available in: Atom PDF