Bug 1007789

Summary: Can't return machine if the machine is "automated"
Product: [Retired] Beaker Reporter: xjia <xjia>
Component: web UIAssignee: Amit Saha <asaha>
Status: CLOSED CURRENTRELEASE QA Contact: Nick Coghlan <ncoghlan>
Severity: medium Docs Contact:
Priority: medium    
Version: developCC: aigao, asaha, dcallagh, ebaak, llim, qwan, rmancy, xtian
Target Milestone: 0.15Keywords: Regression
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-10-03 02:29:09 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:

Description xjia 2013-09-13 10:14:50 UTC
Description of problem:
Take one "manual" system, and change it to "automated". The machine is stilled taken, unless change the system back to "manual",and “return" it


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

How reproducible:
100%

Steps to Reproduce:
1. Set the system "manual"
2. Take it
3. Set the system "automated"

Actual results:
The system is still taken by someone.And have no chance to return it. unless change the system back to "manual",and “return" it.


Expected results:
when the machine is taken by someone, if want to change it to "automated", please show message : "Please firstly return the machine"

Additional info:

Comment 2 Nick Coghlan 2013-09-16 00:32:23 UTC
Dan, do the permission fixes in 0.15 already address this? (If not, we can take a look for 0.16).

Comment 3 Dan Callaghan 2013-09-16 01:12:07 UTC
This is actually just a regression on develop (not released) caused by bug 855333. The logic for showing the "Return" link needs to be tweaked a little, so that it appears whenever the system has been manually reserved (regardless of its current status).

Comment 4 Amit Saha 2013-09-18 02:26:25 UTC
On gerrit: http://gerrit.beaker-project.org/#/c/2271/

Comment 6 Nick Coghlan 2013-09-19 07:00:33 UTC
1. Set a system to manual mode
2. Reserved it through the web UI
3. Placed it back in automated mode
4. Returned it through the web UI

Comment 7 Nick Coghlan 2013-10-03 02:29:09 UTC
Beaker 0.15 has been released.