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

clustermesh: fix client usage when setting the cluster configuration #24591

Merged
merged 1 commit into from Mar 30, 2023

Conversation

giorio94
Copy link
Member

Previously, the SetClusterConfig function always used the default kvstore client to update the cluster configuration, neglecting the one specified as parameter. This PR fixes it.

I've not currently marked this PR for backport, since this is not a user-facing bug. Indeed, all callers of that function specify the default client as parameter.

clustermesh: fix client usage when setting the cluster configuration

Previously, the SetClusterConfig function always used the default kvstore
client to update the cluster configuration, neglecting the one specified
as parameter. This commit fixes it.

Fixes: b24973e ("clustermesh: Add helper functions to set/get cluster configuration")
Signed-off-by: Marco Iorio <marco.iorio@isovalent.com>
@giorio94 giorio94 added area/clustermesh Relates to multi-cluster routing functionality in Cilium. release-note/misc This PR makes changes that have no direct user impact. labels Mar 28, 2023
@giorio94 giorio94 requested a review from a team as a code owner March 28, 2023 06:43
@giorio94
Copy link
Member Author

giorio94 commented Mar 28, 2023

/test

Job 'Cilium-PR-K8s-1.26-kernel-net-next' failed:

Click to show.

Test Name

K8sDatapathServicesTest Checks N/S loadbalancing Tests with XDP, direct routing, Hybrid and Random

Failure Output

FAIL: Can not connect to service "tftp://[fd04::11]:32436/hello" from outside cluster (1/10)

If it is a flake and a GitHub issue doesn't already exist to track it, comment /mlh new-flake Cilium-PR-K8s-1.26-kernel-net-next so I can create one.

@giorio94
Copy link
Member Author

giorio94 commented Mar 29, 2023

/test-1.26-net-next

Hit known flake #22579

Copy link
Member

@YutaroHayakawa YutaroHayakawa 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!

@giorio94
Copy link
Member Author

giorio94 commented Mar 29, 2023

/test-1.26-net-next

Hit #24573

@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 Mar 29, 2023
@borkmann borkmann merged commit 1563e65 into cilium:master Mar 30, 2023
43 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/clustermesh Relates to multi-cluster routing functionality in Cilium. 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