]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ci.git/commit
systemd: do not pass --cluster option
authorKefu Chai <tchaikov@gmail.com>
Tue, 13 Feb 2024 07:00:58 +0000 (15:00 +0800)
committerKefu Chai <tchaikov@gmail.com>
Tue, 13 Feb 2024 07:07:01 +0000 (15:07 +0800)
commit5659920c7c128cb8d9552580dbe23dd167a56c31
tree2959eb44d18519e4af55cf677fb9650b910d787f
parent8bbeeb80a58adb816caf9ac91bfaae216408e14d
systemd: do not pass --cluster option

we do not encourage user to run multiple cluster using different
cluster name since 8fe460e7562b28e007179eeb533ef68a3e99b4c8, and
the recommended way is to use cephadm. see also
https://docs.ceph.com/en/latest/rados/configuration/common/#naming-clusters-deprecated,
so let's stop passing `--cluster` in systemd service units. there
are more places where we are still feeding this optoin to command line
tools or services. we should do the cleanup piecemeal to reduce the
potential risk.

FWIW, if not specified, the cluster name is "ceph" by default.

Signed-off-by: Kefu Chai <tchaikov@gmail.com>
systemd/ceph-fuse@.service.in
systemd/ceph-immutable-object-cache@.service.in
systemd/ceph-mds@.service.in
systemd/ceph-mgr@.service.in
systemd/ceph-mon@.service.in
systemd/ceph-osd@.service.in
systemd/ceph-radosgw@.service.in
systemd/ceph-rbd-mirror@.service.in
systemd/cephfs-mirror@.service.in