Skip to content

Conversation

@vrutkovs
Copy link
Contributor

This adds a new script on master which snapshots existing etcd state.
This scriptis not yet used by DR scenarios (a few more PRs are required
for that)

/cc @hexfusion @runcom

- What I did

Added a new script

- How to verify it

  • Setup a master using this release
  • Run /usr/local/bin/etcd-snapshot-backup.sh
  • Check that /root/assets/backup/etcd/member/snap/db has been created
  • Check that /usr/local/bin/etcd-snapshot-restore.sh restores the etcd snapshot

- Description for the changelog

@openshift-ci-robot openshift-ci-robot added the size/M Denotes a PR that changes 30-99 lines, ignoring generated files. label May 17, 2019
@vrutkovs
Copy link
Contributor Author

/hold

Testing manually

@openshift-ci-robot openshift-ci-robot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label May 17, 2019
@vrutkovs
Copy link
Contributor Author

/hold cancel

File is placed in correct location and works as expected. The full verification would occur once restore CI job would switch to using those files

@openshift-ci-robot openshift-ci-robot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label May 17, 2019
… snapshot

This adds a new script on master which snapshots existing etcd state. 
This scriptis not yet used by DR scenarios (a few more PRs are required 
for that)
@vrutkovs vrutkovs force-pushed the dr-etcd-snapshot-script branch from 06cb57d to ff18780 Compare May 17, 2019 10:30
@hexfusion
Copy link
Contributor

/lgtm

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label May 17, 2019
@runcom
Copy link
Member

runcom commented May 17, 2019

/approve

@openshift-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: hexfusion, runcom, vrutkovs

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-robot openshift-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label May 17, 2019
@openshift-merge-robot openshift-merge-robot merged commit 1c05bc8 into openshift:master May 17, 2019
@runcom
Copy link
Member

runcom commented May 17, 2019

back ported into #771

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. lgtm Indicates that a PR is ready to be merged. 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.

5 participants