Bug 1309059

Summary: please hide the removed Lab Controllers from the pick list on a systems essentials page
Product: [Retired] Beaker Reporter: drohwer
Component: web UIAssignee: matt jia <mjia>
Status: CLOSED CURRENTRELEASE QA Contact: tools-bugs <tools-bugs>
Severity: low Docs Contact:
Priority: low    
Version: 22CC: alemay, dcallagh, dowang, jwalters, mboswell, mjia, rjoost
Target Milestone: 22.2Keywords: Patch
Target Release: ---   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-03-15 01:51:32 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 drohwer 2016-02-16 18:13:52 UTC
Description of problem:

In the web UI we would like have the Lab Controller drop down to NOT include the option of picking a lab controller that was removed from beaker.  Having them on the pick list only gives the users an option to pick a lab controller that is no longer around.

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

22.1

How reproducible:

100%

Steps to Reproduce:
1. Select any beaker system in the Web UI for beaker that you have the rights to edit.
2. Click on the "Essentials" tab
3. Go to the "Lab Controller" drop down
4. Select a lab controller from the list and as you can see there is a list of all the lab controllers in the environment both active and removed. 

Actual results:

The user is allowed to pick a lab controller that has been removed from the environment.

Expected results:

Users should not be able to pick a lab controller that has been removed as no beaker job will run against a non-active / non-existing lab controller.

Additional info:

If the list of lab controllers can _not_ be hidden from the pick list, would it be possible to add something next to the entries that should be hidden that the status of the lab controller is removed.  That way user will know not to pick a lab controller that has been removed.

Comment 1 matt jia 2016-02-23 03:35:21 UTC
On Gerrit:

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

Comment 4 Dan Callaghan 2016-03-15 01:51:32 UTC
Beaker 22.2 has been released.