Bug 692777

Summary: can you add a "duration" function on taken machines
Product: [Retired] Beaker Reporter: wang jiabo <jiabwang>
Component: web UIAssignee: Dan Callaghan <dcallagh>
Status: CLOSED CURRENTRELEASE QA Contact: tools-bugs <tools-bugs>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 0.6CC: bpeck, dcallagh, jzhao, mcsontos, rmancy, stl, tools-bugs
Target Milestone: 19.0Keywords: FutureFeature
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: UX
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-11-25 07:18:21 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:
Bug Depends On: 1014438    
Bug Blocks:    

Description wang jiabo 2011-04-01 06:02:47 UTC
Description of problem:
when other people took a machine on Beaker, we donot know how long they occupied.

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

How reproducible:
every time

Steps to Reproduce:
1.login beaker
2.find a group like qe-virt-nay group
3.only know who reserved, we donot know how long user reserved
  
Actual results:
have to statistic the data by "history" tab

Expected results:

can directly show us how long user reserved
Additional info:

Comment 1 Raymond Mancy 2011-04-01 07:09:15 UTC
The duration is pretty hard to nail down. It can change at any given time. Your best be is to look at the watchdog page I would say.

Comment 2 wang jiabo 2011-04-02 03:01:34 UTC
can you just count time according to owner? 
for example: if I took a machine, donot care what I do just count how long I took the machine

Comment 3 wang jiabo 2011-04-02 03:09:53 UTC
"owner" mean "user" column in beaker

Comment 4 Dan Callaghan 2012-10-31 06:40:13 UTC
I guess you mean, you want a duration shown on the system page in the User cell, beside the username, showing how long that user has had the system reserved? A better option might be the timestamp since they reserved it.

That should be pretty easy now that we have the reservation table, it's just system.open_reservation.start_time.

Comment 6 Dan Callaghan 2014-01-22 07:16:30 UTC
This feature request is covered by the system page improvements in bug 1014438. The "quick info" at the top of the page includes how long the current reservation has been held for.

Comment 9 Dan Callaghan 2014-11-25 07:18:21 UTC
Beaker 19.0 has been released.