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

LOG-4910: remove collector daemonset only if 'Not authorized to collect' error occurs #2425

Merged
merged 1 commit into from
Apr 29, 2024

Conversation

vparfonov
Copy link
Contributor

Description

This PR addresses the behavior of the reconciliation process, specifically focusing on error handling: the reconciler should skip all errors and leave the collector instance unchanged, only removing it in the event of a Not authorized to collect error.

/cc @Clee2691 @cahartma
/assign @jcantrill

/cherry-pick

Links

…ct' error occurs

Signed-off-by: Vitalii Parfonov <vparfono@redhat.com>
@openshift-ci-robot openshift-ci-robot added the jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. label Mar 29, 2024
@openshift-ci-robot
Copy link

openshift-ci-robot commented Mar 29, 2024

@vparfonov: This pull request references LOG-4910 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 bug to target the "4.8.0" version, but no target version was set.

In response to this:

Description

This PR addresses the behavior of the reconciliation process, specifically focusing on error handling: the reconciler should skip all errors and leave the collector instance unchanged, only removing it in the event of a Not authorized to collect error.

/cc @Clee2691 @cahartma
/assign @jcantrill

/cherry-pick

Links

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.

@jcantrill
Copy link
Contributor

/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 29, 2024
@jcantrill
Copy link
Contributor

/approve

Copy link
Contributor

openshift-ci bot commented Mar 29, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: jcantrill, vparfonov

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 /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 29, 2024
@jcantrill
Copy link
Contributor

/retest
/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 12, 2024
@jcantrill
Copy link
Contributor

/cherrypick release-5.9

@openshift-cherrypick-robot

@jcantrill: once the present PR merges, I will cherry-pick it on top of release-5.9 in a new PR and assign it to you.

In response to this:

/cherrypick release-5.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.

@jcantrill
Copy link
Contributor

/retest

2 similar comments
@vparfonov
Copy link
Contributor Author

/retest

@vparfonov
Copy link
Contributor Author

/retest

@jcantrill
Copy link
Contributor

/test e2e-target

@jcantrill
Copy link
Contributor

/override ci/prow/e2e-ocp-target-minus-one

@jcantrill
Copy link
Contributor

/override ci/prow/e2e-ocp-target-minus-two

Copy link
Contributor

@jcantrill jcantrill left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

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

openshift-ci bot commented Apr 19, 2024

@jcantrill: Overrode contexts on behalf of jcantrill: ci/prow/e2e-ocp-target-minus-one

In response to this:

/override ci/prow/e2e-ocp-target-minus-one

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.

Copy link
Contributor

openshift-ci bot commented Apr 19, 2024

@jcantrill: Overrode contexts on behalf of jcantrill: ci/prow/e2e-ocp-target-minus-two

In response to this:

/override ci/prow/e2e-ocp-target-minus-two

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.

@vparfonov
Copy link
Contributor Author

/test e2e-target

@openshift-ci-robot
Copy link

/retest-required

Remaining retests: 0 against base HEAD 0e262a4 and 2 for PR HEAD f9cf073 in total

@openshift-ci-robot
Copy link

/retest-required

Remaining retests: 0 against base HEAD 085bdc1 and 1 for PR HEAD f9cf073 in total

@openshift-ci-robot
Copy link

/retest-required

Remaining retests: 0 against base HEAD 9c19c9b and 0 for PR HEAD f9cf073 in total

@openshift-ci-robot
Copy link

/hold

Revision f9cf073 was retested 3 times: holding

@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 Apr 20, 2024
@vparfonov
Copy link
Contributor Author

/test e2e-target

@vparfonov
Copy link
Contributor Author

/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 23, 2024
@vparfonov
Copy link
Contributor Author

/cherry-pick release-5.9

@openshift-cherrypick-robot

@vparfonov: once the present PR merges, I will cherry-pick it on top of release-5.9 in a new PR and assign it to you.

In response to this:

/cherry-pick release-5.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.

@openshift-ci-robot
Copy link

/retest-required

Remaining retests: 0 against base HEAD 83904d9 and 2 for PR HEAD f9cf073 in total

@openshift-ci-robot
Copy link

/retest-required

Remaining retests: 0 against base HEAD 22146ec and 1 for PR HEAD f9cf073 in total

@vparfonov
Copy link
Contributor Author

/test e2e-target

@jcantrill
Copy link
Contributor

/retest

@openshift-ci-robot
Copy link

/retest-required

Remaining retests: 0 against base HEAD 6dd75c6 and 0 for PR HEAD f9cf073 in total

@openshift-ci-robot
Copy link

/hold

Revision f9cf073 was retested 3 times: holding

@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 Apr 27, 2024
@vparfonov
Copy link
Contributor Author

/test e2e-target

@vparfonov
Copy link
Contributor Author

/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 29, 2024
@openshift-ci-robot
Copy link

/retest-required

Remaining retests: 0 against base HEAD 1bc13c6 and 2 for PR HEAD f9cf073 in total

@vparfonov
Copy link
Contributor Author

/retest

@openshift-ci-robot
Copy link

/retest-required

Remaining retests: 0 against base HEAD c569322 and 1 for PR HEAD f9cf073 in total

Copy link
Contributor

openshift-ci bot commented Apr 29, 2024

@vparfonov: 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/test-infra repository. I understand the commands that are listed here.

@openshift-merge-bot openshift-merge-bot bot merged commit 92f6864 into openshift:master Apr 29, 2024
10 checks passed
@openshift-cherrypick-robot

@jcantrill: new pull request created: #2456

In response to this:

/cherrypick release-5.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. 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. release/6.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants