Comment 5 for bug 1950513

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to integ (master)

Reviewed: https://review.opendev.org/c/starlingx/integ/+/817796
Committed: https://opendev.org/starlingx/integ/commit/6da5c5ecbe55047f68e74a9d180eae91ad7c9598
Submitter: "Zuul (22348)"
Branch: master

commit 6da5c5ecbe55047f68e74a9d180eae91ad7c9598
Author: M. Vefa Bicakci <email address hidden>
Date: Wed Nov 10 18:43:13 2021 -0500

    networking: Update keepalived from 1.3.5 to 2.1.5

    This commit updates keepalived from v1.3.5 to v2.1.5 to avoid failures
    encountered when building StarlingX flock container images, which
    started to fail with the following errors after the recent iptables
    update introduced by commit 36673774ee3c ("iproute-5.12, iptables-1.8.4,
    and libnftnl-1.1.5", 2021-10-27):

    === 8< ===
    Error: Package: keepalived-1.3.5-19.el7.x86_64 (base)
           Requires: libxtables.so.10()(64bit)
           Available: iptables-1.4.21-35.el7.x86_64 (base)
               libxtables.so.10()(64bit)
           Installing: iptables-1.8.4-21.tis.5.x86_64 (stx-mirror-distro)
               Not found
    === >8 ===

    keepalived-2.1.5 was imported from CentOS 8-Stream where it is the
    latest version as of this writing. It should be noted that rebuilding
    keepalived-1.3.5 (i.e., CentOS 7's version) was not suitable as
    keepalived-1.3.5 does not support iptables-nftables, and the CentOS
    8-Stream keepalived RPM cannot be used as is due to the specific
    versions of some of its dependencies.

    During the preparation of this patch, an unexpected build failure had to
    be worked around by disabling SNMP support in keepalived, which is
    assumed to not have a negative impact on StarlingX according to a
    software architect colleague at Wind River. Please see the description
    of the patch named "keepalived.spec-Disable-dependency-on-snmp.patch"
    for further details regarding the build failure.

    Verification:
    - Layered and monolithic StarlingX master branch builds succeed.
    - StarlingX container builds, which used to fail without this commit,
      succeed as well.

    Closes-Bug: #1950513

    Signed-off-by: M. Vefa Bicakci <email address hidden>
    Change-Id: I59bd7d4f8ed89c73248ecd97e6985f91b88c4623