Commit Graph

889 Commits

Author SHA1 Message Date
Alfredo Deza
0cc7bdc67a doc/rados add an anchor to reference replacing osds
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-05-08 15:23:31 -04:00
John Spray
5865b0cbec
Merge pull request #21520 from jan--f/doc-fix-pg-state-names
doc/rados/operations/pg-states: fix PG state names

Reviewed-by: John Spray <john.spray@redhat.com>
2018-05-04 10:57:47 +01:00
Jan Fajerski
7f8b40fc46 doc/rados/operations/pg-states: fix PG state names
Change pg state names according to osd/osd_types.cc as this is what
ceph -s and the prometheus exporter will present to users.

Signed-off-by: Jan Fajerski <jfajerski@suse.com>
2018-05-04 08:47:12 +02:00
Dirk Sarpe
6f1701d432 doc: fix error in osd scrub load threshold
OSD::scrub_load_below_threshold divides the 1 min load by the number of
online cpus.  The documentation said it would use the load without
division by number of cpus.

Signed-off-by: Dirk Sarpe <dirk.sarpe@idiv.de>
2018-04-26 16:48:39 +02:00
Nathan Cutler
fd32bcf9ef
Merge pull request #21268 from smithfarm/wip-doc-config-ceph
doc: some improvements to ceph-conf.rst

Reviewed-by: Lenz Grimmer <lgrimmer@suse.com>
Reviewed-by: John Spray <john.spray@redhat.com>
2018-04-12 13:25:54 +02:00
Sage Weil
68446cce8f
Merge pull request #21102 from trociny/wip-23487
mon: add  'ceph osd pool get erasure allow_ec_overwrites' command

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2018-04-11 10:49:09 -05:00
David Zafman
60ae2b8eb3 osd rados command: Show snapset in list-inconsistent-snapset
Add SnapSet bufferlist to inconsistent_snapset_t

Partial fix for http://tracker.ceph.com/issues/23428

Signed-off-by: David Zafman <dzafman@redhat.com>
2018-04-10 13:51:48 -07:00
David Zafman
007cb45fe5 osd rados command: Change error name snapset_mismatch to snapset_error
Signed-off-by: David Zafman <dzafman@redhat.com>
2018-04-10 13:26:08 -07:00
David Zafman
0a8ed0b94b osd: Without snapdir we don't have a head mismatch error anymore
Signed-off-by: David Zafman <dzafman@redhat.com>
2018-04-10 13:26:08 -07:00
David Zafman
982509514c osd rados command: list-inconsistent-obj attribute improvements
System attributes shown as "object_info", "snapset" and "hashinfo"
Only output user attributes as "attrs"
	Drop leading undescore "_" for user attribute keys
Improve logic as to when to show user attributes or specific system attributes

Signed-off-by: David Zafman <dzafman@redhat.com>
2018-04-10 13:26:08 -07:00
David Zafman
01687b052f osd rados command: Change "oi" to "info" in scrub handling errors
data_digest_mismatch_oi -> data_digest_mismatch_info
omap_digest_mismatch_oi -> omap_digest_mismatch_info
size_mismatch_oi -> size_mismatch_info
obj_size_oi_mismatch -> obj_size_info_mismatch

Signed-off-by: David Zafman <dzafman@redhat.com>
2018-04-10 13:26:08 -07:00
David Zafman
273f6213ea osd rados command: Change "oi_attr" to "info" in scrub handling errors
oi_attr_missing -> info_missing
oi_attr_corrupted -> info_corrupted

Signed-off-by: David Zafman <dzafman@redhat.com>
2018-04-10 13:26:08 -07:00
David Zafman
bec67e3d40 osd rados command: Rename ss_attr_missing/ss_attr_corrupted to snapset_missing/snapset_corrupted
Signed-off-by: David Zafman <dzafman@redhat.com>
2018-04-10 13:26:08 -07:00
David Zafman
d713c7dad0 osd rados command: Improve scrub handling of HashInfo (hinfo_key xattr)
Fixes: http://tracker.ceph.com/issues/23364

Signed-off-by: David Zafman <dzafman@redhat.com>
2018-04-10 13:26:08 -07:00
Jianpeng Ma
59f69643c7 doc: remove unused config: "osd op threads"
This option already removed.

Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
2018-04-10 05:39:59 +08:00
Nathan Cutler
97fb840c2c doc: ceph-conf: eliminate duplicate verbiage
The "Config file section names" section was duplicating some of the content
that is now covered better by the "Configuration sections" section.

Signed-off-by: Nathan Cutler <ncutler@suse.com>
2018-04-06 18:48:09 +02:00
Sage Weil
577737d007 osd: osd_mon_report_interval_min -> osd_mon_report_interval, kill _max
The _max isn't used.  Drop the _min suffix.

Signed-off-by: Sage Weil <sage@redhat.com>
2018-04-06 11:00:14 -05:00
Nathan Cutler
b5de809fbb doc: ceph-conf: RGW configuration goes in "client" section
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2018-04-06 09:42:42 +02:00
Mykola Golub
ce561ea204 mon: add 'ceph osd pool get erasure allow_ec_overwrites' command
Fixes: https://tracker.ceph.com/issues/23487
Signed-off-by: Mykola Golub <mgolub@suse.com>
2018-03-28 21:21:04 +03:00
Sage Weil
5ddc551516 doc/rados/configuration: big update
- remove a bunch of outdated info
- update to reflect new monitor-based configuration
- move a bunch of common settings to another document/page

Signed-off-by: Sage Weil <sage@redhat.com>
2018-03-06 14:44:49 -06:00
Nathan Cutler
233fe8338e
Merge pull request #17530 from smithfarm/wip-21264
tools: cleanup: rip out ceph-rest-api

Reviewed-by: Ken Dreyer <kdreyer@redhat.com>
Reviewed-by: John Spray <john.spray@redhat.com>
2018-03-06 15:22:20 +01:00
Sage Weil
f4bb81553c Merge PR #20688 into wip-sage-testing-20180306.131906
* refs/pull/20688/head:
	doc: Drop the output of pg query
	doc: Update Monitoring OSDs and PGs

Reviewed-by: Lenz Grimmer <lgrimmer@suse.com>
Reviewed-by: Sage Weil <sage@redhat.com>
2018-03-06 07:19:46 -06:00
Nathan Cutler
495742f7dd tools: cleanup: rip out ceph-rest-api
Obsoleted by the mgr REST API.

Fixes: http://tracker.ceph.com/issues/21264
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2018-03-05 22:01:51 +01:00
Francois Deppierraz
25edd6115a Doc: Fix typo s/applicatoin/application/
Signed-off-by: Francois Deppierraz <francois@ctrlaltdel.ch>
2018-03-05 15:44:19 +01:00
Jos Collin
afe657c2fe doc: Drop the output of pg query
Drop the output of pg query from the doc, as it is:
   * Very old. The doc has only one-fourth of the latest 'pg query' output.
   * Updating the latest 'pg query' output in the doc would be huge.
   * too difficult to maintain it in the doc and make it sync with the changes of the actual 'pg query' output.

However, we can insert parts of the output in the doc if necessary.

Signed-off-by: Jos Collin <jcollin@redhat.com>
2018-03-05 18:16:43 +05:30
Alfredo Deza
cf65a91acf
Merge pull request #20673 from ceph/wip-rm23148
docs fix ceph-volume missing sub-commands

Reviewed-by: Andrew Schoen <aschoen@redhat.com>
2018-03-02 09:49:30 -05:00
Jos Collin
eb290eebbd doc: Update Monitoring OSDs and PGs
Updated 'Monitoring OSDs and PGs' doc with:
* Latest command output
* misc doc fixes

Signed-off-by: Jos Collin <jcollin@redhat.com>
2018-03-02 18:31:32 +05:30
Alfredo Deza
1c846f3389 doc/rados add missing lvm subcommand for ceph-volume
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-03-01 14:21:05 -05:00
Patrick Donnelly
a276c7097e
doc: init flags to 0 in rados example
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2018-03-01 07:02:00 -08:00
Jos Collin
5542338eb9 doc: Update monitoring.rst
Updated monitoring.rst with
	* Latest command output
	* misc doc fixes

Signed-off-by: Jos Collin <jcollin@redhat.com>
2018-03-01 10:15:18 +05:30
Patrick Donnelly
b956579ac7
doc: cleanup erasure coded pool doc on cephfs use
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2018-02-23 14:43:50 -08:00
Sage Weil
15e537e418
Merge pull request #20504 from dzafman/wip-pg-states-doc
doc: Add missing pg states from doc

Reviewed-by: Sage Weil <sage@redhat.com>
2018-02-23 06:25:18 -06:00
Alfredo Deza
cc796073b6 doc/rados/troubleshooting update ceph-deploy references with new ceph-voume API
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-02-22 08:19:56 -05:00
Alfredo Deza
c957c70f48 doc/rados/deployment update ceph-deploy references with new ceph-volume API
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-02-22 08:19:56 -05:00
David Zafman
058d8b007d doc: Add missing pg states from doc
Signed-off-by: David Zafman <dzafman@redhat.com>
2018-02-20 14:44:56 -08:00
David Zafman
33e747724a osd: Add new snapset_inconsistency error check
Includes new test case

Caused by: 5f58301a13
This changed attr consistency checking to exclude system keys,
which required snapset to be handled just like object info.

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

Signed-off-by: David Zafman <dzafman@redhat.com>
2018-02-15 09:03:49 -08:00
Nathan Cutler
2855c30cdf doc: log-and-debug: fix default value of "log max recent"
Doc says 1000000, but the real figure is two orders of magnitude less:

    Option("log_max_recent", Option::TYPE_INT, Option::LEVEL_ADVANCED)
      .set_default(500)
      .set_daemon_default(10000)

Signed-off-by: Nathan Cutler <ncutler@suse.com>
2018-02-05 13:53:05 +01:00
Kefu Chai
8c2037effa doc: update mgr related auth settings
Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-01-26 15:24:47 +08:00
John Spray
191cce74e1 doc: note new mgr module error codes
Signed-off-by: John Spray <john.spray@redhat.com>
2018-01-24 13:08:21 -05:00
Sage Weil
c4a7881876
Merge pull request #19881 from liewegas/wip-kill-crush-location
ceph-crush-location: remove

Reviewed-by: Wido den Hollander <wido@widodh.nl>
2018-01-11 15:48:29 -06:00
Adam Wolfe Gordon
75d6b377fb doc: Update config file search paths to reflect reality
The config file paths listed in the docs don't match the config file
paths actually searched by ceph (see `src/common/config.cc`). Update the
docs to reflect the current reality.

Signed-off-by: Adam Wolfe Gordon <awg@digitalocean.com>
2018-01-09 23:07:53 +00:00
Sage Weil
3904bc0187 doc/rados/operations/crush-map: drop ceph-crush-location reference
Explain how to write a location hook; do not reference the old sample one.

Signed-off-by: Sage Weil <sage@redhat.com>
2018-01-09 16:35:04 -06:00
Jason Dillaman
f691ad1b93 doc/rados: document new class method whitelisting cap syntax
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2018-01-04 16:56:51 -05:00
Jason Dillaman
5e659a63e0
Merge pull request #19659 from Songweibin/wip-doc-rbd
doc/rbd: add missing several commands in rbd CLI man page

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2018-01-02 11:09:58 -05:00
Alexey Stupnikov
e19b0cd66a doc: Improve parameters description in cache_tiering article
hit_set parameters aren't described in a sequence they introduced.
This patch effecrively changes the sequence to improve
description's logic.

Signed-off-by: Alexey Stupnikov <aleksey.stupnikov@gmail.com>
2017-12-27 13:26:18 +03:00
songweibin
dd826a4daf rbd: add missing right parenthesis and fix typo
Signed-off-by: songweibin <song.weibin@zte.com.cn>
2017-12-24 09:21:09 +08:00
John Spray
91655239fa
Merge pull request #19114 from tchaikov/wip-rm-request-slow
mgr/PGMap: drop REQUEST_{SLOW,STUCK} HEALTH_WARNs

Reviewed-by: John Spray <john.spray@redhat.com>
2017-12-13 11:46:34 +00:00
Nathan Cutler
aea9fa01ae doc: globally change CRUSH ruleset to CRUSH rule
Since kraken, Ceph enforces a 1:1 correspondence between CRUSH ruleset and
CRUSH rule, so effectively ruleset and rule are the same thing, although
the term "ruleset" still survives - notably in the CRUSH rule itself, where it
effectively denotes the number of the rule.

This commit updates the documentation to more faithfully reflect the current
state of the code.

Fixes: http://tracker.ceph.com/issues/20559
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2017-12-11 17:15:23 +01:00
Kefu Chai
5418c98fb7
Merge pull request #19307 from tchaikov/wip-drop-ubuntu-trusty
qa,doc: drop support of ubuntu trusty

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2017-12-05 20:31:58 +08:00
Alfredo Deza
96cd9bced9 doc/rados update user-management to use ceph-volume
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-12-04 09:51:12 -05:00