On 27/03/2025 16:09, Ilya Maximets wrote:
On 3/27/25 16:51, Brendan Doyle via discuss wrote:

Noop seems OVN LTS does not build with OVS 3.4 either, gets further but then 
get another error:

  utilities/ovn-dbctl.c: In function ‘apply_options_direct’:
utilities/ovn-dbctl.c:621:14: error: ‘OPT_SSL_CIPHERSUITES’ undeclared (first 
use in this function)
          case OPT_SSL_CIPHERSUITES:

Seems that is defined in OVS 3.5


On 27/03/2025 15:36, Brendan Doyle via discuss wrote:
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://urldefense.com/v3/__https://mail.openvswitch.org/mailman/listinfo/ovs-discuss__;!!ACWV5N9M2RV99hQ!Pe7DmG7hUZM3QhEVJ8JzBNSNJD_bqD583Jd1z34bFvv6xPjV-wiOgarH0AO0bfoiq8WxbUQenMgdwcxC24Fb6w$
  
<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://urldefense.com/v3/__https://github.com/ovn-org/ovn/tree/f5a4704f9be07f7c29e45bb15e7e71126c6fea4a__;!!ACWV5N9M2RV99hQ!Pe7DmG7hUZM3QhEVJ8JzBNSNJD_bqD583Jd1z34bFvv6xPjV-wiOgarH0AO0bfoiq8WxbUQenMgdwcz2oh51gg$
  
<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://urldefense.com/v3/__https://github.com/openvswitch/ovs/tree/dfe601bbc154c836e6ec3526a1eb331c1c09a06e__;!!ACWV5N9M2RV99hQ!Pe7DmG7hUZM3QhEVJ8JzBNSNJD_bqD583Jd1z34bFvv6xPjV-wiOgarH0AO0bfoiq8WxbUQenMgdwcy2CKaRTw$
  
<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://urldefense.com/v3/__https://www.ovn.org/en/releases/__;!!ACWV5N9M2RV99hQ!Pe7DmG7hUZM3QhEVJ8JzBNSNJD_bqD583Jd1z34bFvv6xPjV-wiOgarH0AO0bfoiq8WxbUQenMgdwcyhVNLJBA$
OR
https://urldefense.com/v3/__https://www.ovn.org/en/releases/24.03/__;!!ACWV5N9M2RV99hQ!Pe7DmG7hUZM3QhEVJ8JzBNSNJD_bqD583Jd1z34bFvv6xPjV-wiOgarH0AO0bfoiq8WxbUQenMgdwczeiQ_lig$





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;
This code that fails was introduced in OVN 24.09.  You're building
a wrong OVN version.  The LTS is 24.03.

Best regards, Ilya Maximets.

Gerr, yes I see now I picked up the wrong tar ball.


            ^
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://urldefense.com/v3/__https://mail.openvswitch.org/mailman/listinfo/ovs-discuss__;!!ACWV5N9M2RV99hQ!MGQH26btb3iHKLFcWZh1Ua4tKr-dbwywFDyiB-TR-fB7d0-3ANBMqx7TEvHjDCW6OF4dl9tm_GfWrKnHW802uDr9vjSlwA$

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

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

Reply via email to