Templates API to to mark a build as failed
|Triaged:||Fixed in Releases:|
|Bugzilla link:||1490850||Found in Releases:|
|Pull request:||https://github.com/theforeman/community-templates/pull/461, https://github.com/theforeman/foreman/pull/5292|
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.
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.