Bug 709853 - Loaned machines listed as available for provisioning
Summary: Loaned machines listed as available for provisioning
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Beaker
Classification: Retired
Component: web UI
Version: 0.6
Hardware: Unspecified
OS: Unspecified
unspecified
low vote
Target Milestone: ---
Assignee: Raymond Mancy
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-06-01 19:14 UTC by Marian Csontos
Modified: 2019-05-22 13:39 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-06-16 00:51:45 UTC


Attachments (Terms of Use)

Description Marian Csontos 2011-06-01 19:14:38 UTC
Description of problem:
Go to reserve workflow page, select a distro and click on "Show Systems". Machines loaned to other users have "Reserve Now" link instead of "Queue Reservation". Also the "User" column is empty. Everything looks just fine.

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

How reproducible:
100%

Steps to Reproduce:
1. Find a machine loaned to another user
2. Go to reserve workflow page, pick a distro and click on "Show Systems"
3. Find the machine from step 1
  
Actual results:
Machines has "Reserve Now" link instead of "Queue Reservation". Also the "User" column is empty. (Here one does "Reserve Now" and few hours later will start wonder why it is still in "Queued" state.)

Expected results:
Machine has "Queue Reservation" link and the user camping on the machine is displayed.

Additional info:
Observed on beaker-stage where I have admin rights.

Comment 1 Raymond Mancy 2011-06-01 23:09:46 UTC
You're right. The problem is that the logic that determines 'Reserve Now' vs 'Queue Reservation' is merely a check to see if the system has a user.

Comment 2 Raymond Mancy 2011-06-10 05:13:21 UTC
In the interests of consistency I think it would be better to not try and use the 'User' column to describe the User and/or Loanee, as everywhere else they are two different things.


Note You need to log in before you can comment on or make changes to this bug.