Bug 871873
Summary: | Availability check change is not automatically picked up | ||
---|---|---|---|
Product: | [Other] RHQ Project | Reporter: | Larry O'Leary <loleary> |
Component: | Agent | Assignee: | Thomas Segismont <tsegismo> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Mike Foley <mfoley> |
Severity: | high | Docs Contact: | |
Priority: | unspecified | ||
Version: | 4.4 | CC: | bkramer, hrupp, jshaughn, loleary, tsegismo |
Target Milestone: | --- | ||
Target Release: | RHQ 4.6 | ||
Hardware: | All | ||
OS: | All | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | 869716 | Environment: | |
Last Closed: | 2013-09-03 14:42:19 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 869716 |
Description
Larry O'Leary
2012-10-31 15:31:41 UTC
I can see that MeasurementManager.scheduleCollection() is doing the correct thing, but that is when we are setting the entire set of collection schedules. When updating in MeasurementManager.updateCollection() it does look like the avail metric is ignored. If it is in the set it should be updated. Jay, The availability schedule is not in the set. So I have made a fix inspired by what is done in MeasurementManager.scheduleCollection(). Could you please review the modifications done in the specific branch ? bug/871873 f6699a7 Caveat that because of the internal behavior of availability checking, the "real" schedule will always be a multiple of 30s (rate of the availability check executor thread). UI schedule/Actual schedule 30s/30s 42s/1m 67s/1m30s Merged into master 257e056 Remote branch bug/871873 deleted Please ignore comment 3: the "real" interval can indeed be longer than the interval saved in UI, as availability scheduled is respected on best effort. But the interval is not necessarily a multiple of 30s Bulk closing of issues in old RHQ releases that are in production for a while now. Please open a new issue when running into an issue. |