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

OCPBUGS-25862: CO health: only track current in-progress upgrade start #1011

Conversation

petr-muller
Copy link
Member

@petr-muller petr-muller commented Dec 22, 2023

Keeping the original upgrade start time may cause CVO spuriously warn about waiting on a CO for over 40 minutes, in a scenario like this:

  1. CVO upgrades etcd / KAS very early in the upgrade, noting the time when it started to do that
  2. These two COs upgrade successfully and upgrade proceeds
  3. Eventually cluster starts rebooting masters and etcd/KAS go degraded
  4. CVO compares current time against the noted time, discovers its more than 40 minutes and starts warning about it.

@openshift-ci-robot openshift-ci-robot added jira/severity-moderate Referenced Jira bug's severity is moderate for the branch this PR is targeting. jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. jira/valid-bug Indicates that a referenced Jira bug is valid for the branch this PR is targeting. labels Dec 22, 2023
@openshift-ci-robot
Copy link
Contributor

@petr-muller: This pull request references Jira Issue OCPBUGS-25862, which is valid. The bug has been moved to the POST state.

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

Requesting review from QA contact:
/cc @jiajliu

The bug has been updated to refer to the pull request using the external bug tracker.

In response to this:

Keeping the original upgrade start time may cause CVO spuriously warn
about waiting on a CO for over 40 minutes, in a scenario like this:

  1. CVO upgrades etcd / KAS very early in the upgrade, noting the time when it started to do that
  2. These two COs upgrade successfuly and upgrade proceeds
  3. Eventually cluster starts rebooting masters and etcd/KAS go degraded
  4. CVO compares current time against the noted time, discovers its more than 40 minutes and starts warning about it.

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 approved Indicates a PR has been approved by an approver from all required OWNERS files. label Dec 22, 2023
@petr-muller
Copy link
Member Author

/test unit

time="2023-12-22T16:20:20Z" level=fatal msg="Error pushing manifest list/index to registry: sha256:d08090c120f7e6d771b2deeacb7af4444bdb7c608598cae9ad0299085ebbbbf3: failed commit on ref \"index-image-registry.openshift-image-registry.svc:5000/ci-op-0z6krxrn/pipeline:src@sha256:d08090c120f7e6d771b2deeacb7af4444bdb7c608598cae9ad0299085ebbbbf3\": unexpected status from PUT request to https://image-registry.openshift-image-registry.svc:5000/v2/ci-op-0z6krxrn/pipeline/manifests/src: 500 Internal Server Error"

Copy link
Member

@wking wking 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 Dec 22, 2023
@petr-muller
Copy link
Member Author

/retest

@openshift-bot
Copy link
Contributor

/jira refresh

The requirements for Jira bugs have changed (Jira issues linked to PRs on main branch need to target different OCP), recalculating validity.

@openshift-ci-robot
Copy link
Contributor

@openshift-bot: This pull request references Jira Issue OCPBUGS-25862, which is valid.

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

Requesting review from QA contact:
/cc @jiajliu

In response to this:

/jira refresh

The requirements for Jira bugs have changed (Jira issues linked to PRs on main branch need to target different OCP), recalculating validity.

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
Contributor

@petr-muller: This pull request references Jira Issue OCPBUGS-25862, which is valid.

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

No GitHub users were found matching the public email listed for the QA contact in Jira (jianl@redhat.com), skipping review request.

In response to this:

Keeping the original upgrade start time may cause CVO spuriously warn about waiting on a CO for over 40 minutes, in a scenario like this:

  1. CVO upgrades etcd / KAS very early in the upgrade, noting the time when it started to do that
  2. These two COs upgrade successfully and upgrade proceeds
  3. Eventually cluster starts rebooting masters and etcd/KAS go degraded
  4. CVO compares current time against the noted time, discovers its more than 40 minutes and starts warning about it.

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-merge-robot openshift-merge-robot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Jan 6, 2024
@openshift-ci openshift-ci bot removed the lgtm Indicates that a PR is ready to be merged. label Jan 8, 2024
@openshift-merge-robot openshift-merge-robot removed the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Jan 8, 2024
@petr-muller
Copy link
Member Author

/label tide/merge-method-squash

@openshift-ci openshift-ci bot added the tide/merge-method-squash Denotes a PR that should be squashed by tide when it merges. label Jan 8, 2024
Keeping the original upgrade start time may cause CVO spuriously warn
about waiting on a CO for over 40 minutes, in a scenario like this:

1. CVO upgrades etcd / KAS very early in the upgrade, noting the time when it started to do that
2. These two COs upgrade successfuly and upgrade proceeds
3. Eventually cluster starts rebooting masters and etcd/KAS go degraded
4. CVO compares current time against the noted time, discovers its more than 40 minutes and starts warning about it.
@petr-muller petr-muller force-pushed the ocpbugs-25862-avoid-comparing-current-degraded-against-stale-time branch from 35366e3 to f7e882b Compare January 10, 2024 16:16
@petr-muller
Copy link
Member Author

/retest

@petr-muller
Copy link
Member Author

/remove-label tide/merge-method-squash

@openshift-ci openshift-ci bot removed the tide/merge-method-squash Denotes a PR that should be squashed by tide when it merges. label Jan 15, 2024
@JianLi-RH
Copy link

/label qe-approved

@openshift-ci openshift-ci bot added the qe-approved Signifies that QE has signed off on this PR label Jan 16, 2024
@petr-muller
Copy link
Member Author

/test e2e-agnostic-ovn

Copy link
Contributor

openshift-ci bot commented Jan 16, 2024

@petr-muller: 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.

Copy link
Member

@LalatenduMohanty LalatenduMohanty 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 Jan 16, 2024
Copy link
Contributor

openshift-ci bot commented Jan 16, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: LalatenduMohanty, petr-muller, wking

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 [LalatenduMohanty,petr-muller,wking]

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

@openshift-merge-bot openshift-merge-bot bot merged commit 384e326 into openshift:master Jan 16, 2024
11 checks passed
@openshift-ci-robot
Copy link
Contributor

@petr-muller: Jira Issue OCPBUGS-25862: All pull requests linked via external trackers have merged:

Jira Issue OCPBUGS-25862 has been moved to the MODIFIED state.

In response to this:

Keeping the original upgrade start time may cause CVO spuriously warn about waiting on a CO for over 40 minutes, in a scenario like this:

  1. CVO upgrades etcd / KAS very early in the upgrade, noting the time when it started to do that
  2. These two COs upgrade successfully and upgrade proceeds
  3. Eventually cluster starts rebooting masters and etcd/KAS go degraded
  4. CVO compares current time against the noted time, discovers its more than 40 minutes and starts warning about it.

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.

@openshift-bot
Copy link
Contributor

[ART PR BUILD NOTIFIER]

This PR has been included in build cluster-version-operator-container-v4.16.0-202401162251.p0.g384e326.assembly.stream for distgit cluster-version-operator.
All builds following this will include this PR.

@petr-muller petr-muller deleted the ocpbugs-25862-avoid-comparing-current-degraded-against-stale-time branch January 18, 2024 11:53
@petr-muller
Copy link
Member Author

/cherry-pick release-4.15

@openshift-cherrypick-robot

@petr-muller: new pull request created: #1023

In response to this:

/cherry-pick release-4.15

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/severity-moderate Referenced Jira bug's severity is moderate for the branch this PR is targeting. jira/valid-bug Indicates that a referenced Jira bug is valid for the branch this PR is targeting. 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. qe-approved Signifies that QE has signed off on this PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

8 participants