Skip to content

Conversation

@Miciah
Copy link
Contributor

@Miciah Miciah commented Mar 28, 2022

Delete the deletion logic for the "ingress.openshift.io/operator" finalizer for LoadBalancer-type services. This finalizer has not been needed since OpenShift 4.2, when the DNSRecord CRD was added. OpenShift 4.8 removed the logic that added the finalizer and added logic to remove the finalizer. Thus with OpenShift versions after OpenShift 4.8, this finalizer no longer exists, and the corresponding logic can be deleted.

Follow-up to #549.

  • pkg/manifests/manifests.go (LoadBalancerServiceFinalizer): Delete const.
  • pkg/operator/controller/ingress/controller.go (ensureIngressDeleted): Delete calls to finalizeLoadBalancerService.
  • pkg/operator/controller/ingress/load_balancer_service.go (ensureLoadBalancerService): Delete calls to deleteLoadBalancerService.
    (deleteLoadBalancerService, finalizeLoadBalancerService): Delete methods.

@openshift-ci openshift-ci bot added the bugzilla/severity-low Referenced Bugzilla bug's severity is low for the branch this PR is targeting. label Mar 28, 2022
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Mar 28, 2022

@Miciah: This pull request references Bugzilla bug 2069457, which is valid. The bug has been moved to the POST state. The bug has been updated to refer to the pull request using the external bug tracker.

3 validation(s) were run on this bug
  • bug is open, matching expected state (open)
  • bug target release (4.11.0) matches configured target release for branch (4.11.0)
  • bug is in the state ASSIGNED, which is one of the valid states (NEW, ASSIGNED, ON_DEV, POST, POST)

Requesting review from QA contact:
/cc @lihongan

Details

In response to this:

Bug 2069457: Delete LoadBalancer-type service finalizer logic

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.

@openshift-ci openshift-ci bot added the bugzilla/valid-bug Indicates that a referenced Bugzilla bug is valid for the branch this PR is targeting. label Mar 28, 2022
@openshift-ci openshift-ci bot requested review from candita, lihongan and miheer March 28, 2022 22:41
@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Mar 28, 2022
Delete the deletion logic for the "ingress.openshift.io/operator" finalizer
for LoadBalancer-type services.  This finalizer has not been needed since
OpenShift 4.2, when the DNSRecord CRD was added.  OpenShift 4.8 removed the
logic that added the finalizer and added logic to remove the finalizer.
Thus with OpenShift versions after OpenShift 4.8, this finalizer no longer
exists, and the corresponding logic can be deleted.

Follow-up to commit 081081a.

This commit fixes bug 2069457.

https://bugzilla.redhat.com/show_bug.cgi?id=2069457

* pkg/manifests/manifests.go (LoadBalancerServiceFinalizer): Delete const.
* pkg/operator/controller/ingress/controller.go (ensureIngressDeleted):
Delete calls to finalizeLoadBalancerService.
* pkg/operator/controller/ingress/load_balancer_service.go
(ensureLoadBalancerService): Delete calls to deleteLoadBalancerService.
(deleteLoadBalancerService, finalizeLoadBalancerService): Delete methods.
@Miciah Miciah force-pushed the BZ2069457-delete-LoadBalancer-type-service-finalizer-logic branch from 7ce23d5 to 7749fcf Compare March 29, 2022 01:25
@gcs278
Copy link
Contributor

gcs278 commented Mar 29, 2022

/lgtm

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Mar 29, 2022
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Mar 29, 2022

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: gcs278, Miciah

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-bot
Copy link
Contributor

/retest-required

Please review the full test history for this PR and help us cut down flakes.

2 similar comments
@openshift-bot
Copy link
Contributor

/retest-required

Please review the full test history for this PR and help us cut down flakes.

@openshift-bot
Copy link
Contributor

/retest-required

Please review the full test history for this PR and help us cut down flakes.

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Mar 30, 2022

@Miciah: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
ci/prow/e2e-aws-single-node 7749fcf link false /test e2e-aws-single-node

Full PR test history. Your PR dashboard.

Details

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.

@openshift-bot
Copy link
Contributor

/retest-required

Please review the full test history for this PR and help us cut down flakes.

2 similar comments
@openshift-bot
Copy link
Contributor

/retest-required

Please review the full test history for this PR and help us cut down flakes.

@openshift-bot
Copy link
Contributor

/retest-required

Please review the full test history for this PR and help us cut down flakes.

@openshift-merge-robot openshift-merge-robot merged commit 14d3b0a into openshift:master Mar 30, 2022
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Mar 30, 2022

@Miciah: All pull requests linked via external trackers have merged:

Bugzilla bug 2069457 has been moved to the MODIFIED state.

Details

In response to this:

Bug 2069457: Delete LoadBalancer-type service finalizer logic

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.

@gcs278
Copy link
Contributor

gcs278 commented May 4, 2022

/cherry-pick release-4.10

1 similar comment
@gcs278
Copy link
Contributor

gcs278 commented May 5, 2022

/cherry-pick release-4.10

@openshift-cherrypick-robot

@gcs278: new pull request created: #755

Details

In response to this:

/cherry-pick release-4.10

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.

@gcs278
Copy link
Contributor

gcs278 commented Jun 6, 2022

/cherry-pick release-4.9

1 similar comment
@gcs278
Copy link
Contributor

gcs278 commented Jun 6, 2022

/cherry-pick release-4.9

@openshift-cherrypick-robot

@gcs278: new pull request created: #771

Details

In response to this:

/cherry-pick release-4.9

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. bugzilla/severity-low Referenced Bugzilla bug's severity is low for the branch this PR is targeting. bugzilla/valid-bug Indicates that a referenced Bugzilla bug is valid for the branch this PR is targeting. lgtm Indicates that a PR is ready to be merged.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants