Feature #21007
Templates 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.
Related issues
Associated revisions
Refs #21007 - new failed call for kickstarts
History
#1
Updated by Ivan Necas over 5 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
#2
Updated by Lukas Zapletal about 5 years ago
- Related to Feature #8780: Add a way to prevent reboot on failed deploy added
#3
Updated by The Foreman Bot about 5 years 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 about 5 years ago
- Pull request https://github.com/theforeman/community-templates/pull/461 added
#5
Updated by Lukas Zapletal almost 5 years ago
- % Done changed from 0 to 100
- Status changed from Ready For Testing to Closed
Applied in changeset 671107663166f18c102eb61f3f865186234e0cf0.
#6
Updated by Marek Hulán almost 5 years ago
- Legacy Backlogs Release (now unused) set to 353
#7
Updated by Timo Goebel almost 5 years ago
- Related to Bug #24022: Encoding::UndefinedConversionError at failed hosts call added
#8
Updated by Anonymous over 4 years ago
- Related to Feature #24252: Intermediate provisioning step added
#9
Updated by Ewoud Kohl van Wijngaarden over 4 years 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
#10
Updated by Lukas Zapletal over 4 years ago
- Related to Feature #25390: Modify Templates API to proxy build as failed added
Fixes #21007 - new unattended action 'failed'