Skip to content

Cloud-init meta data during inspection #2735

@fhaftmann

Description

@fhaftmann

User Story

As an operator
I would like to have cloud-init meta data specified in baremetalhost resource available during inspection
to be able to use cloud-init meta data for passing host-specific data relevant for layer 3 (BGP) networking

Detailed Description

Building a cloud environment using layer 3 routing requires a specific configuration of the servers (e.g. via frr) which involves e.g. a unique ASN.

It is tempting to use cloud-init meta data to pass such server-specific data.

(This of course requires also that the used images have logic built-in to interpret that meta data accordingly, but this is a different story and need not be treated here.)

However if I understand the documentation and the implementation correctly (v0.9.0 and v0.11.0), cloud-init meta data is not available during inspection.

It is only required that an existing meta data given for a baremetalhost resource is honoured during inspection – the default meta data settings provided later on after provisioning are not relevant here.

Anything else you would like to add:

I am happy to implement that – but what would be a suitable way to go?

a) Mimic the existing preprovisioningNetworkDataName into a preprovisioningMetaDataName?

b) Using the existing meta data also during inspection?

c) …

/kind feature

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/featureCategorizes issue or PR as related to a new feature.triage/acceptedIndicates an issue is ready to be actively worked on.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions