-
-
Notifications
You must be signed in to change notification settings - Fork 719
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
Work/fix firewall for localhost #8868
Work/fix firewall for localhost #8868
Conversation
This is not included in 2024.4.8 ! So code would not work
The method clean_dashboard_address will also return an empty string. In this case the start_address should be used which will account for the "host" parameter used when specifying a Cluster This will fix the bug a firewall popup will be created even if `Localcluster(host=localhost)` is specified
This reverts commit 6eebcfc.
Can one of the admins verify this patch? Admins can comment |
OK, there is one test failing for creating the dashboard. If host is "localhost", this should redirect the dashboard also to localhost only IMO.
The current test case's results are:
I added commit |
Iff the dashboard should listen to all interfaces this should be expressed here since empty strings should respect the given host argument
Unit Test ResultsSee test report for an extended history of previous test failures. This is useful for diagnosing flaky tests. 25 files ±0 25 suites ±0 10h 16m 6s ⏱️ + 6m 53s For more details on these failures, see this check. Results for commit cb9f62c. ± Comparison against base commit b28822b. ♻️ This comment has been updated with latest results. |
I agree that if host is set and dashboard address is not then the dashboard host should default to match the comm host. |
In my last commit I changed it so it stays compatible as it is. If dashboard address is set via SpecCluster and set to |
This reverts commit cf3ac82.
If None is given to dashboard_address, the binding should now take the given parameter on "host" if set.
That seems good to me. It looks like tests are still failing on |
There a still a couple of tests failing. I can't figure out how to reproduce them locally since I don't know all different configurations. Is there someone to look at this? |
@fjetter @hendrikmakait would one of you be able to take a look? I think this is pretty close to getting merged. |
So this PR is mainly blocked by this PR #8870 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, @maldag! CI failures are unrelated and the code looks good to me. I have one small suggestion regarding the documentation.
Co-authored-by: Hendrik Makait <hendrik@makait.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, @maldag, for your first contribution! 🥳
Closes #5918
This fix is mainly an implemention of the suggestion of #5918.
This is a bug in my opinion since it doesn't take the
host
argument of LocalCluster or SpecCluster into account and always listens to0.0.0.0
I've tested the code with the following snippet: