Bug 1865308

Summary: [Baremetal] Post-upgrade to 4.6, new added worker node will run Keepalived mode != rest of nodes.
Product: OpenShift Container Platform Reporter: Yossi Boaron <yboaron>
Component: Machine Config OperatorAssignee: Yossi Boaron <yboaron>
Status: CLOSED ERRATA QA Contact: Nataf Sharabi <nsharabi>
Severity: medium Docs Contact:
Priority: medium    
Version: 4.6CC: asegurap, augol, bperkins, nsharabi, xiuwang
Target Milestone: ---   
Target Release: 4.6.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-10-27 16:23:11 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:
Bug Depends On: 1872742, 1875237    
Bug Blocks:    

Description Yossi Boaron 2020-08-03 20:55:15 UTC
Reproduce steps:

1. Run upgrade from 4.5 to 4.6
Keepalived will continue to tun in multicast mode
2. Add a new worker node

Actual results:
The new node run Keepalived in unicast mode 

Expected results:

The new node should run Keepalived in the same mode as rest of the nodes

Comment 2 Yossi Boaron 2020-08-05 11:12:22 UTC
The fix for this bug was already merged, see [1] 

[1] https://github.com/openshift/machine-config-operator/pull/1968

Comment 5 Nataf Sharabi 2020-10-16 07:13:16 UTC
Verified on:

oc version
Client Version: 4.6.0-0.nightly-2020-10-03-051134
Server Version: 4.5.13
Kubernetes Version: v1.18.3+47c0e71

Worked by procedure [1] to verify.

After adding the worker-0-2,

cat /etc/keepalived/keepalived.con:

.
.
.
unicast_src_ip 192.168.123.149                                                                                                                                                            
    unicast_peer {                                                                                                                                                                            
                                                                                                                                                                                              
        192.168.123.128
         
        192.168.123.119
         
        192.168.123.109
         
        192.168.123.133
         
        192.168.123.135       
         
    }

.
.
.

[1]https://polarion.engineering.redhat.com/polarion/#/project/OSE/workitem?id=OCP-29807

Comment 7 errata-xmlrpc 2020-10-27 16:23:11 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (OpenShift Container Platform 4.6 GA Images), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2020:4196