Skip to content

squid: mgr/volumes: fix dangling symlink in clone index - #62111

Open
neesingh-rh wants to merge 2 commits into
ceph:squidfrom
neesingh-rh:wip-70233-squid
Open

neesingh-rh wants to merge 2 commits into
ceph:squidfrom
neesingh-rh:wip-70233-squid

Conversation

@neesingh-rh

Copy link
Copy Markdown
Contributor

@kotreshhr

Copy link
Copy Markdown
Contributor

@batrick batrick modified the milestones: v16.2.15, v19.2.4 Mar 18, 2026
@batrick batrick modified the milestones: v19.2.4, v19.2.5 Apr 22, 2026
@batrick batrick added the releng-audit-fail Release engineering: failed backport verification audit. label May 14, 2026
@github-actions github-actions Bot added releng-audit-pass Release engineering: passed backport verification audit. and removed releng-audit-fail Release engineering: failed backport verification audit. labels May 14, 2026
@github-actions

Copy link
Copy Markdown

This pull request can no longer be automatically merged: a rebase is needed and changes have to be manually resolved

@yuriw

yuriw commented Jun 22, 2026

Copy link
Copy Markdown
Contributor

@neesingh-rh pls rebase

@yuriw yuriw removed the needs-qa label Jun 22, 2026
neeraj pratap singh added 2 commits June 22, 2026 20:18
If we come across situations where we encounter dangling
symlinks for clones due to any reason,like older versions
may have produced dangling clone symlinks which remained
post-upgrade, it needs to be handled gracefully by deleting
it, presence of which may not allow deletion of the snapshot.
We are now cleaning those up in the snapshot info command.

Fixes: https://tracker.ceph.com/issues/58090
Signed-off-by: Neeraj Pratap Singh <[email protected]>
(cherry picked from commit efb119e)
@github-actions github-actions Bot removed needs-rebase releng-audit-pass Release engineering: passed backport verification audit. labels Jun 22, 2026
@neesingh-rh

Copy link
Copy Markdown
Contributor Author

@neesingh-rh pls rebase

Rebased and resolved the conflict!

github-actions[bot]

This comment was marked as outdated.

@github-actions github-actions Bot added the releng-audit-fail Release engineering: failed backport verification audit. label Jun 22, 2026
@NitzanMordhai

Copy link
Copy Markdown
Contributor

@NitzanMordhai

Copy link
Copy Markdown
Contributor

jenkins test make check

@NitzanMordhai

Copy link
Copy Markdown
Contributor

jenkins test make windows

@batrick batrick modified the milestones: v19.2.5, v19.2.6 Jul 21, 2026
@batrick batrick added the releng-audit-queue Release engineering: queued for backport verification audit. label Jul 21, 2026
@github-actions github-actions Bot removed releng-audit-queue Release engineering: queued for backport verification audit. releng-audit-fail Release engineering: failed backport verification audit. labels Jul 21, 2026

@github-actions github-actions 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.

Ceph Release Engineering Audit Report

Commit Parity Visualizer

BACKPORT PR #62111 SOURCE PR SOURCE STATUS
5d34822 mgr/volumes: handling dangling symlinks gracefully PR #55838 efb119e mgr/volumes: handling dangling symlinks gracefully
81b0248 qa: add tests for fixing dangling symlink 82d4647 qa: add tests for fixing dangling symlink

Automated Backport Parity Review - Cherry-Pick Conflicts / Deviations

⚠️ WARNING: Cherry-pick conflicts or deviations were found that require component lead review.

A conflict or deviation was detected during the simulation of this backport. The code in this PR does not match a clean cherry-pick of the upstream commits.

This does not necessarily indicate an issue but a maintainer should review.

**Click to expand conflict summaries.**

Deviation in Backport 81b0248 (cherry-pick of 82d4647)

Affected File(s)

Range Diff

Click to expand
--- Original (82d46470)
+++ Backport (81b0248e)
@@ -2,3 +2,4 @@
 
 Fixes: https://tracker.ceph.com/issues/58090
 Signed-off-by: Neeraj Pratap Singh <[email protected]>
+(cherry picked from commit 82d46470516c5dbc54a0b352120f38e15f40d563)

================================================================================
RANGE DIFF
================================================================================

1:  82d46470516 ! 1:  81b0248e380 qa: add tests for fixing dangling symlink
    @@ Commit message
     
         Fixes: https://tracker.ceph.com/issues/58090
         Signed-off-by: Neeraj Pratap Singh <[email protected]>
    +    (cherry picked from commit 82d46470516c5dbc54a0b352120f38e15f40d563)
     
      ## qa/tasks/cephfs/test_volumes.py ##
    -@@ qa/tasks/cephfs/test_volumes.py: from io import StringIO
    - from tasks.cephfs.cephfs_test_case import CephFSTestCase
    - from tasks.cephfs.fuse_mount import FuseMount
    - from teuthology.exceptions import CommandFailedError
    -+from teuthology import contextutil
    - 
    - log = logging.getLogger(__name__)
    - 
     @@ qa/tasks/cephfs/test_volumes.py: class TestMisc(TestVolumesHelper):
              # remove group
              self._fs_cmd("subvolumegroup", "rm", self.volname, group)
    @@ qa/tasks/cephfs/test_volumes.py: class TestMisc(TestVolumesHelper):
     +        clone_path = f'./volumes/_nogroup/{clone}'
     +        self.mount_a.run_shell(['sudo', 'rm', '-rf', clone_path], omit_sudo=False)
     +
    -+        with contextutil.safe_while(sleep=5, tries=6) as proceed:
    ++        with safe_while(sleep=5, tries=6) as proceed:
     +            while proceed():
     +                try:
     +                    result = json.loads(self._fs_cmd("subvolume", "snapshot", "info", self.volname, subvolume, snapshot))

How to proceed:

  • Authors (Genuine Conflicts): If this is a genuine conflict requiring manual resolution, ensure your resolution is correct. You must explain the conflict resolution in the commit message (e.g., leave the standard Git Conflicts: block intact) and include an explanation for changes.
  • Authors (Need Help?): Reach out to the Component Lead for technical guidance on complex code conflicts.
  • Component Leads (Review): Please review the Range Diff(s) above to verify the author's manual conflict resolution is correct for this release branch. If the deviation is intentional, documented, and approved then the component lead or @ceph/ceph-release-manager can bypass this check by commenting /audit override.

Be familiar with the rules and guidelines for writing backports.


🛟 Need Help?

If you need technical help resolving these issues, please consult with the Component Lead. If you need administrative overrides, please see the #ceph-upstream-releases channel on Slack and request a review from the @ceph/ceph-release-manager.

📋 Component Lead / Release Manager

To override the audit failure, apply releng-audit-override label or comment /audit override.


⚠️ Note: Automated audit checks will be suspended on future pushes to prevent comment spam while you work.

When you are ready for a new audit, please remove the releng-audit-fail label or comment /audit retest.

View workflow run

@github-actions github-actions Bot added the releng-audit-fail Release engineering: failed backport verification audit. label Jul 21, 2026
@batrick

batrick commented Jul 27, 2026

Copy link
Copy Markdown
Member

jenkins test make check

@batrick

batrick commented Jul 27, 2026

Copy link
Copy Markdown
Member

jenkins test windows

@batrick

batrick commented Jul 27, 2026

Copy link
Copy Markdown
Member

Conflict resolution needs reviewed by @ceph/cephfs

@batrick batrick modified the milestones: v19.2.7, squid Aug 26, 2026
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.

6 participants