Bug 534564 (RHQ-1349)
Summary: | resource.availability doesn't support "empty" and "not empty" syntax flavors | ||
---|---|---|---|
Product: | [Other] RHQ Project | Reporter: | Joseph Marques <jmarques> |
Component: | Core Server | Assignee: | Joseph Marques <jmarques> |
Status: | CLOSED NEXTRELEASE | QA Contact: | Jeff Weiss <jweiss> |
Severity: | medium | Docs Contact: | |
Priority: | low | ||
Version: | 1.2 | CC: | dajohnso |
Target Milestone: | --- | Keywords: | SubBug |
Target Release: | --- | ||
Hardware: | All | ||
OS: | All | ||
URL: | http://jira.rhq-project.org/browse/RHQ-1349 | ||
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:20:00 UTC
rev2605 - support "empty" and "not empty" syntax flavors for resource.availability test 1: * create a new group definition * edit the expression set and enter "not empty resource.availability" * click save // this should succeed, previously it failed * then, calculate the groups expected results: * one group for all resources that are either UP or DOWN resources (assuming any exist in inventory) test 2: * create a new group definition * edit the expression set and enter "empty resource.availability" * click save // this should succeed, previously it failed * then, calculate the groups expected results: * one group for all resources that are *neither* UP or DOWN 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]) test 3: * take the sum of the memberships in the 2 groups produced in test 1 and test 2. ensure that the sum is equal to the total number of resources in your inventory. note: the size of the inventory should NOT change during tests 1 and 2, otherwise you will not see the correct results in this test. Tested as specified, all tests passed. rev2626 windows/oracle This bug was previously known as http://jira.rhq-project.org/browse/RHQ-1349 |