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

pkg/linux/bandwidth: don't start bandwidth manager in dry mode #29183

Merged

Conversation

dylandreimerink
Copy link
Member

When dry mode is enabled, we should not register the start hook. The start hook will probe and initialize the bandwidth manager, which should not happen in dry mode.

This was supposed to go into #28619 but due to a mistake it got merged without this change. So fixing that with this followup PR.

do not start bandwidth manager in dry mode

@dylandreimerink dylandreimerink requested a review from a team as a code owner November 15, 2023 10:30
@maintainer-s-little-helper maintainer-s-little-helper bot added the dont-merge/needs-release-note-label The author needs to describe the release impact of these changes. label Nov 15, 2023
@dylandreimerink dylandreimerink added release-note/misc This PR makes changes that have no direct user impact. and removed dont-merge/needs-release-note-label The author needs to describe the release impact of these changes. labels Nov 15, 2023
Copy link
Contributor

@marseel marseel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, looks good from my side.

@dylandreimerink
Copy link
Member Author

/test

@dylandreimerink
Copy link
Member Author

/test

When dry mode is enabled, we should not register the start hook. The
start hook will probe and initialize the bandwidth manager, which should
not happen in dry mode.

Signed-off-by: Dylan Reimerink <dylan.reimerink@isovalent.com>
As a result of a bad merge in the original PR, the bandwidth manager
was not added to the params of the datapath cell.

Signed-off-by: Dylan Reimerink <dylan.reimerink@isovalent.com>
@dylandreimerink
Copy link
Member Author

/test

@dylandreimerink dylandreimerink added this pull request to the merge queue Dec 7, 2023
Merged via the queue into cilium:main with commit 5ffb337 Dec 7, 2023
61 checks passed
@dylandreimerink dylandreimerink deleted the feature/dry-bandwidth-manager branch December 7, 2023 13:14
@maintainer-s-little-helper maintainer-s-little-helper bot added the ready-to-merge This PR has passed all tests and received consensus from code owners to merge. label Dec 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready-to-merge This PR has passed all tests and received consensus from code owners to merge. release-note/misc This PR makes changes that have no direct user impact.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants