Bug 1417120
Summary: | [RFE] Add Insights notification emails to Satellite | ||
---|---|---|---|
Product: | Red Hat Satellite | Reporter: | Satellite Program <pm-sat> |
Component: | RH Cloud - Insights | Assignee: | Adam Price <adprice> |
Status: | CLOSED ERRATA | QA Contact: | Patrik Segedy <psegedy> |
Severity: | high | Docs Contact: | |
Priority: | unspecified | ||
Version: | 6.3.0 | CC: | bbuckingham, bkearney, chenders, ehelms, jcallaha, lphiri, psegedy, robwilli |
Target Milestone: | Unspecified | Keywords: | FutureFeature, Triaged |
Target Release: | Unused | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | rubygem-foreman-redhat_access-2.0.13 | Doc Type: | Enhancement |
Doc Text: | Story Points: | --- | |
Clone Of: | 1403979 | Environment: | |
Last Closed: | 2018-02-21 16:54:37 UTC | Type: | --- |
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: | 1403979 | ||
Bug Blocks: |
Comment 3
Lindani Phiri
2017-05-09 18:24:32 UTC
Steps to verify: satellite-6.3.0-20.0.beta.el7sat.noarch tfm-rubygem-foreman-redhat_access-2.0.8-1.el7sat.noarch tfm-rubygem-redhat_access_lib-1.1.0-1.el7sat.noarch 1. Create a new user in satellite (without RHN account) 2. Subscribe the user to Insights notifications 3. Register a host 4. Register the host to insights following https://access.redhat.com/products/red-hat-insights#satellite6 5. Trigger the insights sending using rake console: ForemanTasks.sync_task(Actions::Insights::EmailPoller) # foreman-rake console Loading production environment (Rails 4.2.6) Failed to load console gems, starting anyway irb(main):001:0> ForemanTasks.sync_task(Actions::Insights::EmailPoller) => #<ForemanTasks::Task::DynflowTask id: "ee576f6a-1b7d-49cd-814c-bf66ab93a181", type: "ForemanTasks::Task::DynflowTask", label: "Actions::Insights::EmailPoller", started_at: "2017-10-16 14:44:50", ended_at: "2017-10-16 14:44:51", state: "stopped", result: "success", external_id: "6482072b-a728-4d4c-afc3-e8afeaa57990", parent_task_id: nil, start_at: "2017-10-16 14:44:50", start_before: nil> 6. Task is created and result is success, but no e-mail was received FailedQA You are likely running into : https://bugzilla.redhat.com/show_bug.cgi?id=1492569 Did you verify that the user can receive test emails? Were there errors reported in the log? Hi Lindani, You are right, I'm running into bug 1492569 Yes, test email was received and I don't see any errors reported in production.log. Which other log should I check for errors? Thanks. This BZ requires both the fix to https://bugzilla.redhat.com/show_bug.cgi?id=1417069 and an updated Insights gem (rubygem-foreman-redhat_access-2.0.13) Verified in snap 6.3.0_33 tfm-rubygem-redhat_access_lib-1.1.4-1.el7sat.noarch tfm-rubygem-foreman-redhat_access-2.0.13-1.el7sat.noarch 1. Subscribe user to Insights notifications 3. Register a host 3. Register the host to insights following https://access.redhat.com/products/red-hat-insights#satellite6 4. Trigger the insights email sending using rake console: ForemanTasks.sync_task(Actions::Insights::EmailPoller) irb(main):001:0> ForemanTasks.sync_task(Actions::Insights::EmailPoller) => #<ForemanTasks::Task::DynflowTask id: "5a80e8b5-7256-480c-af0b-b61c9f1620fc", type: "ForemanTasks::Task::DynflowTask", label: "Actions::Insights::EmailPoller", started_at: "2018-01-24 15:53:17", ended_at: "2018-01-24 15:53:20", state: "stopped", result: "success", external_id: "d5ef7628-2c4f-4500-8637-1f348d60ab87", parent_task_id: nil, start_at: "2018-01-24 15:53:17", start_before: nil> 5. Result of the task is 'success' and I received the e-mail. VERIFIED 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/RHSA-2018:0336
|