[RFE] Auto-configuration of iPXE script for inspection
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ironic |
Triaged
|
Wishlist
|
Unassigned |
Bug Description
Currently in case of unmanaged inspection, the corresponding iPXE script has to be configured manually. This is an error-prone process and leads to duplication of certain configuration options, e.g. for Metal3:
https:/
https:/
We already have some bits necessary for this feature: Ironic generates the root boot.ipxe which can fall back to the inspection script specified via the [pxe]ipxe_
1) [conductor]
2) [pxe]ipxe_
3) Various [inspector] options
The new logic will leave in the iPXE boot interface and rely on one new options:
4) [pxe]generate_
When this option is set to True, the iPXE boot interface will launch a new thread in its __init__ that will download the images and create the fallback script. Why a thread? Because we cannot rely on Keystone and Glance to be already available when Ironic starts, nor do I want to delay the start-up while IPA is downloading. Unfortunately, the only way to detect a problem will be by checking the logs.
NOTE: this proposal is a revival of https:/
description: | updated |
Approved in Dec 11 2023 meeting.