Skip to content

Instantly share code, notes, and snippets.

@numansiddique
numansiddique / gist:5cab90ec4a1ee6e1adbfd3cd90eccf5a
Created Mar 26, 2021
Anton northd parallel v15 p2 crashes
View gist:5cab90ec4a1ee6e1adbfd3cd90eccf5a
Crash 1:
===========================================
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
Core was generated by `ovn-northd -vjsonrpc --ovnnb-db=unix:/home/nusiddiq/workspace_cpp/ovn-org/ovn/_'.
Program terminated with signal SIGABRT, Aborted.
#0 0x00007f9d19fa49d5 in raise () from /lib64/libc.so.6
[Current thread is 1 (Thread 0x7f9d19b900c0 (LWP 32755))]
Missing separate debuginfos, use: dnf debuginfo-install glibc-2.32-3.fc33.x86_64 openssl-libs-1.1.1i-1.fc33.x86_64 python3-libs-3.9.1-2.fc33.x86_64
View gist:e701777da977a89e24b49f159bb30d5d
# -*- compilation -*-
42. ovn.at:2176: testing ovn -- 2 HVs, 1 LS, 2 lports/HV -- ovn-northd-ddlog ...
creating ovn-sb database
ovsdb-server -vjsonrpc --remote=punix:/home/nusiddiq/workspace_cpp/ovn-org/ovn-for-reviews/ovn/_gcc/tests/testsuite.dir/042/ovn-sb/ovn-sb.sock /home/nusiddiq/workspace_cpp/ovn-org/ovn-for-reviews/ovn/_gcc/tests/testsuite.dir/042/ovn-sb/ovn-sb.db -vconsole:off --detach --no-chdir --pidfile --log-file
creating ovn-nb database
ovsdb-server -vjsonrpc --remote=punix:/home/nusiddiq/workspace_cpp/ovn-org/ovn-for-reviews/ovn/_gcc/tests/testsuite.dir/042/ovn-nb/ovn-nb.sock /home/nusiddiq/workspace_cpp/ovn-org/ovn-for-reviews/ovn/_gcc/tests/testsuite.dir/042/ovn-nb/ovn-nb.db -vconsole:off --detach --no-chdir --pidfile --log-file
starting northd
ovn-northd-ddlog --ddlog-record=northd/replay.dat -v -vjsonrpc --ovnnb-db=unix:/home/nusiddiq/workspace_cpp/ovn-org/ovn-for-reviews/ovn/_gcc/tests/testsuite.dir/042/ovn-nb/ovn-nb.sock --ovnsb-db=unix:/home/nusiddiq/workspace_
View gist:4fb5b78402e7a3e166ea773328fef639
https://bugzilla.redhat.com/show_bug.cgi?id=1921946
Description of problem:
OVN-k8s relies on some ct_states that are not supported by current solution of CT HWOL.
br-int flows:
http://pastebin.test.redhat.com/934210
These are the datapath flows installed when a TCP connection is made:
http://pastebin.test.redhat.com/934198
View northd_ddlog_test.sh
#!/bin/bash
set -x
ovn-nbctl set NB_Global . options:northd_probe_interval=180000
ovn-nbctl pg-add portGroupDefDeny
ovn-nbctl pg-add portGroupMultiDefDeny
ovn-nbctl lr-add cluster_router
View gist:f3798dd7b0f749e4d07844df6958693c
#!/bin/bash
OVNDIR=/home/nusiddiq/workspace_cpp/ovn-org/ovn
systemctl start openvswitch
ovs-vsctl set open . external_ids:ovn-bridge-controller-1=br-ctrl1
ovs-vsctl set open . external_ids:ovn-bridge-controller-2=br-ctrl2
ovs-vsctl set open . external_ids:ovn-remote-controller-1=tcp:172.17.0.1:664
@numansiddique
numansiddique / 99-install-facetime-camera.sh
Created Aug 24, 2019 — forked from Stono/99-install-facetime-camera.sh
Install the kernal module required for the facetimehd camera to work on Linux
View 99-install-facetime-camera.sh
#!/bin/bash
set -e
export CONFIG_MODULE_SIG=n
export CONFIG_MODULE_SIG_ALL=n
export KERNELRELEASE=${1}
echo "Installing FacetimeHD camera for $KERNELRELEASE"
cd /tmp
git clone https://github.com/patjak/bcwc_pcie.git
@numansiddique
numansiddique / 99-install-facetime-camera.sh
Created Aug 24, 2019 — forked from Stono/99-install-facetime-camera.sh
Install the kernal module required for the facetimehd camera to work on Linux
View 99-install-facetime-camera.sh
#!/bin/bash
set -e
export CONFIG_MODULE_SIG=n
export CONFIG_MODULE_SIG_ALL=n
export KERNELRELEASE=${1}
echo "Installing FacetimeHD camera for $KERNELRELEASE"
cd /tmp
git clone https://github.com/patjak/bcwc_pcie.git