Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mgr/nfs: improvements for export management #41574

Merged
merged 60 commits into from Jun 26, 2021
Merged
Changes from 1 commit
Commits
Show all changes
60 commits
Select commit Hold shift + click to select a range
9d114e9
mgr/cephadm: remove Dir_Chunk = 0
liewegas May 26, 2021
283a8c1
mgr/cephadm: nfs: drop attr_expiration_time from top-level config
liewegas May 26, 2021
9b9c5bc
vstart.sh: enable nfs module
liewegas May 26, 2021
fe1155f
mgr/nfs/export_utils: include false but non-None items in config
liewegas May 26, 2021
2450447
mgr/nfs: add --squash to 'nfs export create'
liewegas May 26, 2021
137090d
mgr/nfs: add --addr to 'nfs export create'
liewegas May 26, 2021
9b1372d
mgr/nfs: name nfs cephfs client key 'nfs.{cluster_id}.{export_id}'
liewegas May 26, 2021
e4b3673
mgr/nfs: move export ganesha conf translation into caller
liewegas May 26, 2021
0eea3d7
mgr/nfs: fix _fetch_export to distinguish between clusters
liewegas May 26, 2021
2b93356
mgr/nfs: refactor 'nfs export update' and export validation
liewegas May 27, 2021
778674a
mgr/nfs: add 'nfs export import' command
liewegas May 27, 2021
097e4f9
mgr/nfs: refactor to merge 'update' and 'import' code
liewegas May 27, 2021
5c33431
mgr/nfs: abstract FSAL; add RGWFSAL
liewegas Jun 1, 2021
377756c
mgr/nfs: partially implement rgw export support
liewegas Jun 1, 2021
a30328c
mgr/nfs: Copy unit tests from mgr/dashboard
sebastian-philipp Jun 2, 2021
e1928d5
mgr/nfs: Fix whitespace handling
sebastian-philipp Jun 2, 2021
42a8d38
mgr/nfs: Add some compatibility to mgr/dashboard
sebastian-philipp Jun 2, 2021
b3ddff8
mgr/nfs: Add __eq__ method to Export
sebastian-philipp Jun 2, 2021
42d01c5
mgr/nfs: Add type checking
sebastian-philipp Jun 2, 2021
a24e912
mgr/nfs: flake8
sebastian-philipp Jun 2, 2021
e0a9d9d
mgr/nfs: Remove ExportMgr.rados_namespace
sebastian-philipp Jun 2, 2021
e6db0c8
mgr/nfs: Remove pool_ns from NFSCluster
sebastian-philipp Jun 2, 2021
8ba3b5b
mgr/nfs: ExportMgr._delete_export only works for cephfs for now
sebastian-philipp Jun 2, 2021
1cb98a0
mgr/nfs/export: wrap long lines
liewegas Jun 2, 2021
f9d291b
mgr/nfs/cluster: fix type error
liewegas Jun 2, 2021
6771de2
mgr/nfs/export: fix export_update_1 to type check
liewegas Jun 2, 2021
b549981
mgr/nfs/module: clusterid -> cluster_id
liewegas Jun 7, 2021
119555b
mgr/nfs: fix/finish rgw export
liewegas Jun 7, 2021
aaa57af
mgr/nfs: allow multiple addrs for new exports
liewegas Jun 7, 2021
d6d9e59
mgr/nfs: handle option addr/client block in create_export()
liewegas Jun 7, 2021
473097a
mgr/nfs/export: fix tests
liewegas Jun 8, 2021
fdd47c4
mgr/nfs/export: fix export validation
liewegas Jun 9, 2021
59587fd
mgr/nfs: clean up test a bit
liewegas Jun 11, 2021
16c5cb6
mgr/nfs: test that export <-> block+dict conversions go both ways
liewegas Jun 11, 2021
01a8d0b
mgr/nfs: test Export.validate(); several fixes
liewegas Jun 11, 2021
cfee205
mgr/nfs: test export_update (+ fixes)
liewegas Jun 11, 2021
69681f0
mgr/nfs: test export creation and list
liewegas Jun 11, 2021
2cb2abb
mgr/nfs: merge 'nfs export {update,import}' -> 'nfs export apply'
liewegas Jun 15, 2021
0907658
doc/radosgw/nfs: document mgr/nfs way to add/remove rgw exports
liewegas Jun 17, 2021
1529f78
mgr/nfs: merge FSExport back into ExportMgr
liewegas Jun 17, 2021
f0798cf
doc/cephfs: update 'nfs export {get,apply}' docs
liewegas Jun 17, 2021
9cf2ae5
mgr/nfs: adjust NFSExceptoin errno arg
liewegas Jun 17, 2021
b276adb
mgr/nfs: more revisions based on review
liewegas Jun 17, 2021
5a2382a
mgr/nfs: binding -> pseudo_path
liewegas Jun 17, 2021
2400937
mgr/nfs: 'nfs export get' -> 'nfs export info'
liewegas Jun 18, 2021
a2679b3
mgr/nfs: fix tests
liewegas Jun 18, 2021
729f2f6
mgr/nfs: addr -> client_addr for 'nfs export create ...'
liewegas Jun 20, 2021
87c98df
doc/cephfs/fs-nfs-export: be consistent with cluster_id and _ vs -
liewegas Jun 21, 2021
6fb9f0a
qa/tasks/cephfs/test_nfs: test new export via apply
liewegas Jun 21, 2021
317143d
mgr/nfs: rename method
liewegas Jun 21, 2021
f307c0d
mgr/nfs: keep 'nfs export get' around for backward-compat
liewegas Jun 21, 2021
636c157
mgr/nfs: refactor create_export_from_dict() helper
liewegas Jun 22, 2021
165e025
mgr/nfs: refactor _delete_user helper
liewegas Jun 21, 2021
10786a6
mgr/nfs: move user create/delete into helper
liewegas Jun 22, 2021
fc304f2
doc/cephfs/fs-nfs-export: add note about export update behavior
liewegas Jun 23, 2021
14cf8c7
nfs/mgr: fix help message case
liewegas Jun 24, 2021
51bb170
mgr/nfs/cluster: remove unused @cluster_setter
liewegas Jun 24, 2021
d1c20f8
mgr/nfs/export: some cleanup, minor refactoring
liewegas Jun 23, 2021
8788af5
qa/tasks/cephfs/test_nfs: fiddle with sudo
liewegas Jun 25, 2021
1bfa812
qa/tasks/vstart_runner: add LocalCluster.run
liewegas Jun 25, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Next Next commit
mgr/cephadm: remove Dir_Chunk = 0
This breaks RGW exports, and is likely to be beneficial for libcephfs.

Signed-off-by: Sage Weil <sage@newdream.net>
  • Loading branch information
liewegas committed Jun 17, 2021
commit 9d114e910e953c0adf4ba5d31ab1d17bdfa1f638
4 changes: 0 additions & 4 deletions src/pybind/mgr/cephadm/templates/services/nfs/ganesha.conf.j2
Expand Up @@ -9,10 +9,6 @@ NFS_CORE_PARAM {
{% endif %}
}

MDCACHE {
Dir_Chunk = 0;
}

EXPORT_DEFAULTS {
Attr_Expiration_Time = 0;
}
Expand Down