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

Bug 1815203: bindata/etcd: rename DR scripts to cluster-backup and cluster-restore #272

Merged
merged 1 commit into from Mar 20, 2020

Conversation

hexfusion
Copy link
Contributor

@hexfusion hexfusion commented Mar 20, 2020

This PR renames the following DR scripts.

etcd-snapshot-backup.sh => cluster-backup.sh
etcd-snapshot-restore.sh => cluster-restore.sh

The name change serves 2 purposes.

1.) The script naming now better reflects the actions of the scripts as we are backing up not only etcd data.
2.) We cause a race in MCO when we write these files to disk with the same name. Although we could have MCD make this work like we did with etcd-member.yaml. I feel that we should take this opportunity to remove ourselves from the MCO paths completely.

In the end the decision was made based on the stability of upgrades from 4.3.

We also remove etcd-member-remove.sh as it does not follow our expected user usage policy. We have introduced etcdctl container which provides very easy use of etcdctl. Users can run remove from this container vs ssh to disk of cluster.

oc rsh ...

@hexfusion hexfusion changed the title bindata/etcd: rename DR scripts to cluster-backup and cluster-restore 1815203: bindata/etcd: rename DR scripts to cluster-backup and cluster-restore Mar 20, 2020
@openshift-ci-robot openshift-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Mar 20, 2020
@hexfusion
Copy link
Contributor Author

/bugzilla refresh

@openshift-ci-robot
Copy link

@hexfusion: No Bugzilla bug is referenced in the title of this pull request.
To reference a bug, add 'Bug XXX:' to the title of this pull request and request another bug refresh with /bugzilla refresh.

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.

@hexfusion hexfusion changed the title 1815203: bindata/etcd: rename DR scripts to cluster-backup and cluster-restore Bug 1815203: bindata/etcd: rename DR scripts to cluster-backup and cluster-restore Mar 20, 2020
@openshift-ci-robot
Copy link

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

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

In response to this:

Bug 1815203: bindata/etcd: rename DR scripts to cluster-backup and cluster-restore

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 openshift-ci-robot added the bugzilla/valid-bug Indicates that a referenced Bugzilla bug is valid for the branch this PR is targeting. label Mar 20, 2020
@retroflexer
Copy link
Contributor

Looks straightforward to me.

/lgtm

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Mar 20, 2020
@openshift-ci-robot
Copy link

@hexfusion: This pull request references Bugzilla bug 1815203, which is valid.

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

In response to this:

Bug 1815203: bindata/etcd: rename DR scripts to cluster-backup and cluster-restore

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.

@hexfusion
Copy link
Contributor Author

/cherrypick release-4.4

@openshift-cherrypick-robot

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

In response to this:

/cherrypick release-4.4

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-bot
Copy link
Contributor

/retest

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

Signed-off-by: Sam Batschelet <sbatsche@redhat.com>
@openshift-ci-robot openshift-ci-robot removed the lgtm Indicates that a PR is ready to be merged. label Mar 20, 2020
@retroflexer
Copy link
Contributor

/lgtm

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Mar 20, 2020
@openshift-ci-robot
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: hexfusion, retroflexer

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-bot
Copy link
Contributor

/retest

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

2 similar comments
@openshift-bot
Copy link
Contributor

/retest

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

@openshift-bot
Copy link
Contributor

/retest

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

@hexfusion
Copy link
Contributor Author

/skip

@hexfusion
Copy link
Contributor Author

/retest

@openshift-bot
Copy link
Contributor

/retest

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

@openshift-merge-robot openshift-merge-robot merged commit de1b88f into openshift:master Mar 20, 2020
@openshift-cherrypick-robot

@hexfusion: new pull request created: #273

In response to this:

/cherrypick release-4.4

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

@hexfusion: All pull requests linked via external trackers have merged. Bugzilla bug 1815203 has been moved to the MODIFIED state.

In response to this:

Bug 1815203: bindata/etcd: rename DR scripts to cluster-backup and cluster-restore

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.

@hexfusion hexfusion deleted the dr-rename branch March 20, 2020 19:41
@openshift-ci-robot
Copy link

@hexfusion: Bugzilla bug 1815203 is in an unrecognized state (MODIFIED) and will not be moved to the MODIFIED state.

In response to this:

Bug 1815203: bindata/etcd: rename DR scripts to cluster-backup and cluster-restore

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

@hexfusion: The following test failed, say /retest to rerun all failed tests:

Test name Commit Details Rerun command
ci/prow/e2e-azure 97e7f78 link /test e2e-azure

Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR.

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.

@fgiloux
Copy link

fgiloux commented Apr 17, 2020

Mind that this kind of name change breaks the automation our users have in place. Would you consider creating a symlink and writing a deprecation notice in the release notes?

@hexfusion
Copy link
Contributor Author

@fgiloux yes this is a breaking change and should be documented. The reason we made the change was because of racing conditions with MCO that could result in upgrade failures. So I ma afraid the separation was required.

In the end the decision was made based on the stability of upgrades from 4.3.

I appreciate the note

@hexfusion
Copy link
Contributor Author

hexfusion commented Apr 17, 2020

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. bugzilla/valid-bug Indicates that a referenced Bugzilla bug is valid for the branch this PR is targeting. lgtm Indicates that a PR is ready to be merged.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

7 participants