Bug 1436034

Summary: Message timeout of 600 seconds does not allow perf_capture_timer to finish
Product: Red Hat CloudForms Management Engine Reporter: myoder
Component: ApplianceAssignee: Keenan Brock <kbrock>
Status: CLOSED CURRENTRELEASE QA Contact: Tasos Papaioannou <tpapaioa>
Severity: high Docs Contact:
Priority: high    
Version: 5.7.0CC: abellott, cpelland, jhardy, kbrock, myoder, obarenbo, simaishi, slukasik, tpapaioa
Target Milestone: GAKeywords: TestOnly
Target Release: 5.9.0   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: 5.9.0.1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1441203 1441204 (view as bug list) Environment:
Last Closed: 2018-03-06 15:53:46 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: Bug
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: CFME Core Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1441203, 1441204    

Comment 3 Gregg Tanzillo 2017-03-27 16:57:10 UTC
This issue should be fixed in https://bugzilla.redhat.com/show_bug.cgi?id=1227008

Comment 7 Keenan Brock 2017-03-31 04:13:20 UTC
I'm not able to reproduce this.
I'll take a look at the logs again but the code is running so quickly now for me. The only part that would have trouble scaling is the queries to update/insert into MiqQueue.

If you can point me at a sample database or something, then I can see if I can reproduce.

Comment 11 CFME Bot 2017-04-10 18:26:34 UTC
New commit detected on ManageIQ/manageiq/master:
https://github.com/ManageIQ/manageiq/commit/155ddd6eeec8eae50d2849d742d9c4710593e972

commit 155ddd6eeec8eae50d2849d742d9c4710593e972
Author:     Gregg Tanzillo <gtanzill>
AuthorDate: Fri Apr 7 15:07:02 2017 -0400
Commit:     Gregg Tanzillo <gtanzill>
CommitDate: Fri Apr 7 16:39:40 2017 -0400

    Fix queueing of historical metrics collection
    
    - Set end_time to the end of the current day before queueing historical collection to allow put match and update existing queue item
    - Set last_perf_capture_on to end time when no metrics were available to prevent constantly queueing the same historical range.
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1436034

 app/models/metric/ci_mixin/capture.rb | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

Comment 15 Tasos Papaioannou 2017-11-01 18:36:02 UTC
Verified on 5.9.0.4.