Seems it is in origin/branch-3.4


On 27/03/2025 15:18, Brendan Doyle via discuss wrote:


On 27/03/2025 12:24, Brendan Doyle via discuss wrote:


On 27/03/2025 12:16, Ales Musil wrote:


On Thu, Mar 27, 2025 at 1:16 PM Ales Musil <amu...@redhat.com> wrote:



    On Thu, Mar 27, 2025 at 1:09 PM <brendan.do...@oracle.com> wrote:



        On 27/03/2025 12:01, Ales Musil wrote:


        On Thu, Mar 27, 2025 at 12:55 PM Brendan Doyle via discuss
        <ovs-discuss@openvswitch.org> wrote:

            Hi,


            Just downloaded the latest LTS for OVS and OVN.

            Built and installed OVS:


            [root@sca15-rain06 ovn]# ovs-vsctl -V
            ovs-vsctl (Open vSwitch) 3.3.4
            DB Schema 8.5.1

            Trying to build OVN pointing to this OVS source and I
            get a compiler error:

            lib/actions.c: In function 'encode_SAMPLE':
            lib/actions.c:4626:7: error: 'struct ofpact_sample' has
            no member named
            'obs_domain_imm'
                  os->obs_domain_imm =
                    ^
            lib/actions.c:4630:11: error: 'struct ofpact_sample'
            has no member named
            'obs_point_imm'
                      os->obs_point_imm = ep->lflow_uuid.parts[0];
                        ^
            lib/actions.c:4632:11: error: 'struct ofpact_sample'
            has no member named
            'obs_point_src'
                      os->obs_point_src =
            expr_resolve_field(&sample->obs_point_id_src);
                        ^
            lib/actions.c:4634:11: error: 'struct ofpact_sample'
            has no member named
            'obs_point_imm'
                      os->obs_point_imm = sample->obs_point_id;
                        ^
            make[1]: *** [lib/actions.lo] Error 1
            make[1]: Leaving directory `/root/ovn'
            make: *** [install] Error 2

            Brendan
            _______________________________________________
            discuss mailing list
            disc...@openvswitch.org
            https://mail.openvswitch.org/mailman/listinfo/ovs-discuss
            
<https://urldefense.com/v3/__https://mail.openvswitch.org/mailman/listinfo/ovs-discuss__;!!ACWV5N9M2RV99hQ!I4uQg-11mUjk_B_HVwPDbJ1QAwUx9-3mVcb-ZID_jG5thqkrWH8oUOYGQn8lqwqwMuJdsO0cqueCpilCgQ$>


        Hi,

        OVN is "pinned' to the exact version of OvS needed for
        compilation
        and there is a chance that some combinations might not work
        together.
        You can still compile and install LTS OvS, but OVN should be
        compiled with the submodule OvS that is in the
        corresponding branch.

        What version of OVS is that for the latest OVN LTS?

        I pulled the OVN LTS tar ball from the release section of
        the OVN website,
        when I extract it there is nothing in the ovs dir:

        pwd
        /root/ovn
        [root@sca15-rain17 ovn]# ls ovs
        [root@sca15-rain17 ovn]#

        Brendan


    OVN 24.03 uses OvS
    https://github.com/ovn-org/ovn/tree/f5a4704f9be07f7c29e45bb15e7e71126c6fea4a
    
<https://urldefense.com/v3/__https://github.com/ovn-org/ovn/tree/f5a4704f9be07f7c29e45bb15e7e71126c6fea4a__;!!ACWV5N9M2RV99hQ!L3xtWlgqrHCFD6AIiYE4Q2jlQVooEXZ8mgmDptzHdOf0Lr_EcvDYZVxismDjMKkj2s3Lh7FyhD20b8t2Kw$>,
    which corresponds to 3.3.2.


The link should have been https://github.com/openvswitch/ovs/tree/dfe601bbc154c836e6ec3526a1eb331c1c09a06e <https://urldefense.com/v3/__https://github.com/openvswitch/ovs/tree/dfe601bbc154c836e6ec3526a1eb331c1c09a06e__;!!ACWV5N9M2RV99hQ!L3xtWlgqrHCFD6AIiYE4Q2jlQVooEXZ8mgmDptzHdOf0Lr_EcvDYZVxismDjMKkj2s3Lh7FyhD38FVMUcg$>.

OK thanks, where is it documented what OVN releases are supported with what OVS releases.
I did not see anything in

https://www.ovn.org/en/releases/
OR
https://www.ovn.org/en/releases/24.03/





I


        Hopefully this helps,
        Ales



Not really I still get the same error:

/root/ovs/lib/util.h:198:1: warning: 'returns_nonnull' attribute directive ignored [-Wattributes]
 OVS_RETURNS_NONNULL void *xmalloc_size_align(size_t, size_t) MALLOC_LIKE;
 ^
lib/actions.c: In function 'encode_SAMPLE':
lib/actions.c:4626:7: error: 'struct ofpact_sample' has no member named 'obs_domain_imm'
     os->obs_domain_imm =
       ^
lib/actions.c:4630:11: error: 'struct ofpact_sample' has no member named 'obs_point_imm'
         os->obs_point_imm = ep->lflow_uuid.parts[0];
           ^
lib/actions.c:4632:11: error: 'struct ofpact_sample' has no member named 'obs_point_src'          os->obs_point_src = expr_resolve_field(&sample->obs_point_id_src);
           ^
lib/actions.c:4634:11: error: 'struct ofpact_sample' has no member named 'obs_point_imm'
         os->obs_point_imm = sample->obs_point_id;
           ^
make[1]: *** [lib/actions.lo] Error 1
make[1]: Leaving directory `/root/ovn'
make: *** [install] Error 2
[root@sca15-rain06 ovn]# ovs-vsctl -V
ovs-vsctl (Open vSwitch) 3.3.2
DB Schema 8.5.0





_______________________________________________
discuss mailing list
disc...@openvswitch.org
https://urldefense.com/v3/__https://mail.openvswitch.org/mailman/listinfo/ovs-discuss__;!!ACWV5N9M2RV99hQ!Ks8pj6u9s-RdliRLwxUf-2eJ61Mhz_SP5-QkE0sq9JXxO6muh0MxpWeZAMqY7qnUW7-beRf96EOUPtkpojFdGbkrpHbXbw$


_______________________________________________
discuss mailing list
disc...@openvswitch.org
https://urldefense.com/v3/__https://mail.openvswitch.org/mailman/listinfo/ovs-discuss__;!!ACWV5N9M2RV99hQ!N9GAola-U95RkDxdTMfQoNDceDS6MLDXPEgWQRf2biPsJWFCdpM-Yg8uTfc7CUdC_8GsKcmqGdRdZ_5pZ40jZ83lIaa_Tw$
_______________________________________________
discuss mailing list
disc...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-discuss

Reply via email to