Commit Graph

850 Commits

Author SHA1 Message Date
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
Alfredo Deza
814b5b1658 doc/rados update bluestore-migration to use ceph-volume
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-12-04 09:51:12 -05:00
Alfredo Deza
72fd536c29 doc/rados update add-or-rm-osds to use ceph-volume
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-12-04 09:51:12 -05:00
Alfredo Deza
4243085d11 doc/rados update bluestore config to use ceph-volume
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-12-04 09:51:11 -05:00
Alfredo Deza
8bbcaa7070 doc/rados update auth config examples to use ceph-volume
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-12-04 09:51:11 -05:00
Kefu Chai
6fb9540bd6 doc: update docs to remove references of ubuntu 14.04
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-12-04 15:42:56 +08:00
Shinobu Kinjo
6b4b700867 doc/rados: Add explanation of straw2
Signed-off-by: Shinobu Kinjo <shinobu@redhat.com>
2017-11-30 13:46:26 +09:00
Katie Holly
40e20986cd doc: correcting typos in bluestore-config-ref and bluestore-migration
Signed-off-by: Katie Holly <git@meo.ws>
2017-11-26 17:47:35 +01:00
Kefu Chai
f5f2ced624 mgr/PGMap: drop REQUEST_{SLOW,STUCK} HEALTH_WARNs in mimic
SLOW_OPS unifies both of them since mimic

Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-11-23 17:41:47 +08:00
Kefu Chai
46cc6eed99
Merge pull request #18890 from pjjw/pjjw/prom-deep-scrub-state-missing
mgr/prometheus: add missing 'deep' state to PG_STATES in ceph-mgr prometheus plugin

Reviewed-by: John Spray <john.spray@redhat.com>
2017-11-23 14:06:16 +08:00
Patrick Donnelly
06e2cec1ea
Merge PR #17678 into master
* refs/pull/17678/head:
	mon/AuthMonitor: improve error message
	mon/OSDMonitor: disallow "all" as a key or value name
	cephfs, mon/AuthMonitor, OSD/osdcap: make 'all' a synonym for '*'
	vstart.sh: Create an admin user for each CephFS
	mon/AuthMonitor: Allow * wildcard for filesystem name
	OSD/OSDCap: Allow namespace and pool tag to be combined
	OSD/OSDCap: Namespace globbing
	mon/AuthMonitor: Use new osd auth caps for ceph fs authorize
	OSD/auth caps: Add OSD auth caps based on pool tag
	mon/FSCommands: Tag pools used for cephfs by default
	mon/OSDMonitor: Add key/value arguments for pool tagging

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2017-11-21 13:49:24 -08:00
Peter Woodman
dff64a2de2 doc: add 'deep' state to pg-states.rst, change description of 'scrubbing' state to differentiate from 'deep' state
Signed-off-by: Peter Woodman <peter@shortbus.org>
2017-11-17 16:38:34 -08:00
Douglas Fuller
9c694ffc7e cephfs, mon/AuthMonitor, OSD/osdcap: make 'all' a synonym for '*'
Define the string 'all' to be a synonym for the wildcard '*'. This
avoids confusion in the event that some auth caps (typically with
ceph fs authorize) are not quoted and thus '*' is expanded by the shell.

Signed-off-by: Douglas Fuller <dfuller@redhat.com>
2017-11-14 10:48:23 -05:00
Kefu Chai
73a5cd2464 doc: fix desc of option "mon cluster log file"
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-11-08 19:15:26 +08:00
John Spray
6fc92dc981 doc: replace injectargs usage with "config set"
Cleaner and easier.  Also implicitly documents
the config set command, which hadn't been explicitly
called out in the docs before.

Signed-off-by: John Spray <john.spray@redhat.com>
2017-11-07 11:32:26 +00:00
Yao Zongyou
9eb9b8f3da doc: fix typo e.g,. => e.g.,
Signed-off-by: Yao Zongyou <yaozongyou@vip.qq.com>
2017-10-28 09:06:24 +08:00
Douglas Fuller
e5c6fa5f1e OSD/OSDCap: Namespace globbing
Permit the wildcard * at the end of namespace names to match any
namespace starting with the given prefix. The wildcard is only
allowed at the end of the namespace name.

Example:

allow rw namespace=foo*

Signed-off-by: Douglas Fuller <dfuller@redhat.com>
2017-10-25 15:34:13 -04:00
Douglas Fuller
ea4249b568 OSD/auth caps: Add OSD auth caps based on pool tag
Extend the OSD auth caps syntax to include RADOS pool tags. New syntax:

allow rw tag <application> <key>=<value>

Access is granted if the pool contains the <key>:<value> in its
application metadata.

Feature: http://tracker.ceph.com/issues/21084
Signed-off-by: Douglas Fuller <dfuller@redhat.com>
2017-10-25 15:34:13 -04:00
Kefu Chai
e7539a9a3e Merge pull request #18500 from scienceluo/wip-luo-fix-doc-log-level-branch
doc: complete and update the subsystem logging level info table

Reviewed-By: Kefu Chai <kchai@redhat.com>
2017-10-24 23:03:09 +08:00
Kefu Chai
127d25ccbd doc: fix warning reported by "build-doc linkcheck"
all the HTTP 301 (moved permanently) should be killed.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-10-24 15:58:48 +08:00
Luo Kexue
351874587e doc: complete and update the subsystem logging level info table
Signed-off-by: Luo Kexue <luo.kexue@zte.com.cn>
2017-10-24 14:04:59 +08:00
Yao Zongyou
ae660d902b doc: fix typo in bluestore-migration.rst
Signed-off-by: Yao Zongyou <yaozongyou@vip.qq.com>
2017-10-19 14:38:40 +08:00
Kefu Chai
9f2715a5e0 Merge pull request #18345 from wido/doc-osd-replace
doc: Remove additional arguments when replacing OSD

Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-10-18 18:34:57 +08:00
Kefu Chai
d940f62203 doc: fix the desc of "osd max pg per osd hard ratio"
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-10-18 16:07:50 +08:00
Kefu Chai
4c7df944c7 osd: add max-pg-per-osd limit
osd will refused to create new pgs, until its pg number is lower
than the max-pg-per-osd upper bound setting.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-10-17 23:08:40 +08:00
Wido den Hollander
fb6180859e
doc: Remove additional arguments when replacing OSD
It's not required to provide the --bluestore nor --osd-uuid option
to ceph-disk.

Using BlueStore is the default on master (e.g. Luminous) and thus
this option is not required.

When no OSD UUID is supplied ceph-disk will generate one, so we do
not need to supply one generated by uuidgen.

Signed-off-by: Wido den Hollander <wido@42on.com>
2017-10-17 11:05:23 +02:00
Yao Zongyou
7966d3cd1d doc: fix bluestore config type error.
Signed-off-by: Yao Zongyou <yaozongyou@vip.qq.com>
2017-10-10 11:34:26 +08:00
Kefu Chai
d28506d7ff Merge pull request #18188 from jschmid1/wip-man-osd-config-ref-syntax
doc: fixes syntax in osd-config-ref

Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-10-10 01:01:00 +08:00
Joshua Schmid
a657717449
doc: fix syntax in rst
* Fix syntax in osd max object size section.

Fixes: http://tracker.ceph.com/issues/21733
Signed-off-by: Joshua Schmid <jschmid@suse.de>
2017-10-09 17:31:45 +02:00
John Spray
177f06c925 Merge pull request #17974 from jcsp/wip-doc-mgr-iptables
doc: update firewall doc to mention ceph-mgr

Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-10-05 21:48:05 +01:00
Sage Weil
4341f27446 Merge pull request #17710 from Songweibin/wip-add-pybind
pybind/rados: add support open_ioctx2 API

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2017-10-04 22:06:10 -05:00
Sage Weil
23b22ddba0 Merge pull request #18115 from mogeb/rados-doc
doc: add osd_max_object_size in osd configuration

Reviewed-by: Sage Weil <sage@redhat.com>
2017-10-04 13:59:58 -05:00
Mohamad Gebai
7440a32801 doc: add osd_max_object_size in osd configuration
Having osd_max_write_size in the doc without osd_max_object_size
is confusing.

Signed-off-by: Mohamad Gebai <mgebai@suse.com>
2017-10-04 12:51:02 -04:00
Sage Weil
f7782427ab Merge pull request #17912 from ceph/docs-min-size
docs: Do not use "min size = 1" as an example

Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
2017-10-01 21:35:10 -05:00
Matt Boyle
3bae00a033 doc: Fix typos in placement-groups.rst
Signed-off-by: Matt Boyle <matt.boyle@gmail.com>
2017-09-27 11:11:23 +01:00
John Spray
3365b09c40 doc: update firewall doc to mention ceph-mgr
Signed-off-by: John Spray <john.spray@redhat.com>
2017-09-26 17:10:31 +01:00
Alfredo Deza
88f5b93219 docs/rados warn against possible data loss if min_size cannot be met
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-09-22 17:10:11 -04:00
Alfredo Deza
8af5eba024 doc/rados use min_size=2 as an example
Because `osd pool default min size = 1` is dangerous and may cause
data loss.

Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-09-22 17:10:11 -04:00
songweibin
2897ad46c6 pybind/rados: add support open_ioctx2 API
Signed-off-by: songweibin <song.weibin@zte.com.cn>
2017-09-21 12:49:18 +08:00
Kefu Chai
998bf1b43c Merge pull request #17833 from mogeb/cache-tiering-doc
doc: update link to placing-different-pools

Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-09-21 11:10:10 +08:00