Bug 1818904
Summary: | [RFE] Make Beaker depend less on its own kickstarts | ||
---|---|---|---|
Product: | [Retired] Beaker | Reporter: | Jiri Jaburek <jjaburek> |
Component: | lab controller | Assignee: | beaker-dev-list |
Status: | CLOSED WONTFIX | QA Contact: | tools-bugs <tools-bugs> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | develop | CC: | bpeck, cbouchar, jkriz |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2020-10-26 17:42: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
Jiri Jaburek
2020-03-30 16:47:45 UTC
Note that other reasonable ways of obtaining Beaker metadata are also perfectly acceptable. Ie. passing just beaker.labctl= and beaker.hostname= via kernel command line and fetching other details like recipe ID, hub URL, etc. via HTTP (curl), to not overload the kernel cmdline too much. I would say that this part should be redesigned differently. Keeping the box completely during the installation and add Beaker related things later on after installation is done. We can mimic this on image-based provisioned boxes. Note that there's a big difference between two use cases: UC1: I want Beaker to allocate me (any) machine and PXE-boot it with my specified distrotreeid (distro+arch+variant), but I need to hack the PXE boot process, such as by using my own kickstart to install the system, or by specifying other dracut-supported kernel cmdline options to boot a remote NFS / iSCSI / live / etc. image. UC2: I want Beaker to install a clean OS for me using its own kickstart. You cannot really satisfy UC1 by first installing an OS and stopping before doing any "Beaker related things". .. And this BZ is really about UC1. Beaker already has some tunables, like https://beaker-project.org/docs/user-guide/customizing-installation.html but they are mostly useful for customizing UC2. The good news is that UC1 has very limited interface (basically just kernel command line), so you (Beaker) really just need to do the minimum needed work and get out of the way. Ideally, you would detect if the machine has downloaded kernel+initrd (so no /nopxe/ would be needed), so the installation process wouldn't need any Beaker-specific code, but that's for another RFE. Despite me being within UC1 most of the time for the work I do, it's admittedly not a common use case. However supporting it would bring Beaker machines much closer to actual physically-accessible HW. |