Skip to content

squid: pybind/mgr/volumes: fix typo in casesensitive vxattr - #63023

Merged
batrick merged 9 commits into
ceph:squidfrom
batrick:wip-71117-squid
Jun 2, 2026
Merged

batrick merged 9 commits into
ceph:squidfrom
batrick:wip-71117-squid

Conversation

@batrick
batrick requested a review from a team as a code owner April 28, 2025 20:05
@batrick batrick added this to the v16.2.15 milestone Apr 28, 2025
@batrick batrick added the pybind label Apr 28, 2025
@batrick
batrick force-pushed the wip-71117-squid branch from 742469a to 30247f7 Compare May 2, 2025 18:25
@joscollin joscollin added the wip-jcollin-testing-squid2 Assigned for review label Aug 20, 2025
@joscollin

Copy link
Copy Markdown
Member

@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

@joscollin

Copy link
Copy Markdown
Member

jenkins test make check

@joscollin

Copy link
Copy Markdown
Member

@batrick batrick modified the milestones: v16.2.15, v19.2.4 Feb 24, 2026
@batrick

batrick commented Feb 25, 2026

Copy link
Copy Markdown
Member Author

jenkins test docs

xhernandez and others added 7 commits March 17, 2026 20:27
When a new subvolume is created, optionally set the
ceph.dir.normalization xattr to the root directory.

Signed-off-by: Xavi Hernandez <[email protected]>
(cherry picked from commit 4a414a5)
Add an option to explicitly set the unicode normalization form to use on
a CephFS subvolume.

Signed-off-by: Xavi Hernandez <[email protected]>
(cherry picked from commit b8b0f1f)
Add an option to explicitly set the case sensitivity of a CephFS
subvolume.

Signed-off-by: Xavi Hernandez <[email protected]>
(cherry picked from commit 87bb089)
Signed-off-by: Xavi Hernandez <[email protected]>
(cherry picked from commit d9704c0)
@chrisphoffman

Copy link
Copy Markdown
Contributor

@batrick do we need to rerun the test for this as you pushed new commits?

@batrick

batrick commented Apr 12, 2026 •

Copy link
Copy Markdown
Member Author

@batrick do we need to rerun the test for this as you pushed new commits?

I think I was just rebasing to retrigger github ci tests. So, probably not?

@joscollin

Copy link
Copy Markdown
Member

@batrick do we need to rerun the test for this as you pushed new commits?

I think I was just rebasing to retrigger github ci tests. So, probably not?

Not necessary then.

@joscollin

Copy link
Copy Markdown
Member

jenkins test api

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

Automated Backport Parity Review - Multiple PRs Detected

This backport appears to pull commits from multiple main PRs including: PR #62105, PR #62872, PR #62904.

This must be made explicit in the backport PR description. Furthermore, each backport tracker ticket associated with these main PRs must be linked to this PR.


Automated Backport Parity Review - Backport Deviation Alert

A conflict or unapproved 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.

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 below 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.

Affected File(s)

Range Diff

Click to expand
--- Original (4a414a57)
+++ Backport (fed4b0d2)
@@ -4,3 +4,4 @@
 ceph.dir.normalization xattr to the root directory.
 
 Signed-off-by: Xavi Hernandez <[email protected]>
+(cherry picked from commit 4a414a57af385945b105209571e43abbd33b4b65)

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

1:  4a414a57af3 ! 1:  fed4b0d2594 pybind/mgr: create normalization xattr in subvolumes
    @@ Commit message
         ceph.dir.normalization xattr to the root directory.
     
         Signed-off-by: Xavi Hernandez <[email protected]>
    +    (cherry picked from commit 4a414a57af385945b105209571e43abbd33b4b65)
     
      ## src/pybind/mgr/volumes/fs/operations/versions/subvolume_base.py ##
     @@ src/pybind/mgr/volumes/fs/operations/versions/subvolume_base.py: class SubvolumeBase(object):
    @@ src/pybind/mgr/volumes/fs/operations/versions/subvolume_base.py: class Subvolume
     +        except cephfs.NoData:
     +            normalization = "none"
     +
    -         return {'path': subvolpath,
    +         subvol_info = {
    +                 'path': subvolpath,
                      'type': etype.value,
    -                 'uid': int(st["uid"]),
     @@ src/pybind/mgr/volumes/fs/operations/versions/subvolume_base.py: class SubvolumeBase(object):
                      'pool_namespace': pool_namespace,
                      'features': self.features,
    @@ src/pybind/mgr/volumes/fs/operations/versions/subvolume_base.py: class Subvolume
     +                'normalization': normalization,
     +        }
      
    -     def set_user_metadata(self, keyname, value):
    -         try:
    +         subvol_src_info = self._get_clone_source()
    +         if subvol_src_info:

Automated Backport Parity Review - Backport Deviation Alert

A conflict or unapproved 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.

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 below 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.

Affected File(s)

Range Diff

Click to expand
--- Original (66caf741)
+++ Backport (7109210f)
@@ -1,3 +1,4 @@
 qa: add tests for normalization configuration on subvolume creation
 
 Signed-off-by: Xavi Hernandez <[email protected]>
+(cherry picked from commit 66caf7415689f35763ece2d63f9f03e34798204e)

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

1:  66caf741568 ! 1:  7109210fa14 qa: add tests for normalization configuration on subvolume creation
    @@ Commit message
         qa: add tests for normalization configuration on subvolume creation
     
         Signed-off-by: Xavi Hernandez <[email protected]>
    +    (cherry picked from commit 66caf7415689f35763ece2d63f9f03e34798204e)
     
      ## qa/tasks/cephfs/test_volumes.py ##
     @@ qa/tasks/cephfs/test_volumes.py: class TestSubvolumes(TestVolumesHelper):
    @@ src/pybind/mgr/volumes/fs/operations/versions/subvolume_base.py: class Subvolume
     +        except cephfs.NoData:
     +            case_insensitive = False
     +
    -         return {'path': subvolpath,
    +         subvol_info = {
    +                 'path': subvolpath,
                      'type': etype.value,
    -                 'uid': int(st["uid"]),
     @@ src/pybind/mgr/volumes/fs/operations/versions/subvolume_base.py: class SubvolumeBase(object):
                      'state': self.state.value,
                      'earmark': earmark,
    @@ src/pybind/mgr/volumes/fs/operations/versions/subvolume_base.py: class Subvolume
     +                'case_insensitive': case_insensitive,
              }
      
    -     def set_user_metadata(self, keyname, value):
    +         subvol_src_info = self._get_clone_source()

Automated Redmine Linkage Audit

The following tracking irregularities were found:

  • Orphaned Main PR: Could not find a Redmine tracker for main PR #62105. Please create a ticket, set its 'Pull Request ID', populate the 'Backports' field, and ensure it is in the 'Pending Backport' state.

Commit Parity Visualizer

BACKPORT PR #63023 SOURCE PR SOURCE STATUS
fed4b0d pybind/mgr: create normalization xattr in subvolumes PR #62105 4a414a5 pybind/mgr: create normalization xattr in subvolumes
ff5771a pybind/mgr: add option to set unicode normalization to a subvolume b8b0f1f pybind/mgr: add option to set unicode normalization to a subvolume
7109210 qa: add tests for normalization configuration on subvolume creation 66caf74 qa: add tests for normalization configuration on subvolume creation
fd6cd49 pybind/mgr: add option to set case sensitivity to a subvolume 87bb089 pybind/mgr: add option to set case sensitivity to a subvolume
a3bdd95 qa: add tests for case sensitivity configuration on subvolume creation b8a7764 qa: add tests for case sensitivity configuration on subvolume creation
8455f3d doc: update documentation for normalization and case sensitivity d9704c0 doc: update documentation for normalization and case sensitivity
f0a248a pybind/mgr/volumes: fix typo in casesensitive vxattr PR #62872 63b95c3 pybind/mgr/volumes: fix typo in casesensitive vxattr
c3ea0bf qa: add test for cloning with charmap 358e6e8 qa: add test for cloning with charmap
cbfcfff pybind/mgr/volumes: make casesensitive attr uniform in interface PR #62904 1fc9c44 pybind/mgr/volumes: make casesensitive attr uniform in interface

🛟 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.

CI Run Log: View Workflow Details

@github-actions github-actions Bot 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 Jun 2, 2026
@batrick
batrick merged commit 94fa763 into ceph:squid Jun 2, 2026
7 of 8 checks passed
@batrick
batrick deleted the wip-71117-squid branch June 2, 2026 02:16
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.

5 participants