This file contains hidden or 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: |
This file contains hidden or 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 [email protected]: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" && |
This file contains hidden or 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 |
This file contains hidden or 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; |
This file contains hidden or 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
# docker run -i --tty --rm --net=host --name=ubuntu ubuntu:18.04 | |
DEPS='git automake libtool gcc bc libjemalloc1 libjemalloc-dev | |
libssl-dev llvm-dev libelf-dev libnuma-dev libpcap-dev | |
selinux-policy-dev | |
libunbound-dev libunwind-dev | |
python3 python3-pip man | |
ghostscript markdown' | |
apt update |
This file contains hidden or 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
rm -f /tmp/CIJOBS | |
# because I'm not smart enough to know how to paginate prow :P | |
for H in \ | |
https://prow.ci.openshift.org/job-history/gs/origin-ci-test/logs/periodic-ci-openshift-release-master-ci-4.9-e2e-gcp-ovn \ | |
https://prow.ci.openshift.org/job-history/gs/origin-ci-test/logs/periodic-ci-openshift-release-master-ci-4.9-e2e-gcp-ovn?buildId=1426206291172265984 \ | |
https://prow.ci.openshift.org/job-history/gs/origin-ci-test/logs/periodic-ci-openshift-release-master-ci-4.9-e2e-gcp-ovn?buildId=1423941431982034944 \ | |
https://prow.ci.openshift.org/job-history/gs/origin-ci-test/logs/periodic-ci-openshift-release-master-ci-4.9-e2e-gcp-ovn?buildId=1422556710848958464 \ | |
https://prow.ci.openshift.org/job-history/gs/origin-ci-test/logs/periodic-ci-openshift-release-master-ci-4.9-e2e-gcp-ovn?buildId=1421035186186883072 ; do \ | |
wget -O - --quiet ${H} 2>/dev/null | \ |
This file has been truncated, but you can view the full file.
This file contains hidden or 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
$ cat server.log | |
-- Logs begin at Fri 2021-07-02 21:18:19 UTC, end at Sat 2021-07-03 11:58:27 UTC. -- | |
Jul 02 21:32:07 central systemd[1]: Started Devstack [email protected]. | |
Jul 02 21:32:09 central neutron-server[92477]: INFO neutron.common.config [-] Logging enabled! | |
Jul 02 21:32:09 central neutron-server[92477]: INFO neutron.common.config [-] /usr/local/bin/neutron-server version 18.1.0.dev444 | |
Jul 02 21:32:09 central neutron-server[92477]: DEBUG neutron.common.config [-] command line: /usr/local/bin/neutron-server --config-file /etc/neutron/neutron.conf --config-file /etc/neutron/plugins/ml2/ml2_conf.ini {{(pid=92477) setup_logging /opt/stack/neutron/neutron/common/config.py:112}} | |
Jul 02 21:32:09 central neutron-server[92477]: INFO neutron.common.config [-] Logging enabled! | |
Jul 02 21:32:09 central neutron-server[92477]: INFO neutron.common.config [-] /usr/local/bin/neutron-server version 18.1.0.dev444 | |
Jul 02 21:32:09 central neutron-server[92477]: DEBUG neutron.common.config [-] command line: /usr/loca |
This file contains hidden or 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
https://review.opendev.org/c/openstack/ovsdbapp/+/775370 | |
vagrant@stack:/opt/stack/networking-ovn$ tox -e dsvm-functional | |
dsvm-functional create: /opt/stack/networking-ovn/.tox/dsvm-functional | |
dsvm-functional installdeps: -chttps://releases.openstack.org/constraints/upper/train, -r/opt/stack/networking-ovn/requirements.txt, -r/opt/stack/networking-ovn/test-requirements.txt, -r/opt/stack/networking-ovn/networking_ovn/tests/functional/requirements.txt | |
dsvm-functional develop-inst: /opt/stack/networking-ovn | |
dsvm-functional installed: alembic==1.1.0,amqp==2.5.2,appdirs==1.4.3,astroid==2.4.0,attrs==19.1.0,Babel==2.7.0,bandit==1.7.0,bcrypt==3.1.7,beautifulsoup4==4.8.0,cachetools==3.1.1,certifi==2019.6.16,cffi==1.12.3,chardet==3.0.4,cliff==2.16.0,cmd2==0.8.9,coverage==4.5.4,cryptography==2.8,debtcollector==1.22.0,decorator==4.4.0,dnspython==1.15.0,dogpile.cache==0.7.1,eventlet==0.25.2,extras==1.0.0,fasteners==0.14.1,fixtures==3.0.0,flake8==3.8.4,flake8-import-order==0.12,future==0.17.1,futurist==1.9.0,gitdb2==2.0.5, |
This file contains hidden or 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
https://docs.openstack.org/neutron/victoria/admin/config-logging.html | |
``` | |
$ mysql | |
mysql> use neutron | |
mysql> show create table logs; | |
| logs | CREATE TABLE `logs` ( | |
`project_id` varchar(255) DEFAULT NULL, | |
`id` varchar(36) NOT NULL, |
This file contains hidden or 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
ref: | |
script: https://gist.github.com/flavio-fernandes/863e48f012b7975e1d46c896b262dfc9 | |
with issue: https://gist.github.com/flavio-fernandes/f6fdd6cdce461c5e7ba07bedfbc23750#file-log-txt-L176 | |
lp: https://bugs.launchpad.net/neutron/+bug/1910334 | |
fix changes: https://review.opendev.org/c/openstack/neutron/+/769462 | |
vagrant@stack:/vagrant$ bash fw_2.sh |