Commit Graph

646 Commits

Author SHA1 Message Date
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
Brad Hubbard
9549943761 doc: min_size advice is not helpful
When we are in the incomplete state adjusting min_size will not help with recovery.

Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
2017-01-16 12:36:33 +10:00
liuchang0812
bf334e61d8 doc: explain about logging levels
Signed-off-by: liuchang0812 <liuchang0812@gmail.com>
2017-01-13 20:16:25 +08:00
Kefu Chai
fa1f4cef68 doc: update troubleshooting-pg with scrub/repair feature
update rados/troubleshooting/troubleshooting-pg.rst with the
scrub/repair feature

Fixes: http://tracker.ceph.com/issues/15786
Signed-off-by: David Zafman <dzafman@redhat.com>
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-01-06 18:16:58 +08:00
Sage Weil
bc197d75cc Merge pull request #12451 from liewegas/wip-osd-on-applied
osd: never send rados ack (only commit)

Reviewed-by: Samuel Just <sjust@redhat.com>
2016-12-29 12:43:01 -06:00
Sage Weil
f518679a8c Merge pull request #12621 from fiskn/master
doc: Update disk thread section to reflect that scrubbing is no longe…
2016-12-29 11:17:57 -06:00
Sage Weil
63bb2b7d45 doc: remove crash_replay_interval mentions
Signed-off-by: Sage Weil <sage@redhat.com>
2016-12-29 10:30:08 -05:00
Kefu Chai
f3d453d872 Merge pull request #12662 from Liuchang0812/doc-fix
doc: fix document about rados mon

Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-12-27 21:09:06 +08:00
liuchang0812
52db747f32 doc: fix document about rados mon
Signed-off-by: liuchang0812 <liuchang0812@gmail.com>
2016-12-27 14:59:04 +08:00
Brad Hubbard
c51a3afe03 doc: Remove "splitting" state
There is no splitting state so remove it from pg-states.rst

Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
2016-12-23 09:23:19 +10:00
Nick Fisk
babcd9cd01 doc: Update disk thread section to reflect that scrubbing is no longer done in the disk thread. Add options for scrub and trim priority
Signed-off-by: Nick Fisk <nick@fisk.me.uk>
2016-12-22 10:42:14 +00:00
Brad Hubbard
e793376da8 doc: Modify documentation for mon_osd_down_out_interval
Update docs to reflect the new default of 600 set by 817d65bd4

Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
2016-12-09 18:02:41 +10:00
Kefu Chai
da9be4ce0a Merge pull request #12176 from ovh/wip-doc-osd-scrub-during-recovery-chunk-min-max-sleep
doc: Add doc about osd scrub {during recovery|chunk {min|max}| sleep}

Reviewed-by: Abhishek Lekshmanan <abhishek@suse.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-11-28 11:40:18 +08:00
Nathan Cutler
effc36c0d0 doc: we can now run multiple MDS, so qualify warning
Fixes: http://tracker.ceph.com/issues/18040
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2016-11-24 20:29:31 +01:00
Paweł Sadowski
71c03bc610 doc: Add doc about osd scrub {during recovery|chunk {min|max}| sleep}
Signed-off-by: Paweł Sadowski <pawel.sadowski@corp.ovh.com>
2016-11-24 15:13:31 +01:00
Kefu Chai
20c445c84d Merge pull request #11943 from wido/docs-pool-remove
doc: Add documentation about mon_allow_pool_delete before pool remove

Reviewed-by: Loic Dachary <ldachary@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-11-24 11:53:32 +08:00
Sage Weil
c4623710e9 Merge pull request #12126 from branch-predictor/bp-doc-async-opts
doc/rados/configuration/ms-ref.rst: document a few async msgr options

Reviewed-by: Haomai Wang <haomai@xsky.com>
2016-11-23 10:00:44 -05:00
Piotr Dałek
8f9ee150cb doc/rados/configuration/ms-ref.rst: document a few async msgr options
Documentation of a few of Async Messenger configuration options.

Signed-off-by: Piotr Dałek <git@predictor.org.pl>
2016-11-23 14:03:01 +01:00
Wido den Hollander
95ed04a536
doc: Add documentation about mon_allow_pool_delete before pool remove
Tell users they need to set this to true before Monitors will allow
pools to be removed.

Also update the Pending Release Notes so that users can find this change
there.

This was changed with commit 5d7f4ea

Signed-off-by: Wido den Hollander <wido@42on.com>
2016-11-23 12:18:21 +01:00
Piotr Dałek
9c5d253a2e doc/rados/configuration/osd-config-ref.rst: document the fast mark down
Document the "osd fast fail on connection refused" option.

Signed-off-by: Piotr Dałek <git@predictor.org.pl>
2016-11-22 10:42:28 +01:00
Kefu Chai
2c7f08b849 Merge pull request #9613 from dzafman/wip-16064
common osd: Improve scrub analysis, list-inconsistent-obj output and osd-scrub-repair test

Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-11-17 15:48:32 +08:00
David Zafman
eb73dd4736 doc, test: Add schemas for list-inconsistent-* rados command output
If jsonschema cmd is available use it to test output against schema

Signed-off-by: David Zafman <dzafman@redhat.com>
2016-11-16 09:38:15 -08:00
Kefu Chai
a29a3c686e doc: fix the script for rebuild monitor db
- escape the "$" in "$osd", so it won't be expanded by local shell
- fix the permission bits of /var/lib/ceph/mon/mon.0/store.db
- add the doc to explain the step to prepare the keyring

Signed-off-by: Kefu Chai <kchai@redhat.com>
2016-11-14 15:34:46 +08:00
Wido den Hollander
61bf31f847
doc: Add MON docs about pool flags and pool removal config settings
Signed-off-by: Wido den Hollander <wido@42on.com>
2016-11-11 10:00:27 +01:00
Bartłomiej Święcki
253df6b2d7 doc: Update filestore xattr config documentation.
Signed-off-by: Bartłomiej Święcki <bartlomiej.swiecki@corp.ovh.com>
2016-11-08 13:41:24 +01:00
whu_liuchang
6735a681c5 Update crush-map.rst
fix typo
2016-11-04 22:14:39 +08:00