-
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
[WIP] OCPBUGS-43692: Fix LB Type Defaulting with ProviderParameters Set #1160
base: master
Are you sure you want to change the base?
[WIP] OCPBUGS-43692: Fix LB Type Defaulting with ProviderParameters Set #1160
Conversation
@gcs278: This pull request references Jira Issue OCPBUGS-43692, which is invalid:
Comment 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 openshift-eng/jira-lifecycle-plugin repository. |
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
@gcs278: This pull request references Jira Issue OCPBUGS-43692, which is valid. The bug has been moved to the POST state. 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 openshift-eng/jira-lifecycle-plugin repository. |
This comment was marked as resolved.
This comment was marked as resolved.
8935f7a
to
304b7b6
Compare
@gcs278: This pull request references Jira Issue OCPBUGS-43692, which is valid. 3 validation(s) were run on this bug
Requesting review from QA contact: 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 openshift-eng/jira-lifecycle-plugin repository. |
@gcs278: This pull request references Jira Issue OCPBUGS-43692, 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 openshift-eng/jira-lifecycle-plugin repository. |
072c35a
to
fefdc79
Compare
I've spun my wheels a bit on a couple different ways to approach this problem. All are valid, but it depends on what approach we'd like to take with Option 1: Don't Invoke
|
fefdc79
to
82e4b34
Compare
/retest |
Approach: pass in LoadBalanacerStrategy status so that LB Type can be defaulted to the current value when already admitted.
82e4b34
to
3a6ac72
Compare
Tested using cluster bot
Hence marking as verified |
/label qe-approved |
/retest |
@gcs278: all tests passed! 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. |
WIP: Found more potential nil pointer dereferences.
In the case that
alreadyAdmitted
was true and the IngressController's spec hadproviderParameters
set,setDefaultProviderParameters
incorrectly forced the LB type toClassic
.This fix removes
alreadyAdmitted
as a parameter fromsetDefaultProviderParameters
and completely prevents it from being invoked whenalreadyAdmitted
, preventing the update of defaulted values after an IngressController has been admitted.Previously,
setDefaultProviderParameters
always ensured thatspecLB.ProviderParameters.AWS
was initialized. Now that the function is conditionally invoked, an additional nil check has been added to handle cases when it's not called.An unit test has been added for this scenario to prevent regression.