Actions
Feature #21007
closedTemplates API to mark a build as failed
Status:
Closed
Priority:
Normal
Assignee:
Category:
Unattended installations
Target version:
Difficulty:
Triaged:
No
Bugzilla link:
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.
Actions