-
Notifications
You must be signed in to change notification settings - Fork 192
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
OSASINFRA-3642: openstack: support setting external LB floating IP #1147
Conversation
@EmilienM: This pull request references RFE-6242 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the feature request to target the "4.18.0" version, but no target version was set. 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 openshift-eng/jira-lifecycle-plugin repository. |
/cc mdbooth Miciah |
cc8fbd1
to
4e71b22
Compare
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.
We should set effectiveStrategy.LoadBalancer.DNSManagementPolicy = operatorv1.UnmanagedLoadBalancerDNS
when the platform is OpenStack. You can add a check around the existing if !domainMatchesBaseDomain
and if platformStatus.GCP.CloudLoadBalancerConfig.DNSType == configv1.ClusterHostedDNSType
checks near the top of setDefaultPublishingStrategy
.
At some point, we should probably refactor this logic because setDefaultPublishingStrategy
is already quite large, and the logic for determining the value of DNSManagementPolicy
somewhat couples the operator's ingress and dns controllers. We can do that refactoring in a follow-up.
WIP for now because the API is being changed: openshift/api#2051 |
/assign |
Could you also add some test cases to |
For |
@EmilienM: This pull request references RFE-6242 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the feature request to target the "4.18.0" version, but no target version was set. 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 openshift-eng/jira-lifecycle-plugin repository. |
The tests will fail (at least they did locally for me) because I bumped k8s to 1.31.1 and more work seems needed. |
e2e-azure-ovn failed because
I have filed OCPBUGS-44581 CI fails on "[sig-arch][Late] operators should not create watch channels very often" for this issue. e2e-aws-ovn-techpreview failed because
I believe OCPBUGS-42083 is tracking this issue. e2e-hypershift failed because
I have filed OCPBUGS-44582 for this issue. |
* Update openshift/api into a commit that contains the floatingIP change needed by this PR. * Run `go mod tidy && go mod vendor`. * Run `make update`.
Thanks! |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: Miciah 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 |
This commit introduces enhancements to the Cluster Ingress Operator to support setting a specific IP address for load balancers on the OpenStack platform. * Updated the logic to handle LoadBalancer IP settings for OpenStack in the controller.go and load_balancer_service.go files. * Added conditions to support external load balancers with floating IPs and ensure proper IP assignment and validation. * Added support for OpenStack provider parameters ensuring the correct configuration of load balancers. * Added new test cases in load_balancer_service_test.go to verify the behavior with OpenStack load balancer configurations. https://issues.redhat.com/browse/OSASINFRA-3642 Co-Authored: Grant Spence <[email protected]>
These tests were missing, now we have them.
Thanks again! |
/test e2e-openstack-operator |
the job will fail. I plan to work on that early 2025. |
/hold cancel |
It's still worth checking to make sure it fails as expected (same tests failing with similar errors). |
#1048 (comment) will give us a baseline for e2e-openstack-operator. |
|
@EmilienM Is that possible to do pre-merge test with the PR? If yes, then any requirements to setup the cluster on OSP (Octavia required?), any configuration and function should be checked? Thanks |
@EmilienM: 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-sigs/prow repository. I understand the commands that are listed here. |
0b561f8
into
openshift:master
[ART PR BUILD NOTIFIER] Distgit: ose-cluster-ingress-operator |
Sorry, this just merged. I'll do some testing again today and let people know if something's wrong. |
This PR introduces enhancements to the Cluster Ingress Operator to support setting a specific IP address for load balancers on the OpenStack platform.
Changes:
Load Balancer IP Management:
Provider Parameters:
Test Cases:
Co-Authored: Grant Spence [email protected]