Bug 949777

Summary: Search/Filter Systems by their Inventoried Date/Status from the Web UI and hostRequires
Product: [Retired] Beaker Reporter: Amit Saha <asaha>
Component: schedulerAssignee: Amit Saha <asaha>
Status: CLOSED CURRENTRELEASE QA Contact: Xin Zhang <xinzhang>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 0.11CC: asaha, dcallagh, ebaak, llim, qwan, rglasz, rmancy, szhou, xinzhang
Target Milestone: 0.13   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-06-25 06:25:13 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 Amit Saha 2013-04-09 01:44:56 UTC
Description of problem:

The Web search UI should have an option to search systems by their inventoried status - after or before a certain date, or whether inventoried at all.

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Amit Saha 2013-04-09 01:46:16 UTC
On Gerrit: http://gerrit.beaker-project.org/#/c/1864/

Comment 2 Amit Saha 2013-04-09 01:48:07 UTC
Add the same ability to the command line client as well: 

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

Comment 4 Nick Coghlan 2013-04-15 07:29:38 UTC
Minor note: the patch commit messages are missing their reference back to the RFE.

Comment 6 Amit Saha 2013-04-22 04:45:12 UTC
(In reply to comment #4)
> Minor note: the patch commit messages are missing their reference back to
> the RFE.

Thanks. Added them. 

Patches:

Web UI: http://gerrit.beaker-project.org/#/c/1864/
CLI: http://gerrit.beaker-project.org/#/c/1867/

Comment 14 Xin Zhang 2013-05-30 02:37:14 UTC
Verified.

From Web UI,Systems->All->Toggle Search->Table:System/LastInventoried&Operation:after&Value:2013-01-02, and the result is listed 13 systems.

From command line,submit a job with a xml file which containing 
  <hostRequires>
             <system> 
                            <last_inventoried op="&gt;" value="2013-01-02" />
             </system>
  </hostRequires>
and the job J:338 is passed successfully.

version:
Web UI:beaker-server-redhat-0.1.14-1.el6eng, beaker-server-0.12.1-1.git.133.6c74a92.el6,beaker-0.12.1-1.git.133.6c74a92.el6

beaker-client:beaker-client-0.12.1-1.git.138.df77d66.el6eng

Comment 16 Amit Saha 2013-06-25 06:25:13 UTC
Beaker 0.13.1 has been released.