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: | Appliance | Assignee: | Keenan Brock <kbrock> | |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Tasos Papaioannou <tpapaioa> | |
| Severity: | high | Docs Contact: | ||
| Priority: | high | |||
| Version: | 5.7.0 | CC: | abellott, cpelland, jhardy, kbrock, myoder, obarenbo, simaishi, slukasik, tpapaioa | |
| Target Milestone: | GA | Keywords: | 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
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. 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(-) Verified on 5.9.0.4. |