-
Notifications
You must be signed in to change notification settings - Fork 598
🐛 fix: Fix instance PrivateDNSName when domain-name is set in dhcpOpts #4841
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
Conversation
Welcome @jparrill! |
Hi @jparrill. Thanks for your PR. I'm waiting for a kubernetes-sigs member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. 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. |
/ok-to-test |
I need to change the approach, modifying the status.addresses to change the PrivateDnsName reported instead of change that value directly. |
dc76900
to
3c249c9
Compare
… dhcpOpts When a VPC sets a DHCPOption's domain-name with a custom DNS name, it's being ignored. Now, with this PR, ensure that during instance creation, the controller checks the DHCPOptions and sets the proper PrivateDNSName. Signed-off-by: Juan Manuel Parrilla Madrid <[email protected]>
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.
/lgtm
/test pull-cluster-api-provider-aws-e2e |
2 similar comments
/test pull-cluster-api-provider-aws-e2e |
/test pull-cluster-api-provider-aws-e2e |
@jparrill: The following test failed, say
Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR. 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. |
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: Ankitasw 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 |
@Ankitasw it was a good merge? I mean it was failing the cluster creation in E2E isn't it? |
A new permission required by CAPA is needed, DescribeDhcpOptions. This new permission was included in this PR kubernetes-sigs/cluster-api-provider-aws#4841 which is already merged and is required to make sure the node domain name is well set when a DHCPOption Set contains a custom domain name. Signed-off-by: Juan Manuel Parrilla Madrid <[email protected]>
To ensure the proper functioning, it is imperative to include the new permission ec2:DescribeDhcpOptions following the submission of the fix to CAPA: kubernetes-sigs/cluster-api-provider-aws#4841 Signed-off-by: Juan Manuel Parrilla Madrid <[email protected]>
/cherry-pick release-2.4 |
@damdo: new pull request created: #4920 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. |
To ensure the proper functioning, it is imperative to include the new permission ec2:DescribeDhcpOptions following the submission of the fix to CAPA: kubernetes-sigs/cluster-api-provider-aws#4841 Signed-off-by: Juan Manuel Parrilla Madrid <[email protected]>
Fix included in accepted release 4.16.0-0.nightly-2024-04-13-070448 |
To ensure the proper functioning, it is imperative to include the new permission ec2:DescribeDhcpOptions following the submission of the fix to CAPA: kubernetes-sigs/cluster-api-provider-aws#4841 Signed-off-by: Juan Manuel Parrilla Madrid <[email protected]>
To ensure the proper functioning, it is imperative to include the new permission ec2:DescribeDhcpOptions following the submission of the fix to CAPA: kubernetes-sigs/cluster-api-provider-aws#4841 Signed-off-by: Juan Manuel Parrilla Madrid <[email protected]>
To ensure the proper functioning, it is imperative to include the new permission ec2:DescribeDhcpOptions following the submission of the fix to CAPA: kubernetes-sigs/cluster-api-provider-aws#4841 Signed-off-by: Juan Manuel Parrilla Madrid <[email protected]>
What this PR does / why we need it:
When a VPC sets a DHCPOption's domain-name with a custom DNS name, it's being ignored. Now, with this PR, ensure that during instance creation, the controller checks the DHCPOptions and sets the proper PrivateDNSName.
Signed-off-by: Juan Manuel Parrilla Madrid [email protected]
What type of PR is this?
/kind bug
Which issue(s) this PR fixes :
Fixes #OCPBUGS-29391
Checklist:
Release note: