Commit Graph

1383 Commits

Author SHA1 Message Date
Kefu Chai
b60d041efa doc/rados/configuration: format confval with "confval" directive
for better formatting

Signed-off-by: Kefu Chai <kchai@redhat.com>
2021-03-28 23:38:02 +08:00
Sage Weil
f755e353e8 os/bluestore: separate omap per-pool vs per-pg alerts
Currently the health alert raised does not match the docs, and the docs
do not describe what the health alert indicates.

Octopus added per-pool omap storage.  This improves space accounting
and reporting.

Pacific added per-pg omap storage (object hash in key).  This speeds up
PG removal.

Separate everthing out into two distinct alerts raised from bluestore
and surfaced as health alerts, with corresponding config options to
disable, and update the docs accordingly.

Also update the fsck options for warn vs error, and raise separate
errors for the per-pg and per-pool cases.

Signed-off-by: Sage Weil <sage@newdream.net>
2021-03-24 07:34:39 -05:00
Patrick Donnelly
6ad5901422
Merge PR #39191 into master
* refs/pull/39191/head:
	pybind/mgr/snap_schedule: use ceph VFS
	pybind/mgr/snap_schedule: idempotentize table creation
	mgr: add ceph sqlite VFS
	doc: add libcephsqlite
	ceph.spec,debian: package libcephsqlite
	test/libcephsqlite,qa: add tests for libcephsqlite
	libcephsqlite: rework architecture and backend
	SimpleRADOSStriper: wait for finished aios after write
	SimpleRADOSStriper: add new minimal async striper
	mon: define simple-rados-client-with-blocklist profile
	librados: define must renew lock flag
	common: add timeval conversion for durations
	Revert "libradosstriper: add function to read into char*"
	test_libcephsqlite: test random inserts
	cephsqlite: fix compiler errors
	cmake: improve build inst for cephsqlite
	libcephsqlite: sqlite interface to RADOS
	libradosstriper: add function to read into char*

Reviewed-by: Neha Ojha <nojha@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2021-03-22 10:06:11 -07:00
Kefu Chai
1dbc932195 doc: use :ref: instead relative path for links
path is fragile when we move the file around, but link is more stable.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2021-03-22 01:41:53 +08:00
Patrick Donnelly
d08a977a76
doc: add libcephsqlite
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2021-03-19 08:52:55 -07:00
Patrick Donnelly
108f486afe
mon: define simple-rados-client-with-blocklist profile
A mon profile that grants the ability for rados clients to blocklist
others (similar to rbd).

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2021-03-19 08:52:55 -07:00
Jonas Jelten
76a67d7753 doc: update osd-class-path error messages
the return value is "95 Operation not supported"

Signed-off-by: Jonas Jelten <jj@sft.lol>
2021-03-16 16:16:02 +01:00
Jonas Jelten
4f98499bfa doc/mgr/crash: explain needed crash upload permissions
Signed-off-by: Jonas Jelten <jj@sft.lol>
2021-03-09 14:12:32 +01:00
Sebastian Wagner
089938a1af
Merge pull request #39558 from sebastian-philipp/doc-rados-rm-toctree-cephadm
doc/rados: avoid including cephadm into the toctree

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
Reviewed-by: Zac Dover <zac.dover@gmail.com>
2021-03-03 16:17:51 +01:00
Sage Weil
67e842d519 Merge PR #39654 into master
* refs/pull/39654/head:
	common/options: drop ms_async_max_op_threads
	msg/async: drop Stack::num_workers
	msg/async: s/num_workers/workers.size()/
	msg/async: use range-based loop in NetworkStack
	msg/async: do not pass worker id to Stack::spawn_worker()
	async/Stack: pass Worker* to NetworkStack::add_thread()
	async/rdma: do not reference worker id in RDMAStack::spawn_worker()
	async/dpdk: do not use worker id when creating worker
	async/PosixStack: do not reference worker id in ctor
	async/rdma: initialize worker in RDMAStack::create_worker()
	async/rdma: move RDMAStack::create_worker() to .cc

Reviewed-by: luo runbing <luo.runbing@zte.com.cn>
Reviewed-by: Haomai Wang <haomai@xsky.com>
2021-03-03 08:38:21 -05:00
Zac Dover
2ec313caba doc/cephadm: rewrite "b.strap a new cluster"
This PR rewrites the section "Bootstrap A New
Cluster" in the Cephadm Guide, in the Install
Chapter. I've broken this section up into what
seem to me to be the topics that the content
naturally divides into.

Signed-off-by: Zac Dover <zac.dover@gmail.com>
2021-03-02 04:20:35 +10:00
Kefu Chai
c27e0253d6
Merge pull request #38604 from cybozu/doc-fix-the-meaning-of-min_size
doc: fix the meaning of default_min_size of pools

Reviewed-by: Kefu Chai <kchai@redhat.com>
2021-02-26 17:25:45 +08:00
Kefu Chai
ee7184639d common/options: drop ms_async_max_op_threads
the last user of this option was DPDKStack::DPDKStack(). which used it
to initialize its func vector. but this option is not used anymore.

so let's drop it.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2021-02-26 11:28:07 +08:00
Sebastian Wagner
bd2ef3c869 doc/rados: avoid including cephadm into the toctree
Otherwise cephadm will be also included in the doc/rados toctree

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2021-02-24 18:25:20 +01:00
Kefu Chai
bb17a4fc1d
Merge pull request #39564 from tchaikov/wip-doc-layout
doc: consolidate the layout settings using CSS

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2021-02-24 11:36:14 +08:00
Neha Ojha
b7bb6cf6ce
Merge pull request #39288 from cybozu/fix-the-procedure-of-recovery-mon-quorum-using-osd
doc: fix the procedure of recovery mon quorum using osd

Reviewed-by: Neha Ojha <nojha@redhat.com>
2021-02-23 13:38:31 -08:00
Kefu Chai
bdfbdb8910
Merge pull request #39471 from sebastian-philipp/rados-rm-manage-upstart
doc/rados/operations: Remove upstart

Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
2021-02-19 14:56:17 +08:00
Kefu Chai
702f376601 doc: consolidate the layout settings using CSS
instead of inlining the layout related settings, move them to a single
place. and do the layout using the flex box instead using tables.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2021-02-19 11:29:39 +08:00
Sebastian Wagner
02584d3ee7 doc/cephadm: Restoring the MON quorum
Fixes: https://tracker.ceph.com/issues/49214
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2021-02-16 13:48:09 +01:00
Sebastian Wagner
318cb12e08 doc/rados/operations: Remove upstart
Followup on 2c755cef69

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2021-02-15 13:13:36 +01:00
Kefu Chai
72dee5d0d3
Merge pull request #39258 from Rethan/doc-remove-ms-options
doc/rados: remove some invalid ms option

Reviewed-by: Kefu Chai <kchai@redhat.com>
2021-02-05 13:48:10 +08:00
Satoru Takeuchi
7f9dad3eb5 doc: fix the procedure of recovery mon quorum using osd
`ceph-monstore-tool` expects mons names are sorted by ip adrress. However,
this is not always true after the following PR.

https://github.com/ceph/ceph/pull/22193

We can bypass this problem by using `--mon-ids` option.

Signed-off-by: Satoru Takeuchi <satoru.takeuchi@gmail.com>
2021-02-04 06:09:06 +00:00
Zac Dover
f4e053ab5f doc/rados: s/realy/really/
This corrects the spelling of "realy" to "really".
Hat-tip to IcePic, who noticed this on 03 Feb 2021.

Signed-off-by: Zac Dover <zac.dover@gmail.com>
2021-02-04 01:04:24 +10:00
haoyixing
58406fabe8 doc/rados: remove some invalid ms option
Remove some outdated ms options.

Signed-off-by: haoyixing <haoyixing@kuaishou.com>
2021-02-03 20:53:41 +08:00
Brad Hubbard
0060cc52f9 doc/rados/api: Update code samples to python3
Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
2021-02-01 11:14:16 +10:00
haoyixing
82755b5809 doc/rados: remove unused osd heartbeat option
Since commit a5f9ca, option osd_mon_ack_timeout was removed, change
doc accordingly.

Signed-off-by: haoyixing <haoyixing@kuaishou.com>
2021-01-13 18:20:39 +08:00
haoyixing
5c25778258 mon/PGMap: align to same side when output ceph df / ceph df detail
Aligns are not in the same side when showing raw storage usage and
pools, change to the same side.

Signed-off-by: haoyixing <haoyixing@kuaishou.com>
2021-01-04 19:59:16 +08:00
Jonas Jelten
cb300ee6b8 doc: fix and improve the explainations of up and acting osd sets
acting = where clients requests are processed
up = where pgs were planned to be by crush+upmap

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

Signed-off-by: Jonas Jelten <jj@sft.lol>
2020-12-27 18:33:36 +01:00
zdover23
867f910941
Merge pull request #38621 from anthonyeleven/anthonyeleven/bluestore-doc-cleanup
doc/rados/configuration: clean up BlueStore config and enhance DB sizing

Reviewed-by: Igor Fedotov <ifedotov@suse.com>
2020-12-22 22:05:17 +10:00
Anthony D'Atri
7673793945 doc/rados/configuration: clean up BlueStore config and enhance DB sizing guidance 2020-12-18 10:25:28 -08:00
Satoru Takeuchi
2981770f8e doc: fix the meaning of default_min_size of pools
`osd pool default min size` affects not only write operations,
but also read operations.

Signed-off-by: Satoru Takeuchi <satoru.takeuchi@gmail.com>
2020-12-18 10:37:46 +09:00
Ernesto Puerta
65b11e931e
Merge pull request #38473 from votdev/issue_48474_health_check
mgr/dashboard: Display a warning message in Dashboard when debug mode is enabled

Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
2020-12-17 17:35:01 +01:00
Volker Theile
a1aa760acf mgr/dashboard: Display a warning message in Dashboard when debug mode is enabled
Set a health check warning if debug mode is enabled.

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

Signed-off-by: Volker Theile <vtheile@suse.com>
2020-12-16 14:13:44 +01:00
Anthony D'Atri
21d68cf137 doc: standardize config option names to use interstitial underscores
Ceph config option names may use spaces, underscores, or by one reference hyphens
as interstitial separators. Most usage within the doc tree uses underscores,
though example conf files and especially structured lists of options mostly
use spaces. Mostly. Underscores help differentiate the config names from
surrounding text, and moreover facilitate scripting, grep, awk, etc and match
their form in src/common/options.cc.

This PR conforms these occurrences of option names to use interstitial underscores instead of spaces.

Fixes: https://tracker.ceph.com/issues/48301
Signed-off-by: Anthony D'Atri <anthony.datri@gmail.com>
2020-12-15 13:55:38 -08:00
胡玮文
4dd26d651f doc: Fixes a typo in mon_dns_srv_name.
Signed-off-by: 胡玮文 <huww98@outlook.com>
2020-12-11 17:16:21 +08:00
Kefu Chai
15affa5bca
Merge pull request #38457 from tchaikov/wip-mon-scrub-interval
mon: use TYPE_SEC for mon_scrub_interval

Reviewed-by: Joao Eduardo Luis <joao@suse.com>
Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
2020-12-09 16:45:00 +08:00
Neha Ojha
55c0f16752
Merge pull request #38418 from anthonyeleven/anthonyeleven/clarify-op-priorities
doc: clarify osd recovery op priority and fix a couple of typos

Reviewed-by: David Zafman <dzafman@redhat.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
2020-12-08 13:14:58 -08:00
Anthony D'Atri
bc41ae3a88 doc: clarify osd recovery op priority and fix a couple of typos
Signed-off-by: Anthony D'Atri <anthony.datri@gmail.com>
2020-12-07 21:01:36 -08:00
Kefu Chai
fc82b0ae8e mon: use TYPE_SEC for mon_scrub_interval
* common/legacy_config_opts.h: drop mon_scrub_interval from legacy
  settings. as this option is not in critical path. so we can afford
  the overhead of look its value up in the map.
* common/options.cc: change mon_scrub_interval's type from TYPE_INT
  to TYPE_SECS, so we can use human friendly representations like
  "3 days" when specifying its value
* mon/Monitor.cc: adapt to the changes above.
* doc/rados: update the doc for "mon scrub interval" accordingly

Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-12-06 16:30:45 +08:00
Igor Fedotov
ba9b547120 doc/osd-config-ref: adjust default value for osd_delete_sleep_hybrid
Signed-off-by: Igor Fedotov <ifedotov@suse.com>
2020-12-05 00:09:52 +03:00
zdover23
c0f1c56cf5
Merge pull request #38311 from anthonyeleven/anthonyeleven/fix-typo
doc/rados/operations: typo in stretch-mode.rst

Reviewed-by: Zac Dover <zac.dover@gmail.com>
2020-12-02 04:03:26 +10:00
Anthony D'Atri
f7ead5e83a doc/rados/operations: typo in stretch-mode.rst 2020-11-30 15:31:15 -08:00
Kefu Chai
09f1e7ffff
Merge pull request #38241 from Rethan/update_url_from_master_to_lastest
doc/dev: use http://docs.ceph.com/en/latest/ instead of /docs/master/ for docs

Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Willem Jan Withagen <wjw@digiware.nl>
2020-11-27 14:00:12 +08:00
zdover23
6497da98d7
Merge pull request #38195 from anthonyeleven/anthonyeleven/docs-14730
doc/rados/troubleshooting: description of upgrade procedure - stopping/starting OSDs

Reviewed-by: Zac Dover <zac.dover@gmail.com>
2020-11-26 01:27:06 +10:00
zdover23
3cea1e5a2a
Merge pull request #38079 from anthonyeleven/anthonyeleven/docs-24143
doc/rados/configuration/common.rst:  enhance the running multiple clusters section

Reviewed-by: Zac Dover <zac.dover@gmail.com>
2020-11-26 00:14:51 +10:00
haoyixing
0e7e036aa7 doc/dev: use http://docs.ceph.com/en/latest/ instead of /docs/master/ for docs
Several links under http://docs.ceph.com/docs/master/ were unable to access.
Change them to http://docs.ceph.com/en/lastest so we can access them directly.

Signed-off-by: haoyixing <haoyixing@kuaishou.com>
2020-11-24 12:49:47 +08:00
Anthony D'Atri
8a47edfced
Merge branch 'master' into anthonyeleven/docs-14730 2020-11-23 09:31:29 -08:00
zdover23
f6c3592916
Merge pull request #38180 from anthonyeleven/anthonyeleven/docs-23442
doc/rados/operations: Add description of new auth profiles

Reviewed-by: Zac Dover <zac.dover@gmail.com>
2020-11-24 00:05:00 +10:00
zdover23
de870cac81
Merge pull request #38092 from anthonyeleven/anthonyeleven/docs-mixed-device-trick
doc/rados/operations: enhance primary affinity section

Reviewed-by: Zac Dover <zac.dover@gmail.com>
2020-11-23 22:20:13 +10:00
Kefu Chai
b7e8d11d09
Merge pull request #38231 from anthonyeleven/anthonyeleven/docs-40579
doc/rados/operations: POOL_NEAR_FULL on OSD_NEAR_FULL

Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-11-22 21:24:56 +08:00
Anthony D'Atri
7fde53bbb1 doc/rados/operations: POOL_NEAR_FULL on OSD_NEAR_FULL
Fixes: https://tracker.ceph.com/issues/40579
Signed-off-by: Anthony D'Atri <anthony.datri@gmail.com>
2020-11-22 00:02:54 -08:00
Anthony D'Atri
61a7eb8647 doc/rados/operations: enhance primary affinity section
Signed-off-by: Anthony D'Atri <anthony.datri@gmail.com>
2020-11-21 23:57:31 -08:00
Anthony D'Atri
84757fc202 doc/rados/troubleshooting: description of upgrade procedure - stopping/starting OSDs
Fixes: https://tracker.ceph.com/issues/14730
Signed-off-by: Anthony D'Atri <anthony.datri@gmail.com>
2020-11-19 23:39:42 -08:00
Anthony D'Atri
3e2e3e3735 doc/rados/operations: Add description of new auth profiles 2020-11-19 23:34:32 -08:00
Michael Fritch
35d6fde51f
Merge pull request #37901 from votdev/issue_48041_device_light
mgr/cephadm: Allow customizing mgr/cephadm/lsmcli_blink_lights_cmd per host

Reviewed-by: Michael Fritch <mfritch@suse.com>
Reviewed-by: Sebastian Wagner <swagner@suse.com>
2020-11-16 19:21:06 -07:00
Kefu Chai
64972101f7
Merge pull request #38103 from ybwang0211/link-to-balancer
doc: Fix the broken link to the "balancer"

Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-11-16 18:30:53 +08:00
ybwang0211
1144ebdf53 doc:Fix the web link that jumps to the "balancer"
In "https://docs.ceph.com/en/latest/rados/operations/upmap/#upmap", the link to "balancer" was not set correctly, so we fixed it.

Signed-off-by: wangyingbin <wangyingbin@inspur.com>
2020-11-16 16:59:24 +08:00
Kefu Chai
2a32514706 doc/rados/operation: add link to scrub_max_interval
add the reference to the per-pool setting when explaing
PG_NOT_DEEP_SCRUBBED.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-11-15 11:50:12 +08:00
Anthony D'Atri
9950fe781f doc/rados/configuration/common.rst: expand the running multiple clusters section
Add context to the existing note that running custom names, and thus
multiple clusters on the same hardware, are both deprecated and should
not be done.  This should fulfill tracker #24143.

Fixes: https://tracker.ceph.com/issues/24143
Signed-off-by: Anthony D'Atri <anthony.datri@gmail.com>

fix flag
2020-11-14 01:36:07 -08:00
Brad Hubbard
1464a7d588
Merge pull request #38073 from badone/wip-use-right-tunable-for-pg-scrub-doc
doc: Use correct tunable for PG_NOT_SCRUBBED

Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-11-14 14:49:27 +10:00
Kefu Chai
3b23d14e3c
Merge pull request #38055 from tchaikov/wip-doc-conf
doc/rados/configuration: document option types

Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
2020-11-13 16:58:48 +08:00
Kefu Chai
520ddd6894 doc/rados/configuration: document option types
Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-11-13 14:17:21 +08:00
Kefu Chai
24fd33d7eb doc/rados: remove superfluous "::"
this change addresses a regression introduced by
0f2489406a

Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-11-13 14:17:21 +08:00
Brad Hubbard
61930e6428 doc: Use correct tunable for PG_NOT_SCRUBBED
Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
2020-11-13 14:33:24 +10:00
David Zafman
9e469f5b31 doc: Apply suggestions from code review
Co-authored-by: Neha Ojha <nehaojha88@gmail.com>
Co-authored-by: Josh Durgin <jdurgin@redhat.com>

Signed-off-by: David Zafman <dzafman@redhat.com>
2020-11-11 15:31:26 -08:00
David Zafman
93373746f5 osd test: Delay reporting until mon_warn_older_version_delay has passed
Move release notes description to 16.0.0 and update
Update documentation

Signed-off-by: David Zafman <dzafman@redhat.com>
2020-11-11 15:10:11 -08:00
David Zafman
18101c324a doc: Document health check DAEMON_OLD_VERSION
Signed-off-by: David Zafman <dzafman@redhat.com>
2020-11-11 15:10:11 -08:00
David Zafman
ada78607e6
Merge pull request #37941 from dzafman/wip-48077
Allowing scrub configs begin_day/end_day to include 7 and begin_hour/end_hour to include 24 is confusing

Reviewed-by: Neha Ojha <nojha@redhat.com>
2020-11-09 15:12:34 -08:00
David Zafman
d3cc647583 osd: Eliminate day of weeek 7 and hour 24
Add test case for permitted hours to make sure scrub doesn't start
Remove permitted hours in extended sleep test

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

Signed-off-by: David Zafman <dzafman@redhat.com>
2020-11-09 22:47:00 +00:00
Zac Dover
f17b48f72e doc/rados: ceph df output update
This commit updates the "ceph df" output
so that it is current as of October 2020.
-Add correctly formatted `ceph df` output.
-Add explanation of "DIRTY" column.
-(DATA) remains to be defined (1 instance)
-(OMAP) remains to be defined (1 instance)
-USED remains to be defined (1 instance)
-Update prompts in "Checking OSD Status"

Fixes: https://tracker.ceph.com/issues/47523
Signed-off-by: Zac Dover <zac.dover@gmail.com>
2020-11-10 08:01:02 +10:00
Gregory Farnum
703524119a
Merge pull request #37915 from gregsfortytwo/wip-stretch-fixes
Fix several stretch mode issues

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
2020-11-09 03:52:07 -08:00
Greg Farnum
704dbe9ec2 doc: update stretch mode doc to not be a lie
Signed-off-by: Greg Farnum <gfarnum@redhat.com>
2020-11-06 06:39:33 +00:00
Volker Theile
cd79c9912a mgr/cephadm: Allow customizing mgr/cephadm/lsmcli_blink_lights_cmd per host
* Rename key name from 'lsmcli_blink_lights_cmd' to 'blink_device_light_cmd'
* Refactor TemplateMgr::render() method to use the Ceph common behavior how to name store/module option keys. The old implementation required a key like 'mgr/cephadm/services_nfs_ganesha.conf' instead of 'mgr/cephadm/services/nfs/ganesha.conf' or 'mgr/cephadm/mgr0_blink_device_light_cmd' instead of 'mgr/cephadm/mgr0/blink_device_light_cmd'.

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

Signed-off-by: Volker Theile <vtheile@suse.com>
2020-11-04 13:02:03 +01:00
Kefu Chai
99a449c5e5 doc/rados/operation: add monitor to SLOW_OPS
SLOW_OPS also applies to requests targeting monitors

Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-11-03 13:02:36 +08:00
Lenz Grimmer
2564dd4b09
Merge pull request #37440 from Devp00l/wip-44433
mgr/dashboard: Add clay plugin support

Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
2020-10-23 13:57:51 +02:00
Anthony D'Atri
ade052e08a doc/rados/operations: clarity, detail, modernization
Signed-off-by: Anthony D'Atri <anthony.datri@gmail.com>
2020-10-21 10:56:05 -07:00
Kefu Chai
337172a4b0
Merge pull request #36536 from matthewoliver/pick_address_warning_doc_update
common/pick_address: support IPv4 and IPv6 dual stack mode

Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-10-19 14:12:52 +08:00
Patrick Donnelly
cbcdb8eeeb
Merge PR #34702 into master
* refs/pull/34702/head:
	doc: Make time-related osd default values in documentation big-endian.

Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-10-14 11:11:15 -07:00
Kefu Chai
585f6467ca
Merge pull request #37394 from rosinL/cleanup-queue-option
common/options: remove unavailable values of osd_op_queue

Reviewed-by: J. Eric Ivancich <ivancich@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-10-14 16:08:04 +08:00
Matthew Oliver
9f75dfbf36 pick_address: Warn and continue when you find at least 1 IPv4 or IPv6 address
Currently if specify a single public or cluster network, yet have both
`ms bind ipv4` and `ms bind ipv6` set daemons crash when they can't find
both IPs from the same network:

    unable to find any IPv4 address in networks '2001:db8:11d::/120' interfaces ''

And rightly so, of course it can't find an IPv4 network in an IPv6
network.
This patch, adds a new helper method, networks_address_family_coverage,
that takes the list of networks and returns a bitmap of address families
supported.
We then check to see if we have enough networks defined and if you don't
it'll warn and then continue.

Also update the network-config-ref to mention having to define both
address family addresses for cluster and or public networks.

As well as a warning about `ms bind ipv4` being enabled by default which
is easy to miss, there by enabling dual stack when you may only be
expect single stack IPv6.

Thee is also a drive by to fix a `note` that wan't being displayed due
to missing RST syntax.

Signed-off-by: Matthew Oliver <moliver@suse.com>
Fixes: https://tracker.ceph.com/issues/46845
Fixes: https://tracker.ceph.com/issues/39711
2020-10-14 05:46:16 +00:00
Anthony D'Atri
8a4c4cb393 doc/rados/troubleshooting: clarity and modernization
Signed-off-by: Anthony D'Atri <anthony.datri@gmail.com>
2020-10-12 10:22:16 -07:00
luo rixin
ce2ea1d675 common/options: remove unavailable values of osd_op_queue
Signed-off-by: luo rixin <luorixin@huawei.com>
2020-10-10 09:28:17 +08:00
Stephan Müller
b3fd05bbc5 mgr/dashboard: Add clay plugin support
The erasure code plugin "clay" is now supported by the dashboard. Now a
clay based profile can be created in the ec profile creation modal
dialog which can be found in the pool form.

The defaults of the plugin are calculated or preselected and shown in the
dashboard, therefore things are made mandatory even if they are not on the
cli, but as they automatically set the user doesn't have to set them,
but sees the defaults instantly before creating the profile.
(This is the same behavior that is used for all other supported
plugins.)

Fixes: https://tracker.ceph.com/issues/44433
Signed-off-by: Stephan Müller <smueller@suse.com>
2020-09-29 09:59:14 +02:00
Anthony D'Atri
e7afd9017d
doc/rados: erasure-code-lrc corrections
doc/rados: erasure-code-lrc corrections

- Clarified / corrected jerasure recovery characterization cf. https://library.eecs.utk.edu/storage/125phpw0xFqAut-cs-07-603.pdf
- Capitalization
- Word choice:  OSDs are discrete / cardinal, so "fewer" instead of  "less"
- Reworked a few phrases to be less stilted

Signed-off-by: Anthony D'Atri <anthony.datri@gmail.com>
2020-09-28 23:42:10 -07:00
Anthony D'Atri
815263b583 doc/man: Add optional reweight-by-utilization args
doc/mgr: Grammar and wording for Prometheus labels
doc/rados: Spelling and clarity

Signed-off-by: Anthony D'Atri <anthony.datri@gmail.com>
2020-09-20 22:47:01 -07:00
Kefu Chai
266aa66aa9
Merge pull request #37252 from pponnuvel/spellcheck-docs
doc: Fixed a number of typos in documentation

Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-09-19 11:07:52 +08:00
Patrick Donnelly
7eceaf45de
Merge PR #37202 into master
* refs/pull/37202/head:
	mon: allow overriding the initial mon_host

Reviewed-by: Neha Ojha <nojha@redhat.com>
2020-09-18 18:54:57 -07:00
Neha Ojha
8ba0a61a51
Merge pull request #35906 from gregsfortytwo/wip-stretch-mode
Add a new stretch mode for 2-site Ceph clusters

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2020-09-18 14:31:45 -07:00
Ponnuvel Palaniyappan
d99d520493 doc: Fixed a number of typos in documentation
Signed-off-by: Ponnuvel Palaniyappan <pponnuvel@gmail.com>
2020-09-18 18:17:15 +01:00
Patrick Donnelly
ed3782e60a
mon: allow overriding the initial mon_host
This overrides what the CephContext believes to be the current quorum of
monitors (retrieved from other instances of the MonClient), introduced
by [1]. Tests need to be able to target a specific monitor for
exercising forwarding and other things.

[1] 731e2db9fb
Fixes: https://tracker.ceph.com/issues/47180
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2020-09-16 18:34:23 -07:00
David Zafman
bb5058074d doc: Add doc and PendingRealeaseNotes
Add help about new list_unfound fields in troubleshooting-pg.rst
Add info in PendingReleaseNotes

Signed-off-by: David Zafman <dzafman@redhat.com>
2020-09-16 16:40:10 -07:00
Greg Farnum
9506d09e3b Merge remote-tracking branch 'origin/master' into wip-stretch-mode
Conflicts:
	src/include/ceph_features.h

Signed-off-by: Greg Farnum <gfarnum@redhat.com>
2020-09-15 02:25:07 +00:00
Greg Farnum
d02625331c Merge remote-tracking branch 'origin/master' into wip-stretch-mode 2020-09-14 02:32:19 +00:00
Sebastian Wagner
428125f8a4
Merge pull request #36946 from zdover23/wip-docs-36796-fix
doc/cephadm: Document mgr/cephadm/manage_etc_ceph_ceph_conf

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2020-09-07 10:48:27 +02:00
Kefu Chai
0f2489406a doc/dev: use prompt directive when appropriate
for 2 reasons:

* sphinx renders codeblock using python syntax highlighting by default,
  so it's not surprising that it highlight keywords like "export" in
  command line samples. so to render command line code blocks, we'd
  better specify the syntax explicitly for better rendering result.
* with the help of "prompt" directive, user is able to copy and paste
  the command without the prompt. for instance, with the default
  "::" directive, user will copy "$ ceph df", which is not very
  convenient, but with "prompt" directive, user only copies
  "ceph df".

Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-09-05 00:03:52 +08:00
Zac Dover
29e8cbc49b doc/cephadm: managing ceph.conf
This commit repairs PR#36796, which was about
updating the configuration settings in ceph.conf
without touching the file directly.

That commit wasn't building because of a couple of
back quotes that were touching the word that followed
them. So much like the princess from The Princess and
The Pea is Sphinx. So careful must we always be.

Fixes: https://tracker.ceph.com/issues/47265
Signed-off-by: Zac Dover <zac.dover@gmail.com>
2020-09-04 07:31:13 +10:00
Robert Sander
1b42759e19 doc: remove references to ceph-deploy
The documentation still has many traces of ceph-deploy. This tool has
been deprecated with the Octopus release. This commit tries to remove
most of ceph-deploy occurences.

Signed-off-by: Robert Sander <r.sander@heinlein-support.de>
2020-09-02 21:14:36 +02:00
Zac Dover
99fa02f4a1 doc/rados: s/initial members/mon host
This changes an old string, "initial members"
to a current string, "mon host".

Fixes: https://tracker.ceph.com/issues/47116
Signed-off-by: Zac Dover <zac.dover@gmail.com>
2020-09-01 14:28:12 +10:00
Kefu Chai
253fd22896 doc: add sphinx.ext.mathjax for math-to-MathML rendering
Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-09-01 09:53:18 +08:00
Kefu Chai
84e2808afb doc: fix broken hyper link
this link was broken in 1427905c473e352e7cac1a9ac209cddb82544b57

Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-09-01 09:53:18 +08:00