Skip to content

[18.0-fr5] Validate ansibleHost and ctlplane fixedIP for pre-provisioned nodes - #1810

Merged
openshift-merge-bot[bot] merged 1 commit into
openstack-k8s-operators:18.0-fr5from
openshift-cherrypick-robot:cherry-pick-1802-to-18.0-fr5
Feb 12, 2026
Merged

openshift-merge-bot[bot] merged 1 commit into
openstack-k8s-operators:18.0-fr5from
openshift-cherrypick-robot:cherry-pick-1802-to-18.0-fr5

Conversation

@openshift-cherrypick-robot

Copy link
Copy Markdown

This is an automated cherry-pick of #1802

/assign rabi

… nodes

For pre-provisioned dataplane nodes, ansibleHost must be a valid IP
address. This is required because the controller defaults the ctlplane
network fixedIP from ansibleHost during IPAM reservation, ensuring the
reserved IP matches the already-configured node interface. Without a
valid IP, IPAM could reserve a different address and break connectivity
during deployment.

The validating webhook enforces that for pre-provisioned nodes:
- ansibleHost is not empty
- ansibleHost is a valid IP address

The controller (ipam.go) defaults the ctlplane fixedIP from ansibleHost
when not already set. The ctlplane network is identified using the
netServiceNetMap from NetConfig, so it works regardless of the network
name.

Signed-off-by: rabi <ramishra@redhat.com>
@openshift-ci openshift-ci Bot added the lgtm label Feb 12, 2026
@openshift-ci

openshift-ci Bot commented Feb 12, 2026

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: openshift-cherrypick-robot, rabi

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

The pull request process is described 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

@softwarefactory-delete-me

Copy link
Copy Markdown

Build failed (check pipeline). Post recheck (without leading slash)
to rerun all jobs. Make sure the failure cause has been resolved before
you rerun jobs.

https://softwarefactory-project.io/zuul/t/rdoproject.org/buildset/c1710dbc6cad454b9ba00e4a0c536bbc

✔️ openstack-k8s-operators-content-provider SUCCESS in 2h 00m 41s
❌ podified-multinode-edpm-deployment-crc FAILURE in 1h 39m 44s
❌ cifmw-crc-podified-edpm-baremetal FAILURE in 1h 47m 27s
❌ openstack-operator-tempest-multinode FAILURE in 1h 43m 22s

@stuggi

stuggi commented Feb 12, 2026

Copy link
Copy Markdown
Contributor

we need to build the ansibleee-runner image for the fr5 branch ...

time="2026-02-12T06:18:06Z" level=fatal msg="Error generating bundle manifests: error resolving image: GET https://quay.io/v2/openstack-k8s-operators/openstack-ansibleee-runner/manifests/18.0-fr5-latest: MANIFEST_UNKNOWN: manifest unknown; map[]"

@stuggi

stuggi commented Feb 12, 2026

Copy link
Copy Markdown
Contributor

submitted openstack-k8s-operators/edpm-ansible#1115 so that we could trigger it manually

@rabi

rabi commented Feb 12, 2026

Copy link
Copy Markdown
Contributor

/test openstack-operator-build-deploy-kuttl-4-18

@rabi

rabi commented Feb 12, 2026

Copy link
Copy Markdown
Contributor

recheck

@openshift-merge-bot
openshift-merge-bot Bot merged commit 7adc4b9 into openstack-k8s-operators:18.0-fr5 Feb 12, 2026
1 check passed
@openshift-ci

openshift-ci Bot commented Feb 12, 2026

Copy link
Copy Markdown
Contributor

@openshift-cherrypick-robot: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
ci/prow/functional 1da7e8f link unknown /test functional

Full PR test history. Your PR dashboard.

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

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.

3 participants