Bug 2172293

Summary: use_vmac not allowed with unicast vrrp, after keepalived update to 2.1.5-9
Product: Red Hat Enterprise Linux 8 Reporter: Curtis Taylor <cutaylor>
Component: keepalivedAssignee: Ryan O'Hara <rohara>
Status: CLOSED MIGRATED QA Contact: cluster-qe <cluster-qe>
Severity: high Docs Contact:
Priority: high    
Version: 8.7CC: cluster-maint, kwalker, mmhatre
Target Milestone: rcKeywords: MigratedToJIRA
Target Release: ---Flags: pm-rhel: mirror+
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-09-22 20:07:35 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Curtis Taylor 2023-02-21 21:10:30 UTC
Description of problem:
After update from keepalived 2.0.10 to 2.1.5-9 in RHEL8 attempt to use use_vmac reports:

    Cannot use VMAC/ipvlan with unicast peers - clearing use_vmac

This worked in Keepalived 2.0.10.

Keepalived VRRP cluster should support the use of use_vmac, vmac_xmit_base and unicast peering.

Needed commit:

https://github.com/acassen/keepalived/pull/1733/commits/97429b3b7e6ec2f5b9c93a5d507b152bab30f919

Version-Release number of selected component (if applicable):
keepalived 2.1.5-9.

How reproducible:

Steps to Reproduce:
1. 
Start keepalived to 
$ cat keepalived.conf
! Configuration File for keepalived

global_defs {
    vrrp_version 3
    enable_script_security
    script_user root
    nftables
}

vrrp_script check_peer_HE {
    script /usr/local/bin/check_peer_HE.sh
    interval 2
}

vrrp_instance VI_1 {
    interface core
    use_vmac
    vmac_xmit_base
    priority 100
    advert_int 1
    virtual_router_id 51
    virtual_ipaddress {
        10.0.0.1
    }
    unicast_src_ip 10.0.0.3
    unicast_peer {
      10.0.0.2
    }
    track_script {
	check_peer_HE
    }
    garp_master_delay 10
    garp_master_repeat 1
    garp_lower_prio_delay 10
    garp_lower_prio_repeat 1
    garp_master_refresh 60
    garp_master_refresh_repeat 2
}

Actual results:

    Cannot use VMAC/ipvlan with unicast peers - clearing use_vmac

Expected results:

Keepalived allows use_vmac with vmac_xmit_base set.

Additional info:

This is affecting a production environment, by disabling use_vmac capability and reducing high availability of a network system which contains devices that require long lived arp caches. These devices are unable to handle the failover of VRRP clusters with out the use_vmac feature.

Customer provided link to regression fix from upstream source: https://github.com/acassen/keepalived/pull/1733/commits/97429b3b7e6ec2f5b9c93a5d507b152bab30f919

Comment 6 Mithil Mhatre 2023-07-25 02:15:05 UTC
Hello Team,

Any update on this?

Comment 8 RHEL Program Management 2023-09-22 20:04:07 UTC
Issue migration from Bugzilla to Jira is in process at this time. This will be the last message in Jira copied from the Bugzilla bug.

Comment 9 RHEL Program Management 2023-09-22 20:07:35 UTC
This BZ has been automatically migrated to the issues.redhat.com Red Hat Issue Tracker. All future work related to this report will be managed there.

Due to differences in account names between systems, some fields were not replicated.  Be sure to add yourself to Jira issue's "Watchers" field to continue receiving updates and add others to the "Need Info From" field to continue requesting information.

To find the migrated issue, look in the "Links" section for a direct link to the new issue location. The issue key will have an icon of 2 footprints next to it, and begin with "RHEL-" followed by an integer.  You can also find this issue by visiting https://issues.redhat.com/issues/?jql= and searching the "Bugzilla Bug" field for this BZ's number, e.g. a search like:

"Bugzilla Bug" = 1234567

In the event you have trouble locating or viewing this issue, you can file an issue by sending mail to rh-issues. You can also visit https://access.redhat.com/articles/7032570 for general account information.

Comment 10 Red Hat Bugzilla 2024-01-21 04:25:35 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 120 days