Skip to content

ETCD-704: cluster-restore.sh: move extra /var/lib/etcd files to backup#1628

Merged
openshift-merge-bot[bot] merged 4 commits into
openshift:mainfrom
apurvanisal5:etcd-704-cluster-restore-backup-remaining
Jun 15, 2026
Merged

ETCD-704: cluster-restore.sh: move extra /var/lib/etcd files to backup#1628
openshift-merge-bot[bot] merged 4 commits into
openshift:mainfrom
apurvanisal5:etcd-704-cluster-restore-backup-remaining

Conversation

@apurvanisal5

@apurvanisal5 apurvanisal5 commented Jun 7, 2026

Copy link
Copy Markdown

Summary

  • Legacy cluster-restore.sh fails with folder /var/lib/etcd is not empty when extra files exist under /var/lib/etcd after member/ is moved.
  • Add backup_remaining_etcd_data_dir_contents() to move remaining top-level files to /var/lib/etcd-backup instead of exiting.

Jira

Fixes: ETCD-704

Verification

OCP 4.22.0-rc.4, AWS IPI 3-node HA:

  • Legacy script fails when seed files present in /var/lib/etcd
  • Patched script moves demo files to /var/lib/etcd-backup and completes SNAPSHOT RESTORE COMPLETED
  • Full HA restore; cluster healthy; testing-seed-project restored from backup

Test plan

  • Reproduce legacy failure with extra files in /var/lib/etcd
  • Patched restore moves extras to /var/lib/etcd-backup
  • Full 3-node HA restore succeeds
  • etcd data restored from snapshot

Summary by CodeRabbit

  • Bug Fixes
    • Restore process now preserves and moves leftover etcd data into a backup location before clearing the data directory, preventing hard failures when the data directory is not empty and improving recoverability.

@coderabbitai

coderabbitai Bot commented Jun 7, 2026

Copy link
Copy Markdown

Walkthrough

The restore scripts now back up any remaining entries from ETCD_DATA_DIR into ETCD_DATA_DIR_BACKUP/extra-data-dir-contents via a new helper, and both restore initialization paths invoke that helper before wiping or requiring an empty data directory.

Changes

etcd Restore Data Cleanup

Layer / File(s) Summary
Backup helper and core implementation
bindata/etcd/etcd-common-tools
Adds backup_remaining_etcd_data_dir_contents() which moves all entries from ETCD_DATA_DIR to ETCD_DATA_DIR_BACKUP/extra-data-dir-contents, handling dotfiles and clearing existing targets first.
Restore script integration
bindata/etcd/cluster-restore.sh
Replaces prior delete-or-fail logic with a call to backup_remaining_etcd_data_dir_contents in the non-ETCD_ETCDCTL_RESTORE path after snapshot/revision copy.
TNF restore script integration
bindata/etcd/cluster-restore-tnf.sh
Calls backup_remaining_etcd_data_dir_contents after backing up member data and before removing ETCD_DATA_DIR.

🎯 3 (Moderate) | ⏱️ ~20 minutes

🚥 Pre-merge checks | ✅ 12 | ❌ 3

❌ Failed checks (2 warnings, 1 inconclusive)

Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
Test Structure And Quality ⚠️ Warning Ginkgo tests use assertions like o.Expect(err).NotTo(o.HaveOccurred()) with no message in test/e2e/network_policy.go (lines 44,46) and test/e2e/etcd_verification.go and etcd_disruptive.go. Update affected assertions to include descriptive messages, e.g. o.Expect(err).NotTo(o.HaveOccurred(), "failed to <action>"), and ensure similar checks throughout the Ginkgo specs include context.
Container-Privileges ❓ Inconclusive Custom check execution failed before a final verdict was produced. Retry the review run. If this persists, inspect pre-merge custom-check logs for infrastructure or agent runtime failures.
✅ Passed checks (12 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Stable And Deterministic Test Names ✅ Passed Scanned ginkgo-style test titles in changed *_test.go / e2e files for dynamic constructs (fmt.Sprintf, timestamps/dates, UUIDs, IPs, node/pod/namespace suffixes); none matched the disallowed patterns.
Microshift Test Compatibility ✅ Passed PR changes only bindata/etcd restore scripts (helper appears only there); no new/modified Ginkgo e2e tests detected in test/e2e, so MicroShift API compatibility check is not applicable.
Single Node Openshift (Sno) Test Compatibility ✅ Passed PR #1628 only updates bindata/etcd restore shell scripts (3 files) and adds no Ginkgo e2e tests, so there are no SNO multi-node/HA assumptions to flag.
Topology-Aware Scheduling Compatibility ✅ Passed PR only changes bindata/etcd/cluster-restore*.sh and etcd-common-tools; inspected contents contain no pod scheduling constraints (affinity, topologySpreadConstraints, node-role selectors).
Ote Binary Stdout Contract ✅ Passed Checked OTE binaries under cmd/cluster-etcd-operator-tests-ext for stdout writes: no fmt.Print/Printf/Println. klog.Fatal is used and vendored klog defaults logtostderr=true (stderr).
Ipv6 And Disconnected Network Test Compatibility ✅ Passed PR only updates bindata/etcd restore shell scripts and etcd-common-tools; no new/changed Ginkgo e2e tests (It/Describe/etc) to flag for IPv4 or external connectivity assumptions.
No-Weak-Crypto ✅ Passed Searched the PR’s updated files (bindata/etcd/cluster-restore*.sh and etcd-common-tools) for MD5/SHA1/DES/RC4/3DES/Blowfish/ECB and crypto/comparison patterns; none found.
No-Sensitive-Data-In-Logs ✅ Passed New logging added by PR (backup_remaining_etcd_data_dir_contents) only echoes etcd data-dir/backup paths & filenames; no passwords/tokens/PII/session IDs/internal hostnames are logged.
Title check ✅ Passed The title accurately summarizes the main change: adding functionality to move extra /var/lib/etcd files to a backup directory instead of failing when the directory is not empty.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@openshift-ci openshift-ci Bot requested review from jubittajohn and tjungblu June 7, 2026 19:10
@apurvanisal5

Copy link
Copy Markdown
Author

ETCD-704-VERIFICATION-OUTPUTS.txt
Reprod details

@apurvanisal5

apurvanisal5 commented Jun 8, 2026

Copy link
Copy Markdown
Author

CI analysis for failed required jobs:

Job Failed test Notes
e2e-agnostic-ovn ResourceQuota terminating scopes sig-api-machinery, unrelated
e2e-aws-ovn-single-node Pod InPlace Resize sig-node, unrelated
e2e-gcp-operator-disruptive TestPeriodicBackupHappyPath (timeout) backup test, not cluster-restore.sh

Manual verification on OCP 4.22.0-rc.4 (3-node HA): legacy restore fails with extra files in /var/lib/etcd; patched script moves files to /var/lib/etcd-backup and completes SNAPSHOT RESTORE. Full HA restore verified (ETCD-704).

/retest required

@apurvanisal5

apurvanisal5 commented Jun 8, 2026

Copy link
Copy Markdown
Author

2/3 required jobs now green. Remaining failure is TestRetentionBySize
(backup retention count flake — found 6 groups vs expected 4-5, unrelated to cluster-restore.sh).
TestPeriodicBackupHappyPath and TestBackupScript passed on same run.
Manual ETCD-704 HA restore verified on 4.22.

/test e2e-gcp-operator-disruptive

@apurvanisal5

apurvanisal5 commented Jun 8, 2026

Copy link
Copy Markdown
Author

Latest e2e-gcp-operator-disruptive run: all operator e2e tests passed (47m),
job failed only in post-step gather-must-gather due to GitHub camgi.tar download
infra flake — unrelated to ETCD-704.

Previous failures were TestRetentionBySize / TestPeriodicBackupHappyPath flakes.
Manual 3-node HA restore verified on 4.22.

/test e2e-gcp-operator-disruptive

@apurvanisal5

Copy link
Copy Markdown
Author

/label merge-review-needed

@openshift-ci

openshift-ci Bot commented Jun 8, 2026

Copy link
Copy Markdown
Contributor

@apurvanisal5: The label(s) /label merge-review-needed cannot be applied. These labels are supported: acknowledge-critical-fixes-only, platform/aws, platform/azure, platform/baremetal, platform/google, platform/libvirt, platform/openstack, ga, tide/merge-method-merge, tide/merge-method-rebase, tide/merge-method-squash, px-approved, docs-approved, qe-approved, ux-approved, no-qe, rebase/manual, cluster-config-api-changed, run-integration-tests, verified, ready-for-human-review, approved, backport-risk-assessed, bugzilla/valid-bug, cherry-pick-approved, jira/skip-dependent-bug-check, jira/valid-bug, ok-to-test, stability-fix-approved, staff-eng-approved. Is this label configured under labels -> additional_labels or labels -> restricted_labels in plugin.yaml?

Details

In response to this:

/label merge-review-needed

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-sigs/prow repository.

@apurvanisal5

Copy link
Copy Markdown
Author

/label ready-for-human-review

@openshift-ci openshift-ci Bot added the ready-for-human-review Indicates a PR has been reviewed by automated tools and is ready for human review label Jun 8, 2026
@dusk125

dusk125 commented Jun 9, 2026

Copy link
Copy Markdown
Contributor

@coderabbitai review

@coderabbitai

coderabbitai Bot commented Jun 9, 2026

Copy link
Copy Markdown
✅ Action performed

Review finished.

Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@bindata/etcd/cluster-restore.sh`:
- Around line 70-75: The script currently does rm -rf
"${ETCD_DATA_DIR_BACKUP:?}/${base}" before mv "${entry}"
"${ETCD_DATA_DIR_BACKUP}/", which can clobber previously staged restore
artifacts (snapshot.db, revision.json, member/); instead, stop deleting the
target backup root entry—if "${ETCD_DATA_DIR_BACKUP}/${base}" already exists,
either skip moving the stray "${entry}", or move it to a conflict-safe name
(e.g., append a timestamp or ".orig") so existing staged files are preserved;
apply the same behavior to the separate moves that write snapshot.db and
revision.json (refer to ETCD_DATA_DIR_BACKUP, base, entry, snapshot.db,
revision.json, and member/) so nothing in the backup root gets overwritten.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Repository: openshift/coderabbit/.coderabbit.yaml

Review profile: CHILL

Plan: Enterprise

Run ID: 5b980737-38e5-4d48-b0aa-3efe28c29c3d

📥 Commits

Reviewing files that changed from the base of the PR and between 2674d1c and 4e87179.

📒 Files selected for processing (1)
  • bindata/etcd/cluster-restore.sh

Comment thread bindata/etcd/cluster-restore.sh Outdated
@dusk125

dusk125 commented Jun 9, 2026

Copy link
Copy Markdown
Contributor

@apurvanisal5 can you re-target this change to the main branch please? And we can backport if necessary

@apurvanisal5

Copy link
Copy Markdown
Author

/test e2e-gcp-operator-disruptive

@apurvanisal5

Copy link
Copy Markdown
Author

/test e2e-metal-ipi-ovn-ipv6

1 similar comment
@apurvanisal5

Copy link
Copy Markdown
Author

/test e2e-metal-ipi-ovn-ipv6

@tjungblu

Copy link
Copy Markdown
Contributor

you can save yourself the testing @apurvanisal5 - you're targeting the wrong branch. Please follow the backport process in https://docs.google.com/document/d/1FCL6HIUGKhelHKc6dHtZ8AvpFYjmE4_aRz8NOmPsQl8/edit?tab=t.k517pl1uza05#heading=h.wnk379sj5pq7
if you want to target 4.22.

Comment thread bindata/etcd/cluster-restore.sh Outdated
done
}

function backup_remaining_etcd_data_dir_contents() {

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.

shouldn't this go into common and be shared with cluster-restore-tnf.sh?

Comment thread bindata/etcd/cluster-restore.sh Outdated
mkdir -p "${extras_dir}"

shopt -s nullglob dotglob
for entry in "${ETCD_DATA_DIR}"/*; do

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.

doesn't that move the revision.json out of this folder again?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

for revion.json

109 # Copy snapshot to backupdir
110 cp -p "${SNAPSHOT_FILE}" "${ETCD_DATA_DIR_BACKUP}"/snapshot.db
111 # Move the revision.json when it exists
112 [ ! -f "${ETCD_REV_JSON}" ] || mv -f "${ETCD_REV_JSON}" "${ETCD_DATA_DIR_BACKUP}"/revision.json <===== this line already moves revision.json before backup_remaining_etcd_data_dir_contents is called
113 # Move any remaining files (fio perf artifacts, stray snapshots, etc.) out of the data dir.
114 # The restore pod requires /var/lib/etcd to be empty before it runs.
115 backup_remaining_etcd_data_dir_contents

Apurva Nisal and others added 3 commits June 11, 2026 19:58
When cluster-restore.sh runs the restore-pod path, it moves member/ and
revision.json to /var/lib/etcd-backup, deletes etcd_perf*, then exits if
anything remains in /var/lib/etcd. Extra files (perf artifacts, stray
snapshots, etc.) cause DR restore to fail before the restore pod starts.

Add backup_remaining_etcd_data_dir_contents() to move all remaining
top-level entries to /var/lib/etcd-backup instead of failing.

Fixes: ETCD-704
Related: https://access.redhat.com/solutions/6958920
Move leftover /var/lib/etcd entries to extra-data-dir-contents/
so staged snapshot.db, revision.json, and member/ are not overwritten.

Co-authored-by: Cursor <cursoragent@cursor.com>
Share backup_remaining_etcd_data_dir_contents via etcd-common-tools
per review feedback. Behavior unchanged.
@apurvanisal5 apurvanisal5 force-pushed the etcd-704-cluster-restore-backup-remaining branch from 367a077 to 4b715f1 Compare June 11, 2026 14:33
@apurvanisal5 apurvanisal5 changed the base branch from release-4.22 to main June 11, 2026 14:33
@apurvanisal5

Copy link
Copy Markdown
Author

Re-targeted to main.

Moved the helper to etcd-common-tools per @tjungblu review. Same fix as before nothing else changed.

I already tested this on a real 3-node cluster (4.22) as mentioned in #1628 (comment)

Will backport to 4.22 after merge if needed.

@apurvanisal5

Copy link
Copy Markdown
Author

/retest-required

@apurvanisal5

Copy link
Copy Markdown
Author

/test e2e-gcp-operator-disruptive

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

openshift-ci-robot commented Jun 12, 2026

Copy link
Copy Markdown

@apurvanisal5: This pull request references ETCD-704 which is a valid jira issue.

Details

In response to this:

Summary

  • Legacy cluster-restore.sh fails with folder /var/lib/etcd is not empty when extra files exist under /var/lib/etcd after member/ is moved.
  • Add backup_remaining_etcd_data_dir_contents() to move remaining top-level files to /var/lib/etcd-backup instead of exiting.

Jira

Fixes: ETCD-704

Verification

OCP 4.22.0-rc.4, AWS IPI 3-node HA:

  • Legacy script fails when seed files present in /var/lib/etcd
  • Patched script moves demo files to /var/lib/etcd-backup and completes SNAPSHOT RESTORE COMPLETED
  • Full HA restore; cluster healthy; testing-seed-project restored from backup

Test plan

  • Reproduce legacy failure with extra files in /var/lib/etcd
  • Patched restore moves extras to /var/lib/etcd-backup
  • Full 3-node HA restore succeeds
  • etcd data restored from snapshot

Summary by CodeRabbit

  • Bug Fixes
  • Restore process now preserves and moves leftover etcd data into a backup location before clearing the data directory, preventing hard failures when the data directory is not empty and improving recoverability.

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.

@apurvanisal5

Copy link
Copy Markdown
Author

/jira refresh

@openshift-ci-robot

openshift-ci-robot commented Jun 12, 2026

Copy link
Copy Markdown

@apurvanisal5: This pull request references ETCD-704 which is a valid jira issue.

Details

In response to this:

/jira 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 openshift-eng/jira-lifecycle-plugin repository.

@apurvanisal5

Copy link
Copy Markdown
Author

/verified by @apurvanisal5

Manual 3-node HA etcd restore on OCP 4.21.18 (cluster anisal-test-m):

  • Seeded extra files under /var/lib/etcd
  • Patched cluster-restore.sh moved them to /var/lib/etcd-backup/extra-data-dir-contents/
  • SNAPSHOT RESTORE COMPLETED
  • etcd Available=True, all nodes Ready, post-test-for-etcd project restored from backup
    ETCD-704-anisal-test-m-VERIFICATION-OUTPUTS.txt

@openshift-ci-robot openshift-ci-robot added the verified Signifies that the PR passed pre-merge verification criteria label Jun 12, 2026
@openshift-ci-robot

Copy link
Copy Markdown

@apurvanisal5: This PR has been marked as verified by @apurvanisal5.

Details

In response to this:

/verified by @apurvanisal5

Manual 3-node HA etcd restore on OCP 4.21.18 (cluster anisal-test-m):

  • Seeded extra files under /var/lib/etcd
  • Patched cluster-restore.sh moved them to /var/lib/etcd-backup/extra-data-dir-contents/
  • SNAPSHOT RESTORE COMPLETED
  • etcd Available=True, all nodes Ready, post-test-for-etcd project restored from backup
    ETCD-704-anisal-test-m-VERIFICATION-OUTPUTS.txt

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.

@apurvanisal5

Copy link
Copy Markdown
Author

/test e2e-metal-ovn-two-node-fencing

@apurvanisal5

Copy link
Copy Markdown
Author

/retest-required

@apurvanisal5

Copy link
Copy Markdown
Author

/test e2e-gcp-operator-disruptive

3 similar comments
@apurvanisal5

Copy link
Copy Markdown
Author

/test e2e-gcp-operator-disruptive

@apurvanisal5

Copy link
Copy Markdown
Author

/test e2e-gcp-operator-disruptive

@apurvanisal5

Copy link
Copy Markdown
Author

/test e2e-gcp-operator-disruptive

@openshift-merge-bot

Copy link
Copy Markdown
Contributor

/retest-required

Remaining retests: 0 against base HEAD 2abd78c and 2 for PR HEAD 38bade7 in total

@apurvanisal5

Copy link
Copy Markdown
Author

/retest-required

2 similar comments
@apurvanisal5

Copy link
Copy Markdown
Author

/retest-required

@apurvanisal5

Copy link
Copy Markdown
Author

/retest-required

@openshift-ci

openshift-ci Bot commented Jun 14, 2026

Copy link
Copy Markdown
Contributor

@apurvanisal5: The following test 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-aws-etcd-recovery 4b715f1 link false /test e2e-aws-etcd-recovery

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-sigs/prow repository. I understand the commands that are listed here.

@apurvanisal5

apurvanisal5 commented Jun 15, 2026

Copy link
Copy Markdown
Author

@tjungblu all e2e-gcp-operator-disruptive runs fail on TestEtcdDBScaling only — backendQuotaGiB 32 > max 16 (scaling_dbsize.go:44). Backup tests pass. Unrelated to ETCD-704. Retest keeps hitting the same thing. Any chance we can merge or skip this job? Thanks.

@tjungblu

Copy link
Copy Markdown
Contributor

/override ci/prow/e2e-gcp-operator-disruptive

@openshift-ci

openshift-ci Bot commented Jun 15, 2026

Copy link
Copy Markdown
Contributor

@tjungblu: Overrode contexts on behalf of tjungblu: ci/prow/e2e-gcp-operator-disruptive

Details

In response to this:

/override ci/prow/e2e-gcp-operator-disruptive

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-sigs/prow repository.

@openshift-merge-bot openshift-merge-bot Bot merged commit f38807a into openshift:main Jun 15, 2026
18 checks passed
@apurvanisal5

Copy link
Copy Markdown
Author

/cherry-pick release-4.22
/cherry-pick release-4.21
/cherry-pick release-4.20
/cherry-pick release-4.19
/cherry-pick release-4.18
/cherry-pick release-4.17

@openshift-cherrypick-robot

Copy link
Copy Markdown

@apurvanisal5: #1628 failed to apply on top of branch "release-4.17":

Applying: ETCD-704 — cluster-restore.sh: move extra /var/lib/etcd files to backup
Using index info to reconstruct a base tree...
M	bindata/etcd/cluster-restore.sh
Falling back to patching base and 3-way merge...
Auto-merging bindata/etcd/cluster-restore.sh
CONFLICT (content): Merge conflict in bindata/etcd/cluster-restore.sh
error: Failed to merge in the changes.
hint: Use 'git am --show-current-patch=diff' to see the failed patch
hint: When you have resolved this problem, run "git am --continue".
hint: If you prefer to skip this patch, run "git am --skip" instead.
hint: To restore the original branch and stop patching, run "git am --abort".
hint: Disable this message with "git config set advice.mergeConflict false"
Patch failed at 0001 ETCD-704 — cluster-restore.sh: move extra /var/lib/etcd files to backup

Details

In response to this:

/cherry-pick release-4.22
/cherry-pick release-4.21
/cherry-pick release-4.20
/cherry-pick release-4.19
/cherry-pick release-4.18
/cherry-pick release-4.17

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-sigs/prow repository.

@openshift-cherrypick-robot

Copy link
Copy Markdown

@apurvanisal5: #1628 failed to apply on top of branch "release-4.18":

Applying: ETCD-704 — cluster-restore.sh: move extra /var/lib/etcd files to backup
Applying: ETCD-704: move extra etcd data dir files to backup subdirectory
Applying: ETCD-704: move backup helper to etcd-common-tools Share backup_remaining_etcd_data_dir_contents via etcd-common-tools per review feedback. Behavior unchanged.
Applying: ETCD-704: backup extra data dir contents in cluster-restore-tnf.sh Call backup_remaining_etcd_data_dir_contents before rm -rf so leftover files are moved to extra-data-dir-contents/ instead of deleted.
Using index info to reconstruct a base tree...
A	bindata/etcd/cluster-restore-tnf.sh
Falling back to patching base and 3-way merge...
CONFLICT (modify/delete): bindata/etcd/cluster-restore-tnf.sh deleted in HEAD and modified in ETCD-704: backup extra data dir contents in cluster-restore-tnf.sh Call backup_remaining_etcd_data_dir_contents before rm -rf so leftover files are moved to extra-data-dir-contents/ instead of deleted..  Version ETCD-704: backup extra data dir contents in cluster-restore-tnf.sh Call backup_remaining_etcd_data_dir_contents before rm -rf so leftover files are moved to extra-data-dir-contents/ instead of deleted. of bindata/etcd/cluster-restore-tnf.sh left in tree.
error: Failed to merge in the changes.
hint: Use 'git am --show-current-patch=diff' to see the failed patch
hint: When you have resolved this problem, run "git am --continue".
hint: If you prefer to skip this patch, run "git am --skip" instead.
hint: To restore the original branch and stop patching, run "git am --abort".
hint: Disable this message with "git config set advice.mergeConflict false"
Patch failed at 0004 ETCD-704: backup extra data dir contents in cluster-restore-tnf.sh Call backup_remaining_etcd_data_dir_contents before rm -rf so leftover files are moved to extra-data-dir-contents/ instead of deleted.

Details

In response to this:

/cherry-pick release-4.22
/cherry-pick release-4.21
/cherry-pick release-4.20
/cherry-pick release-4.19
/cherry-pick release-4.18
/cherry-pick release-4.17

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-sigs/prow repository.

@openshift-cherrypick-robot

Copy link
Copy Markdown

@apurvanisal5: #1628 failed to apply on top of branch "release-4.19":

Applying: ETCD-704 — cluster-restore.sh: move extra /var/lib/etcd files to backup
Applying: ETCD-704: move extra etcd data dir files to backup subdirectory
Applying: ETCD-704: move backup helper to etcd-common-tools Share backup_remaining_etcd_data_dir_contents via etcd-common-tools per review feedback. Behavior unchanged.
Applying: ETCD-704: backup extra data dir contents in cluster-restore-tnf.sh Call backup_remaining_etcd_data_dir_contents before rm -rf so leftover files are moved to extra-data-dir-contents/ instead of deleted.
Using index info to reconstruct a base tree...
A	bindata/etcd/cluster-restore-tnf.sh
Falling back to patching base and 3-way merge...
CONFLICT (modify/delete): bindata/etcd/cluster-restore-tnf.sh deleted in HEAD and modified in ETCD-704: backup extra data dir contents in cluster-restore-tnf.sh Call backup_remaining_etcd_data_dir_contents before rm -rf so leftover files are moved to extra-data-dir-contents/ instead of deleted..  Version ETCD-704: backup extra data dir contents in cluster-restore-tnf.sh Call backup_remaining_etcd_data_dir_contents before rm -rf so leftover files are moved to extra-data-dir-contents/ instead of deleted. of bindata/etcd/cluster-restore-tnf.sh left in tree.
error: Failed to merge in the changes.
hint: Use 'git am --show-current-patch=diff' to see the failed patch
hint: When you have resolved this problem, run "git am --continue".
hint: If you prefer to skip this patch, run "git am --skip" instead.
hint: To restore the original branch and stop patching, run "git am --abort".
hint: Disable this message with "git config set advice.mergeConflict false"
Patch failed at 0004 ETCD-704: backup extra data dir contents in cluster-restore-tnf.sh Call backup_remaining_etcd_data_dir_contents before rm -rf so leftover files are moved to extra-data-dir-contents/ instead of deleted.

Details

In response to this:

/cherry-pick release-4.22
/cherry-pick release-4.21
/cherry-pick release-4.20
/cherry-pick release-4.19
/cherry-pick release-4.18
/cherry-pick release-4.17

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-sigs/prow repository.

@openshift-cherrypick-robot

Copy link
Copy Markdown

@apurvanisal5: #1628 failed to apply on top of branch "release-4.20":

Applying: ETCD-704 — cluster-restore.sh: move extra /var/lib/etcd files to backup
Applying: ETCD-704: move extra etcd data dir files to backup subdirectory
Applying: ETCD-704: move backup helper to etcd-common-tools Share backup_remaining_etcd_data_dir_contents via etcd-common-tools per review feedback. Behavior unchanged.
Applying: ETCD-704: backup extra data dir contents in cluster-restore-tnf.sh Call backup_remaining_etcd_data_dir_contents before rm -rf so leftover files are moved to extra-data-dir-contents/ instead of deleted.
Using index info to reconstruct a base tree...
A	bindata/etcd/cluster-restore-tnf.sh
Falling back to patching base and 3-way merge...
CONFLICT (modify/delete): bindata/etcd/cluster-restore-tnf.sh deleted in HEAD and modified in ETCD-704: backup extra data dir contents in cluster-restore-tnf.sh Call backup_remaining_etcd_data_dir_contents before rm -rf so leftover files are moved to extra-data-dir-contents/ instead of deleted..  Version ETCD-704: backup extra data dir contents in cluster-restore-tnf.sh Call backup_remaining_etcd_data_dir_contents before rm -rf so leftover files are moved to extra-data-dir-contents/ instead of deleted. of bindata/etcd/cluster-restore-tnf.sh left in tree.
error: Failed to merge in the changes.
hint: Use 'git am --show-current-patch=diff' to see the failed patch
hint: When you have resolved this problem, run "git am --continue".
hint: If you prefer to skip this patch, run "git am --skip" instead.
hint: To restore the original branch and stop patching, run "git am --abort".
hint: Disable this message with "git config set advice.mergeConflict false"
Patch failed at 0004 ETCD-704: backup extra data dir contents in cluster-restore-tnf.sh Call backup_remaining_etcd_data_dir_contents before rm -rf so leftover files are moved to extra-data-dir-contents/ instead of deleted.

Details

In response to this:

/cherry-pick release-4.22
/cherry-pick release-4.21
/cherry-pick release-4.20
/cherry-pick release-4.19
/cherry-pick release-4.18
/cherry-pick release-4.17

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-sigs/prow repository.

@openshift-cherrypick-robot

Copy link
Copy Markdown

@apurvanisal5: #1628 failed to apply on top of branch "release-4.21":

Applying: ETCD-704 — cluster-restore.sh: move extra /var/lib/etcd files to backup
Applying: ETCD-704: move extra etcd data dir files to backup subdirectory
Applying: ETCD-704: move backup helper to etcd-common-tools Share backup_remaining_etcd_data_dir_contents via etcd-common-tools per review feedback. Behavior unchanged.
Applying: ETCD-704: backup extra data dir contents in cluster-restore-tnf.sh Call backup_remaining_etcd_data_dir_contents before rm -rf so leftover files are moved to extra-data-dir-contents/ instead of deleted.
Using index info to reconstruct a base tree...
A	bindata/etcd/cluster-restore-tnf.sh
Falling back to patching base and 3-way merge...
CONFLICT (modify/delete): bindata/etcd/cluster-restore-tnf.sh deleted in HEAD and modified in ETCD-704: backup extra data dir contents in cluster-restore-tnf.sh Call backup_remaining_etcd_data_dir_contents before rm -rf so leftover files are moved to extra-data-dir-contents/ instead of deleted..  Version ETCD-704: backup extra data dir contents in cluster-restore-tnf.sh Call backup_remaining_etcd_data_dir_contents before rm -rf so leftover files are moved to extra-data-dir-contents/ instead of deleted. of bindata/etcd/cluster-restore-tnf.sh left in tree.
error: Failed to merge in the changes.
hint: Use 'git am --show-current-patch=diff' to see the failed patch
hint: When you have resolved this problem, run "git am --continue".
hint: If you prefer to skip this patch, run "git am --skip" instead.
hint: To restore the original branch and stop patching, run "git am --abort".
hint: Disable this message with "git config set advice.mergeConflict false"
Patch failed at 0004 ETCD-704: backup extra data dir contents in cluster-restore-tnf.sh Call backup_remaining_etcd_data_dir_contents before rm -rf so leftover files are moved to extra-data-dir-contents/ instead of deleted.

Details

In response to this:

/cherry-pick release-4.22
/cherry-pick release-4.21
/cherry-pick release-4.20
/cherry-pick release-4.19
/cherry-pick release-4.18
/cherry-pick release-4.17

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-sigs/prow repository.

@openshift-cherrypick-robot

Copy link
Copy Markdown

@apurvanisal5: new pull request created: #1632

Details

In response to this:

/cherry-pick release-4.22
/cherry-pick release-4.21
/cherry-pick release-4.20
/cherry-pick release-4.19
/cherry-pick release-4.18
/cherry-pick release-4.17

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-sigs/prow 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/valid-reference Indicates that this PR references a valid Jira ticket of any type. lgtm Indicates that a PR is ready to be merged. ready-for-human-review Indicates a PR has been reviewed by automated tools and is ready for human review verified Signifies that the PR passed pre-merge verification criteria

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants