Bug 781568

Summary: Completely remove lab controller when removed.
Product: [Retired] Beaker Reporter: Bill Peck <bpeck>
Component: schedulerAssignee: Steven Lawrance <stl>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 0.8CC: bpeck, dcallagh, mcsontos, rmancy, stl
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-03-15 00:16:39 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On:    
Bug Blocks: 772538    

Description Bill Peck 2012-01-13 18:30:13 UTC
Description of problem:

Currently removing a lab controller does the following:

1 - Sets all systems attached to that lab controller to None
2 - Any active watchdogs have the jobs cancelled
    (why do we cancel the job?  one job could have recipesets from multiple labs
     we should cancel the recipeset and not the job)

We also need to do the following:

- Remove any distro mappings to this lab controller
- Remove any queued power commands to this lab controller

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

Comment 1 Steven Lawrance 2012-01-16 00:06:50 UTC
Power commands will be aborted when they are processed if no lab controller is set anyway, so removing them may not be necessary.

Comment 2 Bill Peck 2012-01-17 16:06:26 UTC
so does this mean we can do this for 0.8.1?

Comment 3 Raymond Mancy 2012-03-13 06:32:15 UTC
*** Bug 773418 has been marked as a duplicate of this bug. ***