Bug 703859

Summary: Add chart(s) showing grid utilization by accounting group [RFE]
Product: Red Hat Enterprise MRG Reporter: Trevor McKay <tmckay>
Component: cuminAssignee: Chad Roberts <croberts>
Status: CLOSED ERRATA QA Contact: Peter Belanyi <pbelanyi>
Severity: low Docs Contact:
Priority: high    
Version: 2.0CC: athomas, croberts, matt, mkudlej, pbelanyi, pmackinn, sgraf
Target Milestone: 2.3Keywords: FutureFeature
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: cumin-0.1.5492-1 Doc Type: Enhancement
Doc Text:
There is a new chart on the Grid::Overview [history radio button] page, "Pool usage by accounting group". The chart defaults to "<none>" as the selected accounting group (shows all), but the select box beneath the chart contains all of the possible accounting groups. Choosing a group will cause the chart to update to show usage for the chosen accounting group. Note, the data in this chart relies on data from the plumage subsystem in condor and will only yield data if the cumin machine has the pymongo package installed (currently only available in el6).
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-03-06 18:38:43 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Trevor McKay 2011-05-11 13:25:54 UTC
Description of problem:

Add chart(s) under the Grid Overview tab that show resource utilization by accounting groups.  Currently not much can be seen relative to accounting groups aside from active slots under the slotvis.  These charts could show job submission/completion statistics, disk and memory usage, slot usage, etc.

Comment 1 Chad Roberts 2011-06-23 13:37:17 UTC
Some thoughts on what we may want for this functionality.

Since there could be an arbitrarily large number of accounting groups, having one chart per groups might muddy the page, perhaps we just add one chart to the page, but that chart can have a dropdown above it that would contain all the accounting groups.  I will need to look at how the data is stored, but we might be able to include entries for top-level groups as well as intermediate-level rollups and individual "leaf node" groups as well as the "unknown" accounting group (perhaps taking a cue from the Unknown Comic and including a paper bag over the graph).

The data available to us may limit the number and types of graphs that we can come up with for now (may be similar to the limitation that we face in BZ 703274)

Comment 2 Chad Roberts 2012-07-12 17:31:21 UTC
Chart added in rev 5430 on trunk.  May still add another chart based on whatever feedback I get.

Comment 4 Chad Roberts 2012-08-10 17:32:59 UTC
    Technical note added. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    New Contents:
There is a new chart on the Grid::Overview [history radio button] page, "Pool usage by accounting group".  The chart defaults to "<none>" as the selected accounting group (shows all), but the select box beneath the chart contains all of the possible accounting groups.  Choosing a group will cause the chart to update to show usage for the chosen accounting group.

Comment 7 Peter Belanyi 2013-01-23 09:48:42 UTC
I am trying to verify this bug, and I can see that the chart is on the page, but I can not really get it to show some data, and the Filter user list is usually empty.

I submitted some jobs like this:
$ cat sleep.job 
Executable = /bin/sleep
Initialdir = /tmp
+AccountingGroup = "GRID.ONE"
args = 60
Queue 2
$ condor_submit sleep.job 

After some time the Filter user list showed some users, but the chart was still empty.

Could you provide me some test cases I should try to verify this bug?

Comment 10 Peter Belanyi 2013-01-28 14:07:04 UTC
My previous problems were due to bug 903279 and some misconfigurations, so retried on cleanly installed systems.


Tested on RHEL 6 i386/x86_64
cumin-0.1.5658-1

--> VERIFIED

Comment 12 errata-xmlrpc 2013-03-06 18:38:43 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHSA-2013-0564.html