Bug 2025691

Summary: Keepalived conf ingress peer on in Dual stack cluster contains both IPv6 and IPv4 addresses
Product: OpenShift Container Platform Reporter: OpenShift BugZilla Robot <openshift-bugzilla-robot>
Component: Machine Config OperatorAssignee: Yossi Boaron <yboaron>
Machine Config Operator sub component: Machine Config Operator QA Contact: Yoav Porag <yporagpa>
Status: CLOSED ERRATA Docs Contact:
Severity: urgent    
Priority: low CC: aos-bugs, bnemec, bperkins, eglottma, eweiss, mkrejci, vvoronko, yboaron
Version: 4.7Keywords: Triaged
Target Milestone: ---   
Target Release: 4.9.z   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-01-04 18:41:24 UTC Type: ---
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: 1998951    
Bug Blocks:    

Comment 4 Yoav Porag 2021-12-08 12:52:19 UTC
Deployment Successful #10069 - standard cluster, dual-stack

[kni@provisionhost-0-0 ~]$ oc get clusterversion
NAME      VERSION                             AVAILABLE   PROGRESSING   SINCE   STATUS
version   4.9.0-0.nightly-2021-12-08-041936   True        False         37m     Cluster version is 4.9.0-0.nightly-2021-12-08-041936

[core@master-0-0 ~]$ cat /etc/keepalived/keepalived.conf 
"...
vrrp_instance ocp-edge-cluster-0_INGRESS {
    state BACKUP
    interface br-ex
    virtual_router_id 110
    priority 20
    advert_int 1
    
    unicast_src_ip 192.168.123.72
    unicast_peer {
        192.168.123.51
        192.168.123.70
        192.168.123.79
        192.168.123.144
    }
..."

[core@master-0-1 ~]$ cat /etc/keepalived/keepalived.conf 
"...
vrrp_instance ocp-edge-cluster-0_INGRESS {
    state BACKUP
    interface br-ex
    virtual_router_id 110
    priority 20
    advert_int 1
    
    unicast_src_ip 192.168.123.51
    unicast_peer {
        192.168.123.72
        192.168.123.70
        192.168.123.79
        192.168.123.144
    }
..."

[core@master-0-2 ~]$ cat /etc/keepalived/keepalived.conf 
"...
vrrp_instance ocp-edge-cluster-0_INGRESS {
    state BACKUP
    interface br-ex
    virtual_router_id 110
    priority 20
    advert_int 1
    
    unicast_src_ip 192.168.123.70
    unicast_peer {
        192.168.123.72
        192.168.123.51
        192.168.123.79
        192.168.123.144
    }
..."

[core@worker-0-1 ~]$ cat /etc/keepalived/keepalived.conf^C
"...
vrrp_instance ocp-edge-cluster-0_INGRESS {
    state BACKUP
    interface br-ex
    virtual_router_id 110
    priority 20
    advert_int 1
    
    unicast_src_ip 192.168.123.79
    unicast_peer {
        192.168.123.72
        192.168.123.51
        192.168.123.70
        192.168.123.144
    }
..."

[core@worker-0-0 ~]$ cat /etc/keepalived/keepalived.conf^C
"...
    unicast_src_ip 192.168.123.144
    unicast_peer {
        192.168.123.72
        192.168.123.51
        192.168.123.70
        192.168.123.79
    }
..."

ingress peer lists contain only ipv4 addresses

Comment 7 errata-xmlrpc 2022-01-04 18:41:24 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.9.12 bug fix update), 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-2021:5214