Bug 1547846

Summary: Schedule report fails to send mail when report is not empty
Product: Red Hat CloudForms Management Engine Reporter: Imaan <ikaur>
Component: ReportingAssignee: Yuri Rudman <yrudman>
Status: CLOSED CURRENTRELEASE QA Contact: Niyaz Akhtar Ansari <nansari>
Severity: medium Docs Contact:
Priority: medium    
Version: 5.8.0CC: cpelland, ikaur, nansari, obarenbo, rlondhe, yrudman
Target Milestone: GAKeywords: Regression, TestOnly, ZStream
Target Release: 5.10.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 5.10.0.0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1554532 1554533 (view as bug list) Environment:
Last Closed: 2018-07-30 14:43:37 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: CFME Core Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1554532, 1554533    
Attachments:
Description Flags
increased recipient_address_byte_limit none

Comment 11 Yuri Rudman 2018-02-27 16:22:00 UTC
Created attachment 1401432 [details]
sending generated report

Comment 18 Yuri Rudman 2018-03-06 13:55:42 UTC
Created attachment 1404808 [details]
example of outgoing SMTP server set-up

Comment 22 Yuri Rudman 2018-03-07 22:23:44 UTC
Created attachment 1405623 [details]
increased recipient_address_byte_limit

Comment 24 CFME Bot 2018-03-12 19:31:37 UTC
New commit detected on ManageIQ/manageiq/master:

https://github.com/ManageIQ/manageiq/commit/4cd90e17199e492160257d357916481018e4a047
commit 4cd90e17199e492160257d357916481018e4a047
Author:     Yuri Rudman <yrudman>
AuthorDate: Fri Mar  9 13:32:43 2018 -0500
Commit:     Yuri Rudman <yrudman>
CommitDate: Fri Mar  9 13:32:43 2018 -0500

    After sending e-mail with attached report we are deletting record in BinaryBlob table. So, after dividing recipients  sending e-mail will work only for first group of resipient, attempt to send attached report for second group will throw [Couldn't find BinaryBlob...] error.
    Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1547846

 app/models/miq_report/notification.rb | 36 +-
 1 file changed, 9 insertions(+), 27 deletions(-)

Comment 29 Dave Johnson 2018-07-30 14:43:37 UTC
Closing this as its already been verified in two z-streams and has test coverage around it.