From: Zac Dover Date: Fri, 9 Feb 2024 16:14:41 +0000 (+1000) Subject: doc/cephadm: add note about ceph-exporter (Quincy) X-Git-Tag: v17.2.8~526^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F55520%2Fhead;p=ceph.git doc/cephadm: add note about ceph-exporter (Quincy) Explain how to deal with the error message "Non-zero exit code 22" when using cephadm to install a Ceph cluster. Co-authored-by: Nizamudeen A Signed-off-by: Zac Dover --- diff --git a/doc/cephadm/install.rst b/doc/cephadm/install.rst index 266f24a7da6..9d044177caf 100644 --- a/doc/cephadm/install.rst +++ b/doc/cephadm/install.rst @@ -148,6 +148,39 @@ bootstrap`` command, so you'll need to know the IP address of that host. .. note:: If there are multiple networks and interfaces, be sure to choose one that will be accessible by any host accessing the Ceph cluster. +.. important:: When installing the Quincy release of Ceph, you might see the + following error message: + + .. code-block:: console + + Deploying ceph-exporter service with default + placement... Non-zero exit code 22 + + If you see this error message, add the ``--skip-monitoring-stack`` flag to + your ``cephadm bootstrap`` command. To do this, run a command of the + following form: + + .. prompt:: bash $ + + cephadm bootstrap --mon-ip {monitor IP address} --skip-monitoring-stack + + This command should result in a successfully-deployed cluster. Expand the + successfully deployed cluster by deploying the monitoring stack without + ``ceph-exporter`` by running the following commands: + + .. prompt:: bash $ + + ceph orch apply prometheus + ceph orch apply grafana + ceph orch apply node-exporter + ceph orch apply alertmanager + + This error occurs because some Quincy releases contain a faulty + ``ceph-exporter``. After this fault was discovered, ``ceph-exporter`` was + removed from Quincy. If your binary of ``cephadm`` is from the release with + the fault, you will hit this error. + + Running the bootstrap command -----------------------------