| Summary: | [Platform Plug-in] FileSystemComponent returns invalid diskQueue metric due to calling refresh method of FileSystemInfo twice when gathering metrics | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Other] RHQ Project | Reporter: | Charles Crouch <ccrouch> | ||||||
| Component: | Plugins | Assignee: | Charles Crouch <ccrouch> | ||||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Mike Foley <mfoley> | ||||||
| Severity: | high | Docs Contact: | |||||||
| Priority: | urgent | ||||||||
| Version: | 4.2 | CC: | ccrouch, hbrock, hrupp, lkrejci, loleary, skondkar, spinder | ||||||
| Target Milestone: | --- | Keywords: | Reopened | ||||||
| Target Release: | JON 3.0.1 | ||||||||
| Hardware: | Unspecified | ||||||||
| OS: | Unspecified | ||||||||
| Whiteboard: | |||||||||
| Fixed In Version: | 4.3 | Doc Type: | Bug Fix | ||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | 752981 | Environment: | |||||||
| Last Closed: | 2013-09-03 15:17:52 UTC | Type: | --- | ||||||
| Regression: | --- | Mount Type: | --- | ||||||
| Documentation: | --- | CRM: | |||||||
| Verified Versions: | Category: | --- | |||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||
| Bug Depends On: | 752981 | ||||||||
| Bug Blocks: | 782579 | ||||||||
| Attachments: |
|
||||||||
|
Description
Charles Crouch
2012-01-23 04:47:16 UTC
This bug needs to get ported to the JON3.0.1 branch of RHQ (release/jon3.0.x), it should be tested in that branch by engineering and then pushed to ON-QA A fix for this issue went into JON2.4.2 Switching to using MODIFIED for fixes that are in the appropriate but are waiting to get into a build. Moving this to ON_QA as there is now a binary available to test with: https://brewweb.devel.redhat.com//buildinfo?buildID=197202 Created attachment 559352 [details]
image of the verification attempt
specifically ... i do not see step #3 in the verification steps. i do not see "disc queue"
1. From a Linux Platform resource, expand and select File System -> /boot
2. Select the Monitor > Tables sub-tab
3. The Last value for Disk Queue should contain a number
marking failed to verify. specifically ... step #3 ... i do not see disk queue. i have attached an image as evidence of my observation. Mike-
The Disk Queue metric is not enabled by default, so you'll need to go to the Monitor>Schedules subtab and enable it. I'd also set its collection interval low to 30s, to make testing easier.
Here's the relevant line from the platform plugin's rhq-plugin.xml:
<metric property="fileSystemUsage.diskQueue" displayName="Disk Queue"
description="The number of I/Os currently in progress"/>
If a metric element doesn't have defaultOn="true" and/or displayType="summary", then it is not enabled by default.
Verified on 3.0.1.GA RC2 build (Build Number: b2cb23b:859b914) Enabled Disk Queue metric and verified that is display a number in 'Last' value. Please refer the attached screenshot. Created attachment 559617 [details]
Screenshot
changing status of VERIFIED BZs for JON 2.4.2 and JON 3.0 to CLOSED/CURRENTRELEASE marking VERIFIED BZs to CLOSED/CURRENTRELEASE Some how this issue, which is for the fix to go into JON3.0.1, also had a Target Release of JON2.4.2, which meant it got erroneously got set to CLOSED:CURRENTRELEASE. I got rid of the incorrect Target Release and set it back to VERIFIED, once JON3.0.1 is out it can go back to CLOSED:CURRENTRELEASE Bulk closing of old issues in VERIFIED state. |