]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
doc/cephadm: add note about ceph-exporter (Quincy) 55520/head
authorZac Dover <zac.dover@proton.me>
Fri, 9 Feb 2024 16:14:41 +0000 (02:14 +1000)
committerZac Dover <zac.dover@proton.me>
Mon, 12 Feb 2024 04:55:17 +0000 (14:55 +1000)
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 <nia@redhat.com>
Signed-off-by: Zac Dover <zac.dover@proton.me>
doc/cephadm/install.rst

index 266f24a7da6fbd46d9f7106526ff2b8f2214bb70..9d044177cafb07cbaf2f383d278673d993fee179 100644 (file)
@@ -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
 -----------------------------