Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1738815

Summary: [RFE] generate a notification if build is marked as failure
Product: Red Hat Satellite Reporter: Roman Plevka <rplevka>
Component: ProvisioningAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED WONTFIX QA Contact: Roman Plevka <rplevka>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: UnspecifiedCC: inecas, sokeeffe, sshtein
Target Milestone: UnspecifiedKeywords: FutureFeature
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-12-10 10:50:36 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Roman Plevka 2019-08-08 08:37:51 UTC
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:

Comment 3 Marek Hulan 2019-11-26 11:53:05 UTC
Created redmine issue https://projects.theforeman.org/issues/28361 from this bug

Comment 4 Sean O'Keeffe 2019-12-10 10:50:36 UTC
Thank you for your interest in Satellite 6. We have evaluated this request, and while we recognize that it is a valid request, we do not expect this to be implemented in the product in the foreseeable future. This is due to other priorities for the product, and not a reflection on the request itself. We are therefore closing this out as WONTFIX. If you have any concerns about this, please do not reopen. Instead, feel free to contact Red Hat Technical Support. Thank you.