Skip to content

Conversation

@abays
Copy link
Contributor

@abays abays commented Jan 30, 2026

During a minor update, we currently mistakenly consider empty OpenStackDataPlaneNodeSets and wait for their non-existent OVN deployments to update. We should ignore them in this context instead, in order to prevent unnecessarily blocking the update and thus obviate the need for manual intervention to unblock it (which can be done by deleting the empty OpenStackDataPlaneNodeSets).

Tested locally in a CIFMW dev-scripts environment with a minor update of VA1:

  1. Added an empty OpenStackDataPlaneNodeSet after initial deployment
  2. Initiated minor update and reached data plane OVN update
  3. Observed successful completion of data plane OVN update

Jira: https://issues.redhat.com/browse/OSPRH-25851

@abays abays requested review from dprince and rabi January 30, 2026 11:02
@openshift-ci openshift-ci bot requested a review from slagle January 30, 2026 11:02
"ansibleSSHPrivateKeySecret": "dataplane-ansible-ssh-private-key-secret",
},
"nodes": map[string]interface{}{},
"servicesOverride": []string{},
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I removed this because the servicesOverride field doesn't actually exist in OpenStackDataPlaneNodeSet. It's found in OpenStackDataPlaneDeployment instead, so this line is misleading.

@stuggi
Copy link
Contributor

stuggi commented Feb 3, 2026

looks good to me, but would let someone with better edpm knowledge approve to land it.

Copy link
Contributor

@rabi rabi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry I missed it. LGTM. Did you face the issue with some testing. In real-life we don't expect users to have empty nodesets 😄

// After considering generation (to make sure reconciliation has quiesced for
// the current nodeset spec), we only care about deployed status if the nodeset
// has nodes
if len(nodeset.Spec.Nodes) < 1 {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think general pattern is to use == 0 ?

@openshift-ci openshift-ci bot added the lgtm label Feb 3, 2026
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Feb 3, 2026

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: abays, 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

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