Commit Graph

1201 Commits

Author SHA1 Message Date
John Law
c2c069f2b4 doc: Fix inconsistency in logging settings
This patch fixes inconsistency in logging settings with options, namely `log_flush_on_exit` and `log_to_stderr`. This patch also adds `log_to_file` to the section.

Signed-off-by: John Law <johnlaw.po@gmail.com>
2020-03-29 03:14:45 +02:00
Nathan Cutler
7dd012252c doc: fix cephadm link
Fixes: 8fe460e756
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2020-03-26 15:55:47 +01:00
Sage Weil
7ef5458e26 Merge PR #34188 into master
* refs/pull/34188/head:
	doc: do not encourage readers to run multiple clusters on same HW

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2020-03-26 07:46:30 -05:00
Nathan Cutler
8fe460e756 doc: do not encourage readers to run multiple clusters on same HW
This material was first added on December 22, 2012 by
46d0334456

Signed-off-by: Nathan Cutler <ncutler@suse.com>
2020-03-25 23:56:15 +01:00
Paul Dee
fc3543e975 doc: Spelling and grammar fixes in ceph-deploy-osd.rst
Signed-off-by: Paul Dee <itsascambutmailmeanyway@gmail.com>
2020-03-16 18:19:47 +01:00
Gregory Farnum
d0db97d475
Merge pull request #32963 from Dmole/patch-1
doc: operating.rst clean up

Reviewed-by: Jeff Layton <jlayton@redhat.com>
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2020-03-10 11:04:59 -07:00
Guillaume Abrioux
25b6667459 doc: update erasure-code-profile.rst
Update this part of the documentation to reflect the change made by
3e86be7d50

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
2020-03-05 00:13:50 +01:00
Nathan Cutler
58ea553b2d doc: adjust for mon_status changes in octopus
In octopus, we no longer have "ceph mon_status", but we do have
"ceph tell mon.<id> mon_status", so reflect this in the docs.

Signed-off-by: Nathan Cutler <ncutler@suse.com>
2020-03-03 22:47:07 +01:00
Brad Hubbard
d4a28909f1
Merge pull request #33543 from badone/wip-doc-min_size-applicable-to-ec-pools
doc/rados/operations: min_size is applicable to EC

Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-02-26 14:21:43 +10:00
Brad Hubbard
3b6341239f doc/rados/operations: Detail for min_size on EC pools
Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
2020-02-26 11:58:21 +10:00
David Zafman
587cd64207
Merge pull request #32342 from dzafman/wip-43126
mon: Improvements to slow heartbeat health messages

Reviewed-by: Sage Weil <sage@redhat.com>
2020-02-25 17:42:00 -08:00
Brad Hubbard
2e5e5db0a1 doc/rados/operations: min_size is applicable to EC
min_size is *not* replicated pool specific.

Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
2020-02-26 10:33:22 +10:00
Kefu Chai
b3e3a8f68f
Merge pull request #33172 from tchaikov/wip-43582
ceph-monstore-tool: correct the key for storing mgr_command_descs

Reviewed-by: Sage Weil <sage@redhat.com>
2020-02-11 14:18:37 +08:00
Tim
21b17b758e doc: operating.rst update
Break Upstart and sysvinit commands out from the systemd section

Signed-off-by: Tim <elatllat@gmail.com>
2020-02-10 10:47:59 -05:00
Kefu Chai
75f4765f2f doc: update mondb recovery script
to note that we also need to add mgr's key to monitor's keyring

Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-02-10 17:38:28 +08:00
Kefu Chai
4b3df5a850 ceph-monstore-tool: rename mon-ids in initial monmap
when ceph-mon starts, it checks to see if it's listed in the monmap, if
not it complains
```
no public_addr or public_network specified, and mon.a not present in
monmap or ceph.conf.
```
then bails out. normally, the monitor will try to rename its name in
monmap when performing "mkfs", but in our case, we are merely using the
"mkfs" monmap for passing the monmap built by ceph-monstore-tools, and
we don't actually go through the "mkfs" process. so, ceph-mon won't
rename when booting up.

in this change, user is allowed to specify the mon-ids in command line
when rebuilding mondb, the default mon-ids would be a,b,c,... if not
specified.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-02-10 17:38:28 +08:00
Josh Durgin
0a29cf7d6c doc: update autoscaler docs for target ratio
Signed-off-by: Josh Durgin <jdurgin@redhat.com>
2020-02-10 10:08:36 +08:00
Josh Durgin
772d7c1d3c mgr/pg_autoscaler: add warning when target bytes and ratio are both set
Signed-off-by: Josh Durgin <jdurgin@redhat.com>
2020-02-10 10:08:36 +08:00
Josh Durgin
d62c121ee3 mgr/pg_autoscaler: remove target ratio warning
Since the ratios are normalized, they cannot exceed 1.0 or overcommit
combined with target_bytes.

Signed-off-by: Josh Durgin <jdurgin@redhat.com>
2020-02-10 10:08:36 +08:00
Sage Weil
b4e06c5b31 doc/rados/operations: adjust docs a bit
Signed-off-by: Sage Weil <sage@redhat.com>
2020-02-06 07:09:29 -06:00
Sage Weil
81fc73b24e Merge PR #32788 into master
* refs/pull/32788/head:
	qa/tasks/mgr/dashboard: set pg_num to 32
	mgr/pg_autoscaler: default to pg_num[_min] = 32

Reviewed-by: Sage Weil <sage@redhat.com>
2020-01-24 08:32:13 -06:00
Neha Ojha
f205d38c2c
Merge pull request #32373 from zdover23/wip-doc-pg-formats-update-dec-2019
doc: update list of formats for --format flag for "ceph pg dump"

Reviewed-by: Neha Ojha <nojha@redhat.com>
2020-01-22 19:10:00 -08:00
Neha
2451b93d10 doc/rados/configuration: document osd_max_pg_log_entries
Signed-off-by: Neha Ojha <nojha@redhat.com>
2020-01-22 19:21:59 +00:00
Neha
75b4707ca9 doc/rados: update osd_min_pg_log_entries
update docs to match 0db140c15c

Signed-off-by: Neha Ojha <nojha@redhat.com>
2020-01-22 19:15:11 +00:00
Neha
0c7991c0e8 mgr/pg_autoscaler: default to pg_num[_min] = 32
78bf924480 increased the default to 16.
Increasing it further to 32 will provide enough parallelism to improve
out of the box performance for new users.

Fixes: https://tracker.ceph.com/issues/43757
Signed-off-by: Neha Ojha <nojha@redhat.com>
2020-01-22 15:21:21 +00:00
David Zafman
886475b5fe mon: Improvements to slow heartbeat health messages
Include crush parentage for each osd

Fixes: https://tracker.ceph.com/issues/43126

Signed-off-by: David Zafman <dzafman@redhat.com>
2020-01-14 18:06:44 +00:00
David Zafman
b0a1b758d0 mgr: Change default upmap_max_deviation to 5
Fixes: https://tracker.ceph.com/issues/43312

Signed-off-by: David Zafman <dzafman@redhat.com>
2020-01-06 21:35:19 -08:00
David Zafman
621acf8ce7 osdmaptool: Add --upmap-active to simulate active upmap balancing
Signed-off-by: David Zafman <dzafman@redhat.com>
2020-01-06 21:35:19 -08:00
David Zafman
184e9d1ae3 doc: Add upmap options to osdmaptool man page and give example
Signed-off-by: David Zafman <dzafman@redhat.com>
2020-01-06 21:35:19 -08:00
Jos Collin
1033d5b373
doc: mounting CephFS subdirectory and Persistent Mounts cleanup
Fixes: https://tracker.ceph.com/issues/37746
Signed-off-by: Jos Collin <jcollin@redhat.com>
2020-01-06 18:33:26 +05:30
Neha Ojha
bd24ccf90d
Merge pull request #32451 from rs-fabrica/doc_rados_operations_crush-map-edits
doc/rados/operations/crush-map-edits: recompile and set instructions

Reviewed-by: Neha Ojha <nojha@redhat.com>
2020-01-03 15:20:33 -08:00
Rodrigo Severo
442878f229 doc/rados/operations/crush-map-edits: including recompile and set crushmapo instructions
Including missing recompile and set crushmap sections in crush-map-edits

Signed-off-by: Rodrigo Severo <rodrigo@fabricadeideias.com>
2019-12-30 18:13:25 -03:00
Zac Dover
8095be48d1 doc: update list of formats for --format flag for "ceph pg dump"
This incorporates Neha's suggestion that the list of formats
be made complete everywhere it appears in the document.

Signed-off-by: Zac Dover <zac.dover@gmail.com>
2019-12-23 22:00:39 +10:00
Zac Dover
c6135b2c15 doc: added an "is" where it was needed.
This tiny commit changes "The foregoing functionality
equivalent to" to "The foregoing functionality is
equivalent to".

Signed-off-by: Zac Dover <zac.dover@gmail.com>
2019-12-20 23:08:38 +10:00
Zac Dover
fb4f4acf02 doc: update list of formats for --format flag for "ceph pg dump"
This commit simply adds "json-pretty", "xml", and "xml-pretty" to
the list of formats available to the --format flag in the command
"ceph pg dump".

Signed-off-by: Zac Dover <zac.dover@gmail.com>
2019-12-20 22:32:33 +10:00
Neha Ojha
0852827258
Merge pull request #32226 from neha-ojha/wip-four-percent
doc/rados: Better block.db size recommendations for bluestore

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Igor Fedotov <ifedotov@suse.com>
2019-12-13 10:23:34 -08:00
Neha
36cdafbcca doc/rados: Better block.db size recommendations for bluestore
Signed-off-by: Neha Ojha <nojha@redhat.com>
2019-12-13 17:24:58 +00:00
Patrick Donnelly
2216c63ed5
Merge PR #31729 into master
* refs/pull/31729/head:
	qa: reduce cache size further
	mds: obsoleting 'mds_cache_size'

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2019-12-11 09:44:27 -08:00
Zac Dover
9c1216cd69 doc: s/achieve/achieves (Fixed a verb disagreement)
This bug changes a clause of the form "When x remains in y status
and never achieve a z status" to a clause of the form "When x remains
in y status and never achieves a  z status".

The change is one of "achieve" to "achieves".

Signed-off-by: Zac Dover <zac.dover@gmail.com>
2019-12-06 02:16:01 +10:00
Ramana Raja
aeaef1b4c5 mds: obsoleting 'mds_cache_size'
Remove last bits of support for 'mds_cache_size'.
'mds_cache_memory_limit' is preferred.

Fixes: https://tracker.ceph.com/issues/41951
Signed-off-by: Ramana Raja <rraja@redhat.com>
2019-12-02 14:51:25 +05:30
Neha Ojha
0cd95b9f0f
Merge pull request #31588 from usefulalgorithm/patch-1
doc/rados/operations: OSD_OUT_OF_ORDER_FULL fullness order is wrong

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
2019-11-27 17:33:38 -08:00
Sage Weil
ba01e1e951 Merge PR #31636 into master
* refs/pull/31636/head:
	mgr/pg_autoscaler: default to pg_num[_min] = 16

Reviewed-by: Mark Nelson <mnelson@redhat.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
2019-11-23 08:48:47 -06:00
Kefu Chai
1d0579566e
Merge pull request #31541 from BlackLotus/master
added a remark to always use powers of two for pg_num

Reviewed-by: Neha Ojha <nojha@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2019-11-19 09:24:08 +08:00
Sage Weil
78bf924480 mgr/pg_autoscaler: default to pg_num[_min] = 16
4 or 8 PGs doesn't provide much parallelism at baseline.  Start with 16
and set the floor there; that's a more reasonable number of OSDs that
will be put to work on a single pool.

Note that there is no magic number here.  At some point someone has to
tell Ceph if an empty pool should get lots of PGs across lots of devices
to get the full throughput of the cluster.  But this will be a bit less
painful/surprising for users.

Fixes: https://tracker.ceph.com/issues/42509
Signed-off-by: Sage Weil <sage@redhat.com>
2019-11-14 13:37:44 -06:00
Tsung-Ju Lii
253cb9903e doc/rados/operations: fix OSD_OUT_OF_ORDER_FULL fullness ordering
Signed-off-by: Tsung-Ju Lii <usefulalgorithm@gmail.com>
2019-11-13 17:43:48 +08:00
Sridhar Seshasayee
8819c3c37a
Merge pull request #31416 from sseshasa/wip-41666-replicaSizeWarn
osd/OSDMap: Show health warning if a pool is configured with size 1

Reviewed-by: Sage Weil <sweil@redhat.com>
Reviewed-by: David Zafman <dzafman@redhat.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
2019-11-12 12:06:46 +05:30
Thomas Schneider
f84ea48b80 doc/rados, sample.ceph.conf: pg_num should always be a power of two
Signed-off-by: Thomas Schneider <thomas@brainfuck.space>
2019-11-11 22:56:35 +01:00
Sridhar Seshasayee
33c647e811 osd/OSDMap: Show health warning if a pool is configured with size 1
Introduce a config option called 'mon_warn_on_pool_no_redundancy' that is
used to show a health warning if any pool in the ceph cluster is
configured with a size of 1. The user can mute/unmute the warning using
'ceph health mute/unmute POOL_NO_REDUNDANCY'.

Add standalone test to verify warning on setting pool size=1. Set the
associated warning to 'false' in ceph.conf.template under qa/tasks so
that existing tests do not break.

Fixes: https://tracker.ceph.com/issues/41666
Signed-off-by: Sridhar Seshasayee <sseshasa@redhat.com>
2019-11-11 10:36:35 +05:30
Sage Weil
3e9a2d8065 Merge PR #31177 into master
* refs/pull/31177/head:
	doc: update with zone bucket and straw2 addition

Reviewed-by: Sage Weil <sage@redhat.com>
2019-11-08 07:22:05 -06:00
Mykola Golub
1dc0db74d4
Merge pull request #30912 from dillaman/wip-42265
mgr: add 'rbd' profiles to support 'rbd_support' module commands

Reviewed-by: Mykola Golub <mgolub@suse.com>
Reviewed-by: Sage Weil <sage@redhat.com>
2019-11-01 13:41:28 +02:00