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

do.sh: Fix bloating of the resource usage report for central nodes. #194

Merged
merged 1 commit into from
Mar 5, 2024

Conversation

igsilya
Copy link
Contributor

@igsilya igsilya commented Mar 4, 2024

In case of a large number of availability zones the size of the resource usage report becomes unmanageable and browsers are not even able to open them. For example, the size of the report on a 120 node cluster-density test is 166 MB.

Fix that the same way we do for workers - gather statistics only from the first 3 zones.

For the future we'll need to have aggregated stats in addition to these truncated ones, so we don't overlook potential issues and can compare cluster-wide resource usage with different number of zones.

Fixes: 40716b0 ("ovn-tester: add the capability to deploy central components on multiple hv for ovn-ic")

In case of a large number of availability zones the size of the
resource usage report becomes unmanageable and browsers are not
even able to open them.  For example, the size of the report on
a 120 node cluster-density test is 166 MB.

Fix that the same way we do for workers - gather statistics only
from the first 3 zones.

For the future we'll need to have aggregated stats in addition
to these truncated ones, so we don't overlook potential issues
and can compare cluster-wide resource usage with different number
of zones.

Fixes: 40716b0 ("ovn-tester: add the capability to deploy central components on multiple hv for ovn-ic")
Signed-off-by: Ilya Maximets <[email protected]>
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.

LGTM, thanks!

@dceara dceara merged commit a8631ec into ovn-org:main Mar 5, 2024
7 checks passed
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