Repository navigation
squid: pybind/mgr/volumes: fix typo in casesensitive vxattr - #63023
Conversation
|
This PR is under test in https://tracker.ceph.com/issues/72654. |
|
This pull request can no longer be automatically merged: a rebase is needed and changes have to be manually resolved |
30247f7 to
bf0b4f9
Compare
|
jenkins test make check |
|
This PR is under test in https://tracker.ceph.com/issues/74996. |
bf0b4f9 to
ac6fba6
Compare
|
jenkins test docs |
ac6fba6 to
83d64a2
Compare
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)
Signed-off-by: Xavi Hernandez <[email protected]> (cherry picked from commit 66caf74)
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 b8a7764)
Signed-off-by: Xavi Hernandez <[email protected]> (cherry picked from commit d9704c0)
Fixes: https://tracker.ceph.com/issues/70974 Signed-off-by: Patrick Donnelly <[email protected]> (cherry picked from commit 63b95c3)
Fixes: https://tracker.ceph.com/issues/70974 Signed-off-by: Patrick Donnelly <[email protected]> (cherry picked from commit 358e6e8)
Fixes: https://tracker.ceph.com/issues/70996 Signed-off-by: Patrick Donnelly <[email protected]> (cherry picked from commit 1fc9c44)
83d64a2 to
cbfcfff
Compare
|
@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. |
|
jenkins test api |
There was a problem hiding this comment.
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)
src/pybind/mgr/volumes/fs/operations/versions/subvolume_base.py
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)
src/pybind/mgr/volumes/fs/operations/versions/subvolume_base.py
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
mainPR #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.
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
backport tracker:
backport of #62872
parent tracker: https://tracker.ceph.com/issues/70974
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