Bug 1391515 - flannel integration is broken as of flannel-0.5.5
Summary: flannel integration is broken as of flannel-0.5.5
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Installer
Version: 3.4.0
Hardware: All
OS: Linux
urgent
urgent
Target Milestone: ---
: ---
Assignee: Samuel Munilla
QA Contact: Gan Huang
URL:
Whiteboard: aos-scalability-34
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-11-03 13:18 UTC by Jeremy Eder
Modified: 2017-03-08 18:43 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
The installer generated a flannel configuration that was not compatible with the latest version of flannel available in Red Hat Enterprise Linux 7. The installer has been updated to produce configuration files compatible with both the new and old versions of flannel.
Clone Of:
Environment:
Last Closed: 2017-01-18 12:49:14 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2017:0066 0 normal SHIPPED_LIVE Red Hat OpenShift Container Platform 3.4 RPM Release Advisory 2017-01-18 17:23:26 UTC

Description Jeremy Eder 2016-11-03 13:18:33 UTC
This BZ is to track inclusion of openshift-ansible installer issue filed here in OCP3.4.  https://github.com/openshift/openshift-ansible/issues/2635

It's a simple fix that would allow use of flannel as the backend SDN for OCP.  Until it's fixed, users must stay on an older version of flannel.

Comment 1 openshift-github-bot 2016-11-03 18:46:20 UTC
Commit pushed to master at https://github.com/openshift/openshift-ansible

https://github.com/openshift/openshift-ansible/commit/0a0f0fc3126179b01f45f76cc85bc30cee428070
Update flannel etcd vars for 0.5.5

flannel-0.5.5 uses different variable names in /etc/sysconfig/flannel.
This writes both the old and next variable name to the file for
quick compatibility.

Fixes #2635
Fixes Bug 1391515

Comment 3 Gan Huang 2016-11-09 08:00:41 UTC
Verified with openshift-ansible-3.4.18-1.git.0.ed7dac0.el7.noarch + RHEL7.3 +
docker1.12 + flannel-0.5.5-1.el7.x86_64

flaneld service was running well on all nodes.

$ cat /etc/sysconfig/flanneld |grep -v "#"

FLANNEL_ETCD_ENDPOINTS=https://flannel-73-1-openshift-master-0.example.com:2379

FLANNEL_ETCD_PREFIX=/openshift.com/network

FLANNEL_OPTIONS=--iface eth1 --etcd-cafile=/etc/origin/node/flannel.etcd-ca.crt --etcd-keyfile=/etc/origin/node/flannel.etcd-client.key --etcd-certfile=/etc/origin/node/flannel.etcd-client.crt

S2I build succeed, and route can be accessed.

Comment 5 errata-xmlrpc 2017-01-18 12:49:14 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, 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-2017:0066


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