View change.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/go-controller/pkg/ovn/egressip.go b/go-controller/pkg/ovn/egressip.go | |
index 5d524a8a3..262c00522 100644 | |
--- a/go-controller/pkg/ovn/egressip.go | |
+++ b/go-controller/pkg/ovn/egressip.go | |
@@ -1148,13 +1148,21 @@ func (oc *Controller) syncStaleEgressReroutePolicy(egressIPCache map[string]egre | |
return true | |
} | |
// Check for stale nexthops that may exist in the logical router policy and store that in logicalRouterPolicyStaleNexthops | |
+ onlyStaleNextHops := true | |
staleNextHops := sets.NewString() |
View gopod.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: apps/v1 | |
kind: DaemonSet | |
metadata: | |
name: pprof | |
spec: | |
selector: | |
matchLabels: | |
name: pprof | |
template: | |
metadata: |
View led.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import busio | |
import board | |
import time | |
import adafruit_aw9523 | |
i2c = busio.I2C(board.SCL, board.SDA) | |
aw = adafruit_aw9523.AW9523(i2c) | |
print("Found AW9523") | |
ON = False |
View Dockerfile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM fedora:33 as intermediate | |
USER root | |
ARG schema=wanted.schema | |
COPY $schema /tmp/wanted.schema | |
RUN INSTALL_PKGS="go git" && \ | |
dnf install --best --refresh -y --setopt=tsflags=nodocs $INSTALL_PKGS && \ |
View ovsdb-mon-ds.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: apps/v1 | |
kind: DaemonSet | |
metadata: | |
name: ovsdb-mon-ovs | |
spec: | |
selector: | |
matchLabels: | |
name: ovsdb-mon-ovs | |
template: | |
metadata: |
View keepalived_config.log
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
❯ for f in $(grep -ilr 'vrrp_instance ocp-cluster-edge33-0_INGRESS' *); do echo $f ; grep -A20 'vrrp_instance ocp-cluster-edge33-0_INGRESS' $f ; echo ; done | |
quay-io-openshift-release-dev-ocp-v4-0-art-dev-sha256-b56c4a1dfe83841c8cb4141065c77ab48dc8b3285140060932a47c207d53f57e/namespaces/openshift-kni-infra/pods/keepalived-master-0-2/keepalived-monitor/keepalived-monitor/logs/current.log | |
2021-10-01T04:42:06.646698988Z time="2021-10-01T04:42:06Z" level=info msg="vrrp_instance ocp-cluster-edge33-0_INGRESS {" | |
2021-10-01T04:42:06.646708352Z time="2021-10-01T04:42:06Z" level=info msg=" state BACKUP" | |
2021-10-01T04:42:06.646708352Z time="2021-10-01T04:42:06Z" level=info msg=" interface br-ex" | |
2021-10-01T04:42:06.646708352Z time="2021-10-01T04:42:06Z" level=info msg=" virtual_router_id 219" | |
2021-10-01T04:42:06.646717707Z time="2021-10-01T04:42:06Z" level=info msg=" priority 20" | |
2021-10-01T04:42:06.646717707Z time="2021-10-01T04:42:06Z" level=info msg=" advert_int 1" | |
2021-10-01T04:42:06.646717707Z time="2 |
View ovsdb-mon.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: v1 | |
kind: Pod | |
metadata: | |
name: ovsdb-mon-ovn | |
spec: | |
containers: | |
- name: ovsdb-mon-ovn | |
image: quay.io/pdiak/fedora-ovn:latest | |
resources: | |
requests: |
View ovn-trace.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
❯ cp ./must-gather.local.4438226141351332503/quay-io-openshift-release-dev-ocp-v4-0-art-dev-sha256-e3b54a445db4bcf97ad6fef54e39a6da3b055e137c86eade9cfd815854b20c09/network_logs/ovnkube-master-rnsww_sbdb.gz \ | |
~/sbdb.db.gz | |
❯ cd ; gunzip sbdb.db.gz | |
❯ git clone git@github.com:openshift/dev-knowledge-base.git | |
❯ cd dev-knowledge-base/scripts | |
❯ mv ~/sbdb.db . | |
❯ ./dev-run-ovndb sbdb.db s | |
[root@8346d29bf786 ~]# ovn-trace --ct new anurag47a-bwr7f-master-0 \ | |
'inport=="openshift-ingress-operator_ingress-operator-79c596f44f-z2rmz" && |
View ka.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.../must-gather.local.5603656573198674090/quay-io-openshift-release-dev-ocp-v4-0-art-dev-sha256-e3b54a445db4bcf97ad6fef54e39a6da3b055e137c86eade9cfd815854b20c09/namespaces/openshift-openstack-infra/pods vagrant@devmaster | |
❯ for L in $(find . -print | grep 'keepalived/keepalived' | grep \.log$) ; do echo $L ; \ | |
cat $L | grep -v 'Printing parent data for process' | grep -v 'Printing VRRP data for process' | grep -v ' added' | grep -v 'Interface name has changed from ' | grep -v ' deleted' ; \ | |
echo --- ; done | |
./keepalived-anurag47a-bwr7f-master-0/keepalived/keepalived/logs/previous.log | |
--- | |
./keepalived-anurag47a-bwr7f-master-0/keepalived/keepalived/logs/current.log |
View ovn-trace.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[root@anurag47a-bwr7f-master-2 ~]# ovn-trace --ct new anurag47a-bwr7f-master-0 'inport=="openshift-ingress-operator_ingress-operator-79c596f44f-z2rmz" && | |
eth.src==0a:58:0a:82:00:16 && eth.dst==0a:58:0a:82:00:01 && | |
tcp && tcp.src==56572 && tcp.dst==80 && ip4.src==10.130.0.22 && ip4.dst==192.168.0.7 && ip.ttl==64' | |
# tcp,reg14=0x82,vlan_tci=0x0000,dl_src=0a:58:0a:82:00:16,dl_dst=0a:58:0a:82:00:01,nw_src=10.130.0.22,nw_dst=192.168.0.7,nw_tos=0,nw_ecn=0,nw_ttl=64,tp_src=56572,tp_dst=80,tcp_flags=0 | |
ingress(dp="anurag47a-bwr7f-master-0", inport="openshift-ingress-operator_ingress-operator-79c596f44f-z2rmz") | |
------------------------------------------------------------------------------------------------------------- | |
0. ls_in_port_sec_l2 (ovn-northd.c:5036): inport == "openshift-ingress-operator_ingress-operator-79c596f44f-z2rmz" && eth.src == {0a:58:0a:82:00:16}, priority 50, uuid 179643bb | |
next; |
NewerOlder