integ/ceph/ceph/debian/deb_folder
Zhixiong Chi 8ee6262720 ceph: Adjust the override config file to the containerd runtime
As the current ceph depends on the containerd docker runtime, so
we move the original config file from docker service to containerd.
Make sure the correct dependency order and avoid the failure to
shutdown.
Meanwhile rename the config script to make it more clearer.

TestPlan:
PASS: build-pkgs -a
PASS: build-image
PASS: Jenkins Installation
PASS: Run the testcase pods
PASS: shutdown -hP now

Closes-Bug: 2020610

Signed-off-by: Zhixiong Chi <zhixiong.chi@windriver.com>
Change-Id: I84719699bdc245cc6f3c0eb6ee4b81544d35459d
2023-06-12 22:17:52 -04:00
..
lib-systemd Add debian package for Ceph 2022-02-11 17:19:41 +00:00
man Add debian package for Ceph 2022-02-11 17:19:41 +00:00
missing-sources Add debian package for Ceph 2022-02-11 17:19:41 +00:00
source Add debian package for Ceph 2022-02-11 17:19:41 +00:00
tests Add debian package for Ceph 2022-02-11 17:19:41 +00:00
udev Add debian package for Ceph 2022-02-11 17:19:41 +00:00
workarounds Add debian package for Ceph 2022-02-11 17:19:41 +00:00
README.Debian Add debian package for Ceph 2022-02-11 17:19:41 +00:00
calc-max-parallel.sh Add debian package for Ceph 2022-02-11 17:19:41 +00:00
ceph-base.ceph.init Reorder ceph shutdown to after containers 2023-03-14 17:13:52 +00:00
ceph-base.dirs Add debian package for Ceph 2022-02-11 17:19:41 +00:00
ceph-base.docs Add debian package for Ceph 2022-02-11 17:19:41 +00:00
ceph-base.install ceph: Adjust the override config file to the containerd runtime 2023-06-12 22:17:52 -04:00
ceph-base.lintian-overrides Add debian package for Ceph 2022-02-11 17:19:41 +00:00
ceph-base.postinst Debian: replace ceph workarounds 2022-05-24 12:31:47 +00:00
ceph-base.postrm Add debian package for Ceph 2022-02-11 17:19:41 +00:00
ceph-common.dirs Add debian package for Ceph 2022-02-11 17:19:41 +00:00
ceph-common.install Add debian package for Ceph 2022-02-11 17:19:41 +00:00
ceph-common.lintian-overrides Add debian package for Ceph 2022-02-11 17:19:41 +00:00
ceph-common.manpages Add debian package for Ceph 2022-02-11 17:19:41 +00:00
ceph-common.postinst Debian: replace ceph workarounds 2022-05-24 12:31:47 +00:00
ceph-common.postrm Debian: replace ceph workarounds 2022-05-24 12:31:47 +00:00
ceph-common.preinst Add debian package for Ceph 2022-02-11 17:19:41 +00:00
ceph-common.rbdmap.init Add debian package for Ceph 2022-02-11 17:19:41 +00:00
ceph-fs-common.install Add debian package for Ceph 2022-02-11 17:19:41 +00:00
ceph-fuse.install Add debian package for Ceph 2022-02-11 17:19:41 +00:00
ceph-fuse.manpages Add debian package for Ceph 2022-02-11 17:19:41 +00:00
ceph-grafana-dashboards.dirs Add debian package for Ceph 2022-02-11 17:19:41 +00:00
ceph-grafana-dashboards.install Add debian package for Ceph 2022-02-11 17:19:41 +00:00
ceph-mds.dirs Add debian package for Ceph 2022-02-11 17:19:41 +00:00
ceph-mds.install Add debian package for Ceph 2022-02-11 17:19:41 +00:00
ceph-mds.postinst Debian: replace ceph workarounds 2022-05-24 12:31:47 +00:00
ceph-mgr-dashboard.install Add debian package for Ceph 2022-02-11 17:19:41 +00:00
ceph-mgr-dashboard.postinst Add debian package for Ceph 2022-02-11 17:19:41 +00:00
ceph-mgr-diskprediction-cloud.install Add debian package for Ceph 2022-02-11 17:19:41 +00:00
ceph-mgr-diskprediction-cloud.postinst Add debian package for Ceph 2022-02-11 17:19:41 +00:00
ceph-mgr-diskprediction-local.install Add debian package for Ceph 2022-02-11 17:19:41 +00:00
ceph-mgr-diskprediction-local.postinst Add debian package for Ceph 2022-02-11 17:19:41 +00:00
ceph-mgr-k8sevents.install Add debian package for Ceph 2022-02-11 17:19:41 +00:00
ceph-mgr-k8sevents.postinst Add debian package for Ceph 2022-02-11 17:19:41 +00:00
ceph-mgr-rook.install Add debian package for Ceph 2022-02-11 17:19:41 +00:00
ceph-mgr-rook.postinst Add debian package for Ceph 2022-02-11 17:19:41 +00:00
ceph-mgr-ssh.install Add debian package for Ceph 2022-02-11 17:19:41 +00:00
ceph-mgr-ssh.postinst Add debian package for Ceph 2022-02-11 17:19:41 +00:00
ceph-mgr.dirs Add debian package for Ceph 2022-02-11 17:19:41 +00:00
ceph-mgr.install Add debian package for Ceph 2022-02-11 17:19:41 +00:00
ceph-mgr.postinst Debian: replace ceph workarounds 2022-05-24 12:31:47 +00:00
ceph-mon.dirs Add debian package for Ceph 2022-02-11 17:19:41 +00:00
ceph-mon.install Add debian package for Ceph 2022-02-11 17:19:41 +00:00
ceph-mon.postinst Add debian package for Ceph 2022-02-11 17:19:41 +00:00
ceph-osd.dirs Add debian package for Ceph 2022-02-11 17:19:41 +00:00
ceph-osd.install Add debian package for Ceph 2022-02-11 17:19:41 +00:00
ceph-resource-agents.install Add debian package for Ceph 2022-02-11 17:19:41 +00:00
ceph.NEWS Add debian package for Ceph 2022-02-11 17:19:41 +00:00
ceph.lintian-overrides Add debian package for Ceph 2022-02-11 17:19:41 +00:00
cephfs-shell.install Add debian package for Ceph 2022-02-11 17:19:41 +00:00
changelog Add debian package for Ceph 2022-02-11 17:19:41 +00:00
clean Add debian package for Ceph 2022-02-11 17:19:41 +00:00
compat Add debian package for Ceph 2022-02-11 17:19:41 +00:00
control Add debian package for Ceph 2022-02-11 17:19:41 +00:00
copyright Add debian package for Ceph 2022-02-11 17:19:41 +00:00
libcephfs-dev.install Add debian package for Ceph 2022-02-11 17:19:41 +00:00
libcephfs-java.jlibs Add debian package for Ceph 2022-02-11 17:19:41 +00:00
libcephfs-jni.install Add debian package for Ceph 2022-02-11 17:19:41 +00:00
libcephfs-jni.lintian-overrides Add debian package for Ceph 2022-02-11 17:19:41 +00:00
libcephfs2.install Add debian package for Ceph 2022-02-11 17:19:41 +00:00
librados-dev.install Add debian package for Ceph 2022-02-11 17:19:41 +00:00
librados2.install Add debian package for Ceph 2022-02-11 17:19:41 +00:00
libradospp-dev.install Add debian package for Ceph 2022-02-11 17:19:41 +00:00
libradosstriper-dev.install Add debian package for Ceph 2022-02-11 17:19:41 +00:00
libradosstriper1.install Add debian package for Ceph 2022-02-11 17:19:41 +00:00
librbd-dev.install Add debian package for Ceph 2022-02-11 17:19:41 +00:00
librbd1.install Add debian package for Ceph 2022-02-11 17:19:41 +00:00
librgw-dev.install Add debian package for Ceph 2022-02-11 17:19:41 +00:00
librgw2.install Add debian package for Ceph 2022-02-11 17:19:41 +00:00
python3-ceph-argparse.install Add debian package for Ceph 2022-02-11 17:19:41 +00:00
python3-cephfs.install Add debian package for Ceph 2022-02-11 17:19:41 +00:00
python3-rados.install Add debian package for Ceph 2022-02-11 17:19:41 +00:00
python3-rbd.install Add debian package for Ceph 2022-02-11 17:19:41 +00:00
python3-rgw.install Add debian package for Ceph 2022-02-11 17:19:41 +00:00
rados-objclass-dev.install Add debian package for Ceph 2022-02-11 17:19:41 +00:00
radosgw.dirs Add debian package for Ceph 2022-02-11 17:19:41 +00:00
radosgw.install Add debian package for Ceph 2022-02-11 17:19:41 +00:00
radosgw.postinst Debian: replace ceph workarounds 2022-05-24 12:31:47 +00:00
radosgw.prerm Add debian package for Ceph 2022-02-11 17:19:41 +00:00
rbd-fuse.install Add debian package for Ceph 2022-02-11 17:19:41 +00:00
rbd-mirror.install Add debian package for Ceph 2022-02-11 17:19:41 +00:00
rbd-nbd.install Add debian package for Ceph 2022-02-11 17:19:41 +00:00
rest-bench.install Add debian package for Ceph 2022-02-11 17:19:41 +00:00
rules ceph: Adjust the override config file to the containerd runtime 2023-06-12 22:17:52 -04:00
source.lintian-overrides Add debian package for Ceph 2022-02-11 17:19:41 +00:00

README.Debian

## See online installation and setup documentation at

    http://ceph.com/docs/master/install/manual-deployment/

-------- -------- --------

## "systemd" requires manual activation of services:

    ## MON
    # systemctl start ceph-mon
    # systemctl enable ceph-mon

    ## OSD.0 (set other OSDs like this)
    # systemctl start ceph-osd@0
    # systemctl enable ceph-osd@0

    ## MDS
    # systemctl start ceph-mds
    # systemctl enable ceph-mds

    ## "ceph" meta-service (starts/stops all the above like old init script)
    # systemctl start ceph
    # systemctl enable ceph

 The ceph cluster can be set in the "/etc/default/ceph" file
 by setting the CLUSTER environment variable.

-------- -------- --------

## Upgrade procedure (0.72.2 to 0.80):

 * Read "Upgrade Sequencing" in release notes:

    http://ceph.com/docs/firefly/release-notes/

 * Upgrade packages.

 * Restart MONs.

 * Restart all OSDs.

 * Run `ceph osd crush tunables default`.

 * (Restart MDSes).

 * Consider setting the 'hashpspool' flag on your pools (new default):

    ceph osd pool set {pool} hashpspool true

    This changes the pool to use a new hashing algorithm for the distribution of
    Placement Groups (PGs) to OSDs. This new algorithm ensures a better distribution
    to all OSDs. Be aware that this change will temporarly put some of your PGs into
    "misplaced" state and cause additional I/O until all PGs are moved to their new
    location. See http://tracker.ceph.com/issues/4128 for the details about the new
    algorithm.

 Read more about tunables in

    http://ceph.com/docs/master/rados/operations/crush-map/#tunables

 Upgrading all OSDs and setting correct tunables is necessary to avoid the errors like:

    ## rbdmap errors:
    libceph: mon2 192.168.0.222:6789 socket error on read

 Wrong tunables may produce the following error:

    libceph: mon0 192.168.0.222:6789 socket error on read
    libceph: mon2 192.168.0.250:6789 feature set mismatch, my 4a042a42 < server's 2004a042a42, missing 20000000000

    ## MDS errors:
    one or more OSDs do not support TMAP2OMAP; upgrade OSDs before starting MDS (or downgrade MDS)

 See also:

    http://ceph.com/docs/firefly/install/upgrading-ceph/

-------- -------- --------

 Jerasure pool(s) will bump requirements to Linux_3.15 (not yet released) for
 kernel CephFS and RBD clients.

-------- -------- --------

 RBD kernel driver do not support authentication so the following setting
 in "/etc/ceph/ceph.conf" may be used to relax client auth. requirements:

    cephx cluster require signatures = true
    cephx service require signatures = false

-------- -------- --------

> How to mount CephFS using fuse client from "/etc/fstab"?

 Add (and modify) the following sample to "/etc/fstab":

    mount.fuse.ceph#conf=/etc/ceph/ceph.conf,id=admin    /mnt/ceph     fuse     _netdev,noatime,allow_other     0    0

 This is equivalent of running

    ceph-fuse /mnt/ceph --id=admin -o noatime,allow_other

 as root.

-------- -------- --------

 To avoid known issue with kernel FS client it is recommended to use
 'readdir_max_entries' mount option, for example:

    mount -t ceph 1.2.3.4:/ /mnt/ceph -o readdir_max_entries=64

-------- -------- --------

 Beware of "mlocate" scanning of OSD file systems. To avoid problems add
 "/var/lib/ceph" to PRUNEPATHS in the "/etc/updatedb.conf" like in the
 following example:

    PRUNEPATHS="/tmp /var/spool /media /mnt /var/lib/ceph"

-------- -------- --------