-
Notifications
You must be signed in to change notification settings - Fork 110
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
Components fail to listen on IPv6 Pod IPs #1731
Comments
This is rather unfortunate :( So probably we have 2 ways here:
|
@tiagolobocastro The approach 1 sounds reasonable to me. |
@michaelbeaumont what do you think, does 1 sound viable? |
I personally would slightly prefer separate arguments I think, just because seeing an IPv4 address inside |
It's a fair point. |
1743: feat(io-engine): listen on IPv6 unspecified by default r=dsharma-dc a=michaelbeaumont Not able to fully build/test this because of SPDK issues yet but looks good in editor. I removed the indirection with macros and strings, not sure if there was a particular need for that. See #1731. This will need changes to the helm chart after being merged. Co-authored-by: Mike Beaumont <[email protected]>
873: feat(ha-node): allow listening on IPv6 Pod IPs r=michaelbeaumont a=michaelbeaumont See openebs/mayastor#1731 Co-authored-by: Mike Beaumont <[email protected]>
872: feat(csi-node): allow listening on IPv6 Pod IPs r=michaelbeaumont a=michaelbeaumont See openebs/mayastor#1731 Co-authored-by: Mike Beaumont <[email protected]>
551: feat(metrics-exporter): support IPv6 Pod IPs r=michaelbeaumont a=michaelbeaumont ## Description Related to openebs/mayastor#1731. The metrics exporter can't connect to the gRPC client if it's an IPv6 address because there's raw string manipulation that fails in the case of IPv6, no surrounding `[]` are added. ## Motivation and Context It allows the metrics exporter to connect to IPv6 Pod IPs. ## Regression No ## How Has This Been Tested? Hasn't yet. ## Types of changes - [ ] Bug fix (non-breaking change which fixes an issue) - [x] New feature (non-breaking change which adds functionality) - [ ] Breaking change (fix or feature that would cause existing functionality to change) ## Checklist: <! Co-authored-by: Mike Beaumont <[email protected]>
552: feat(helm): support IPv6 Pod IPs r=michaelbeaumont a=michaelbeaumont Incorporates all the changes from openebs/mayastor#1731 into the chart. Depends on the PRs there. ## Description Use the new separated IP, port args. ## Motivation and Context See the linked issue. ## Regression No ## How Has This Been Tested? Hasn't yet ## Types of changes <! Co-authored-by: Mike Beaumont <[email protected]>
Describe the bug
Some components directly embed the Pod IP into strings like:
which results in invalid URIs like
2001::1:10199
which should be[2001::1]:10199
.I don't know of a particularly clever way of solving this, unfortunately IPv4 IPs can't be parsed inside
[]
, maybe the host needs to be passed separately from the port and parsed into IPv4/IPv6.To Reproduce
Deploy OpenEBS on a cluster where PodIP is IPv6
Expected behavior
These components should work independent of the IP family.
OS info (please complete the following information):
The text was updated successfully, but these errors were encountered: