Description of problem: Customer report: "Upon upgrading to OpenShift 3.7, our pod IP network became unavailable across nodes. This was debugged to the point that OpenShift was handing out colliding hostsubnet values. For example, some hosts may have been given a 10.1.5.0/24 while others already had the 10.1.4.0/23 range (these two subnets collide)." OpenShift should not allow two hostsubnet ranges to collide. Version-Release number of selected component (if applicable): 3.7 Expected results: "I expect to see Openshift not give colliding subnet values if the master services can be configured in a way to hand out different subnet lengths."
Could you post the master-config.yaml file?
We want to allow the master to change the network if something gets messed up, that change has not been reflected in the node sdn setup rules and it should be.
Commit pushed to master at https://github.com/openshift/origin https://github.com/openshift/origin/commit/ffc83819c44440e4e1b30aa34a2ce41e3aab8e75 Correctly flush stale ovs rules on Node startup currently in openshift when creating a new ovs bridge it does so using ovs-vsctl --if-exists del-br br0 -- add-br br0 -- set Bridge br0 fail-mode=secure protocols=OpenFlow13 which while it does delete the bridge does not clear the flows attached to it. Spliting bridge creation into two steps, deleting the old bridge and creating the new one correctly deletes any stale ovs flows. Bug 1539187
verified in openshift v3.9.2 and ovs has updated to delete br0 then create new one as below on node startup. I0305 07:44:52.501637 14512 ovs.go:145] Executing: ovs-vsctl --if-exists del-br br0 I0305 07:44:52.577332 14512 ovs.go:145] Executing: ovs-vsctl add-br br0 -- set Bridge br0 fail-mode=secure protocols=OpenFlow13
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-2018:0489