Project

General

Profile

Feature #21007

Templates API to mark a build as failed

Added by Ivan Necas over 5 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Normal
Category:
Unattended installations
Target version:
Fixed in Releases:
Found in Releases:
Red Hat JIRA:

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

Related to Foreman - Feature #8780: Add a way to prevent reboot on failed deployDuplicate2014-12-22
Related to Foreman - Bug #24022: Encoding::UndefinedConversionError at failed hosts callClosed2018-06-20
Related to Foreman - Feature #24252: Intermediate provisioning stepRejected
Related to Smart Proxy - Feature #25390: Modify Templates API to proxy build as failedClosed

Associated revisions

Revision 67110766 (diff)
Added by Lukas Zapletal almost 5 years ago

Fixes #21007 - new unattended action 'failed'

Revision dd6b6f0b (diff)
Added by Lukas Zapletal about 4 years ago

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

#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

#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

Also available in: Atom PDF