-
Notifications
You must be signed in to change notification settings - Fork 106
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add metal platform provider #1130
Comments
cc @jlebon |
current workaround PR: #1131 |
I think we can come up with something to address your needs. First though, I'd say we shouldn't add a new provider called One approach is to add a e.g. Where this gets awkward is if more things come along later that also claim to support the OpenStack API but want their own keys passed through as well. If that happens, we can revisit how this is implemented to make it more flexible. |
Metal3 wouldn't necessarily be using openstack image, but in any case I think we can work with that: by running afterburn with platform openstack we can still inject the necessary metadata. In any case, it makes sense extending I will follow up with a PR adding the relvant keys to the openstack metadata. |
Sorry, can we dig into that? To confirm, you're currently using the OpenStack image, right? Do you need to also support e.g. booting the live ISO and running coreos-installer? |
In the CAPI provider that we are working on, we are targeting baremetal platform to start with, but soon we will target also OpenStack. And if the approach would work for any platform, even better
LiveISO flow is separate for now, and with the userdata/ignition only flow coreos installer won't be used. This means we wouldn't be using afterburn in this way with LiveISO (@carbonin please keep me honest here) The user is technically free to set whatever image they want, however we can recommend what to choose (i.e. an image https://mirror.openshift.com/pub/openshift-v4/dependencies/rhcos/4.17/). |
Feature Request
Use case:
Installing OpenShift via CAPI, on baremetal. The infrastructure provider used is CAPM3.
When installing OpenShift through CAPI, the infrastructure provider shares per-host metadata through a configdrive. With cloud-init, this can be read and everything works as expected, however it's seems not to be so straightforward with ignition, at least in the case of metal platform (CAPM3).
Without this metadata, the bootstrap/controlplane providers are forced to couple with infrastructure providers to extract the data in-cluster, which is far from ideal from a CAPI architecture perspective.
If we could add metal platform, we could add expected metadata from CAPM3 (metal3-namespace, metal3-name, etc), or possibly dynamically adding all keys in the metadata file.
As part of a CAPI bootstrap/controlplane provider, som
Environment
What hardware/cloud provider/hypervisor is being used to run Afterburn?
Baremetal, ironic is in charge of creating and sharing the needed config drive.
Desired Feature
Metal platform provider. Loading metadata from configdrive attributes into env vars as other providers:
Other Information
Currently the proposed workaround is to adapt openstack provider. However out of the metadata attributes that need to be used (METAL3_NAMESPACE, METAL3_NAME , AFTERBURN_METAL_UUID) we'd only have UUID available.
The text was updated successfully, but these errors were encountered: