Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ovs-offline: better allow user to choose OVS and OVN version inside the image #107

Open
amorenoz opened this issue Sep 20, 2022 · 1 comment

Comments

@amorenoz
Copy link
Owner

Compiled-in C-idl makes ovn-nbctl et.al to point to a specific ovs/ovn schema. So choosing the right OVS/OVN version inside the image can be crucial to proper debugging.

First, we should add ovn version selection to the normal build command.
But we can do better than that. An idea by @palonsoro: use an OCP release version to pin a specific OVS/OVN version tuple.

@palonsoro
Copy link
Contributor

Releases have metadata indicating the commits of each of the components.

For example, for an OKD 4.11 version:

$ oc adm release info --commit-urls | grep ovn
  ovn-kubernetes                                 https://github.com/openshift/ovn-kubernetes/commit/b42cfc1afed745106a7f9674b1e884df6f2248e4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants