Bug 1187402

Summary: add hostRequires XML filter for total disk space
Product: [Retired] Beaker Reporter: Dan Callaghan <dcallagh>
Component: generalAssignee: matt jia <mjia>
Status: CLOSED CURRENTRELEASE QA Contact: tools-bugs <tools-bugs>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 19CC: aigao, dcallagh, dowang, ebaak, jhutar, jkoten, mjia
Target Milestone: 21.0Keywords: FutureFeature, Patch
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-08-26 06:18:11 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:

Description Dan Callaghan 2015-01-30 00:05:27 UTC
Currently you can filter by the size of individual disks in a system, for example this XML will match systems which have some disk larger than 500GB:

<disk>
  <size op="&gt;" value="500" units="GB"/>
</disk>

However it is also useful to filter on the *total* size of all disks in the system without caring about the exact number. Beaker should have an XML filter for that. I suggest:

<diskspace op="&gt;" value="500" units="GB"/>

Currently the DISKSPACE key-value can be used for this purpose (it holds the total size of all disks in MB) but we are trying to deprecate key-values in favour of real db fields.

Comment 1 Nick Coghlan 2015-01-30 04:49:10 UTC
+1 from me. Perhaps it would be worth pulling the current list of key/value entries and checking them to see which we're still missing?

Then we could create a tracker bug and check them off over time.

Comment 3 matt jia 2015-05-14 02:39:05 UTC
On Gerrit:

 http://gerrit.beaker-project.org/#/c/4212/

Comment 4 matt jia 2015-05-14 04:30:13 UTC
(In reply to matt jia from comment #3)
> On Gerrit:
> 
>  http://gerrit.beaker-project.org/#/c/4212/

Change it to develop branch:

http://gerrit.beaker-project.org/#/c/4213/

Comment 8 Dan Callaghan 2015-08-26 06:18:11 UTC
Beaker 21.0 has been released.