Bug 1695628

Summary: [RFE] Metrics for memory usage of AWS instances needs to be collected from CloudWatch new Agent
Product: Red Hat CloudForms Management Engine Reporter: Satoe Imaishi <simaishi>
Component: C&U Capacity and UtilizationAssignee: Alexander Zagaynov <azagayno>
Status: CLOSED ERRATA QA Contact: Matouš Mojžíš <mmojzis>
Severity: high Docs Contact: Red Hat CloudForms Documentation <cloudforms-docs>
Priority: high    
Version: 5.9.4CC: azagayno, bsorota, dmetzger, jprause, mshriver, obarenbo, smallamp
Target Milestone: GAKeywords: RFE, ZStream
Target Release: 5.10.3   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 5.10.3.1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1684525 Environment:
Last Closed: 2019-04-23 07:46:32 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: AWS Target Upstream Version:
Embargoed:
Bug Depends On: 1684525    
Bug Blocks:    

Comment 2 CFME Bot 2019-04-03 13:46:35 UTC
New commit detected on ManageIQ/manageiq-providers-amazon/hammer:

https://github.com/ManageIQ/manageiq-providers-amazon/commit/17f10144799b8e0fea19eb7c473c7f222f04db72
commit 17f10144799b8e0fea19eb7c473c7f222f04db72
Author:     Adam Grare <agrare>
AuthorDate: Mon Apr  1 17:57:59 2019 -0400
Commit:     Adam Grare <agrare>
CommitDate: Mon Apr  1 17:57:59 2019 -0400

    Merge pull request #522 from AlexanderZagaynov/BZ-1684525_new_metrics_agent

    collect metrics from CloudWatch Agent

    (cherry picked from commit c5118c3f27eeed4af327da1cdb3fd1322a87d779)

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

 app/models/manageiq/providers/amazon/cloud_manager/metrics_capture.rb | 32 +-
 spec/models/manageiq/providers/amazon/cloud_manager/metrics_capture_spec.rb | 26 +-
 spec/vcr_cassettes/manageiq/providers/amazon/cloud_manager/metrics_capture-win2016.yml | 936 +
 3 files changed, 977 insertions(+), 17 deletions(-)

Comment 8 Matouš Mojžíš 2019-04-19 15:30:16 UTC
Verified in 5.10.3.2.
Memory usage metrics are collected correctly in CFME from both Linux/Windows EC2 Instances.

Comment 10 errata-xmlrpc 2019-04-23 07:46:32 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/RHSA-2019:0796