Bug 1547899
Summary: | [egressIP] Add the removed egressIP back to the netnamespace will not make it work again | |||
---|---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Meng Bo <bmeng> | |
Component: | Networking | Assignee: | Dan Winship <danw> | |
Status: | CLOSED ERRATA | QA Contact: | Meng Bo <bmeng> | |
Severity: | medium | Docs Contact: | ||
Priority: | medium | |||
Version: | 3.9.0 | CC: | aos-bugs, bbennett, danw, wsun | |
Target Milestone: | --- | |||
Target Release: | 3.9.0 | |||
Hardware: | Unspecified | |||
OS: | Unspecified | |||
Whiteboard: | ||||
Fixed In Version: | Doc Type: | Bug Fix | ||
Doc Text: |
Cause: Bugs in the per-project static IP code
Consequence: If you removed the static IP from a project and then re-added it, it would not always work correctly.
Fix: Fixed the bugs
Result: Removing-and-readding static egress IPs now works
|
Story Points: | --- | |
Clone Of: | ||||
: | 1548080 1548081 (view as bug list) | Environment: | ||
Last Closed: | 2018-12-13 19:26:59 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: | ||||
Bug Depends On: | ||||
Bug Blocks: | 1548080, 1548081 |
Description
Meng Bo
2018-02-22 08:53:41 UTC
Related node log when adding the egressIP back: Feb 22 16:57:23 ose-node1.bmeng.local atomic-openshift-node[31074]: I0222 16:57:23.246703 31074 ovs.go:143] Executing: ovs-ofctl -O OpenFlow13 del-flows br0 table=100, reg0=10140386 Feb 22 16:57:23 ose-node1.bmeng.local atomic-openshift-node[31074]: I0222 16:57:23.251585 31074 ovs.go:143] Executing: ovs-ofctl -O OpenFlow13 add-flow br0 table=100, priority=100, reg0=10140386, actions=drop Feb 22 16:57:25 ose-node1.bmeng.local atomic-openshift-node[31074]: I0222 16:57:25.066447 31074 ovs.go:143] Executing: ovs-ofctl -O OpenFlow13 dump-flows br0 Feb 22 16:57:25 ose-node1.bmeng.local atomic-openshift-node[31074]: I0222 16:57:25.216166 31074 ovs.go:143] Executing: ovs-ofctl -O OpenFlow13 dump-flows br0 table=253 Tested on v3.9.2-1, it still has problem. After add the egressIP back, the pod on the egress node will work well with the egress ip, but the pod on the node other than the egress node will still lose egress access. > Openflow rules on the egress node: table=100, priority=100,reg0=0x392368 actions=drop table=100, priority=100,ip,reg0=0x83e9a4 actions=set_field:f6:bc:c3:46:8a:c0->eth_dst,set_field:0x83e9a4->pkt_mark,goto_table:101 table=100, priority=0 actions=goto_table:101 table=101, priority=51,tcp,nw_dst=10.1.1.3,tp_dst=53 actions=output:2 table=101, priority=51,udp,nw_dst=10.1.1.3,tp_dst=53 actions=output:2 table=101, priority=0 actions=output:2 > Openflow rules on the other node: table=100, priority=100,reg0=0x392368 actions=drop table=100, priority=100,reg0=0x83e9a4 actions=drop table=100, priority=0 actions=goto_table:101 table=101, priority=51,tcp,nw_dst=10.1.1.4,tp_dst=53 actions=output:2 table=101, priority=51,udp,nw_dst=10.1.1.4,tp_dst=53 actions=output:2 table=101, priority=0 actions=output:2 > # oc get netnamespace u1p1 NAME NETID EGRESS IPS u1p1 8645028 [10.1.1.100] This will be fixed by https://github.com/openshift/origin/pull/18808 / bug 1551028 *** Bug 1548080 has been marked as a duplicate of this bug. *** Tested on v3.9.27 Issue has been fixed. 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:3748 |