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

[release-4.10] Bug 2069798: ClusterRoleUpdated/ClusterRoleBindingUpdated Spamming Event Logs #3045

Conversation

openshift-cherrypick-robot

This is an automated cherry-pick of #3040

/assign kikisdeliveryservice

This removes the superfluous namespaces from our ClusterRoles and
ClusterRoleBindings since they exist at the cluster scope.

The namespace was being silently ignored by the api, which meant that
the objects created differed from their manifests by one field:
namespace.

This difference was causing the library-go functions like
ApplyClusterRole to always think the objects were changing, which
resutled in:
- Re-applying the objects every time we synced
- Spamming the event log with update events

This change stops the unnecessary updates and the log spam.
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Mar 29, 2022

@openshift-cherrypick-robot: Bugzilla bug 2068613 has been cloned as Bugzilla bug 2069798. Retitling PR to link against new bug.
/retitle [release-4.10] Bug 2069798: ClusterRoleUpdated/ClusterRoleBindingUpdated Spamming Event Logs

In response to this:

[release-4.10] Bug 2068613: ClusterRoleUpdated/ClusterRoleBindingUpdated Spamming Event Logs

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 changed the title [release-4.10] Bug 2068613: ClusterRoleUpdated/ClusterRoleBindingUpdated Spamming Event Logs [release-4.10] Bug 2069798: ClusterRoleUpdated/ClusterRoleBindingUpdated Spamming Event Logs Mar 29, 2022
@openshift-ci openshift-ci bot added bugzilla/severity-low Referenced Bugzilla bug's severity is low for the branch this PR is targeting. bugzilla/invalid-bug Indicates that a referenced Bugzilla bug is invalid for the branch this PR is targeting. labels Mar 29, 2022
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Mar 29, 2022

@openshift-cherrypick-robot: This pull request references Bugzilla bug 2069798, which is invalid:

  • expected dependent Bugzilla bug 2068613 to be in one of the following states: VERIFIED, RELEASE_PENDING, CLOSED (ERRATA), CLOSED (CURRENTRELEASE), but it is ON_QA instead

Comment /bugzilla refresh to re-evaluate validity if changes to the Bugzilla bug are made, or edit the title of this pull request to link to a different bug.

In response to this:

[release-4.10] Bug 2069798: ClusterRoleUpdated/ClusterRoleBindingUpdated Spamming Event Logs

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 requested review from jkyros and mkenigs March 29, 2022 17:47
@cgwalters
Copy link
Member

/approve
/label backport-risk-assessed

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Mar 30, 2022

@cgwalters: Can not set label backport-risk-assessed: Must be member in one of these teams: [openshift-patch-managers]

In response to this:

/approve
/label backport-risk-assessed

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.

@kikisdeliveryservice
Copy link
Contributor

/approve
/lgtm
/backport-risk-assessed

@kikisdeliveryservice
Copy link
Contributor

/skip

@kikisdeliveryservice
Copy link
Contributor

Are github actions broken?

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

openshift-ci bot commented Mar 30, 2022

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: cgwalters, kikisdeliveryservice, openshift-cherrypick-robot

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 [cgwalters,kikisdeliveryservice]

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

@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Mar 30, 2022
@kikisdeliveryservice
Copy link
Contributor

guess not!

@kikisdeliveryservice kikisdeliveryservice added the backport-risk-assessed Indicates a PR to a release branch has been evaluated and considered safe to accept. label Mar 30, 2022
@openshift-bot
Copy link
Contributor

/retest-required

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

@kikisdeliveryservice
Copy link
Contributor

until underlying bz is verified and to reduce notifications of retests:

/hold

@openshift-ci openshift-ci bot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Mar 30, 2022
@kikisdeliveryservice
Copy link
Contributor

/bugzilla refresh

@openshift-ci openshift-ci bot added bugzilla/valid-bug Indicates that a referenced Bugzilla bug is valid for the branch this PR is targeting. and removed bugzilla/invalid-bug Indicates that a referenced Bugzilla bug is invalid for the branch this PR is targeting. labels Apr 6, 2022
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Apr 6, 2022

@kikisdeliveryservice: This pull request references Bugzilla bug 2069798, 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.

6 validation(s) were run on this bug
  • bug is open, matching expected state (open)
  • bug target release (4.10.z) matches configured target release for branch (4.10.z)
  • bug is in the state NEW, which is one of the valid states (NEW, ASSIGNED, ON_DEV, POST, POST)
  • dependent bug Bugzilla bug 2068613 is in the state VERIFIED, which is one of the valid states (VERIFIED, RELEASE_PENDING, CLOSED (ERRATA), CLOSED (CURRENTRELEASE))
  • dependent Bugzilla bug 2068613 targets the "4.11.0" release, which is one of the valid target releases: 4.11.0
  • bug has dependents

No GitHub users were found matching the public email listed for the QA contact in Bugzilla ([email protected]), skipping review request.

In response to this:

/bugzilla refresh

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.

@kikisdeliveryservice
Copy link
Contributor

/hold cancel

@openshift-ci openshift-ci bot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Apr 6, 2022
@rioliu-rh
Copy link

/label cherry-pick-approved

@openshift-ci openshift-ci bot added the cherry-pick-approved Indicates a cherry-pick PR into a release branch has been approved by the release branch manager. label May 5, 2022
@kikisdeliveryservice kikisdeliveryservice removed the request for review from mkenigs May 5, 2022 18:21
@openshift-bot
Copy link
Contributor

/retest-required

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

4 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-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 May 6, 2022

@openshift-cherrypick-robot: 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-aws-workers-rhel8 6ef6737 link false /test e2e-aws-workers-rhel8
ci/prow/okd-e2e-upgrade 6ef6737 link false /test okd-e2e-upgrade
ci/prow/e2e-aws-upgrade-single-node 6ef6737 link false /test e2e-aws-upgrade-single-node
ci/prow/e2e-ovn-step-registry 6ef6737 link false /test e2e-ovn-step-registry
ci/prow/okd-e2e-aws 6ef6737 link false /test okd-e2e-aws
ci/prow/okd-e2e-gcp-op 6ef6737 link false /test okd-e2e-gcp-op
ci/prow/e2e-vsphere-upgrade 6ef6737 link false /test e2e-vsphere-upgrade
ci/prow/e2e-aws-single-node 6ef6737 link false /test e2e-aws-single-node
ci/prow/e2e-aws-disruptive 6ef6737 link false /test e2e-aws-disruptive
ci/prow/e2e-gcp-op-single-node 6ef6737 link false /test e2e-gcp-op-single-node
ci/prow/e2e-aws-ovn-workers-rhel8 6ef6737 link false /test e2e-aws-ovn-workers-rhel8
ci/prow/e2e-aws-serial 6ef6737 link false /test e2e-aws-serial

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-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 f70f281 into openshift:release-4.10 May 6, 2022
@openshift-ci
Copy link
Contributor

openshift-ci bot commented May 6, 2022

@openshift-cherrypick-robot: All pull requests linked via external trackers have merged:

Bugzilla bug 2069798 has been moved to the MODIFIED state.

In response to this:

[release-4.10] Bug 2069798: ClusterRoleUpdated/ClusterRoleBindingUpdated Spamming Event Logs

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. backport-risk-assessed Indicates a PR to a release branch has been evaluated and considered safe to accept. 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. cherry-pick-approved Indicates a cherry-pick PR into a release branch has been approved by the release branch manager. lgtm Indicates that a PR is ready to be merged.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants