Bug 1459193
Summary: | Service is unreachable on the newly added node while manually scaling up nodes in Flannel network mode. | ||
---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Gan Huang <ghuang> |
Component: | Reference Architecture | Assignee: | Mark Lamourine <mlamouri> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Gan Huang <ghuang> |
Severity: | high | Docs Contact: | |
Priority: | high | ||
Version: | 3.4.1 | CC: | mlamouri |
Target Milestone: | --- | ||
Target Release: | --- | ||
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: | 2017-07-03 18:48:56 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
Gan Huang
2017-06-06 13:55:45 UTC
The scaleup playbook does not include two rules which are needed to complete the firewall configuration. These rules are present in the deployment playbook but not in scaleup. Adding these two rules, conditional on sdn_flannel should resolve this. + - name: Set up masquerading on flannel interface  + shell: iptables -t nat -A POSTROUTING -o {{ flannel_interface }} -j MASQUERADE  +  + - name: Make iptables rules permanent  + shell: /usr/libexec/iptables/iptables.init save  + Fixed upstream - https://github.com/redhat-openstack/openshift-on-openstack/commit/9b9f90f44bb9d032ee11e7dcf7ad30370ffdd10a Creating a package for testing. Fixed and OCP version corrected in RPM https://brewweb.engineering.redhat.com/brew/buildinfo?buildID=570510 Verified with openshift-heat-templates-0.9.9-5.el7ost.noarch Manual scaling succeed with Flannel network enabled. The services for both the newly node and existing node can be accessed successfully. # openshift version openshift v3.4.1.37 kubernetes v1.4.0+776c994 etcd 3.1.0-rc.0 # rpm -q flannel flannel-0.7.1-1.el7.x86_64 |