This commit adds ".. prompt:: bash $"-style prompts to operating.rst.
This brings this file up to the standard established in 2020 when
Kefu added support for the ".. prompt::" directive.
This commit is a part of an initiative to modernize the presentation
of all BASH commands in the RADOS documentation.
The progress of this project can be tracked here:
https://tracker.ceph.com/issues/57108
Signed-off-by: Zac Dover <zac.dover@gmail.com>
Change the log level of overlapping roots
from ``Error`` to ``Warning``.
Point the user to documentation that
explains the overlapping roots.
Added more information regarding overlapping roots
in the autoscaler documentation such as
the step to get rid of the warning.
Fixes: https://tracker.ceph.com/issues/55611
Signed-off-by: Kamoltat <ksirivad@redhat.com>
The pgcalc tool has moved to the "old" ceph site so update
the link to avoid a 404.
Signed-off-by: Ville Ojamo <14869000+bluikko@users.noreply.github.com>
Some parts of the documents regarding
the bulk flag have typos.
Command for creating a pool
was: `ceph osd create test_pool --bulk`
should be: `ceph osd pool create test_pool --bulk`
Command for setting bulk value in a pool
was: `ceph osd pool set test_pool bulk=<true/false/1/0>`
should be: `ceph osd pool set test_pool bulk <true/false/1/0>`
Also removed a bit of trailing white spaces.
Changed `complements` to `complement`.
https://tracker.ceph.com/issues/54485
Signed-off-by: Kamoltat <ksirivad@redhat.com>
This PR repairs a link to a PDF. The link was broken
when the PDF assets were moved during the restructure
of the ceph.io website in 2021.
Signed-off-by: Zac Dover <zac.dover@gmail.com>
* refs/pull/44054/head:
doc/rados/operations: document pg_num_max
mgr: set max of 32 pgs for .mgr pool
mgr/dashboard: expect pg_num_max property for pools
mon/OSDMonitor: add option --pg-num_max arg for create pool
mon/OSDMonitor: disallow setting pg_num < min or > max
mgr/pg_autoscaler: apply pg_num_max
mon: add pg_num_max pool property
Reviewed-by: Neha Ojha <nojha@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Add Release Notes and remove any `profile`
related stuff in the autoscaler documentation
and replace it with `bulk` flag.
Signed-off-by: Kamoltat <ksirivad@redhat.com>
Creating the pool with `--bulk` will allow
the pg_autoscaler to use the `scale-down`
mode on.
Creating pool:
`ceph osd pool create <pool-name> --bulk`
Get var:
`ceph osd pool get <pool-name> bulk`
Set var:
`ceph osd pool set <pool-name> bulk=true/false/1/0`
Removed `autoscale_profile` and incorporate bulk flag
into calculating `final_pg_target` for each pool.
bin/ceph osd pool autoscale-status no longer has
`PROFILE` column but has `BULK` instead.
Signed-off-by: Kamoltat <ksirivad@redhat.com>
pg_autoscale module will now start out all the pools
with a scale-up profile by default.
Added tests in workunits/mon/pg_autoscaler.sh
to evaluate if the default pool creation is
a scale-up profile
Updated documentation and release notes to
reflect the change in the default behavior
of the pg_autoscale profile.
Fixes: https://tracker.ceph.com/issues/53309
Signed-off-by: Kamoltat <ksirivad@redhat.com>
We don't use min/max_size for anything any more. Switch to encoding it
universally as 1 and 100, and ignoring when we decode. We keep it around
for backward compat when (re)encoding without the SERVER_QUINCY feature.
Drop the crush_rule_mask struct since the only variable piece now is the
type.
Signed-off-by: Sage Weil <sage@newdream.net>
Generate a different warning for crashes in mgr module python code, as
they do not mean that the entire mgr daemon crashed. Document.
Signed-off-by: Sage Weil <sage@newdream.net>
`crush-device-class` is optional for `ceph osd erasure-code-profile set`,
add it for the sake of completeness
Signed-off-by: luo.runbing <luo.runbing@zte.com.cn>