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

Fix bind command-line argument being ignored #1020

Merged
merged 3 commits into from
Sep 19, 2024

Conversation

dannycjones
Copy link
Contributor

Description of change

The --bind argument was not actually configuring the network interfaces in standard release builds of Mountpoint, as it still had the feature flag hiding the configuration.

This change fixes the issue for now. In the meantime, I'll take some time to understand how this type of issue can be avoided in future.

Relevant issues: #815

Does this change impact existing behavior?

Fixes issue where --bind argument wasn't respected.

Does this change need a changelog entry in any of the crates?

Added fix note in change log.


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license and I agree to the terms of the Developer Certificate of Origin (DCO).

Signed-off-by: Daniel Carl Jones <djonesoa@amazon.com>
Signed-off-by: Daniel Carl Jones <djonesoa@amazon.com>
@dannycjones dannycjones temporarily deployed to PR integration tests September 17, 2024 22:03 — with GitHub Actions Inactive
@dannycjones dannycjones temporarily deployed to PR integration tests September 17, 2024 22:03 — with GitHub Actions Inactive
@dannycjones dannycjones temporarily deployed to PR integration tests September 17, 2024 22:03 — with GitHub Actions Inactive
@dannycjones dannycjones temporarily deployed to PR integration tests September 17, 2024 22:03 — with GitHub Actions Inactive
@dannycjones dannycjones temporarily deployed to PR integration tests September 17, 2024 22:03 — with GitHub Actions Inactive
@dannycjones dannycjones temporarily deployed to PR integration tests September 17, 2024 22:03 — with GitHub Actions Inactive
@dannycjones dannycjones temporarily deployed to PR integration tests September 17, 2024 22:03 — with GitHub Actions Inactive
@@ -667,7 +666,6 @@ pub fn create_s3_client(args: &CliArgs) -> anyhow::Result<(S3CrtClient, EventLoo
.read_backpressure(true)
.initial_read_window(initial_read_window_size)
.user_agent(user_agent);
#[cfg(feature = "multiple-nw-iface")]
Copy link
Contributor

Choose a reason for hiding this comment

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

I've completely overlooked that on previous review. Is it possible to verify locally that it has the desired effect though? (e.g. compiling without any feature flags and specifying eth0 and an inexistent interface as in your auto tests)

(also there's a conflict in changelog)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yep, I verified locally (and double checked just now after merging from main).

@dannycjones dannycjones temporarily deployed to PR integration tests September 18, 2024 17:17 — with GitHub Actions Inactive
@dannycjones dannycjones temporarily deployed to PR integration tests September 18, 2024 17:17 — with GitHub Actions Inactive
@dannycjones dannycjones temporarily deployed to PR integration tests September 18, 2024 17:17 — with GitHub Actions Inactive
@dannycjones dannycjones temporarily deployed to PR integration tests September 18, 2024 17:17 — with GitHub Actions Inactive
@dannycjones dannycjones temporarily deployed to PR integration tests September 18, 2024 17:17 — with GitHub Actions Inactive
@dannycjones dannycjones temporarily deployed to PR integration tests September 18, 2024 17:17 — with GitHub Actions Inactive
@dannycjones dannycjones temporarily deployed to PR integration tests September 18, 2024 17:17 — with GitHub Actions Inactive
@dannycjones dannycjones requested a review from vladem September 18, 2024 17:17
Copy link
Contributor

@passaro passaro left a comment

Choose a reason for hiding this comment

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

LGTM

@dannycjones dannycjones added this pull request to the merge queue Sep 19, 2024
Merged via the queue into awslabs:main with commit 321a19f Sep 19, 2024
23 checks passed
@dannycjones dannycjones deleted the remove-multinic-ff branch September 19, 2024 09:10
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.

3 participants