Commit Graph

871 Commits

Author SHA1 Message Date
Alfredo Deza
aa90ea25cf doc/rados/operations add a ref label to pool application
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-08-16 08:20:01 -04:00
Alfredo Deza
5a3da3acaf doc/rados/operations use new ref label in health-checks
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-08-16 08:20:01 -04:00
Alfredo Deza
6c970133e0 doc/rados/operations add ref label for placement group number
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-08-16 08:20:01 -04:00
Alfredo Deza
c7973cb449 doc/rados/api/python document required_state manually
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-08-16 08:20:00 -04:00
Alfredo Deza
d8932d62bf doc/rados/operations use the new ref label for crush map tunables
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-08-16 08:20:00 -04:00
Alfredo Deza
234c6a432b doc/rados/operations add label for crush map tunables for ref linking
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-08-16 08:20:00 -04:00
Alfredo Deza
10e457fd36 doc/rados/operations include pg-repair document in the toctree
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-08-16 08:20:00 -04:00
Alfredo Deza
80f66e0ebb doc/rados/operations add missing link for crush pdf
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-08-16 08:19:59 -04:00
Alfredo Deza
e925b9f899 doc/rados/operations add newline after definition
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-08-16 08:19:59 -04:00
Alfredo Deza
e32f9be219 doc/rados/api remove '*' in automethod call
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-08-16 08:19:59 -04:00
Alfredo Deza
ae88a65880 doc/rados use func reference for rados_set_alloc_hint linking
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-08-16 08:19:58 -04:00
Sage Weil
39c02728b7 doc/rados/operations/bluestore-migration: use the new 'safe-to-destroy' command
Also use 'ceph osd ls-tree' to enumerate the ids.

Signed-off-by: Sage Weil <sage@redhat.com>
2017-08-13 15:07:07 -04:00
Sage Weil
9086e1df78 doc/rados/operations/bluestore-migration: fix tree output
I forgot to update the osd ids.

Signed-off-by: Sage Weil <sage@redhat.com>
2017-08-13 15:06:46 -04:00
David Zafman
4c949b6258 osd, rados: Adding ss_attr_missing and ss_attr_corrupt errors to list-inconsistent-obj
Signed-off-by: David Zafman <dzafman@redhat.com>
2017-08-11 11:37:32 -07:00
David Zafman
5f58301a13 osd, rados: Improve size scrub error handling
Fixes: http://tracker.ceph.com/issues/20243

Signed-off-by: David Zafman <dzafman@redhat.com>
2017-08-11 11:37:32 -07:00
David Zafman
8ad4b29113 osd: Add whether shard is primary in list-inconsistent-obj
Add new field in the client interface
Update test case

Fixes: http://tracker.ceph.com/issues/18836

Signed-off-by: David Zafman <dzafman@redhat.com>
2017-08-11 11:37:03 -07:00
Sage Weil
0a1512b023 doc/rados/operations/bluestore-migration: typos and whitespace
Signed-off-by: Sage Weil <sage@redhat.com>
2017-08-11 09:36:59 -04:00
Sage Weil
f7398ddd23 doc/rados/operations/bluestore-migration: document bluestore migration process
Signed-off-by: Sage Weil <sage@redhat.com>
2017-08-10 15:15:03 -04:00
Jason Dillaman
34ff1ddca1 doc: re-ordered rbd table of contents
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2017-08-08 12:40:50 -04:00
Patrick Donnelly
81be13b34c
doc: remove duplicate CephFS health check doc
These are documented in doc/cephfs/health-messages.rst.

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2017-08-04 12:28:38 -07:00
Sage Weil
6a39c5a229 Merge pull request #16614 from neha-ojha/recovery_sleep_hybrid
osd: Check whether journal is rotational or not

Reviewed-by: Sage Weil <sage@redhat.com>
2017-08-04 13:23:38 -05:00
Sage Weil
0291118183 doc/rados/configuration/bluestore-config-ref: fix indentation
Signed-off-by: Sage Weil <sage@redhat.com>
2017-08-03 12:24:33 -04:00
Sage Weil
ea96265ed1 Merge pull request #16765 from liewegas/wip-bluestore-docs
doc/rados/configuration: document bluestore
2017-08-03 08:27:41 -05:00
Sage Weil
f2bcd0250b doc/rados/configuration/bluestore-config-ref: devices, checksumming, cache
Signed-off-by: Sage Weil <sage@redhat.com>
2017-08-03 09:21:18 -04:00
Patrick Donnelly
0909f2beb7
Merge PR #16691 into master
* refs/remotes/upstream/pull/16691/head:
	doc: update client.admin key refs to "mds 'allow'"

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2017-08-02 18:42:37 -07:00
Sage Weil
8e166fa1b7 doc/rados/configuration: document bluestore
Initial pass here.  Not yet complete.

Signed-off-by: Sage Weil <sage@redhat.com>
2017-08-02 15:48:41 -04:00
Neha Ojha
1ace6a6a75 doc: add documentation for osd_recovery_sleep_hybrid
Signed-off-by: Neha Ojha <nojha@redhat.com>
2017-08-02 11:58:31 -07:00
Kefu Chai
f273712e1b doc: document bluestore compression settings
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-08-02 16:42:08 +08:00
Kefu Chai
31cd44fd8c Merge pull request #16741 from liewegas/wip-more-doc-links
doc/release-notes: fix links, formatting; add crush device class docs

Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-08-02 13:52:38 +08:00
Sage Weil
20d2921194 doc/rados/operations/crush-map: more device class docs
Signed-off-by: Sage Weil <sage@redhat.com>
2017-08-01 18:08:43 -04:00
Sage Weil
67e770e05b Merge pull request #16616 from tchaikov/wip-doc-cleanup
doc: remove docs on non-existant command
2017-08-01 11:01:09 -05:00
Kefu Chai
69c6402bbd Merge pull request #16727 from jcsp/wip-doc-config-hel
doc/qa: cover `config help` command

Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-08-01 23:38:28 +08:00
Kefu Chai
ffbf113fa0 Merge pull request #16707 from ivancich/wip-more-dmclock-docs
doc: Describe mClock's use within Ceph in great detail.

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-08-01 23:37:53 +08:00
Sage Weil
4839485f53 Merge pull request #16637 from ceph/wip-doc-links
doc: upmap docs; various missing links for release notes

Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-08-01 08:50:02 -05:00
Sage Weil
aa5b930f60 doc/rados/operations/upmap: document new upmap feature
Signed-off-by: Sage Weil <sage@redhat.com>
2017-08-01 09:49:39 -04:00
Sage Weil
6d7e4b444d Merge pull request #15838 from theanalyst/doc-pool-ns-update
doc: update the rados namespace docs

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2017-08-01 08:39:18 -05:00
Sage Weil
0afffa5c58 Merge pull request #16611 from liewegas/wip-doc-health
doc/rados/operations/health-checks: osd section

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: John Spray <john.spray@redhat.com>
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
2017-08-01 08:26:24 -05:00
Sage Weil
dbb1dd33e6 doc/rados/operations/health-checks: add PG health check commentary
Include a link to pg-repair.rst, although there is no
content there yet.

Signed-off-by: Sage Weil <sage@redhat.com>
2017-08-01 09:25:42 -04:00
Sage Weil
6bac77e960 doc/rados/operations/health-checks: osd section
First paragraph: explain what the error means.

Second or later paragraph: describe steps to fix or mitigate.

Signed-off-by: Sage Weil <sage@redhat.com>
2017-08-01 09:25:41 -04:00
John Spray
fbf08b6868 doc: document config help command
Signed-off-by: John Spray <john.spray@redhat.com>
2017-08-01 13:38:27 +01:00
Kefu Chai
2670d244fd doc: various fixes
- radosgw/s3/bucketops.rst: fix Malformed table.
- operations/health-checks.rst: Title underline too short
- rbd/rados-rbd-cmds.rst: Title underline too short
- rados/operations/index.rst: include health-checks in toc

Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-08-01 17:31:36 +08:00
J. Eric Ivancich
81d3def3c2 doc: Describe mClock's use within Ceph in great detail.
It seems many are initially unclear as to how the current
implementations of mclock op queues work, so we need to document it to
avoid confusion.

Signed-off-by: J. Eric Ivancich <ivancich@redhat.com>
2017-07-31 13:20:31 -04:00
John Spray
cbd2e303e9 doc: update client.admin key refs to "mds 'allow'"
This is more correctly "mds 'allow *'".

In the RADOS user management page, refer the user
to the cephfs client auth docs, rather than attempting
to explain MDS cap syntax inline.

Signed-off-by: John Spray <john.spray@redhat.com>
2017-07-31 11:58:29 +01:00
Sage Weil
c3c2b31c87 Merge pull request #16568 from liewegas/wip-application-warn
qa,doc: document and fix tests for pool application warnings
2017-07-28 09:00:46 -05:00
Gregory Farnum
ba03ab92a8 Merge pull request #16629 from johnwilkins/wip-doc-remove-contractions
Remove contractions from the documentation.

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2017-07-27 10:49:38 -07:00
John Wilkins
6640837da3 doc/rados: Removed contractions to improve readabilty for ESL speakers.
Signed-off-by: John Wilkins <jowilkin@redhat.com>
2017-07-27 09:46:53 -07:00
Kefu Chai
35f332871d doc: remove docs on non-existant command
also use "tab" to indent command snippet to be more consistent.

Signed-off-by: Luo Kexue <luo.kexue@zte.com.cn>
2017-07-27 11:57:54 +08:00
xie xingguo
15085fcf72 doc/rados/operations/crush-map: s/die/dice/
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2017-07-26 22:43:04 +08:00
Abhishek Lekshmanan
4a3c8278e1 doc: update the rados namespace docs
Since last update was as of firefly and we use namespaces in RGW

Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
2017-07-26 15:43:09 +02:00
Sage Weil
705676797a Merge pull request #16552 from tchaikov/wip-doc-fixes
doc: document mClock related options

Reviewed-by: Sage Weil <sage@redhat.com>
2017-07-25 21:48:12 -05:00
Sage Weil
172d8f545c doc/rados/operations/health-checks: document new health warning
Signed-off-by: Sage Weil <sage@redhat.com>
2017-07-25 22:29:08 -04:00
Sage Weil
4c2b8f29d5 Merge pull request #16566 from jcsp/wip-doc-health
doc/rados: add page for health checks and update monitoring.rst

Reviewed-by: Sage Weil <sage@redhat.com>
2017-07-25 09:36:49 -05:00
John Spray
5bf942570a doc/rados: add page for health checks and update monitoring.rst
Signed-off-by: John Spray <john.spray@redhat.com>
2017-07-25 15:13:02 +01:00
Kefu Chai
6ee0de8556 doc: document mClock related options
* rados/configuration/osd-config-ref.rst: document mClock related
  options
* release-notes.rst: fix syntax errors. link QoS to mClock related docs.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-07-25 12:59:13 +08:00
Sage Weil
126cf70c85 Merge pull request #16437 from tchaikov/wip-doc-fixes
doc: update ceph(8) man page with new sub-commands

Reviewed-by: Sage Weil <sage@redhat.com>
2017-07-24 11:02:54 -05:00
Sage Weil
29549e6834 Merge pull request #13723 from ovh/bp-forced-recovery
osd/PG: make prioritized recovery possible

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2017-07-24 09:01:03 -05:00
Sage Weil
fc8374b472 Merge pull request #16326 from liewegas/wip-weight-set
crush,mon: add weight-set introspection and manipulation commands

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
Reviewed-by: Ilya Dryomov <idryomov@redhat.com
2017-07-24 08:27:06 -05:00
Kefu Chai
fa36dc3e55 Merge pull request #16503 from renhwztetecs/renhw-wip-mon-rebuild-doc
doc/mon: fix ceph-authtool command in rebuild mon's sample

Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-07-24 19:39:44 +08:00
Kefu Chai
e7e58277a6 doc/rados/operations/add-or-rm-osds: fix dead hyper link
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-07-24 18:16:25 +08:00
huanwen ren
f4dd2801ca doc/mon: fix ceph-authtool create keyring
if use "ceph-authtool keyring -n mon. --cap mon allow 'allow *'"
as err:
[root]# ceph-authtool keyring -n mon. --cap mon allow 'allow *'
ceph-authtool: unexpected 'allow *'

Excessive "allow" is the cause of the error

Signed-off-by huanwen ren <ren.huanwen@zte.com.cn>
2017-07-24 17:00:10 +08:00
Jason Dillaman
7f1b1dc38a doc: include details for new RBD cap profiles
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2017-07-21 14:30:18 -04:00
Sage Weil
05d191ce3f doc/rados/operations/crush-map: creating rules
Signed-off-by: Sage Weil <sage@redhat.com>
2017-07-21 13:50:56 -04:00
Sage Weil
1bc77d65af doc/rados/operations/crush-map: document weight set commands
Signed-off-by: Sage Weil <sage@redhat.com>
2017-07-21 13:50:56 -04:00
Sage Weil
2e8afd16a9 doc/rados/operations/crush-map*: restructure and clean up
Signed-off-by: Sage Weil <sage@redhat.com>
2017-07-21 13:50:56 -04:00
Sage Weil
dc0f73d9c5 doc/rados/operations/crush-map: warn off manual crush map edits
Signed-off-by: Sage Weil <sage@redhat.com>
2017-07-21 13:50:56 -04:00
Sage Weil
3530cd7bce doc/rados/operations/crush-map: update crush location section
Fix various inaccuracies, simplify.

Signed-off-by: Sage Weil <sage@redhat.com>
2017-07-21 13:50:56 -04:00
Sage Weil
e84f20209f doc/rados/operations/crush-map: prune intro
Signed-off-by: Sage Weil <sage@redhat.com>
2017-07-21 13:50:55 -04:00
Kefu Chai
41c59530c1 Merge pull request #16328 from neha-ojha/recovery_sleep_default
osd: Add recovery sleep configuration option for HDDs and SSDs

Reviewed-by: Sage Weil <sage@redhat.com>
2017-07-21 16:55:02 +08:00
Sage Weil
3de9f22ce0 Merge pull request #16423 from liewegas/wip-ls
mon: '* list' -> '* ls'

Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-07-20 10:43:34 -05:00
Piotr Dałek
3fea25e1f5 doc: document new force-recovery/force-backfill commands
Documentation for new pg force-recovery, pg force-backfill,
pg-cancel-force-recovery and pg-cancel-force-backfill.

Signed-off-by: Piotr Dałek <piotr.dalek@corp.ovh.com>
2017-07-20 09:35:54 +02:00
Neha Ojha
70f11d2644 doc: update osd recovery sleep description
Signed-off-by: Neha Ojha <nojha@redhat.com>
2017-07-19 14:14:42 -07:00
Neha Ojha
cef6e044e7 doc: add osd recovery sleep for HDDs and SSDs
Signed-off-by: Neha Ojha <nojha@redhat.com>
2017-07-19 11:51:21 -07:00
Jason Dillaman
878d0b0c3f doc: document pool tags in rados pool operations doc
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2017-07-19 13:13:01 -04:00
Sage Weil
572a942f8f mon: 'auth list' -> 'auth ls'
Signed-off-by: Sage Weil <sage@redhat.com>
2017-07-19 12:33:14 -04:00
Kefu Chai
a0d935966c doc: add instructions for replacing an OSD
* 8/ceph.rst: `rm` subcommand removes osd from osdmap, not the cluster.
  the latter is more ambiguous in different contexts.
* rados/operations/add-or-rm-osds.rst: add a subsection of "Replacing an
  OSD". update the subsection of "Removing the OSD" with "ceph osd
  purge" command
* release-notes.rst: link from it to the new subsection in add-or-rm-osds.rst

Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-07-19 11:23:47 +08:00
Kefu Chai
0abee472e3 mon: add force-create-pg back
and now it's "ceph osd force-create-pg'

Fixes: http://tracker.ceph.com/issues/20605
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-07-17 21:18:06 +08:00
Bassam Tabbara
c0dc20533b docs: add docs for public_bind_addr
Signed-off-by: Bassam Tabbara <bassam.tabbara@quantum.com>
2017-07-14 10:41:49 -07:00
Sage Weil
8b21c6b6fd Merge pull request #16027 from liewegas/wip-crush-rule-class
mon,crush: create crush rules using device classes for replicated and ec pools via cli

Reviewed-by: Loic Dachary <ldachary@redhat.com>
2017-07-08 21:34:13 -05:00
Sage Weil
5d71220838 Merge pull request #16198 from tchaikov/wip-doc-fixes
doc: kill sphinx warnings
2017-07-07 21:39:19 -05:00
Josh Durgin
5cc892166f Merge pull request #15689 from jdurgin/wip-filestore-rand-split
os/filestore/HashIndex: randomize split threshold by a configurable amount

Reviewed-by: Sage Weil <sage@redhat.com>
2017-07-07 15:18:49 -07:00
Kefu Chai
254e07441c doc: kill sphinx warnings
* doc/release-notes.rst: escape asterisks not used for inline emphasis
    fix bad hyper links
* doc/rados/troubleshooting/troubleshooting-osd.rst: escape asterisks
    not used for inline emphasis
* doc/radosgw/index.rst: add orphan docs to toc
* doc/dev/perf_histograms.rst: indent block quote
* doc/install/manual-freebsd-deployment.rst: fix block quotes
* doc/mgr/administrator.rst: escape asterisks not used for inline emphasis
* doc/start/quick-rbd.rst: add missing hyper link target

Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-07-07 11:50:33 +08:00
Sage Weil
dc7a2aaf7a erasure-code: ruleset-* -> crush-*
1) ruleset is an obsolete term, and
2) crush-{rule,failure-domain,...} is more descriptive.

Note that we are changing the names of the erasure code profile keys
from ruleset-* to crush-*.  We will update this on upgrade when the
luminous flag is set, but that means that during mon upgrade you cannot
create EC pools that use these fields.

When the upgrade completes (users sets require_osd_release = luminous)
existing ec profiles are updated automatically.

Signed-off-by: Sage Weil <sage@redhat.com>
2017-07-06 15:01:03 -04:00
Kefu Chai
4fd72b48c4 Merge pull request #15964 from tchaikov/wip-5249
mon/MonClient: respect the priority in SRV RR

Reviewed-by: Gregory Farnum <gfarnum@redhat.com>
2017-07-05 18:48:29 +08:00
Sage Weil
0346998b5a doc: recommend against btrfs
Signed-off-by: Sage Weil <sage@redhat.com>
2017-06-30 13:54:18 -04:00
Kefu Chai
42c822dccf doc: update with "mon priority" related changes
* doc/rados/configuration/mon-lookup-dns.rst
  we now partially support RFC2782: only the targets with the lowest
  value are selected
* doc/rados/configuration/network-config-ref.rst
  update with "mon priority" option in "[mon.$id]" section

Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-06-29 13:55:21 +08:00
Greg Farnum
51838305a2 osdmap: do not automatically create an rbd pool on cluster creation; skip pool 0
We don't use pool ID 0 any more because CephFS can't handle it.
Update the user quick-start to include it, and add some links to support that process.
Fix the tests to handle the new state of life.

Signed-off-by: Greg Farnum <gfarnum@redhat.com>
2017-06-28 10:52:49 -04:00
Sage Weil
fe4d15191d Merge pull request #15874 from elliswuuuuuuuu/remove_unuse_config
common/config_opt: remove unused config

Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-06-27 10:22:42 -05:00
Sage Weil
8f44e6f69a doc/start/os-recommendations: update
Signed-off-by: Sage Weil <sage@redhat.com>
2017-06-23 10:36:19 -04:00
wujian
75e56c4c5d common/config_opt: remove unused config
Signed-off-by: alex.wu <wujian3659@163.com>
2017-06-23 05:41:28 +08:00
Sage Weil
6743fb203c Merge pull request #15676 from Linbing/wip-mon-delete-unused-config
mon: delete unused config opts of mon_sync_fs_threshold

Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-06-19 22:37:58 -05:00
Sage Weil
368ff5e4aa Merge pull request #15697 from gregsfortytwo/wip-mgr-eaccss-20296
mgr: print a more helpful error message for when users lack mgr ceph caps

Reviewed-by: Alfredo Deza <adeza@redhat.com>
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
2017-06-19 22:34:35 -05:00
Greg Farnum
6846f4830c mgr: print a more helpful error message for when users lack mgr cephx caps
Add some brief documentation on updating their caps and link to it.

Fixes: http://tracker.ceph.com/issues/20296

Signed-off-by: Greg Farnum <gfarnum@redhat.com>
2017-06-16 18:41:10 -07:00
Josh Durgin
78d0b278a6 HashIndex: randomize split threshold by a configurable amount
Store a random value up to the filestore_split_rand_factor for each
collection when it is created or apply-layout-settings is run. This
should help distribute the load of splitting directories across a
longer period of time.

Fixes: http://tracker.ceph.com/issues/15835
Signed-off-by: Josh Durgin <jdurgin@redhat.com>
2017-06-15 06:12:19 -07:00
Greg Farnum
bc2bfef7fe doc: describe mark_events logging available via the OSD's OpTracker
Signed-off-by: Greg Farnum <gfarnum@redhat.com>
2017-06-14 13:27:24 -07:00
linbing
7fc78257c3 mon: delete unused config opts of mon_sync_fs_threshold and remove it in mon-config-ref
Signed-off-by: linbing <linbing@t2cloud.net>
2017-06-14 13:20:22 +08:00
Leo Zhang
3c1eb63cb9 doc: remove some non-existent and fix the default value according to source code
Signed-off-by: Leo Zhang <nguzcf@gmail.com>
2017-06-13 19:57:07 +08:00
Kefu Chai
630010fdba Merge pull request #15566 from baruza/wip-doc-20199
doc: Change the default values of some OSD options

Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-06-08 23:10:51 +08:00
Barbora Ančincová
706de54d63 doc: Change the default values of some OSD options
These values were changed to reflect this change a3f9cba

Fixes: http://tracker.ceph.com/issues/20199
Signed-off-by: Bara Ancincova <bara@redhat.com>
2017-06-08 11:49:37 +02:00
liuchang0812
998ee1d190 doc: kill some broken links
Signed-off-by: liuchang0812 <liuchang0812@gmail.com>
2017-06-07 16:13:45 +08:00
Sage Weil
8bcf3e5781 Merge pull request #15212 from neha-ojha/wip-fix-recovery-sleep-configurable
osd: Implement asynchronous recovery sleep

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2017-06-01 11:54:58 -05:00
Neha Ojha
a8cad41908 doc: add description about osd_recovery_sleep
Signed-off-by: Neha Ojha <nojha@redhat.com>
2017-05-24 17:02:53 -07:00
Ken Dreyer
87d47b0dfa docs: document "osd recovery max single start" setting
Fixes: http://tracker.ceph.com/issues/17396
Signed-off-by: Ken Dreyer <kdreyer@redhat.com>
2017-05-24 14:41:17 -06:00
Sage Weil
790ceff325 Merge pull request #15144 from drunkard/master
doc: typo fixes on hyperlink/words 

Reviewed-by: Sage Weil <sage@redhat.com>
2017-05-19 13:03:45 -05:00
Drunkard Zhang
58ba14e2fd doc: hyperlink fixes
Signed-off-by: Drunkard Zhang <gongfan193@gmail.com>
2017-05-19 09:41:33 +08:00
Drunkard Zhang
5e3ae6d9d3 doc: typo fixes
Signed-off-by: Drunkard Zhang <gongfan193@gmail.com>
2017-05-19 09:34:48 +08:00
Kefu Chai
6f7b339d27 Merge pull request #15143 from minshenglin/fix_broken_link
doc: fix broken link in erasure-code.rst

Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-05-18 15:40:26 +08:00
MinSheng Lin
e86cef3134 doc: fix broken link in erasure-code.rst
Fixes: http://tracker.ceph.com/issues/19972
Signed-off-by: MinSheng Lin <minsheng.l@inwinstack.com>
2017-05-18 09:48:07 +08:00
John Wilkins
3b943b49e8 Merge pull request #15032 from tchaikov/wip-doc-opts
doc: add descriptions for mon/mgr options

Reviewed-by: John Wilkins <jowilkin@redhat.com>
2017-05-17 08:04:29 -07:00
Kefu Chai
4b52a03859 doc: add descriptions for mon/mgr options
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-05-13 01:30:29 +08:00
Patrick Donnelly
bdf1a7a943
mds: use debug_mds for most subsys
DOUT_COND was obsoleted by f41887e38d.

Balancer and Mantle use a dout hack to continue working since we will probably
specifically want very verbose balancer output in the future.

Fixes: http://tracker.ceph.com/issues/19734

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2017-05-11 10:49:54 -04:00
Yuri Weinstein
1cce4c7f68 Merge pull request #14723 from neha-ojha/objclass-sdk
osd: objclass sdk

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-05-03 09:28:59 -07:00
Neha Ojha
b7215b025a objclass-sdk: create SDK for Ceph object classes
Creates an installable version of "src/include/rados/objclass.h" that allows
object classes to be built outside of the Ceph tree. cls_sdk is an example
of such an object class.

Signed-off-by: Neha Ojha <nojha@redhat.com>
2017-04-27 13:05:53 -07:00
Sage Weil
1919297826 Merge pull request #14494 from drunkard/master
doc: two minor fixes
2017-04-25 12:11:03 -05:00
Josh Durgin
bad606605a doc: update ec docs for overwrite support
Signed-off-by: Josh Durgin <jdurgin@redhat.com>
2017-04-19 17:45:43 -07:00
Josh Durgin
930eae214c OSDMonitor: get stripe_width via stripe_unit in ec profile
With bluestore, making the smallest write match min_alloc_size avoids
write amplification. With EC pools this is the stripe unit, or
stripe_width / num_data_chunks. Rather than requiring people to divide
by k to get the smallest ec write, allow it to be specified directly
via stripe_unit. Store it in the ec profile so changing a monitor
config option isn't necessary to set it.

This is particularly important for ec overwrites since they allow random i/o
which should match bluestore's checksum granularity (aka min_alloc_size).

Signed-off-by: Josh Durgin <jdurgin@redhat.com>
2017-04-19 17:45:43 -07:00
David Zafman
2522307865 mon, osd: Add detailed full information for now in the mon
Show ceph health doc output in the correct order

Signed-off-by: David Zafman <dzafman@redhat.com>
2017-04-17 08:02:50 -07:00
David Zafman
a5731076ad osd: Handle backfillfull_ratio just like nearfull and full
Add BACKFILLFULL as a local OSD cur_state
Notify monitor of this new fullness state

Signed-off-by: David Zafman <dzafman@redhat.com>
2017-04-17 08:00:24 -07:00
David Zafman
79a4ac41c5 common: Remove unused config option osd_recovery_threads
Signed-off-by: David Zafman <dzafman@redhat.com>
2017-04-17 07:58:30 -07:00
Drunkard Zhang
3c70331d6b doc: indent style fixes
Signed-off-by: Drunkard Zhang <gongfan193@gmail.com>
2017-04-13 12:51:44 +08:00
Sage Weil
b841ab2592 Merge pull request #14419 from badone/wip-doc-pg-states-min_size
docs: Clarify the relationship of min_size to EC pool recovery

Reviewed-by: Sage Weil <sage@redhat.com>
2017-04-11 21:10:35 -05:00
Patrick Dinnen
c5931484c9 doc: correct arguments for ceph tell osd.N bench
Signed-off-by: Patrick Dinnen pdinnen@gmail.com
2017-04-11 15:57:11 -04:00
Brad Hubbard
ac6123d7a6 docs: Clarify the relationship of min_size to EC pool recovery
Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
2017-04-10 15:14:20 +10:00
Sage Weil
da51861d71 Merge pull request #14199 from andihit/doc-update-default-osd-op-thread-timeout
doc: change osd_op_thread_timeout default value to 15

Reviewed-by: Sage Weil <sage@redhat.com>
2017-03-28 21:26:08 -05:00
Andreas Gerstmayr
d5b9e281d0 doc: change osd_op_thread_timeout default value to 15
Signed-off-by: Andreas Gerstmayr <andreas.gerstmayr@catalysts.cc>
2017-03-28 18:00:28 +02:00
Sven Seeberg
804134a2bf renamed hit_set_grade_search_last_n to hit_set_search_last_n
Signed-off-by: Sven Seeberg <sseebergelverfeldt@suse.com>
2017-03-24 10:25:06 +01:00
Kefu Chai
3ffa869af2 Merge pull request #13942 from xiexingguo/wip-cleanup-proc-repinfo
osd/PG: conditionally retry on receiving pg-notify when Primary is Incomplete

Reviewed-by: Sage Weil <sage@redhat.com>
2017-03-22 23:57:13 +08:00
Kefu Chai
b935248197 Merge pull request #13997 from tchaikov/wip-doc-fixings
doc:  fixes to silence sphinx-build

Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
2017-03-21 11:46:12 +08:00
Kefu Chai
35ae186059 Merge pull request #14007 from badone/wip-api-doc-code-fixes
docs: Fix problems with example code

Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-03-20 12:12:28 +08:00
xie xingguo
18c83bb97e osd/PG: kill PG_STATE_REPLAY
This replay state of PG is not functionable and
hence should not be made visible to user.

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2017-03-20 10:24:25 +08:00
Brad Hubbard
ccdb61b349 docs: Fix problems with example code
Current code generates warnings and, in some cases, doesn't compile.

Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
2017-03-17 16:12:41 +10:00
Kefu Chai
f2499ad502 Merge pull request #13930 from drunkard/master
doc: fix a typo

Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-03-16 23:05:42 +08:00
Kefu Chai
74a84e9be3 doc: indent :maxdepth: using spaces in toc
* indent :maxdepth: directive properly, otherwise sphinx complains
   index.rst:45: WARNING: toctree contains reference to nonexisting
   document u'rados/configuration/    :maxdepth: 1'
* also reindent the entries in toc, so we can add paths without
  documenting their titles. because otherwise the paths inclues an extra
  space, without the proper indent.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-03-16 16:39:40 +08:00
Kefu Chai
39bc4ee7c5 doc/rados: fix sphinx warning
silences follow warning:

network-config-ref.rst:373: WARNING: Field list ends without a blank line; unexpected unindent.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-03-16 16:39:40 +08:00
Drunkard Zhang
33290a4f48 doc: typo fix in rados/operations/crush-map
Signed-off-by: Drunkard Zhang <gongfan193@gmail.com>
2017-03-16 14:40:31 +08:00
Kefu Chai
bd36f13163 doc: fix the links to http://ceph.com/docs
they should point to http://docs.ceph.com/docs/master/.. instead

Fixes: http://tracker.ceph.com/issues/19090
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-03-15 16:40:07 +08:00
Loic Dachary
759032288c Merge pull request #13444 from dachary/wip-18943-device-class
crush: add devices class that rules can use as a filter

Reviewed-by: Sage Weil <sage@redhat.com>
2017-03-08 13:16:49 +01:00
David Zafman
4536da78cf Merge pull request #13425 from dzafman/wip-15912
osd: various changes for preventing internal ENOSPC condition

Reviewed-by: Sage Weil <sage@redhat.com>
2017-03-06 10:49:01 -08:00
Loic Dachary
154f3d3d27 crush: document the class qualifier
The class qualifier is documented for devices and step take
only. Although it shows in the buckets and could be set by the user, it
would be very error prone to do so.

Refs: http://tracker.ceph.com/issues/18943

Signed-off-by: Loic Dachary <ldachary@redhat.com>
2017-03-01 17:24:09 +01:00
Drunkard Zhang
7ddf1f2018 doc: remove dead doc from index
Signed-off-by: Drunkard Zhang <gongfan193@gmail.com>
2017-03-01 09:52:10 +08:00
Kefu Chai
0d858b9789 doc: document osd-agent-{max,low}-ops options
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-02-26 11:12:22 +08:00
David Zafman
830cc7aa7b mon: Bump min in ratio to 75%
Signed-off-by: David Zafman <dzafman@redhat.com>
2017-02-24 13:02:00 -08:00
Barbora Ančincová
2918439f57 doc: remove mentions about mon_osd_min_down_reports
Fixes: http://tracker.ceph.com/issues/19016
Signed-off-by: Bara Ancincova (bara@redhat.com)
2017-02-21 13:43:03 +01:00
Kefu Chai
df98e8be44 Merge pull request #13317 from ktdreyer/wip-doc-ms-bind-ipv6-exclusive
doc: clarify that "ms bind ipv6" disables IPv4

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Kefu Chai <kefu@redhat.com>
2017-02-15 17:45:54 +08:00
Kefu Chai
1556a07cf1 doc: remove duplicated references
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-02-14 00:19:54 +08:00
Sage Weil
9c881e99f4 Merge pull request #12923 from liewegas/wip-df-avail
mon/PGMap: factor mon_osd_full_ratio into MAX AVAIL calc

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2017-02-08 20:51:46 -06:00
Ken Dreyer
38c216fbf0 doc: clarify that "ms bind ipv6" disables IPv4
This was sort of described in doc/rados/configuration/ms-ref.rst
already. Add the same information to the other areas where we talk about
the ms bind ipv6 setting.

Signed-off-by: Ken Dreyer <kdreyer@redhat.com>
2017-02-08 10:31:15 -07:00
Sage Weil
93bbc1e4bd Merge pull request #9396 from songbaisen/doc2
doc: fix the librados c api can not compile problem

Reviewed-by: Sage Weil <sage@redhat.com>
2017-02-03 16:24:59 -06:00
Sage Weil
f223ac9291 mon/PGMap: factor mon_osd_full_ratio into MAX AVAIL calc
If we only fill OSDs to 95%, we should factor that into
the MAX AVAIL calculation for the pool.

Fixes: http://tracker.ceph.com/issues/18522
Signed-off-by: Sage Weil <sage@redhat.com>
2017-02-03 10:08:33 -05:00
Wido den Hollander
f42afa828b
doc: Document that osd_heartbeat_grace applies to MON and OSD
This value has to be set in both the [mon] and [osd] section since
both daemons read this value.

Signed-off-by: Wido den Hollander <wido@42on.com>
2017-01-30 10:04:52 +01:00
Kefu Chai
7e93bf53ce Merge pull request #12936 from badone/wip-pg-states-doc-fix
doc: min_size advice is not helpful

Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-01-16 14:52:38 +08:00