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
OCPBUGS-15331,OCPBUGS-16049: Enable AdvertiseAddress dual stack and IPv6 support and added the changes to be included in the certificates #2779
Conversation
Skipping CI for Draft Pull Request. |
@jparrill: This pull request references Jira Issue OCPBUGS-15331, which is valid. The bug has been moved to the POST state. 3 validation(s) were run on this bug
No GitHub users were found matching the public email listed for the QA contact in Jira (jiezhao@redhat.com), skipping review request. The bug has been updated to refer to the pull request using the external bug tracker. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
✅ Deploy Preview for hypershift-docs ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
c5a0d20
to
5a46cc4
Compare
@jparrill: This pull request references Jira Issue OCPBUGS-15331, which is valid. 3 validation(s) were run on this bug
No GitHub users were found matching the public email listed for the QA contact in Jira (jiezhao@redhat.com), skipping review request. The bug has been updated to refer to the pull request using the external bug tracker. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
82c2ee9
to
95c480e
Compare
/test e2e-kubevirt-aws-ovn |
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.
Some comments, thx!
61ffd98
to
a3a0e4b
Compare
a3a0e4b
to
52ee69b
Compare
@jparrill: This pull request references Jira Issue OCPBUGS-15331, which is valid. 3 validation(s) were run on this bug
No GitHub users were found matching the public email listed for the QA contact in Jira (jiezhao@redhat.com), skipping review request. This pull request references Jira Issue OCPBUGS-16049, which is valid. 3 validation(s) were run on this bug
Requesting review from QA contact: In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
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.
Thank you Juan, some additional comments
support/util/util.go
Outdated
ip := ipNet.IP | ||
if ip.To4() != nil { | ||
// IPv4 | ||
ip[net.IPv4len-1]++ |
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.
both the ipv4 and ipv6 cases seem to be doing the same thing, so ip[len(ip)-1]++ should work for both, I don't think there's a need to differentiate.
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.
If I do that this is the result in the unitTests:
FirstUsableIP() = 2000::, want 2000::1
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.
I tested ip[len(ip)-1]++ for all cases and it passes for me
52ee69b
to
30fedd3
Compare
/test e2e-aws |
30fedd3
to
9c33a8c
Compare
…IPv6 support and fixes KAS certs Changes included for OCPBUGS-15331: - Now IPv6 and Dual Stack scenarios are covered in self-hosted environments. - PKI and Proxy still support only single stack scenarios, using the first ServiceCIDR as a AdvertiseAddress or InternalAPIAddress, but IPv4 and IPv6 could be used in any case. Changes included for OCPBUGS-16049: - KAS Certificates now includes the proper SAN for dual stack scenarios Signed-off-by: Juan Manuel Parrilla Madrid <jparrill@redhat.com>
9c33a8c
to
2a70e7e
Compare
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: csrwng, jparrill The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/lgtm |
/retest-required |
/override ci/prow/e2e-kubevirt-aws-ovn |
@csrwng: Overrode contexts on behalf of csrwng: ci/prow/e2e-kubevirt-aws-ovn In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/test e2e-aws |
@jparrill: The following tests failed, say
Full PR test history. Your PR dashboard. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
@jparrill: Jira Issue OCPBUGS-15331: All pull requests linked via external trackers have merged: Jira Issue OCPBUGS-15331 has been moved to the MODIFIED state. Jira Issue OCPBUGS-16049: All pull requests linked via external trackers have merged: Jira Issue OCPBUGS-16049 has been moved to the MODIFIED state. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Fix included in accepted release 4.14.0-0.nightly-2023-09-11-201102 |
Fix included in accepted release 4.14.0-0.nightly-2023-09-12-024050 |
Fix included in accepted release 4.14.0-0.nightly-2023-09-15-101929 |
Changes:
Which issue(s) this PR fixes :
Fixes #OCPBUGS-15331
Fixes #OCPBUGS-16049
Caveats:
AdvertiseAddress
even being an slice, it only supports only one element (if more provided it will take the last one as the AdvertiseAddress).Checklist