Bug 534563 (RHQ-1348)

Summary: can't pivot on resource.availability expression
Product: [Other] RHQ Project Reporter: Joseph Marques <jmarques>
Component: Core ServerAssignee: Joseph Marques <jmarques>
Status: CLOSED NEXTRELEASE QA Contact: Jeff Weiss <jweiss>
Severity: medium Docs Contact:
Priority: medium    
Version: 1.2CC: dajohnso
Target Milestone: ---Keywords: SubBug
Target Release: ---   
Hardware: All   
OS: All   
URL: http://jira.rhq-project.org/browse/RHQ-1348
Whiteboard:
Fixed In Version: 1.2 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
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: 536002    

Description Joseph Marques 2009-01-13 11:03:00 UTC
if you try "groupby resource.availability" it will throw an exception and display an error message in the UI.  this should be supported.

Comment 1 Joseph Marques 2009-01-13 11:19:06 UTC
rev2604 - support pivoting on resource.availability expression

to test:
* create a new group definition
* edit the expression set and enter "groupby resource.availability"
* click save // this should succeed, previously it failed
* then, calculate the groups

expected results: 
* one group for UP resources (assuming any exist in inventory)
* one group for DOWN  resources (assuming any exist in inventory)
* one group for UNKNOWN resources (assuming any exist in inventory [this can happen when a resource as been imported into the inventory, but an availability report hasn't been sent up to the server])

Comment 2 Jeff Weiss 2009-01-19 15:52:29 UTC
I get 2 groups (because I don't have any with UNKNOWN avail).  rev2626 windows/oracle

Comment 3 Red Hat Bugzilla 2009-11-10 20:31:05 UTC
This bug was previously known as http://jira.rhq-project.org/browse/RHQ-1348