Bug 1275904
Summary: | Should clean up the openflow rules for node after delete the node | ||
---|---|---|---|
Product: | OKD | Reporter: | Yan Du <yadu> |
Component: | Networking | Assignee: | Ravi Sankar <rpenta> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Meng Bo <bmeng> |
Severity: | low | Docs Contact: | |
Priority: | medium | ||
Version: | 3.x | CC: | aos-bugs, dmcphers, jkrieger, xtian, yadu |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2016-05-12 17:12:11 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
Yan Du
2015-10-28 05:52:27 UTC
Can't reproduce. Can you attach the journal output from node1 or node2? Hi, Dan Actually I have tried many times, and I found the behavior is a little wired. If I delete the node at the first time, then the openflow rules is still there even the node have been deleted. Then I restart the node to add the node again to master, try to delete the node again then check the openflow rules, the rules disappear. And here is the log: http://fpaste.org/284758/17727144/ so, a bunch more changes have been made since then... is this still reproducible? Yes, Test with the latest origin code. It is still could be reproduced when the first time to delete the node. 10.66.128.62 master.bmeng.local 10.66.128.57 node1.bmeng.local 10.66.128.1 node2.bmeng.local # oc delete node node2.bmeng.local --config=/tmp/admin.kubeconfig node "node2.bmeng.local" deleted # oc get node --config=/tmp/admin.kubeconfig NAME LABELS STATUS AGE node1.bmeng.local kubernetes.io/hostname=node1.bmeng.local Ready 50s # ovs-ofctl dump-flows br0 -O OpenFlow13 | grep 10.66 cookie=0xa428001, duration=195.442s, table=0, n_packets=11187, n_bytes=790366, tun_src=10.66.128.1 actions=goto_table:1 cookie=0xa428001, duration=195.440s, table=8, n_packets=10007, n_bytes=740518, priority=100,ip,nw_dst=10.1.1.0/24 actions=move:NXM_NX_REG0[]->NXM_NX_TUN_ID[0..31],set_field:10.66.128.1->tun_dst,output:1 cookie=0xa428001, duration=195.438s, table=9, n_packets=2, n_bytes=84, priority=100,arp,arp_tpa=10.1.1.0/24 actions=move:NXM_NX_REG0[]->NXM_NX_TUN_ID[0..31],set_field:10.66.128.1->tun_dst,output:1 Merged in origin: https://github.com/openshift/origin/pull/8468 Verified on OSE build v3.2.0.17, issue has been fixed. |