Skip to content

Fix rclone mover crash on PVCs with symlinks - #2082

Open
falconizmi wants to merge 3 commits into
backube:mainfrom
falconizmi:fix/rclone-symlink-eloop
Open

Fix rclone mover crash on PVCs with symlinks#2082
falconizmi wants to merge 3 commits into
backube:mainfrom
falconizmi:fix/rclone-symlink-eloop

Conversation

@falconizmi

Copy link
Copy Markdown
Contributor

Summary

  • Rclone mover crashes when source PVC contains symlinks. On UBI9's acl-2.4.0, getfacl -P returns ELOOP on symlinks, killing the script under pipefail.
  • Fix: exclude symlinks from the find | getfacl pipeline. Symlinks have no meaningful ACLs.
  • Adds e2e test with dangling and relative symlinks on the source PVC.

Notes

  • Bug exists since v0.15.0. Cherry-pick to release-0.16 and release-0.15 after merge.

Exclude symlinks from the getfacl pipeline in active.sh. On UBI9's
acl-2.4.0, getfacl -P returns ELOOP on symlinks, killing the script
under pipefail before rclone sync runs. Symlinks have no meaningful
ACLs so skipping them loses no data.

Adds e2e test with dangling and relative symlinks on the source PVC.

Signed-off-by: Ismail Ibrahim Quwarah <iquwarah@redhat.com>
@openshift-ci

openshift-ci Bot commented Aug 3, 2026

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: falconizmi

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

Signed-off-by: Ismail Ibrahim Quwarah <iquwarah@redhat.com>
@falconizmi

Copy link
Copy Markdown
Contributor Author

/retest

1 similar comment
@falconizmi

Copy link
Copy Markdown
Contributor Author

/retest

Signed-off-by: Ismail Ibrahim Quwarah <iquwarah@redhat.com>
@openshift-ci openshift-ci Bot added size/M and removed size/L labels Aug 4, 2026
@sonarqubecloud

sonarqubecloud Bot commented Aug 4, 2026

Copy link
Copy Markdown

@tesshuflower

Copy link
Copy Markdown
Contributor

/lgtm

@falconizmi

Copy link
Copy Markdown
Contributor Author

/retest

@openshift-ci

openshift-ci Bot commented Aug 4, 2026

Copy link
Copy Markdown
Contributor

@falconizmi: 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-fips a60c034 link true /test e2e-openshift-fips
ci/prow/e2e-openshift-helm a60c034 link true /test e2e-openshift-helm
ci/prow/e2e-openshift a60c034 link true /test e2e-openshift

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.

@falconizmi

Copy link
Copy Markdown
Contributor Author

/retest

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants