Skip to content

squid: mgr/vol: handling the failed non-atomic operation - #65799

Merged
batrick merged 2 commits into
ceph:squidfrom
joscollin:wip-73309-squid
Jul 27, 2026
Merged

batrick merged 2 commits into
ceph:squidfrom
joscollin:wip-73309-squid

Conversation

@joscollin

@joscollin joscollin commented Oct 6, 2025 •

Copy link
Copy Markdown
Member

backport tracker: https://tracker.ceph.com/issues/73309


backport of #59676
parent tracker: https://tracker.ceph.com/issues/67330

this backport was staged using ceph-backport.sh version 16.0.0.6848
find the latest version at https://github.com/ceph/ceph/blob/main/src/script/ceph-backport.sh

Contribution Guidelines

  • To sign and title your commits, please refer to Submitting Patches to Ceph.

  • If you are submitting a fix for a stable branch (e.g. "quincy"), please refer to Submitting Patches to Ceph - Backports for the proper workflow.

  • When filling out the below checklist, you may click boxes directly in the GitHub web UI. When entering or editing the entire PR message in the GitHub web UI editor, you may also select a checklist item by adding an x between the brackets: [x]. Spaces and capitalization matter when checking off items this way.

Checklist

  • Tracker (select at least one)
    • References tracker ticket
    • Very recent bug; references commit where it was introduced
    • New feature (ticket optional)
    • Doc update (no ticket needed)
    • Code cleanup (no ticket needed)
  • Component impact
    • Affects Dashboard, opened tracker ticket
    • Affects Orchestrator, opened tracker ticket
    • No impact that needs to be tracked
  • Documentation (select at least one)
    • Updates relevant documentation
    • No doc update is appropriate
  • Tests (select at least one)
Show available Jenkins commands

@github-actions github-actions Bot added cephfs Ceph File System pybind tests labels Oct 6, 2025
@github-actions github-actions Bot added this to the squid milestone Oct 6, 2025
@joscollin

Copy link
Copy Markdown
Member Author

jenkins test make check

@joscollin

Copy link
Copy Markdown
Member Author

jenkins test make check

@joscollin

Copy link
Copy Markdown
Member Author

jenkins test make check

1 similar comment
@joscollin

Copy link
Copy Markdown
Member Author

jenkins test make check

The order of operation done for subvolume removal with retain-snapshot
option set to true, is reversed. The metadata is updated first
followed by a rename operation on the uuid directory. If the metadata
update operation fails, then the remove operations is failed thereby,
keeping the subvolume metadata consistent with the uuid path.

Fixes: https://tracker.ceph.com/issues/67330
Signed-off-by: Neeraj Pratap Singh <[email protected]>
(cherry picked from commit ba199cf)
… full

Fixes: https://tracker.ceph.com/issues/67330
Signed-off-by: Neeraj Pratap Singh <[email protected]>

Conflicts:
	qa/suites/fs/full/tasks/mgr-osd-full.yaml
(cherry picked from commit ea624e4)
@joscollin

Copy link
Copy Markdown
Member Author

@batrick batrick modified the milestones: squid, 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 removed the releng-audit-fail Release engineering: failed backport verification audit. label May 14, 2026
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 May 14, 2026

@neesingh-rh neesingh-rh left a comment

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.

@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 the releng-audit-queue Release engineering: queued for backport verification audit. label Jul 21, 2026
@github-actions github-actions Bot removed the releng-audit-fail Release engineering: failed backport verification audit. label Jul 21, 2026
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 Jul 21, 2026
@batrick batrick removed the releng-audit-fail Release engineering: failed backport verification audit. label Jul 27, 2026
@github-actions github-actions Bot added the releng-audit-fail Release engineering: failed backport verification audit. label Jul 27, 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 #65799 SOURCE PR SOURCE STATUS
16e847d mgr/vol: fix subvolume removal with retained snapshots when osd is full PR #59676 ba199cf mgr/vol: fix subvolume removal with retained snapshots when osd is full
200601b qa: add test for subvolume rm with retained snapshots when cluster is full ea624e4 qa: add test for subvolume rm with retained snapshots when cluster is full

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 200601b (cherry-pick of ea624e4)

Affected File(s)

Range Diff

Click to expand
--- Original (ea624e47)
+++ Backport (200601b4)
@@ -5,3 +5,4 @@
 
 Conflicts:
 	qa/suites/fs/full/tasks/mgr-osd-full.yaml
+(cherry picked from commit ea624e471cd8a7b615dae886004cf14723493bf4)

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

1:  ea624e471cd ! 1:  200601b4a31 qa: add test for subvolume rm with retained snapshots when cluster is full
    @@ Commit message
     
         Conflicts:
                 qa/suites/fs/full/tasks/mgr-osd-full.yaml
    +    (cherry picked from commit ea624e471cd8a7b615dae886004cf14723493bf4)
     
      ## qa/suites/fs/full/tasks/mgr-osd-full.yaml ##
     @@ qa/suites/fs/full/tasks/mgr-osd-full.yaml: tasks:
          clients:
            client.0:
    -         - fs/full/subvolume_ls.sh
    +         - fs/full/subvolume_snapshot_rm.sh
     +- workunit:
     +    cleanup: true
     +    clients:

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 removed the releng-audit-fail Release engineering: failed backport verification audit. label Jul 27, 2026
@github-actions

Copy link
Copy Markdown

✅ Audit Override Applied by @batrick.

View workflow run

@batrick
batrick merged commit 1db16c5 into ceph:squid Jul 27, 2026
3 of 6 checks passed
@joscollin
joscollin deleted the wip-73309-squid branch July 28, 2026 12:19
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.

3 participants