Hide Forgot
Beaker needs some code which runs on the lab controller to configure netboot and control power for systems when needed. It needs to support: * provisioning a system for the start of a recipe * performing the appropriate release action (such as "power off") at the end of a recipe * provisioning a system when manually requested by a user in the web UI * controlling power for a system when manually request by a user in the web UI
When setting up netboot configuration, we need the boot images to exist in the TFTP root directory. We could either rely on the distro import to copy these to the local filesystem (see bug 781913), or this provisioning step could include fetching the images and potentially caching them.
We could expand the beaker-watchdog daemon to provision the appropriate system every time it sees a new watchdog. This would require extending the watchdog info to include distro details. However this does not cover manual provisioning and manual power commands triggered by users. Alternatively, we could expand the existing power command queue to include provisioning commands. We could introduce a new daemon on the lab controller, similar to beaker-watchdog, which processes commands from the command queue and acts on them.
(In reply to comment #1) > When setting up netboot configuration, we need the boot images to exist in the > TFTP root directory. We could either rely on the distro import to copy these to > the local filesystem (see bug 781913), or this provisioning step could include > fetching the images and potentially caching them. I was thinking caching would be nice.. but Jeff Burke commented that if we did caching then it could break the pxe menu for when you boot a system outside of beaker. This isn't a feature we actively support, but it would be a shame to lose it. I'm not even sure what would be the best way to generate that pxe menu.. During the same import process? When a distro is deleted from beaker it will need to send a delete request to the lab controller to delete it from tftpboot and remove it from the pxe menu as well.
PXE menu is bug 814028.
Beaker 0.9.0 has been released.