Skip to content

Bump OVN-K#3728

Open
aswinsuryan wants to merge 2 commits intosubmariner-io:develfrom
aswinsuryan:bump-ovn-ovsdb
Open

Bump OVN-K#3728
aswinsuryan wants to merge 2 commits intosubmariner-io:develfrom
aswinsuryan:bump-ovn-ovsdb

Conversation

@aswinsuryan
Copy link
Contributor

@aswinsuryan aswinsuryan commented Nov 25, 2025

Bump OVN-K

@submariner-bot
Copy link
Contributor

🤖 Created branch: z_pr3728/aswinsuryan/bump-ovn-ovsdb
🚀 Full E2E won't run until the "ready-to-test" label is applied. I will add it automatically once the PR has 2 approvals, or you can add it manually.

@aswinsuryan aswinsuryan marked this pull request as ready for review November 25, 2025 22:31
@aswinsuryan aswinsuryan added the ready-to-test When a PR is ready for full E2E testing label Nov 25, 2025
@aswinsuryan aswinsuryan force-pushed the bump-ovn-ovsdb branch 3 times, most recently from 3897d80 to 97582c4 Compare November 27, 2025 04:34
Signed-off-by: Aswin Suryanarayanan <asuryan@redhat.com>
Copy link
Contributor

@tpantelis tpantelis left a comment

Choose a reason for hiding this comment

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

@aswinsuryan Can you outline/describe the changes associated with the bump in the commit message? Eg why do we no longer call libovsdbops.CreateOrUpdateLogicalRouterPolicyWithPredicate, DeleteLogicalRouterStaticRoutesWithPredicate, etc?


ops = append(ops, updateOps...)
} else {
lrp.UUID = "new_lrp"
Copy link
Contributor

Choose a reason for hiding this comment

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

This needs to be unique (same on L272). Internally OVSDB code uses buildNamedUUID tho we can't access that. We could duplicate the code but not ideal. I don't know how important it is to follow OVSDB rfc 7047 section 5.1. We can also just use NewUUID from k8s.io/apimachinery/pkg/util/uuid.

Copy link
Contributor

@tpantelis tpantelis Dec 4, 2025

Choose a reason for hiding this comment

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

I added commit 980b262 to adjust the relevant unit test so it now fails due to non-unique UUIDs. It didn't fail before due to timing and luck.

return errors.Wrapf(err, "failed to find ovn cluster router %q", OVNClusterRouter)
}

if router.UUID == "" {
Copy link
Contributor

Choose a reason for hiding this comment

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

Is this just defensive or is it actually possible for this to be empty (and have you observed it)?

defer c.client.mutex.Unlock()

uuid := getUUID(m)
if uuid != "" {
Copy link
Contributor

Choose a reason for hiding this comment

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

Perhaps we should fail if empty (ie Expect(uuid).NotTo(BeEmpty()))?

I assume the real implementation also looks up by UUID? Perhaps we should also modify Delete to do so.

Signed-off-by: Tom Pantelis <tompantelis@gmail.com>
}
}

c.client.models[reflect.TypeOf(m)] = append(c.client.models[reflect.TypeOf(m)], m)
Copy link
Contributor

Choose a reason for hiding this comment

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

Since this function is Update I don't think we should add if not present.

@dfarrell07 dfarrell07 mentioned this pull request Dec 16, 2025
@github-actions
Copy link
Contributor

This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further
activity occurs. Thank you for your contributions.

@github-actions github-actions bot added the stale label Dec 19, 2025
@tpantelis tpantelis removed the stale label Dec 23, 2025
@github-actions
Copy link
Contributor

github-actions bot commented Jan 7, 2026

This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further
activity occurs. Thank you for your contributions.

@github-actions github-actions bot added the stale label Jan 7, 2026
@github-actions github-actions bot closed this Jan 14, 2026
@submariner-bot
Copy link
Contributor

🤖 Closed branches: [z_pr3728/aswinsuryan/bump-ovn-ovsdb]

@tpantelis tpantelis reopened this Jan 14, 2026
@submariner-bot
Copy link
Contributor

🤖 Created branch: z_pr3728/aswinsuryan/bump-ovn-ovsdb
🚀 Full E2E won't run until the "ready-to-test" label is applied. I will add it automatically once the PR has 2 approvals, or you can add it manually.

@github-actions github-actions bot removed the stale label Jan 15, 2026
@github-actions
Copy link
Contributor

This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further
activity occurs. Thank you for your contributions.

@github-actions github-actions bot added the stale label Jan 29, 2026
@tpantelis tpantelis removed the stale label Jan 29, 2026
@github-actions
Copy link
Contributor

This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further
activity occurs. Thank you for your contributions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready-to-test When a PR is ready for full E2E testing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants