On 3/28/25 14:11, lis...@gmail.com wrote:
> Hi Ilya,
> 
> looks like some modules are missing.
> 
> cat /boot/config-6.6.74+rpt-rpi-2712 |grep GENEVE
> # CONFIG_GENEVE is not set
> 
> modprobe offers me the following vport modules, are they ovn related?:
> 
> vport-gre    vport-vxlan
> 
> Is it just a missing package I didn't install?
> 
> I found ovn-controller-vtep, but the description doesn't give me a hint 
> there could be a Module for the kernel:
> 
> Installed-Size: 3,021 kB
> Depends: ovn-common (= 23.03.1-1~deb12u2), libc6 (>= 2.34), libcap-ng0 
> (>= 0.7.9), libssl3 (>= 3.0.0), libunbound8 (>= 1.8.0)
> Homepage: http://openvswitch.org/
> Download-Size: 775 kB
> APT-Sources: http://deb.debian.org/debian bookworm/main arm64 Packages
> Description: OVN vtep controller
>   ovn-controller-vtep is the local controller daemon in OVN, the Open 
> Virtual
>   Network, for VTEP enabled physical switches. It connects up to the OVN
>   Southbound database over the OVSDB protocol, and down to the VTEP database
>   over the OVSDB protocol.
>   .
>   ovn-controller-vtep provides the ovn-controller-vtep binary for 
> controlling
>   vtep gateways.
> 
> 
> I am a little bit afraid of doing things from sources, because my 
> success rate is not that good. How are my chances on a Debian 12 system 
> to successfully compile OVN from source for a raspberry pi 5?

Your problem is not OVN, but kernel.  If you want to use geneve tunnels,
you need to re-build your kernel enabling the CONFIG_GENEVE and the
corresponding CONFIG_OPENVSWITCH_GENEVE.

At the same time, your kernel seems to support vxlan, so you may configure
OVN to use that instead.  It has its limitations, but I assume you're
not building a large cluster, so vxlan should be perfectly fine for your
use case.  To do that, on each node run:

  ovs-vsctl set Open_vSwitch . external-ids:ovn-encap-type=vxlan

After that you should have vxlan tunnels created instead of geneve.

Best regards, Ilya Maximets.

> 
> And thanks to you for your help, I haven't looked into the kernel modules.
> 
> liszca
> 
> 
> On 3/28/25 10:58, Ilya Maximets wrote:
>> On 3/28/25 00:46, liszca--- via discuss wrote:
>>> I am new to OVN, I just got to know about it when managed to setup up Incus 
>>> and
>>> Ceph as a Cluster after numerous tries. So OVN is missing.
>> <snip>
>>
>>> ovs-vsctl show
>>>
>>> 49568745-b80f-4884-bae3-6526fbe27980
>>>      Bridge br-int
>>>          fail_mode: secure
>>>          datapath_type: system
>>>          Port ovn-dcd203-0
>>>              Interface ovn-dcd203-0
>>>                  type: geneve
>>>                  options: {csum="true", key=flow, remote_ip="192.168.0.32"}
>>>                  error: "could not add network device ovn-dcd203-0 to 
>>> ofproto (Address family not supported by protocol)"
>>>          Port br-int
>>>              Interface br-int
>>>                  type: internal
>>>          Port ovn-928346-0
>>>              Interface ovn-928346-0
>>>                  type: geneve
>>>                  options: {csum="true", key=flow, remote_ip="192.168.0.33"}
>>>                  error: "could not add network device ovn-928346-0 to 
>>> ofproto (Address family not supported by protocol)"
>>>      ovs_version: "3.1.0"
>>>
>>> To me it looks like an IP Address Problem but no clue how to resolve my 
>>> problem.
>> The errors above may mean that geneve kernel module is not loaded or it is
>> not supported in your kernel.  Try 'lsmod | grep geneve' and then try
>> 'modprobe vport_geneve' if there is nothing in the output of the first 
>> command.
>> If that doesn't work, check the kernel config for CONFIG_GENEVE and the
>> CONFIG_OPENVSWITCH_GENEVE options.  Normally they are built as modules 
>> ('=m').
>>
>> If the module is loaded successfully, then restart ovs-vswitchd.
>>
>> Best regards, Ilya Maximets.
>>
>>> In the Video from Stéphane Graber he mentions something like the bridge is 
>>> the
>>> easier way to setup OVN, but still I haven't managed a plan how to 
>>> configure that
>>> bridge.

_______________________________________________
discuss mailing list
disc...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-discuss

Reply via email to