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

rabbit_peer_discovery: Pass inetrc config file to temporary hidden node (backport #10759) #10845

Merged
merged 1 commit into from Mar 26, 2024

Conversation

mergify[bot]
Copy link

@mergify mergify bot commented Mar 25, 2024

Why

As shown in #10728, in an IPv6-only environment, kernel name resolution must be configured through an inetrc file.

The temporary hidden node must be configured exactly like the main node (and all nodes in the cluster in fact) to allow communication. Thus we must pass the same inetrc file to that temporary hidden node. This wasn’t the case before this patch.

How

We query the main node’s kernel to see if there is any inetrc file set and we use the same on the temporary hidden node’s command line.

While here, extract the handling of the proto_dist module from the TLS code. This parameter may be used outside of TLS like this IPv6-only environment.

Fixes #10728.


This is an automatic backport of pull request #10759 done by Mergify.

[Why]
As shown in #10728, in an IPv6-only environment, `kernel` name
resolution must be configured through an inetrc file.

The temporary hidden node must be configured exactly like the main node
(and all nodes in the cluster in fact) to allow communication. Thus we
must pass the same inetrc file to that temporary hidden node. This
wasn’t the case before this patch.

[How]
We query the main node’s kernel to see if there is any inetrc file set
and we use the same on the temporary hidden node’s command line.

While here, extract the handling of the `proto_dist` module from the TLS
code. This parameter may be used outside of TLS like this IPv6-only
environment.

Fixes #10728.

(cherry picked from commit 1bcfa47)
@michaelklishin michaelklishin merged commit 71b61ce into v3.13.x Mar 26, 2024
19 checks passed
@michaelklishin michaelklishin deleted the mergify/bp/v3.13.x/pr-10759 branch March 26, 2024 02:44
dumbbell added a commit that referenced this pull request Mar 26, 2024
…-10759"

The patch was a draft and should not have been merged into `main`, let
alone backported to a release branch...

This reverts commit 71b61ce, reversing
changes made to 2a3bde7.
@dumbbell
Copy link
Member

This backport of a draft pull request was reverted.

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.

None yet

2 participants