summaryrefslogtreecommitdiff
path: root/0 inbox/Issues met TC oplossen.md
diff options
context:
space:
mode:
authorJasper Ras <jras@hostnet.nl>2024-11-23 17:34:50 +0100
committerJasper Ras <jras@hostnet.nl>2024-11-23 17:34:50 +0100
commit80153a133d0888b7c0a7b72a9f80ccc6f005c555 (patch)
tree261af65acfe995e7254152136af119af489c7354 /0 inbox/Issues met TC oplossen.md
parentdbe655fca3cf4fc5bc882015006f006764eace52 (diff)
sorted out inbox
Diffstat (limited to '0 inbox/Issues met TC oplossen.md')
-rw-r--r--0 inbox/Issues met TC oplossen.md25
1 files changed, 0 insertions, 25 deletions
diff --git a/0 inbox/Issues met TC oplossen.md b/0 inbox/Issues met TC oplossen.md
deleted file mode 100644
index 4ad3bf8..0000000
--- a/0 inbox/Issues met TC oplossen.md
+++ /dev/null
@@ -1,25 +0,0 @@
-Probleem: referenties in ovs naar devices die niet meer bestaan. Hij probeert vervolgens een nieuw device aan te maken met een qdisc op zo'n niet bestaande device.
-
-```
-sudo grep -r 'could not open network device' /var/log/openvswitch/ | grep -oi 'tap[a-z0-9\-]*' | uniq > ports_no_device
-```
-```
-sudo ip l l | grep ports_no_device | grep -oi 'tap[a-z0-9\-]*' > ports_with_device
-```
-```
-for P in $(cat ports_no_device | grep -v -f ports_with_device); do sudo ovs-vsctl del-port $P; done
-```
-```
-sudo systemctl restart ovn-controller
-```
-
-
-Rutger versie:
-```
-sudo grep 'could not open network device' /var/log/openvswitch/ovs-vswitchd.log | grep -oi 'tap[a-z0-9\-]*' | sort | uniq | while read dev; do ip l l $dev || sudo ovs-vsctl del-port $dev; done; sudo systemctl restart ovn-controller
-```
-
-
-Dus: ovs-vsctl del-port is nice.
-
-Niet vergeten ovn-controller te herstarten.