diff --git a/ovn-fake-multinode-utils/scripts/log-collector.sh b/ovn-fake-multinode-utils/scripts/log-collector.sh index 9d0c788e..01bb1500 100755 --- a/ovn-fake-multinode-utils/scripts/log-collector.sh +++ b/ovn-fake-multinode-utils/scripts/log-collector.sh @@ -9,11 +9,15 @@ for c in $(podman ps --format "{{.Names}}" --filter "name=${node_name}"); do mkdir ${host}/$c podman exec $c ps -aux > ${host}/$c/ps podman exec $c bash -c 'touch /tmp/process-monitor.exit && sleep 5' + podman exec $c bash -c 'ovs-ofctl dump-flows br-int > /tmp/open-flows.log' + podman exec $c bash -c 'ovs-ofctl dump-groups br-int > /tmp/groups.log' podman cp $c:/var/log/ovn/ovn-controller.log ${host}/$c/ podman cp $c:/var/log/openvswitch/ovs-vswitchd.log ${host}/$c/ podman cp $c:/var/log/openvswitch/ovsdb-server.log ${host}/$c/ podman cp $c:/etc/openvswitch/conf.db ${host}/$c/ podman cp $c:/var/log/process-stats.json ${host}/$c/ + podman cp $c:/tmp/open-flows.log ${host}/$c/ + podman cp $c:/tmp/groups.log ${host}/$c/ done for c in $(podman ps --format "{{.Names}}" --filter "name=ovn-central"); do