Bug 2127398

Summary: backport commit "Allow persistence_granularity to be 0.0.0.0" for keepalived version 1.3.5, RHEL 7
Product: Red Hat Enterprise Linux 7 Reporter: suresh kumar <surkumar>
Component: keepalivedAssignee: Ryan O'Hara <rohara>
Status: CLOSED MIGRATED QA Contact: cluster-qe <cluster-qe>
Severity: urgent Docs Contact:
Priority: urgent    
Version: 7.9CC: cluster-maint, djaiswar, mmhatre, rohara
Target Milestone: rcKeywords: MigratedToJIRA
Target Release: ---Flags: pm-rhel: mirror+
Hardware: x86_64   
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 19:57:38 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 suresh kumar 2022-09-16 07:55:14 UTC
Description of problem:
SIP request message with same call-id, but different source IP is routed to different server as if it was newly initiated call-id and connection breaks.

Setup:
=======

SIP clients ------------> keepalived Server ------> Real Server
                           192.168.100.116          192.168.100.118
                                                    192.168.100.121



Version-Release number of selected component (if applicable):
keepalived 1.3.5

How reproducible:
Always by customer


Actual results:
Current Flow:
SIPP(192.168.100.171) --- INVITE ---> LB(192.168.100.116) ---> RealServer(192.168.100.118)
SIPP(192.168.100.171) <----- 200 ----- RealServer(192.168.100.118)
SIPP(192.168.100.170) ----- ACK -----> LB(192.168.100.116) ---> RealServer(192.168.100.121)
SIPP(192.168.100.170) ----- BYE -----> LB(192.168.100.116) ---> RealServer(192.168.100.121)

# ipvsadm -Ln --connection --persistent-conn
IPVS connection entries
pro expire state       source             virtual            destination        pe name          pe_data
UDP 14:07  UDP         192.168.100.170:0  192.168.100.116:5060 192.168.100.121:5060 sip                1-16760.100.171
UDP 14:07  UDP         192.168.100.171:0  192.168.100.116:5060 192.168.100.118:5060 sip                1-16760.100.171

The call-id is same, but packet from 192.168.100.171 is routed to 192.168.100.118



Expected results:
==================

SIPP(192.168.100.171) --- INVITE ---> LB(192.168.100.116) ---> RealServer(192.168.100.118)
SIPP(192.168.100.171) <----- 200 ----- RealServer(192.168.100.118)
SIPP(192.168.100.170) ----- ACK -----> LB(192.168.100.116) ---> RealServer(192.168.100.118) ***
SIPP(192.168.100.170) ----- BYE -----> LB(192.168.100.116) ---> RealServer(192.168.100.118) ***

Additional info:
==================
keepalived configuration used:

virtual_server 192.168.100.116 5060 {
# virtual_server fd00::7ea1:10:1:1:145 5060 {
    delay_loop 5
    lb_algo rr
    lb_kind DR
    ops 
    persistence_timeout 60
    persistence_granularity 0.0.0.0  <----------------- This is not working
    persistence_engine sip 
    protocol UDP

Comment 6 Mithil Mhatre 2023-08-09 08:05:43 UTC
Hello Team,

Any update on this?


Thanks,
Mithil

Comment 9 RHEL Program Management 2023-09-22 19:49:06 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 10 RHEL Program Management 2023-09-22 19:57:38 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 11 Red Hat Bugzilla 2024-01-21 04:25:28 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 120 days