Skip to content

nova04delta: fix preprovisioning network data for BMO#753

Open
bogdando wants to merge 1 commit into
openstack-k8s-operators:mainfrom
bogdando:nova04delta
Open

nova04delta: fix preprovisioning network data for BMO#753
bogdando wants to merge 1 commit into
openstack-k8s-operators:mainfrom
bogdando:nova04delta

Conversation

@bogdando
Copy link
Copy Markdown
Contributor

@bogdando bogdando commented May 7, 2026

BMO reads preprovisioning network data from
the Secret referenced by BareMetalHost.spec.preprovisioningNetworkDataName and expects the data under the 'networkData' key.

Previously the BMH had no preprovisioningNetworkDataName (the secret was created but orphaned) and the values used 'nmstate' as the key. This did not surface because BMO never attempted to read the unreferenced secret.

  • baremetalhosts.yaml: add preprovisioningNetworkDataName pointing to the co-located edpm-compute-0-preprovision-network-data Secret.
  • values.yaml: rename the key from 'nmstate' to 'networkData' so the kustomize replacement produces a Secret with the key BMO reads.

Generated-by: claude-4.6-opus-high

@openshift-ci openshift-ci Bot requested review from cjeanner and raukadah May 7, 2026 09:07
@openshift-ci
Copy link
Copy Markdown

openshift-ci Bot commented May 7, 2026

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: bogdando
Once this PR has been reviewed and has the lgtm label, please assign fultonj for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

BMO reads preprovisioning network data from
the Secret referenced by BareMetalHost.spec.preprovisioningNetworkDataName
and expects the data under the 'networkData' key.

Previously the BMH had no preprovisioningNetworkDataName (the secret was
created but orphaned) and the values used 'nmstate' as the key. This did
not surface because BMO never attempted to read the unreferenced secret.

- baremetalhosts.yaml: add preprovisioningNetworkDataName pointing to
  the co-located edpm-compute-0-preprovision-network-data Secret.
- values.yaml: rename the key from 'nmstate' to 'networkData' so the
  kustomize replacement produces a Secret with the key BMO reads.

Generated-by: claude-4.6-opus-high
Signed-off-by: Bohdan Dobrelia <bdobreli@redhat.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant