Skip to content
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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

LorenzoBianconi
Copy link
Collaborator

Add ovs open-flows dump to log results folder

Copy link
Collaborator

@dceara dceara left a 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'
Copy link
Collaborator

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

Copy link
Collaborator

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?

Copy link
Collaborator Author

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?

Copy link
Collaborator Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants