Bug 1403979

Summary: [RFE] Add Insights notification emails to Satellite
Product: Red Hat Satellite Reporter: Lindani Phiri <lphiri>
Component: RH Cloud - InsightsAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED ERRATA QA Contact: Bruno Rocha <rochacbruno>
Severity: high Docs Contact:
Priority: unspecified    
Version: 6.3.0CC: amdas, bbuckingham, bkearney, chenders, gapatil, jcallaha, lphiri, robwilli, rochacbruno, zhunting
Target Milestone: UnspecifiedKeywords: FutureFeature, Reopened, Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: rubygem-foreman-redhat_access-1.0.15-1, rubygem-redhat_access_lib-1.0.6-1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1417120 (view as bug list) Environment:
Last Closed: 2017-05-01 14:35:02 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:
Bug Depends On:    
Bug Blocks: 1417120    
Attachments:
Description Flags
Insights email received none

Description Lindani Phiri 2016-12-12 19:20:03 UTC
Currently, Insights notification emails are only sent to Insights users who have Customer Portal accounts.

The majority of Satellite users do not have portal accounts and expect email notifications to be sent to email address associated with the their Satellite user.

This RFE is to add the capability of the Insights plugin in the Satellite to send emails to Satellite managed users.

Comment 7 Bruno Rocha 2017-02-21 17:37:54 UTC
Verified in 6.2.8 3.0


Steps:

1) Created a new user in satellite (this user has no RHN account)

2) Subscribed the user to Insights mailing.

3) Register a host in satellite-server

4) Register the host to insights following instructions from https://access.redhat.com/products/red-hat-insights#satellite6

5) Manually triggered the insights sending using rake console:

 ForemanTasks.sync_task(Actions::Insights::EmailPoller)


6) Email received as in attached screenshot.

Comment 8 Bruno Rocha 2017-02-21 17:39:47 UTC
Created attachment 1256204 [details]
Insights email received

Comment 10 errata-xmlrpc 2017-03-06 08:35:41 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2017:0447

Comment 11 Lindani Phiri 2017-03-21 16:10:47 UTC
RPMS rubygem-foreman-redhat_access-1.0.15-1, rubygem-redhat_access_lib-1.0.6-1
were not included in the official Satellite 6.2.8 errata.
The feature is not available when Satellite is installed from the Customer Portal
The the installer installs rubygem-foreman-redhat_access-1.0.13-1

Comment 12 Bryan Kearney 2017-03-23 19:42:57 UTC
*** Bug 1398094 has been marked as a duplicate of this bug. ***

Comment 13 Bryan Kearney 2017-05-01 14:35:02 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2017:1191