Project

General

Profile

Actions

Feature #28361

open

generate a notification if build is marked as failure

Added by Marek Hulán over 4 years ago. Updated about 4 years ago.

Status:
Ready For Testing
Priority:
Normal
Category:
Unattended installations
Target version:
-
Difficulty:
Triaged:
No
Fixed in Releases:
Found in Releases:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1738815

Description of problem:
RFE BZ#1490850 implemented a mechanism of marking the build as failed sooner than the token times-out by reporting the status back to foreman.

When the build is marked as failed this way, it does not generate a notification.
If the build passes, a proper notification is generated.
It would be useful to be notified when the build fails.

Version-Release number of selected component (if applicable):
sat6.6.0

How reproducible:

Steps to Reproduce:
1. modify the kickstart default template to return a non-zero return code in the <%post> section check to provoke foreman to mark build as passed
2. provision a host using the kickstart default template
3. make sure the host details show the build as Failed after the host is provisioned
4. observe there's no notification generated for this event

Actual results:
no notification

Expected results:
a proper notification is generated

Additional info:


Related issues 1 (1 open0 closed)

Related to Foreman - Feature #28494: Create notification when host token expiredNewActions
Actions #1

Updated by Ondřej Pražák over 4 years ago

  • Related to Feature #28494: Create notification when host token expired added
Actions #2

Updated by The Foreman Bot over 4 years ago

  • Status changed from New to Ready For Testing
  • Assignee set to Ondřej Pražák
  • Pull request https://github.com/theforeman/foreman/pull/7247 added
Actions

Also available in: Atom PDF