Page MenuHomeSoftware Heritage

Set up temporary (single-host) ceph pool
Closed, ResolvedPublic

Description

By default, Ceph uses host as failure domain (which means it forces placement groups to replicate across multiple hosts).

Our temporary setup has a single host (until the hypervisor3 ssds are emptied and repurposed). We need to set up a temporary CRUSH rule allowing replication on a single host.

Event Timeline

olasd triaged this task as High priority.
olasd created this task.

Set up CRUSH rule using OSD as failure domain (instead of host)

sudo ceph osd crush rule create-replicated single_host_rule default osd

Move pool to this CRUSH rule

sudo ceph osd pool set proxmox crush_rule single_host_rule

Check osd health

sudo ceph status

check that cluster health is HEALTH_OK
check that pgs are all active+clean.