Bug 1469560

Summary: Collect container metrics is done until time.now instead of until end-time
Product: Red Hat CloudForms Management Engine Reporter: Satoe Imaishi <simaishi>
Component: C&U Capacity and UtilizationAssignee: Yaacov Zamir <yzamir>
Status: CLOSED ERRATA QA Contact: Einat Pacifici <epacific>
Severity: high Docs Contact:
Priority: high    
Version: unspecifiedCC: agrare, cpelland, fsimonce, jhardy, obarenbo
Target Milestone: GAKeywords: ZStream
Target Release: 5.8.1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: container:c&u
Fixed In Version: 5.8.1.2 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1464116 Environment:
Last Closed: 2017-08-02 17:34:22 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: Container Management Target Upstream Version:
Embargoed:
Bug Depends On: 1464116    
Bug Blocks:    

Comment 2 CFME Bot 2017-07-11 13:56:22 UTC
New commit detected on ManageIQ/manageiq/fine:
https://github.com/ManageIQ/manageiq/commit/ff1f31d1860f21863543a6e04fe28f73d3459ab7

commit ff1f31d1860f21863543a6e04fe28f73d3459ab7
Author:     Federico Simoncelli <federico.simoncelli>
AuthorDate: Wed Jul 5 11:13:34 2017 +0200
Commit:     Satoe Imaishi <simaishi>
CommitDate: Tue Jul 11 09:53:44 2017 -0400

    Merge pull request #49 from yaacov/respect-endtime-when-collecting-metrics
    
    Respect endtime when collecting metrics
    (cherry picked from commit 3246c9ec98ed822d8e24be6413d298155b73b737)
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1469560

 .../metrics_capture/capture_context.rb             |   10 +-
 .../metrics_capture/capture_context_spec.rb        |   53 +-
 .../capture_context_container_metrics.yml          |   96 +-
 .../capture_context_container_timespan.yml         |  179 +
 .../capture_context_node_metrics.yml               |  192 +-
 .../capture_context_node_timespan.yml              |  355 +
 .../capture_context_pod_metrics.yml                |  192 +-
 .../capture_context_pod_timespan.yml               |  355 +
 .../metrics_capture/capture_context_refresh.yml    | 7227 ++++----------------
 .../metrics_capture/capture_context_status.yml     |   44 +-
 10 files changed, 2411 insertions(+), 6292 deletions(-)
 create mode 100644 spec/vcr_cassettes/manageiq/providers/kubernetes/container_manager/metrics_capture/capture_context_container_timespan.yml
 create mode 100644 spec/vcr_cassettes/manageiq/providers/kubernetes/container_manager/metrics_capture/capture_context_node_timespan.yml
 create mode 100644 spec/vcr_cassettes/manageiq/providers/kubernetes/container_manager/metrics_capture/capture_context_pod_timespan.yml

Comment 4 errata-xmlrpc 2017-08-02 17:34:22 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-2017:1758