mirror of
https://github.com/ceph/ceph
synced 2025-02-25 12:03:00 +00:00
Otherwise it can cause client evictions when the volumes plugin has mounted cephfs. Fixes: https://tracker.ceph.com/issues/64988 Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
20 lines
827 B
YAML
20 lines
827 B
YAML
# Enable mgr modules now before any CephFS mounts are created by the mgr. This
|
|
# avoids the potential race of the mgr mounting CephFS and then getting failed
|
|
# over by the monitors before the monitors have a chance to note the new client
|
|
# session from the mgr beacon. In that case, the monitors will not blocklist
|
|
# that client mount automatically so the MDS will eventually do the eviction
|
|
# (and create a cluster log warning which we want to avoid).
|
|
#
|
|
# Note: ideally the mgr would gently stop mgr modules before respawning so that
|
|
# the client mounts can be unmounted but this caused issues historically with
|
|
# modules like the dashboard so an abrupt restart was chosen instead.
|
|
|
|
mgrmodules:
|
|
sequential:
|
|
- print: "Enabling mgr modules"
|
|
# other fragments append to this
|
|
|
|
tasks:
|
|
- sequential:
|
|
- mgrmodules
|