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

Fix manager tasks' status errors not being cleared on failed status updates for tasks present in manager state #2143

Merged
merged 1 commit into from
Oct 9, 2024

Conversation

rzetelskik
Copy link
Member

@rzetelskik rzetelskik commented Oct 4, 2024

Description of your changes: Manager task errors shouldn't be kept when building status for tasks existing in manager state and only cleared on status update, since if the status update fails, the error is retained even though the error no longer occurs. For tasks in manager state, if the error reappears, it will be propagated again. This bug is currently being covered by the logic comparing our spec with manager state (hot loop), but with #2143 this will no longer be the case, hence this is a prerequisite for #2143.

Which issue is resolved by this Pull Request:
Resolves #

/kind bug
/priority important-soon
/cc

@scylla-operator-bot scylla-operator-bot bot added kind/bug Categorizes issue or PR as related to a bug. do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. labels Oct 4, 2024
Copy link
Contributor

@rzetelskik: GitHub didn't allow me to request PR reviews from the following users: rzetelskik.

Note that only scylladb members and repo collaborators can review this PR, and authors cannot review their own PRs.

In response to this:

…pdates for tasks present in manager state

Description of your changes: wip

Which issue is resolved by this Pull Request:
Resolves #

/kind bug
/priority important-soon
/cc

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.

@scylla-operator-bot scylla-operator-bot bot added priority/important-soon Must be staffed and worked on either currently, or very soon, ideally in time for the next release. size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels Oct 4, 2024
@rzetelskik
Copy link
Member Author

@rzetelskik: 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-gke-parallel 66f8227 link true /test e2e-gke-parallel
Full PR test history. Your PR dashboard.

#2061 (comment)
known manager flake with colliding snapshot tags, unrelated
/retest

@rzetelskik
Copy link
Member Author

@rzetelskik: 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-gke-parallel 66f8227 link true /test e2e-gke-parallel
Full PR test history. Your PR dashboard.

new flake #2145, unrelated

@rzetelskik rzetelskik changed the title [WIP] Fix manager tasks' status errors not being cleared on failed status updates for tasks present in manager state Fix manager tasks' status errors not being cleared on failed status updates for tasks present in manager state Oct 7, 2024
@scylla-operator-bot scylla-operator-bot bot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Oct 7, 2024
@rzetelskik rzetelskik requested review from zimnx and tnozicka October 7, 2024 09:09
@rzetelskik
Copy link
Member Author

/test images e2e-gke-parallel

Copy link
Collaborator

@zimnx zimnx left a comment

Choose a reason for hiding this comment

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

lgtm
/assign tnozicka

@scylla-operator-bot scylla-operator-bot bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Oct 7, 2024
@rzetelskik
Copy link
Member Author

@rzetelskik: 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-gke-parallel 66f8227 link true /test e2e-gke-parallel
Full PR test history. Your PR dashboard.

#1028 (comment)
shardawareness flake, unrelated

/retest

Copy link
Contributor

@tnozicka tnozicka left a comment

Choose a reason for hiding this comment

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

/approve
/lgtm

@scylla-operator-bot scylla-operator-bot bot added the lgtm Indicates that a PR is ready to be merged. label Oct 9, 2024
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: rzetelskik, tnozicka, zimnx

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

@scylla-operator-bot scylla-operator-bot bot merged commit 079fc9f into scylladb:master Oct 9, 2024
12 checks passed
@rzetelskik rzetelskik deleted the manager-error-fix branch October 9, 2024 08:58
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. kind/bug Categorizes issue or PR as related to a bug. lgtm Indicates that a PR is ready to be merged. priority/important-soon Must be staffed and worked on either currently, or very soon, ideally in time for the next release. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants