Skip to content

USHIFT-1364: Don't overwrite health if backup wasn't created#1994

Merged
openshift-merge-robot merged 1 commit into
openshift:mainfrom
pmtk:1364-always-backup
Jul 6, 2023
Merged

USHIFT-1364: Don't overwrite health if backup wasn't created#1994
openshift-merge-robot merged 1 commit into
openshift:mainfrom
pmtk:1364-always-backup

Conversation

@pmtk

@pmtk pmtk commented Jul 4, 2023

Copy link
Copy Markdown
Member

Taking a backup is very important and we don't want to lose information that it should be done.
This change adds handling of situation where MicroShift is unhealthy because it couldn't make a backup and it should attempt to do it after reboot and after rollback: "don't overwrite 'backup' request if it wasn't created".

@openshift-ci-robot openshift-ci-robot added the jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. label Jul 4, 2023
@openshift-ci-robot

openshift-ci-robot commented Jul 4, 2023

Copy link
Copy Markdown

@pmtk: This pull request references USHIFT-1364 which is a valid jira issue.

Details

In response to this:

Taking a backup is very important and we don't want to lose information that it should be done.
This change adds handling of situation where MicroShift is unhealthy because it couldn't make a backup and it should attempt to do it after reboot and after rollback: "don't overwrite 'backup' request if it wasn't created".

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 copejon and jogeo July 4, 2023 11:10
@openshift-ci openshift-ci Bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jul 4, 2023

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Suggested change
echo "Not overwriting the health.json to retry backup on next boot"
echo "Not overwriting the health.json, will retry backup on next boot"

Does this change convey the same meaning? If so, it's a little more explicit.

@pmtk pmtk force-pushed the 1364-always-backup branch from c7e7675 to 286e8b4 Compare July 6, 2023 12:02
@pmtk pmtk force-pushed the 1364-always-backup branch from 286e8b4 to b7ff9d0 Compare July 6, 2023 12:03
@dhellmann

Copy link
Copy Markdown
Contributor

/lgtm

@openshift-ci openshift-ci Bot added the lgtm Indicates that a PR is ready to be merged. label Jul 6, 2023
@openshift-ci

openshift-ci Bot commented Jul 6, 2023

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: dhellmann, pmtk

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details 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 commented Jul 6, 2023

Copy link
Copy Markdown
Contributor

@pmtk: 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-openshift-conformance-reduced-arm b7ff9d0 link false /test e2e-openshift-conformance-reduced-arm
ci/prow/microshift-e2e-arm b7ff9d0 link false /test microshift-e2e-arm

Full PR test history. Your PR dashboard.

Details

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.

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.

4 participants