Code Monkey home page Code Monkey logo

Comments (3)

mangelajo avatar mangelajo commented on August 22, 2024

We are finding this on submariner, because we use ovn-nbctl from fedora which is newer than the ovn-kubernetes image. But will suffer of the same issue if somebody uses upstream submariner with openshift's ovn-kubernetes, for example.

from ovn.

numansiddique avatar numansiddique commented on August 22, 2024

ovn-nbctl is part of ovn common package and ovn-nb.ovsschema/ovn-sb.ovsschema are part of ovn-central package.

Is it not possible to make sure the same version is used ?

I don't think we have the support in C IDL helper functions (which ovn-nbctl uses) to check if a column is part of the schema or not.

A simple work around is to use ovn-nbctl create command instead of using ovn-nbctl lr-policy-add

Like

ovn-nbctl -- --id=@lrp create Logical_Router_Policy
match="ip4.dst == 100.2.0.0/16" priority=20000 action=reroute nexthop=169.254.254.1 -- add Logical_Router
ovn_cluster_router policies @lrp

from ovn.

mangelajo avatar mangelajo commented on August 22, 2024

ovn-nbctl is part of ovn common package and ovn-nb.ovsschema/ovn-sb.ovsschema are part of ovn-central package.

Is it not possible to make sure the same version is used ?

Not really, since ovn-kubernetes will be built with a base image we don't know... it could be upstream ovn-kubernetes, or it could be openshift-sdn, or they could be in the process of upgrading the database, etc...

I don't think we have the support in C IDL helper functions (which ovn-nbctl uses) to check if a column is part of the schema or not.

Ack, If you had that you could make ovn-nbctl compatible with version-1, instead of version+1 like now, which is weird :-)

A simple work around is to use ovn-nbctl create command instead of using ovn-nbctl lr-policy-add

Like

ovn-nbctl -- --id=@lrp create Logical_Router_Policy
match="ip4.dst == 100.2.0.0/16" priority=20000 action=reroute nexthop=169.254.254.1 -- add Logical_Router
ovn_cluster_router policies @lrp

+1 That will help I hadn't thought of that option :-) thank you.

from ovn.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.