Bug 1784533

Summary: [CFME Insights Integration] Failed Payload Upload to Insights Showing as Success in evm.log
Product: Red Hat CloudForms Management Engine Reporter: Satoe Imaishi <simaishi>
Component: APIAssignee: Libor Pichler <lpichler>
Status: CLOSED ERRATA QA Contact: juwatts
Severity: high Docs Contact: Red Hat CloudForms Documentation <cloudforms-docs>
Priority: high    
Version: 5.11.0CC: dmetzger, obarenbo, smallamp
Target Milestone: GAKeywords: ZStream
Target Release: 5.11.2Flags: pm-rhel: cfme-5.11.z+
simaishi: mirror+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 5.11.2.0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1747178 Environment:
Last Closed: 2020-02-12 05:02:44 UTC Type: ---
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: 1747178    
Bug Blocks:    

Comment 2 CFME Bot 2019-12-17 16:32:16 UTC
New commit detected on RedHatCloudForms/cfme-cloud_services/ivanchuk:

https://github.com/RedHatCloudForms/cfme-cloud_services/commit/7ef08cc9bf5a46f588636ee5da9bb6640a212297
commit 7ef08cc9bf5a46f588636ee5da9bb6640a212297
Author:     Adam Grare <agrare>
AuthorDate: Mon Sep 23 09:48:22 2019 -0400
Commit:     Adam Grare <agrare>
CommitDate: Mon Sep 23 09:48:22 2019 -0400

    Merge pull request #48 from lpichler/log_failure_when_insights_clients_fail_with_exit_code0

    Log failure(by setting exit_code=1) when insights_client fails with exit_code=0

    (cherry picked from commit 3a8e0ded58453b5d1a21fccc4de7932f289e7ede)

    Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1784533

 lib/cfme/cloud_services/data_uploader.rb | 2 +
 spec/data_uploader_spec.rb | 20 +
 2 files changed, 22 insertions(+)

Comment 3 juwatts 2020-01-20 14:59:31 UTC
Verified via code inspection

Comment 6 errata-xmlrpc 2020-02-12 05:02:44 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-2020:0452