Bug 1436034 - Message timeout of 600 seconds does not allow perf_capture_timer to finish
Summary: Message timeout of 600 seconds does not allow perf_capture_timer to finish
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Appliance
Version: 5.7.0
Hardware: All
OS: All
high
high
Target Milestone: GA
: 5.9.0
Assignee: Keenan Brock
QA Contact: Tasos Papaioannou
URL:
Whiteboard:
Depends On:
Blocks: 1441203 1441204
TreeView+ depends on / blocked
 
Reported: 2017-03-26 23:04 UTC by myoder
Modified: 2020-06-11 13:28 UTC (History)
9 users (show)

Fixed In Version: 5.9.0.1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1441203 1441204 (view as bug list)
Environment:
Last Closed: 2018-03-06 15:53:46 UTC
Category: Bug
Cloudforms Team: CFME Core
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.