-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
scripts: log-collector: Add ovs open-flows dump to log results #201
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, @LorenzoBianconi, for the contribution! I have a couple of comments though.
@@ -9,11 +9,13 @@ 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' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it's useful to also dump groups:
ovs-ofctl dump-groups br-int
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Won't this generate way too much data for large scale runs (e.g., 500 nodes)? Should we somehow make sure we only collect data from a subset of the nodes?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@dceara we will have file for each of the nodes, in this way we can just look at what it is meaningful. Do you prefer to define a subset of the node list?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it's useful to also dump groups:
ovs-ofctl dump-groups br-int
@dceara ack, I will fix it
Signed-off-by: Lorenzo Bianconi <[email protected]>
dbcabce
to
5cb4876
Compare
Add ovs open-flows dump to log results folder