ceph/doc/install
Conrad Hoffmann 402d2eacbc doc: account for PG autoscaling being the default
The current documentation tries really hard to convince people to set
both `osd_pool_default_pg_num` and `osd_pool_default_pgp_num` in their
configs, but at least the latter has undesirable side effects on any
Ceph version that has PG autoscaling enabled by default (at least quincy
and beyond).

Assume a cluster with defaults of `64` for `pg_num` and `pgp_num`.
Starting `radosgw` will fail as it tries to create various pools without
providing values for `pg_num` or `pgp_num`. This triggers the following
in `OSDMonitor::prepare_new_pool()`:

- `pg_num` is set to `1`, because autoscaling is enabled
- `pgp_num` is set to `osd pool default pgp_num`, which we set to `64`
- This is an invalid setup, so the pool creation fails

Likewise, `ceph osd pool create mypool` (without providing values for
`pg_num` or `pgp_num`) does not work.

Following this rationale:

- Not providing a default value for `pgp_num` will always do the right
  thing, unless you use advanced features, in which case you can be
  expected to set both values on pool creation
- Setting `osd_pool_default_pgp_num` in your config breaks pool creation
  for various cases

This commit:

- Removes `osd_pool_default_pgp_num` from all example configs
- Adds mentions of the autoscaling and how it interacts with the default
  values in various places

For each file that was touched, the following maintenance was also
performed:

- Change interternal spaces to underscores for config values
- Remove mentions of filestore or any of its settings
- Fix minor inconsistencies, like indentation etc.

There is also a ticket which I think is very relevant and fixed by this,
though it only captures part of the broader issue addressed here:

Fixes: https://tracker.ceph.com/issues/47176
Signed-off-by: Conrad Hoffmann <ch@bitfehler.net>
2023-03-23 22:15:25 +01:00
..
build-ceph.rst doc/radosgw: update QAT acceleration to specify the configuration 2022-01-29 12:41:37 +08:00
clone-source.rst Merge PR #49016 into main 2022-12-20 13:19:17 -05:00
containers.rst doc/install: update "Official Releases" sources 2022-11-24 05:26:48 +10:00
get-packages.rst doc: hard-code latest release link 2022-11-28 08:37:27 -05:00
get-tarballs.rst
index_manual.rst
index.rst doc/install: update index.rst 2023-03-08 11:52:12 +10:00
install-storage-cluster.rst
install-vm-cloud.rst
manual-deployment.rst doc: account for PG autoscaling being the default 2023-03-23 22:15:25 +01:00
manual-freebsd-deployment.rst
mirrors.rst doc: Remove inactive Ceph mirrors. 2022-08-19 09:47:26 +08:00
windows-basic-config.rst
windows-install.rst doc/cephfs: update Dokany requirement 2022-08-30 14:04:54 +00:00
windows-troubleshooting.rst doc,man: typos found by codespell 2021-12-15 12:04:36 +01:00