Bug 1391515

Summary: flannel integration is broken as of flannel-0.5.5
Product: OpenShift Container Platform Reporter: Jeremy Eder <jeder>
Component: InstallerAssignee: Samuel Munilla <smunilla>
Status: CLOSED ERRATA QA Contact: Gan Huang <ghuang>
Severity: urgent Docs Contact:
Priority: urgent    
Version: 3.4.0CC: aos-bugs, jokerman, jprovazn, mmccomas, nsantos, sdodson
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard: aos-scalability-34
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.
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-01-18 12:49:14 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 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