Skip to content
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

NO-ISSUE: Revert "certrotationcontroller: set AutoRegenerateAfterOfflineExpiry for generated certificates #1661

Merged
merged 1 commit into from Apr 4, 2024

Conversation

p0lyn0mial
Copy link
Contributor

@p0lyn0mial p0lyn0mial commented Apr 4, 2024

This reverts commit 6f3faa4 introduced in #1652

We have multiple controllers reconciling the same resource at the same time without any coordination.
For example the kube-control-plane-signer-ca configmap is synced by 4 controllers (actually it is 8 because we have 2 processes).

Since the mentioned PR added a distinct annotation (AutoRegenerateAfterOfflineExpiry) for the same configmap it caused a hot update loop since the configmap was different.

The conflict error can be seen even on a successful run but usually it causes the CI jobs to fail..

Since the issue is common I decided to revert as it might even block CI payloads from merging.

It should also unblock #1659

We should stop adding more changes to the cert rotation controllers until we resolve the race.

…for generated certificates"

This reverts commit 6f3faa4.
@p0lyn0mial
Copy link
Contributor Author

/assign @vrutkovs

@openshift-ci openshift-ci bot requested review from deads2k and vrutkovs April 4, 2024 06:35
@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Apr 4, 2024
@p0lyn0mial p0lyn0mial changed the title Revert "certrotationcontroller: set AutoRegenerateAfterOfflineExpiry for generated certificates NO-ISSUE: Revert "certrotationcontroller: set AutoRegenerateAfterOfflineExpiry for generated certificates Apr 4, 2024
@openshift-ci-robot openshift-ci-robot added the jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. label Apr 4, 2024
@openshift-ci-robot
Copy link

@p0lyn0mial: This pull request explicitly references no jira issue.

In response to this:

This reverts commit 6f3faa4 introduced in #1652

We have multiple controllers reconciling the same resource at the same time without any coordination.
For example the kube-control-plane-signer-ca configmap is synced by 4 controllers (actually it is 8 because we have 2 processes).

Since the mentioned PR added a distinct annotation (AutoRegenerateAfterOfflineExpiry) for the same configmap it caused a hot update loop since the configmap was different.

The conflict error can be seen even on a successful run but usually it causes the CI jobs to fail..

Since the issue is common I decided to revert as it might even block CI payloads from merging.

It should also unblock #1659

We should stop adding more changes to the cert rotation controllers until we resolve the race.

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.

@vrutkovs
Copy link
Member

vrutkovs commented Apr 4, 2024

/lgtm

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Apr 4, 2024
Copy link
Contributor

openshift-ci bot commented Apr 4, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: p0lyn0mial, vrutkovs

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:
  • OWNERS [p0lyn0mial,vrutkovs]

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

@p0lyn0mial
Copy link
Contributor Author

ci/prow/k8s-e2e-gcp and ci/prow/e2e-gcp-operator failed on cluster installation, logs are missing and it looks like loki wasn't set up either.

@p0lyn0mial
Copy link
Contributor Author

/retest-required

Copy link
Contributor

openshift-ci bot commented Apr 4, 2024

@p0lyn0mial: The following tests 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-gcp-operator-single-node 5823d3d link false /test e2e-gcp-operator-single-node
ci/prow/e2e-aws-operator-disruptive-single-node 5823d3d link false /test e2e-aws-operator-disruptive-single-node

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.

@openshift-merge-bot openshift-merge-bot bot merged commit 7ae9875 into openshift:master Apr 4, 2024
13 of 15 checks passed
@openshift-bot
Copy link
Contributor

[ART PR BUILD NOTIFIER]

This PR has been included in build ose-cluster-kube-apiserver-operator-container-v4.16.0-202404040915.p0.g7ae9875.assembly.stream.el9 for distgit ose-cluster-kube-apiserver-operator.
All builds following this will include this PR.

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. jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. lgtm Indicates that a PR is ready to be merged.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants