Bug 1659900 - ipfailover pod cannot handle IPv6 addresses
Summary: ipfailover pod cannot handle IPv6 addresses
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Routing
Version: 3.7.0
Hardware: Unspecified
OS: Unspecified
Target Milestone: ---
: 3.11.z
Assignee: Dan Mace
QA Contact: Hongan Li
Depends On:
TreeView+ depends on / blocked
Reported: 2018-12-17 07:28 UTC by Ravi Trivedi
Modified: 2019-10-11 00:17 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Last Closed: 2019-10-11 00:17:26 UTC
Target Upstream Version:

Attachments (Terms of Use)

Description Ravi Trivedi 2018-12-17 07:28:02 UTC
Description of problem:

As per customer's request, the config generator [1] in the ipfailover pod should be able to handle IPv6 addresses as well. Currently, the weight calculation fails. 

While the cluster can use IPv6 and as long as no failover happens, everything will work fine. As soon as the failover event happens though, because of said bug the two pods will be in a split brain situation where both believe to be the master.

[1] - https://github.com/openshift/origin/blob/release-3.7/images/ipfailover/keepalived/lib/config-generators.sh#L238

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


How reproducible:


Steps to Reproduce:
1. Use image on IPv6 network.
2. Cause failover of pods which does not work due to missing IPv6 weight calculation logic.

Additional info:

As of now, Kubernetes does not support IPv6 networks but keepalived supports it as per http://www.keepalived.org/changelog.html.

Note You need to log in before you can comment on or make changes to this bug.