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 1806751: Archive data-dir if target member is unstarted #29

Merged
merged 1 commit into from
Feb 25, 2020
Merged

Bug 1806751: Archive data-dir if target member is unstarted #29

merged 1 commit into from
Feb 25, 2020

Conversation

retroflexer
Copy link

@openshift-ci-robot openshift-ci-robot added the size/S Denotes a PR that changes 10-29 lines, ignoring generated files. label Feb 23, 2020
@hexfusion
Copy link

In general, I wonder how useful this backup is if it is not matched with the static pod resources. In the case of encrypted datastore it would be more or less useless right?

Should we consider performing a more robust backup procedure? Regardless of the existence of this backup would require documentation on what this backup it is and how it can be used in the case of failure. In that failure case what can we guarantee about this data? I think we can guarantee it is better than nothing.

So my question is. Should we just document this procedure (manual) before restore and have the operator just nuke it?

@openshift-ci-robot openshift-ci-robot added size/M Denotes a PR that changes 30-99 lines, ignoring generated files. and removed size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels Feb 23, 2020
@retroflexer
Copy link
Author

@hexfusion well, it is a conflict between keeping the instructions simple (4th grade English ☺️) and keeping the logic simple. For 4.4, I am fine if we just take the documentation route.

@hexfusion
Copy link

Yeah I hear you it's just when folks ask how they use this backup we need to have an answer. Something to talk about.

@retroflexer
Copy link
Author

This is not going to work because we bail out if the data-dir is already present at the beginning.

/hold

@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 Feb 24, 2020
@deads2k
Copy link

deads2k commented Feb 24, 2020

/lgtm

Get your bugs in order and be prepared to pick.

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

hexfusion commented Feb 24, 2020

/retest

@hexfusion
Copy link

/approve

@openshift-ci-robot openshift-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Feb 24, 2020
@deads2k
Copy link

deads2k commented Feb 24, 2020

This is not going to work because we bail out if the data-dir is already present at the beginning.

/hold

fixed

/hold cancel

@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 Feb 24, 2020
@hexfusion hexfusion mentioned this pull request Feb 24, 2020
37 tasks
@openshift-bot
Copy link

/retest

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

1 similar comment
@openshift-bot
Copy link

/retest

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

@retroflexer retroflexer changed the title Archive data-dir if target member is unstarted Bug 1806751: Archive data-dir if target member is unstarted Feb 24, 2020
@openshift-ci-robot openshift-ci-robot added the bugzilla/invalid-bug Indicates that a referenced Bugzilla bug is invalid for the branch this PR is targeting. label Feb 24, 2020
@openshift-ci-robot
Copy link

@retroflexer: This pull request references Bugzilla bug 1806751, which is invalid:

  • expected Bugzilla bug 1806751 to depend on a bug in one of the following states: VERIFIED, RELEASE_PENDING, CLOSED (ERRATA), but no dependents were found

Comment /bugzilla refresh to re-evaluate validity if changes to the Bugzilla bug are made, or edit the title of this pull request to link to a different bug.

In response to this:

Bug 1806751: Archive data-dir if target member is unstarted

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.

@retroflexer
Copy link
Author

/cherry-pick openshift-4.4

@openshift-cherrypick-robot

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

In response to this:

/cherry-pick openshift-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.

@hexfusion
Copy link

/bugzilla refresh

@openshift-ci-robot
Copy link

@hexfusion: This pull request references Bugzilla bug 1806751, which is invalid:

  • expected Bugzilla bug 1806751 to depend on a bug in one of the following states: VERIFIED, RELEASE_PENDING, CLOSED (ERRATA), but no dependents were found

Comment /bugzilla refresh to re-evaluate validity if changes to the Bugzilla bug are made, or edit the title of this pull request to link to a different bug.

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.

@openshift-bot
Copy link

/retest

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

@hexfusion
Copy link

/bugzilla refresh

@openshift-ci-robot
Copy link

@hexfusion: This pull request references Bugzilla bug 1806751, which is invalid:

  • expected Bugzilla bug 1806751 to depend on a bug in one of the following states: VERIFIED, RELEASE_PENDING, CLOSED (ERRATA), but no dependents were found

Comment /bugzilla refresh to re-evaluate validity if changes to the Bugzilla bug are made, or edit the title of this pull request to link to a different bug.

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 added bugzilla/valid-bug Indicates that a referenced Bugzilla bug is valid for the branch this PR is targeting. and removed bugzilla/invalid-bug Indicates that a referenced Bugzilla bug is invalid for the branch this PR is targeting. labels Feb 24, 2020
@hexfusion
Copy link

/refresh

@openshift-bot
Copy link

/retest

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

1 similar comment
@openshift-bot
Copy link

/retest

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

@openshift-ci-robot openshift-ci-robot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Feb 25, 2020
@openshift-ci-robot openshift-ci-robot removed lgtm Indicates that a PR is ready to be merged. needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. labels Feb 25, 2020
@hexfusion
Copy link

/lgtm

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

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: deads2k, 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-merge-robot openshift-merge-robot merged commit 29304dc into openshift:openshift-4.5 Feb 25, 2020
@openshift-ci-robot
Copy link

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

In response to this:

Bug 1806751: Archive data-dir if target member is unstarted

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-cherrypick-robot

@retroflexer: #29 failed to apply on top of branch "openshift-4.4":

error: Failed to merge in the changes.
Using index info to reconstruct a base tree...
M	openshift-tools/pkg/discover-etcd-initial-cluster/initial-cluster.go
Falling back to patching base and 3-way merge...
Auto-merging openshift-tools/pkg/discover-etcd-initial-cluster/initial-cluster.go
CONFLICT (content): Merge conflict in openshift-tools/pkg/discover-etcd-initial-cluster/initial-cluster.go
Patch failed at 0001 Archive data-dir if target member is unstarted

In response to this:

/cherry-pick openshift-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.

@retroflexer retroflexer deleted the archive-data-dir-if-unstarted branch February 25, 2020 16:56
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. 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.

7 participants