Bug #54017
Problem with ceph fs snapshot mirror and read-only folders
Status:
Duplicate
Priority:
Normal
Assignee:
Category:
Correctness/Safety
Target version:
% Done:
0%
Source:
Community (user)
Tags:
Backport:
quincy, pacific
Regression:
No
Severity:
2 - major
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(FS):
cephfs-mirror, libcephfs
Labels (FS):
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Description
I want to mirror a snapshot in Ceph v16.2.6 deployed with cephadm using the stock quay.io images. My source file system has a folder "/src/folder/x" where "/src/folder" has mode "ug=r,o=", in other words no write permissions for the owner (root).
The sync of a snapshot "initial" now fails with the following log excerpt.
remote_mkdir: remote epath=./src/folder/x remote_mkdir: failed to create remote directory=./src/folder/x: (13) Permission denied do_synchronize: closing local directory=./src/folder do_synchronize: closing local directory=./src/ do_synchronize: closing local directory=. post_sync_close_handles do_sync_snaps: failed to synchronize dir_root=/src/folder, snapshot=initial sync_snaps: failed to sync snapshots for dir_root=/src/folder
The capabilites on the remote are
client.mirror-tier-2-remote key: REDACTED caps: [mds] allow * fsname=cephfs caps: [mon] allow r fsname=cephfs caps: [osd] allow * tag cephfs data=cephfs
History
#1 Updated by Sebastian Wagner almost 2 years ago
- Project changed from Ceph-deploy to CephFS
#2 Updated by Venky Shankar almost 2 years ago
- Category set to Correctness/Safety
- Status changed from New to Triaged
- Assignee set to Venky Shankar
- Target version set to v18.0.0
- Source set to Community (user)
- Backport set to quincy, pacific
- Severity changed from 3 - minor to 2 - major
#3 Updated by Venky Shankar about 1 year ago
- Assignee changed from Venky Shankar to Milind Changire
- Component(FS) cephfs-mirror, libcephfs added
Milind, this was discussed here - https://www.mail-archive.com/ceph-users@ceph.io/msg14364.html
Related bz - https://bugzilla.redhat.com/show_bug.cgi?id=2147460
#4 Updated by Milind Changire 12 months ago
PR 46078 is now available in mainline.
Relevant backports are avialable in quincy and pacific.
#5 Updated by Milind Changire 11 months ago
- Status changed from Triaged to Duplicate
Duplicate of https://tracker.ceph.com/issues/55313