-
Notifications
You must be signed in to change notification settings - Fork 94
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
feat: implement collector and analyser for network namespace connectivity #1670
Merged
ricardomaraschini
merged 12 commits into
main
from
network-namespace-collector-and-analyser
Nov 6, 2024
Merged
feat: implement collector and analyser for network namespace connectivity #1670
ricardomaraschini
merged 12 commits into
main
from
network-namespace-collector-and-analyser
Nov 6, 2024
Commits on Oct 31, 2024
-
feat: implement collector and analyser for network namespace connecti…
…vity checks if two network namespaces can talk to each other on udp and tcp. its usage is as follows: ```yaml apiVersion: troubleshoot.sh/v1beta2 kind: SupportBundle metadata: name: test spec: hostCollectors: - networkNamespaceConnectivity: collectorName: check-network-connectivity fromCIDR: 10.0.0.0/24 toCIDR: 10.0.1.0/24 hostAnalyzers: - networkNamespaceConnectivity: collectorName: check-network-connectivity outcomes: - pass: message: "Communication between 10.0.0.0/24 and 10.0.1.0/24 is working" - fail: message: "Communication between 10.0.0.0/24 and 10.0.1.0/24 isn't working" ``` if this fails then you may need to enable `forwarding` with: ```bash sysctl -w net.ipv4.ip_forward=1 ``` if it still fails then you may need to configure firewalld to allow the traffic or simply disable it for sake of testing.
Configuration menu - View commit details
-
Copy full SHA for 7c92bf8 - Browse repository at this point
Copy the full SHA 7c92bf8View commit details -
Configuration menu - View commit details
-
Copy full SHA for e10a71e - Browse repository at this point
Copy the full SHA e10a71eView commit details
Commits on Nov 1, 2024
-
Configuration menu - View commit details
-
Copy full SHA for c66c768 - Browse repository at this point
Copy the full SHA c66c768View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1048513 - Browse repository at this point
Copy the full SHA 1048513View commit details -
Configuration menu - View commit details
-
Copy full SHA for d4e4822 - Browse repository at this point
Copy the full SHA d4e4822View commit details
Commits on Nov 4, 2024
-
Configuration menu - View commit details
-
Copy full SHA for c5e660e - Browse repository at this point
Copy the full SHA c5e660eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5271efd - Browse repository at this point
Copy the full SHA 5271efdView commit details -
feat: check both udp and tcp even on failure
check both protocols even if one fails. this pr commit also introduces a timeout that can be set by the user.
Configuration menu - View commit details
-
Copy full SHA for 4c349a4 - Browse repository at this point
Copy the full SHA 4c349a4View commit details -
feat: add templating to the failure outcome
allow users to dump the errors found during the analysis.
Configuration menu - View commit details
-
Copy full SHA for e837418 - Browse repository at this point
Copy the full SHA e837418View commit details
Commits on Nov 5, 2024
-
Configuration menu - View commit details
-
Copy full SHA for e891a89 - Browse repository at this point
Copy the full SHA e891a89View commit details -
feat: delete interface pair before namespace
even though the interface pair is deleted everyttime we delete the namespace on my tests we better delete it before we delete the namespace. this comes out of a review comment where some people seem to still be able to see the interface pair even after the namespace is deleted. i.e. better safe than sorry.
Configuration menu - View commit details
-
Copy full SHA for 0103d3a - Browse repository at this point
Copy the full SHA 0103d3aView commit details -
Configuration menu - View commit details
-
Copy full SHA for e15a4fa - Browse repository at this point
Copy the full SHA e15a4faView commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.