Skip to main content

Ceph Cockpit

The Ceph page is a cockpit for the Ceph clusters of your Proxmox connections. A health rail stays on the left, and six tabs cover the overview, the OSDs, the pools, the CRUSH map, the Ceph services and the performance. Everything it displays is read through the Proxmox API and, for per-OSD I/O, from ceph-exporter, never over SSH.

Ceph cockpit of PVE-PROD on the Overview tab. On the left the Cluster health rail in Error lists two ERR and five WARN health checks and ends with OSD flags: none and an Edit link. On the right, the period buttons Live, 1 h, 24 h, 7 d and 30 d, the refresh button and the cluster selector, then the Raw capacity, Client IOPS, Client throughput and OSD latency tiles, and the Hosts and OSDs map with pve1, pve2 and pve3, each holding one HDD OSD at 78 % with its monitor and manager badges
Pick a cluster at the top right. The health rail stays on the left whatever the tab.
info

This page is only relevant if one or more of your connected Proxmox clusters run Ceph. Without any, the page shows No Ceph cluster.

Before Opening the Cockpit​

  1. Verify that Ceph is configured on the intended Proxmox cluster and that the connection is reachable.
  2. As a super administrator on the provider tenant, open Settings > Connections and check the connection's Ceph column. If Ceph was added after the connection, click the refresh icon (Re-detect Ceph) in that column.
  3. Open Infrastructure > Ceph. No Ceph cluster means no connection is flagged for Ceph, or its Ceph status could not be read (connection unreachable or insufficient API rights). It is not a HEALTH_OK result and contains no OSD or pool assessment.
  4. For IOPS and throughput per OSD, install ceph-exporter on the Ceph nodes, see Per-OSD I/O and ceph-exporter. Everything else works without it.
Settings > Connections, Proxmox VE tab: the Ceph column reads Yes for PVE-DR and PVE-PROD, with the refresh icon next to it hovered and its tooltip Re-detect Ceph
The Ceph column of Settings > Connections shows which connections carry Ceph. The refresh icon next to it re-runs the detection.

ProxCenter monitors the existing Ceph installation. Adding a Proxmox connection does not install Ceph or create OSDs.

Diagram of a three-node Ceph cluster. Two pools at the top: rbd with Replication 3 / 2, 128 PGs and the rbd application, and cephfs_data with Replication 3 / 2, 64 PGs and the cephfs application. Each pool hashes its objects to its placement groups, 1.0, 1.1, 1.2a and so on up to 128 for rbd, and 2.0, 2.1, 2.2 and so on up to 64 for cephfs_data. Placement group 1.2a, highlighted, goes through the CRUSH rule replicated_rule, one copy per host, which sends three copies to osd.1 on host pve1, osd.3 on pve2 and osd.5 on pve3. Each host runs two OSDs and one monitor In Quorum, the one on pve1 being the Leader. Notes: with Replication 3 / 2 each placement group has three copies and I/O continues while two are available; the monitors keep the cluster map, and a majority, 2 of 3, must be In Quorum.Diagram of a three-node Ceph cluster. Two pools at the top: rbd with Replication 3 / 2, 128 PGs and the rbd application, and cephfs_data with Replication 3 / 2, 64 PGs and the cephfs application. Each pool hashes its objects to its placement groups, 1.0, 1.1, 1.2a and so on up to 128 for rbd, and 2.0, 2.1, 2.2 and so on up to 64 for cephfs_data. Placement group 1.2a, highlighted, goes through the CRUSH rule replicated_rule, one copy per host, which sends three copies to osd.1 on host pve1, osd.3 on pve2 and osd.5 on pve3. Each host runs two OSDs and one monitor In Quorum, the one on pve1 being the Leader. Notes: with Replication 3 / 2 each placement group has three copies and I/O continues while two are available; the monitors keep the cluster map, and a majority, 2 of 3, must be In Quorum.
What the cockpit reports on: pools split into placement groups, which CRUSH spreads over OSDs on different hosts, and the monitors that must keep a quorum.

Cluster Health Rail​

The rail on the left gives the cluster status, OK, Warning or Error, then every health check Ceph reports, errors first, each with its code and its summary. A chevron unfolds the detail of a check, and a check that names an object links to it, such as Flags for OSDMAP_FLAGS. The bottom of the rail lists the cluster-wide OSD flags currently set, with Edit to change them, see OSD Flags.

When the cluster stops answering, the cockpit keeps the last figures it received and says how long ago they were read, rather than showing an empty page.

tip

A Warning status does not always indicate a critical problem. Common warnings include near-full OSDs, degraded placement groups recovering after a node restart, or clock skew between monitors. Unfold the check to read its detail.

What a HEALTH_ERR Names​

A cluster in error lists every condition behind the status, in the connection diagnostics as in the Site Recovery preflight, as CODE: message, sorted by code and separated by semicolons, the same way as a cluster in warning:

AUTH_INSECURE_SERVICE_TICKETS: Monitors are configured to issue insecure service tickets; OSD_FULL: 1 full osd(s)

The code is what matters: it is what ceph health detail is searched by, and what a release note or a mailing list thread names.

The same reading matters for Site Recovery. Ceph 20.2.4 added insecure-authentication checks at error severity, so a cluster still holding old keys reports HEALTH_ERR while serving I/O perfectly. The Site Recovery preflight therefore blocks only on the conditions that really refuse writes, full OSDs or pool, inactive placement groups, and the pause and full flags, and warns on everything else.

Period: Live and History​

The period buttons at the top right apply to every chart of the cockpit:

  • Live follows the cluster in real time, from the moment the page is opened.
  • 1 h, 24 h, 7 d and 30 d read the history the orchestrator records once a minute for each Ceph cluster: health, client I/O, recovery, placement groups, capacity and per-OSD latency, plus per-OSD IOPS and throughput where ceph-exporter answers. The long ranges are rolled up.

History is an Enterprise feature; Community keeps Live. The orchestrator keeps 30 days by default. Change it in Settings > Alert thresholds, from 1 to 365 days of Ceph history. The scheduler.ceph_metrics_retention_days key of the orchestrator's config.yaml only sets the starting value; the value saved in the settings wins.

Overview​

The Overview tab opens on four tiles: Raw capacity, with the nearfull and full marks on its bar, Client IOPS and Client throughput, split into read and write, and OSD latency, the average with the worst OSD named. On a history period, each tile carries its trend over the period.

While Ceph moves data, a Recovery in progress banner gives the recovery rate and the degraded and misplaced object counts, with a link to the recovery curve.

Hosts and OSDs draws each host with its monitor and manager badges, the active manager and the monitor leader marked, then its OSDs. On each OSD, the ring is its fill and the border its state, up / down and in / out, followed by its latency and its placement group count. Compact gives one card per OSD; Dense packs hosts with many OSDs, and it is the default past four OSDs per host. Problem hosts only hides the healthy ones on a large cluster, and CRUSH map opens the CRUSH tab. Clicking an OSD opens its sheet.

OSD​

The OSD tab lists the OSDs grouped by host, with their state, device class, fill, latency, IOPS, throughput and placement groups. The latency, IOPS and throughput columns carry a small curve over the selected period. Search by OSD or host, filter by host or device class, or keep With a problem, Down or Out only.

OSD tab of PVE-PROD: search field, All hosts and All classes filters, the counters All 3, With a problem 0, Down 0 and Out 0, then the table grouped by host, pve1, pve2 and pve3 with one 100 GiB OSD each, osd.0, osd.1 and osd.2, up and in, HDD, 78 % full, 0 ms, with their IOPS and throughput and 129 placement groups
The OSD tab groups the OSDs by host. A row opens the OSD sheet.

OSD Sheet and Actions​

A row opens the OSD sheet. The up and down arrows move to the previous or next OSD without closing it.

Sheet of osd.0 on pve1, hdd, Ceph 20.2.4. Actions: Deep-scrub, Scrub, Restart, Stop, Mark out, and Mark in greyed out since the OSD is already in. Fill: 78.3 GiB used of 100 GiB, 21.7 GiB free. Activity: IOPS and Throughput curves, read and write, captioned Last hour of history, then real time. On the right: State up and in, Commit / apply latency 0 / 0 ms, 129 placement groups, Reweight / CRUSH weight 1.00 / 0.0977, device class hdd, object store bluestore, data device /dev/dm-1, DB and WAL devices on the data device, pools .mgr and CephStoragePool, version 20.2.4
The OSD sheet: actions, fill, activity read from ceph-exporter, and the OSD's state, latencies, weights, devices and pools.

The sheet shows the OSD's fill, its commit and apply latency, its placement groups, reweight and CRUSH weight, device class, object store, data, DB and WAL devices, the pools placed on it, its version, and the health checks that cite it. A down OSD shows a dash for its latency, not a zero: Ceph reports no latency for it, and a zero would read as a perfect disk.

The actions are Scrub, Deep-scrub, Mark in, Mark out, Stop (or Start for a stopped OSD) and Restart. An action that does not apply is greyed out, such as Mark in on an OSD already in.

Mark out, Stop and Restart open a confirmation first:

  • Mark out estimates how much data would move and how full the other OSDs of the same class would end, against the nearfull ratio.
  • ProxCenter asks Ceph whether the OSD can be stopped (ceph osd ok-to-stop, through the Proxmox API). A refusal gives the number of placement groups that would go offline. No verdict is never treated as safe.
  • When Ceph refuses, gives no verdict, or the projected fill passes nearfull, the action needs the OSD name typed to confirm, and the button reads Mark out anyway, Stop anyway or Restart anyway.
Mark osd.0 out? dialog. Ceph will move the data of osd.0 (129 placement groups) to the other OSDs of the cluster. Estimated fill of the other OSDs: about 78.3 GiB would move to 2 other OSDs, before 78.5 %, after 117.6 % in red, the fullest receiver would end at 117.6 %, past nearfull (85 %). ceph osd ok-to-stop: safe, no placement group would go offline. Typing the OSD name is required because the projected fill passes nearfull, with the OSD name field and Type osd.0 to confirm. Buttons Cancel and Mark out anyway
Ceph says osd.0 can stop, but its data would push the two other OSDs past nearfull, so the OSD name must be typed.

Per-OSD I/O and ceph-exporter​

Proxmox does not expose IOPS and throughput per OSD. ProxCenter reads them from ceph-exporter on each Ceph node, at the node address Proxmox reports, on port 9926 by default. The port is set per connection, in the Ceph exporter port field of the connection in Settings > Connections.

When a node cannot be read, the OSD sheet says why:

MessageCause
Nothing listens on port 9926 of the nodeceph-exporter is not installed, or its service is stopped
The node does not answer on port 9926A firewall filters the port between ProxCenter and the node
Port 9926 does not return ceph-exporter metricsAnother service listens there: check the port set on the connection
The exporter answers but does not report osd.NThat OSD does not run on the node ProxCenter matched

Show the installation procedure in the sheet gives the commands, with a copy button. Run them as root on each Ceph node:

apt install ceph-exporter
mkdir -p /etc/systemd/system/[email protected]
cat > /etc/systemd/system/[email protected]/no-mon-config.conf <<'X'
[Service]
ExecStart=
ExecStart=/usr/bin/ceph-exporter -f --id %i --no-mon-config --sock-dir /var/run/ceph --setuser ceph --setgroup ceph
X
systemctl daemon-reload && systemctl enable --now ceph-exporter@$(hostname)

The drop-in is needed on Proxmox: without --no-mon-config, the service fails on its keyring (unable to find a keyring ... Permission denied). Then open the port from the ProxCenter host to each node.

Pools​

The Pools tab lists the pools with their application, protection (Replica 3 / min 2), CRUSH rule, placement groups and autoscale mode, net fill, used and net available space, and objects. A row opens the pool sheet, with the Proxmox storages that use the pool, its target and recommended placement group counts, and its quotas. The rule name opens the CRUSH tab on that rule.

Pools tab of PVE-PROD listing .mgr and CephStoragePool with their application, Replica 3 / min 2 protection, CRUSH rule replicated_rule, placement groups with the autoscale mode, net fill, used and net available space and objects
The Pools tab, read only. A row opens the pool sheet with the Proxmox storages that use it.

CRUSH​

The CRUSH tab shows the hierarchy, from the root to the hosts and their OSDs, with the fill and the up count of each branch, filtered by device class. Next to it, Rules and fault tolerance reads the decompiled CRUSH map: each rule with its steps in plain words and its pools, and for each pool how many failures it survives, such as survives the loss of 1 host without interruption, or why it cannot, such as a rule that needs more hosts holding an OSD of the right class than the cluster has.

CRUSH tab of PVE-PROD. Hierarchy: default root with 3 OSDs at 78 %, 3/3 up, then pve1, pve2 and pve3 with one OSD each. Rules and fault tolerance, source decompiled CRUSH map: replicated_rule, replicated, pools .mgr and CephStoragePool, steps take default, choose one host per replica then an OSD in each, emit; .mgr and CephStoragePool, Replica 3 / min 2, survive the loss of 1 host without interruption
The CRUSH tab, read only: the hierarchy and, for each pool, the failures it survives.

Services​

The Services tab lists the monitors, with their quorum and the leader, the managers, active and on standby, and the CephFS metadata servers, each with its host, address and version. Ceph versions flags a mixed cluster, the sign of an unfinished upgrade. A stopped daemon is listed as Stopped. The actions start, stop and restart a daemon, and Create a daemon adds a monitor or a manager on a node that has none.

Services tab of PVE-PROD. Ceph versions: 20.2.4 on 9 daemons, and a Create a daemon button. Monitors, 3 of 3 in quorum: mon.pve1 leader, mon.pve2 and mon.pve3 peon, with their addresses on port 6789. Managers, 1 active, 2 on standby: mgr.pve1 active, mgr.pve2 and mgr.pve3 standby. Metadata servers (CephFS): none, No CephFS on this cluster. Each daemon row ends with start, stop and restart actions
The Services tab: monitors, managers and metadata servers, with their versions and actions.

Performance​

The Performance tab draws client IOPS and throughput, read and write, recovery and unclean placement groups, and the Slowest OSDs: their latency now on Live, or their mean over a history period, with the cluster mean.

Performance tab of PVE-PROD over 24 h: Client IOPS and Client throughput charts with read and write series, Recovery and unclean PGs saying No recovery under way, every PG is clean, and Slowest OSDs, mean over the period, listing osd.2, osd.0 and osd.1 at 0 ms with the cluster mean
The Performance tab over 24 hours of history.
Chart times follow your browser

Every axis, historical or live, is built in your browser from raw timestamps, in the application's locale, so both halves of the page read the same clock.

OSD Flags​

Edit at the bottom of the health rail opens the eight cluster-wide switches, so a flag such as noout can be set before pulling a node and cleared afterwards without leaving ProxCenter. Reading the flags needs node.view on the connection and changing them needs storage.admin.

OSD Flags dialog with its description and eight switches: noout, norebalance, norecover, noscrub, nodeep-scrub, nobackfill, noup and nodown
The OSD Flags dialog sets or clears each cluster-wide flag.

Proxmox Load​

The cockpit shares its reads between tabs: an open cockpit costs about 16 Proxmox API calls per minute, against about 96 before 1.4.14. History is read from the orchestrator's own records, not from Proxmox.

Tenants​

The cockpit is for the provider and MSP tenants. An IaaS tenant whose virtual datacenter sits on a provider's Ceph cluster gets a 404 on every Ceph route, its dashboard, inventory and connections carry no Ceph fields, and the AI assistant sees no Ceph.

Permissions​

PermissionAllows
storage.adminOpen the Ceph page, act on OSDs and Ceph services, and change the cluster-wide OSD flags
node.viewRead the cluster-wide OSD flags

Users without storage.admin do not see the Ceph entry in the sidebar.