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

pacific: mgr/nfs: nfs-rgw batch backport #43075

Merged
Changes from 1 commit
Commits
Show all changes
133 commits
Select commit Hold shift + click to select a range
29999e2
doc/cephfs/nfs: remove documented limitation
liewegas May 24, 2021
0f89025
mgr/orchestrator: reformat a few methods
liewegas May 22, 2021
39d2bd8
mgr/orchestrator: clean up 'orch {daemon add,apply} rgw' args
liewegas May 22, 2021
b72f568
pybind/mgr/mgr_module: fix help desc formatting
liewegas May 22, 2021
28ffbb1
mgr/k8sevents: fix help strings
liewegas May 23, 2021
ffb482e
qa/tasks/cephfs/test_nfs: fix export create test
liewegas Jun 1, 2021
f17526e
mgr/nfs: fix 'nfs export create' argument order
liewegas Jun 4, 2021
b00eed1
doc/cephfs/nfs: update recommendation for versions
ajarr Jun 22, 2021
db053d0
mgr/cephadm: remove Dir_Chunk = 0
liewegas May 26, 2021
2afcd86
mgr/cephadm: nfs: drop attr_expiration_time from top-level config
liewegas May 26, 2021
8fbb956
vstart.sh: enable nfs module
liewegas May 26, 2021
aca339c
mgr/nfs/export_utils: include false but non-None items in config
liewegas May 26, 2021
3df0ec0
mgr/nfs: add --squash to 'nfs export create'
liewegas May 26, 2021
fb17377
mgr/nfs: add --addr to 'nfs export create'
liewegas May 26, 2021
b6d5e0f
mgr/nfs: name nfs cephfs client key 'nfs.{cluster_id}.{export_id}'
liewegas May 26, 2021
48df4b8
mgr/nfs: move export ganesha conf translation into caller
liewegas May 26, 2021
dbdf4fd
mgr/nfs: fix _fetch_export to distinguish between clusters
liewegas May 26, 2021
7c4e086
mgr/nfs: refactor 'nfs export update' and export validation
liewegas May 27, 2021
8d358fd
mgr/nfs: add 'nfs export import' command
liewegas May 27, 2021
9c36c57
mgr/nfs: refactor to merge 'update' and 'import' code
liewegas May 27, 2021
82dc286
mgr/nfs: abstract FSAL; add RGWFSAL
liewegas Jun 1, 2021
3f2ff64
mgr/nfs: partially implement rgw export support
liewegas Jun 1, 2021
abddb31
mgr/nfs: Copy unit tests from mgr/dashboard
sebastian-philipp Jun 2, 2021
df46c40
mgr/nfs: Fix whitespace handling
sebastian-philipp Jun 2, 2021
27e4cc5
mgr/nfs: Add some compatibility to mgr/dashboard
sebastian-philipp Jun 2, 2021
dee4443
mgr/nfs: Add __eq__ method to Export
sebastian-philipp Jun 2, 2021
de62293
mgr/nfs: Add type checking
sebastian-philipp Jun 2, 2021
ebf9339
mgr/nfs: flake8
sebastian-philipp Jun 2, 2021
ed7f196
mgr/nfs: Remove ExportMgr.rados_namespace
sebastian-philipp Jun 2, 2021
e65d682
mgr/nfs: Remove pool_ns from NFSCluster
sebastian-philipp Jun 2, 2021
8216447
mgr/nfs: ExportMgr._delete_export only works for cephfs for now
sebastian-philipp Jun 2, 2021
1bc8689
mgr/nfs/export: wrap long lines
liewegas Jun 2, 2021
b27eb77
mgr/nfs/cluster: fix type error
liewegas Jun 2, 2021
57b911e
mgr/nfs/export: fix export_update_1 to type check
liewegas Jun 2, 2021
e0674ee
mgr/nfs/module: clusterid -> cluster_id
liewegas Jun 7, 2021
8feadde
mgr/nfs: fix/finish rgw export
liewegas Jun 7, 2021
d95c816
mgr/nfs: allow multiple addrs for new exports
liewegas Jun 7, 2021
4b72098
mgr/nfs: handle option addr/client block in create_export()
liewegas Jun 7, 2021
9ee0204
mgr/nfs/export: fix tests
liewegas Jun 8, 2021
c449e7f
mgr/nfs/export: fix export validation
liewegas Jun 9, 2021
131036e
mgr/nfs: clean up test a bit
liewegas Jun 11, 2021
9b96b7e
mgr/nfs: test that export <-> block+dict conversions go both ways
liewegas Jun 11, 2021
c66b3fc
mgr/nfs: test Export.validate(); several fixes
liewegas Jun 11, 2021
77225e5
mgr/nfs: test export_update (+ fixes)
liewegas Jun 11, 2021
12a2acb
mgr/nfs: test export creation and list
liewegas Jun 11, 2021
7e1ee52
mgr/nfs: merge 'nfs export {update,import}' -> 'nfs export apply'
liewegas Jun 15, 2021
f5467c6
doc/radosgw/nfs: document mgr/nfs way to add/remove rgw exports
liewegas Jun 17, 2021
255808d
mgr/nfs: merge FSExport back into ExportMgr
liewegas Jun 17, 2021
8c7fffe
doc/cephfs: update 'nfs export {get,apply}' docs
liewegas Jun 17, 2021
acd6568
mgr/nfs: adjust NFSExceptoin errno arg
liewegas Jun 17, 2021
15ff505
mgr/nfs: more revisions based on review
liewegas Jun 17, 2021
e8262ba
mgr/nfs: binding -> pseudo_path
liewegas Jun 17, 2021
92a18b7
mgr/nfs: 'nfs export get' -> 'nfs export info'
liewegas Jun 18, 2021
d9aba77
mgr/nfs: fix tests
liewegas Jun 18, 2021
de2e0c7
mgr/nfs: addr -> client_addr for 'nfs export create ...'
liewegas Jun 20, 2021
c974335
doc/cephfs/fs-nfs-export: be consistent with cluster_id and _ vs -
liewegas Jun 21, 2021
ed89b06
qa/tasks/cephfs/test_nfs: test new export via apply
liewegas Jun 21, 2021
b5a1a4b
mgr/nfs: rename method
liewegas Jun 21, 2021
eda8745
mgr/nfs: keep 'nfs export get' around for backward-compat
liewegas Jun 21, 2021
3479759
mgr/nfs: refactor create_export_from_dict() helper
liewegas Jun 22, 2021
0bca9c4
mgr/nfs: refactor _delete_user helper
liewegas Jun 21, 2021
a4274ea
mgr/nfs: move user create/delete into helper
liewegas Jun 22, 2021
33800f9
doc/cephfs/fs-nfs-export: add note about export update behavior
liewegas Jun 23, 2021
4e2117c
nfs/mgr: fix help message case
liewegas Jun 24, 2021
4fe015b
mgr/nfs/cluster: remove unused @cluster_setter
liewegas Jun 24, 2021
43a7984
mgr/nfs/export: some cleanup, minor refactoring
liewegas Jun 23, 2021
db69ec3
qa/tasks/cephfs/test_nfs: fiddle with sudo
liewegas Jun 25, 2021
ee45e39
qa/tasks/vstart_runner: add LocalCluster.run
liewegas Jun 25, 2021
a434775
doc/cephfs: move nfs doc under mgr docs
varshar16 Jun 29, 2021
123f7c7
doc/mgr/nfs: add missing cluster_id to export info command
varshar16 Jun 29, 2021
2cc4a43
doc/mgr/nfs: update nfs links
varshar16 Jun 29, 2021
7b77578
doc/mgr/nfs: update cephfs export create command about client and squ…
varshar16 Jul 12, 2021
5a887d3
doc/cephfs/nfs: update about nfs module
varshar16 Jul 12, 2021
df1d3d8
doc/mgr/nfs: update about RGW exports
varshar16 Jul 12, 2021
086712f
mgr/nfs: always create ganesha pool with well-defined name
liewegas Jun 28, 2021
b0b4395
mgr/nfs: adjust test to match pool name
liewegas Jun 28, 2021
1cbcee8
mgr/cephadm: always use fixed pool and namespace
liewegas Jun 28, 2021
162d3b5
mgr/dashboard: use fixed pool + ns
liewegas Jun 28, 2021
0eb4c65
mgr/rook: used fixed pool + ns
liewegas Jun 28, 2021
d4e5a88
mgr/nfs: used fixed pool + ns
liewegas Jun 28, 2021
77d092f
python-common: remove pool + namespace from NFSServiceSpec
liewegas Jun 28, 2021
f09f2b3
mgr/nfs: allow 'nfs export apply' to take a list of exports
liewegas Jun 28, 2021
4c98c26
mgr/nfs/export: accept a JSON or ganesha EXPORT config
liewegas Jun 30, 2021
2173e55
mgr/nfs: change nfs pool to .nfs
liewegas Jul 2, 2021
0883dd0
mgr/cephadm: move rados_config_location() out of NFSServiceSpec
liewegas Jul 2, 2021
eb02cb1
mgr/orchestrator: drop rados_config_location ServiceDescription property
liewegas Jul 2, 2021
531b4c3
python-common: don't accept pool/ns for NFSServiceSpec
liewegas Jul 2, 2021
e80b0b8
mgr/nfs: adjust cephfs export caps if necessary
liewegas Jul 2, 2021
a181dd2
mgr/cephadm: migrate all legacy nfs exports to new .nfs pool
liewegas Jul 2, 2021
9389a77
qa/tasks/cephfs/test_nfs: retry mount a few times
liewegas Jul 7, 2021
98e2038
mgr/nfs: add test for ganesha conf apply/import
liewegas Jul 9, 2021
a1c83ef
mgr/nfs: test export apply on JSON list
liewegas Jul 9, 2021
4dcb9e0
mgr/nfs: use NFS_POOL_NAME in test_nfs.py
liewegas Jul 9, 2021
dc94ac2
qa/tasks/cephfs/test_nfs: define NFS_POOL_NAME
liewegas Jul 9, 2021
5c99356
doc/cephfs/fs-nfs-exports: document new export apply capabilities
liewegas Jul 9, 2021
1616920
mgr/nfs: migrate pre-pacific nfs.ganesha-foo clusters to nfs.foo
liewegas Jul 12, 2021
b0affad
mgr/cephadm: migrate nfs grace file
liewegas Jul 13, 2021
a67626b
qa/suites/orch/cephadm/mgr-nfs-upgrade: add test for nfs migration
liewegas Jul 8, 2021
caf9f3d
qa/tasks/mgr/test_orchestrator_cli: fix test
liewegas Jul 14, 2021
72b8099
PendingReleaseNotes: document workaround for NFS storage change
liewegas Jun 28, 2021
9e6bc13
doc/mgr/nfs: fix 'export apply', pool name
liewegas Jul 15, 2021
d6bb390
mgr/nfs/export: nicer exceptions on cap update
liewegas Jul 15, 2021
0aca16d
doc/mgr/nfs: revisions
liewegas Jul 15, 2021
ff5c67d
qa/tasks/python: simple task to run python code
liewegas Jul 15, 2021
d0d53d4
mgr/cephadm: use new CEPH_IMAGE_TYPES for all daemons using ceph cont…
liewegas Jul 16, 2021
c951440
mgr/nfs: use bucket owner creds for rgw bucket export
liewegas Jul 19, 2021
a19429a
mgr/nfs: add --squash option to 'nfs export create rgw ...'
liewegas Jul 19, 2021
cd8ff02
mgr/cephadm: ingress: tolerate no daemons
liewegas Jul 19, 2021
22faabd
qa/suites/orch/cephadm: add rgw nfs export test
liewegas Jul 15, 2021
6002ab6
doc/mgr/nfs: add note about incomplete ingress
liewegas Jul 26, 2021
f9e1519
doc/mgr/nfs: typo
liewegas Jul 26, 2021
ccbe532
doc/mgr/nfs: document ingress in more detail
liewegas Jul 26, 2021
4535217
doc/mgr/nfs: add section for manual ganesha config; reframe
liewegas Jul 26, 2021
4a0d51e
doc/mgr/nfs: reference customizing ingress
liewegas Jul 26, 2021
2531d24
doc/mgr/rook: update title
liewegas Jul 26, 2021
8bb78c5
mgr/nfs: remove unused 'realm' arg for 'nfs export create rgw'
liewegas Jul 27, 2021
46b9c52
src/vstart: update nfs-ganesha pool name
varshar16 Jul 23, 2021
acd413d
src/pybind/mgr/test_orchestrator: remove nfs pool and namespace
varshar16 Jul 23, 2021
ef56769
src/vstart: create rgw export for nfs
varshar16 Aug 4, 2021
6bd3ab8
src/vstart: update ganesha pid dir location
varshar16 Aug 4, 2021
c61ff11
doc/dev/vstart-ganesha: update about RGW export
varshar16 Aug 4, 2021
a6782ce
.github/labeler: add nfs dev doc
varshar16 Aug 4, 2021
a24d44f
src/pybind/mgr/nfs: directly use cluster_id and remove daemon related…
varshar16 Aug 4, 2021
d3bbde4
src/pybind/mgr/nfs: remove per daemon config test
varshar16 Aug 5, 2021
66d103c
src/pybind/mgr/nfs: remove `tag` option
varshar16 Aug 5, 2021
da3af79
src/pybind/mgr/nfs/tests: pass cluster_id to from_export_block()
varshar16 Aug 5, 2021
42f53fc
qa/suites/orch/cephadm: separate test_nfs from test_orch_cli
liewegas Aug 5, 2021
ccfdf7a
qa/tasks/vip: exec with bash -ex
liewegas Aug 5, 2021
eb0f281
qa/suites/orch/cephadm/smoke-roleless: test taking ganeshas offline
liewegas Aug 5, 2021
a795da1
mgr/nfs: add --port to 'nfs cluster create' and port to 'nfs cluster …
liewegas Aug 5, 2021
9e5cc7a
mgr/cephadm: drop daemon_id arg to CephadmService.config()
liewegas Aug 5, 2021
630165f
doc/mgr/nfs: add section on updating an nfs cluster
liewegas Aug 11, 2021
6bdbfd1
doc/cephfs/nfs: Remove missing target
sebastian-philipp Sep 21, 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
Prev Previous commit
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>
(cherry picked from commit 9d114e9)
  • Loading branch information
liewegas authored and sebastian-philipp committed Sep 9, 2021
commit db053d0056d231a7dd430c6cdb335f95aa5d50e7
Expand Up @@ -9,10 +9,6 @@ NFS_CORE_PARAM {
{% endif %}
}

MDCACHE {
Dir_Chunk = 0;
}

EXPORT_DEFAULTS {
Attr_Expiration_Time = 0;
}
Expand Down