Commit Graph

4202 Commits

Author SHA1 Message Date
Alfredo Deza
45dfa5191b doc/install (freebsd) use min_size 2 and default_size 4 as an example
Which prevents readin "min_size=1" and assuming it is an OK setting

Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-09-22 17:10:11 -04:00
Alfredo Deza
d3c4e4af35 doc/install use min_size 2 and default_size 4 as an example
Which prevents readin "min_size=1" and assuming it is an OK setting

Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-09-22 17:10:11 -04: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
ren.huanwen
d879ff91e7 doc/cephfs: add client min cache and max cache ratio describe
Signed-off-by: ren.huanwen <ren.huanwen@zte.com.cn>
2017-09-22 09:57:13 +08: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
Mohamad Gebai
559ca9dd38 doc: update 'ceph osd pool set' example
Signed-off-by: Mohamad Gebai <mgebai@suse.com>
2017-09-20 17:58:08 +02:00
Mohamad Gebai
2e5aed5fc6 doc: update link to placing-different-pools
Signed-off-by: Mohamad Gebai <mgebai@suse.com>
2017-09-20 13:19:55 +02:00
Sage Weil
6767f841e5 Merge pull request #17427 from liewegas/wip-pg-num-limits
mon/OSDMonitor: implement cluster pg limit

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2017-09-19 12:57:10 -05:00
Yao Guotao
f22c502553 doc: update default value of option mon_sync_timeout
Signed-off-by: Yao Guotao <yaoguot@gmail.com>
2017-09-19 04:47:00 -04:00
John Spray
30b16ac814 Merge pull request #17372 from ceph/wip-doc-cephfs-pools
doc: add example of setting pool in cephfs layout

Reviewed-by: Alfredo Deza <adeza@redhat.com>
2017-09-18 11:37:28 +01:00
Kefu Chai
cd6a312a4f Merge pull request #17762 from yaozongyou/fix-typo-in-php-rst
doc: fix typo in php.rst

Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-09-17 02:00:50 +08:00
Yao Zongyou
8e3380f20a doc: fix typo in php.rst
Signed-off-by: Yao Zongyou <yaozongyou@vip.qq.com>
2017-09-16 13:54:03 +08:00
Jos Collin
cfe6c7a13f Merge pull request #17732 from Songweibin/wip-fix-comments
doc,os,osdc: drop and modify comments

Reviewed-by: Jos Collin <jcollin@redhat.com>
2017-09-16 01:04:57 +00:00
PCzhangPC
7ec29ac6db rbd:update some documents of rbd bench
Signed-off-by: PCzhangPC <pengcheng.zhang@easystack.cn>
2017-09-15 14:24:26 +08:00
Sage Weil
027672b777 doc/rados/operations/health-checks: fix TOO_MANY_PGS discussion
Fiddling with pgp_num doesn't help with TOO_MANY_PGS.

Signed-off-by: Sage Weil <sage@redhat.com>
2017-09-14 16:01:14 -04:00
Yao Zongyou
69129b73a5 doc: change boolean option default value from zero to false.
Signed-off-by: Yao Zongyou yaozongyou@vip.qq.com
2017-09-14 21:37:04 +08:00
songweibin
9ccb710aa4 doc,os,osdc: drop and modify some comments
Signed-off-by: songweibin <song.weibin@zte.com.cn>
2017-09-14 21:27:38 +08:00
Patrick Donnelly
d929dae49b
Merge PR #17657 into master
* refs/remotes/upstream/pull/17657/head:
	mds: optimize MDCache::rejoin_scour_survivor_replicas()
	mds: fix MDSCacheObject::clear_replica_map
	mds: support limiting cache by memory
	common: refactor of lru
	mds: resolve unsigned coercion compiler warning
	common: use safer uint64_t for list size
	common: add bytes2str pretty print function
	mds: check if waiting is allocated before use
	mds: go back to compact_map for replicas
	mds: use mempool for cache objects
	mds: cleanup replica_map access
	common: add alloc_ptr smart pointer
	common: add warning on base class use of mempool
	common: use atomic uin64_t for counter

Reviewed-by: Zheng Yan <zyan@redhat.com>
2017-09-13 20:08:51 -07:00
Patrick Donnelly
a73ad7676a
Merge PR #17608 into master
* refs/remotes/upstream/pull/17608/head:
	doc/cephfs/posix: put posix notes in perspective

Reviewed-by: John Spray <john.spray@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2017-09-13 13:37:57 -07:00
Patrick Donnelly
06c94de584
mds: support limiting cache by memory
This introduces two config parameters:

    mds_cache_memory_limit: Sets the soft maximum of the cache to the given
    byte count. (Like mds_cache_size, this doesn't actually limit the maximum
    size of the cache. It just dictates the steady-state size.)

    mds_cache_reservation: This replaces mds_health_cache_threshold everywhere
    except the Beacon heartbeat sent to the mons. The idea here is to specify a
    reservation of memory (5% by default) for operations and the MDS tries to
    always maintain that reservation. So, the MDS will recall caps from clients
    when it begins dipping into its reservation of memory.

mds_cache_size still limits the cache by Inode count but is now by-default 0
(i.e. unlimited). The new preferred way of specifying cache limits is by memory
size. The default is 1GB.

Fixes: http://tracker.ceph.com/issues/20594
Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1464976

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2017-09-12 20:02:41 -07:00
Sage Weil
25ba984310 Merge pull request #17654 from yuyuyu101/wip-spdk-doc
doc/bluestore: add SPDK usage for bluestore

Reviewed-by: Sage Weil <sage@redhat.com>
2017-09-12 18:56:25 -05:00
Sage Weil
c959911ce2 Merge pull request #17658 from ukernel/wip-cephfs-seekdir
doc/cephfs/posix: remove stale information for seekdir

Reviewed-by: Sage Weil <sage@redhat.com>
2017-09-12 18:54:29 -05:00
Sage Weil
a98b37a7a0 Merge pull request #17669 from ygtzf/parameter-default-value-error
doc: update default value of parameter mon_subscribe_interval

Reviewed-by: Sage Weil <sage@redhat.com>
2017-09-12 18:39:14 -05:00
Frank Yu
94af0d3ea4 doc: the client inputs the pool name instead of pool ID
Signed-off-by: Frank Yu <flyxiaoyu@gmail.com>
2017-09-12 23:04:14 +08:00
Kefu Chai
fe9196f240 Merge pull request #17640 from tchaikov/wip-diagram-py3
doc/scripts: py3 compatible

Reviewed-By: Abhishek Lekshmanan <abhishek@suse.com>
Reviewed-by: Alfredo Deza <adeza@redhat.com>
2017-09-12 21:35:13 +08:00
yaoguotao
d121f5619b doc: update default value of parameter mon_subscribe_interval
Signed-off-by: yaoguotao <yaoguot@gmail.com>
2017-09-12 05:09:10 -04:00
Haomai Wang
537674b786 doc/bluestore: add SPDK usage for bluestore
Signed-off-by: Haomai Wang <haomai@xsky.com>
2017-09-11 20:11:29 -07:00
Yan, Zheng
f27bf0ce54 doc/cephfs/posix: remove stale information for seekdir
Current cephfs can support seekdir efficiently. The diverge was
fixed by https://github.com/ceph/ceph/pull/14317

Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
2017-09-12 09:49:34 +08:00
Sage Weil
1a0f42b70a pybind/mgr/localpool: module to automagically create localized pools
By default, this will create a pool per rack, 3x replication, with a host
failure domain.  Those parameters can be customized via mgr config-key
options.

Signed-off-by: Sage Weil <sage@redhat.com>
2017-09-11 11:57:35 -05:00
Kefu Chai
5720c9854b doc/rados: fix the method names
otherwise, sphinx fails to run with py3

Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-09-11 23:05:26 +08:00
Kefu Chai
fda079d5ed doc: switch to upstream sphinx-ditaa
it works with setuptools and is now compatible with py3

the py3 branch is created to track the upstream's master branch

Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-09-11 23:05:26 +08:00
Kefu Chai
965f20d8ee doc/scripts/gen_state_diagram.py: port to py3
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-09-11 20:51:11 +08:00
Kefu Chai
b35bf318af doc: update ceph-disk with a state transition diagram
also, quote the variabls in source code with double quote.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-09-11 20:44:35 +08:00
yonghengdexin735
ad25da3a62 doc/rbd:add info for rbd group
Signed-off-by: yonghengdexin735 <zhang.zezhu@zte.com.cn>
2017-09-11 17:56:25 +08:00
Sage Weil
8222a05096 doc/cephfs/posix: put posix notes in perspective
Signed-off-by: Sage Weil <sage@redhat.com>
2017-09-08 16:17:27 -04:00
Sage Weil
9fa4901783 doc: restructure bluestore migration insructions
Signed-off-by: Sage Weil <sage@redhat.com>
2017-09-08 11:27:34 -04:00
Sage Weil
24c4354886 Merge pull request #17602 from ceph/wip-blumig-doc
doc: Updates to bluestore migration doc

Reviewed-by: Sage Weil <sage@redhat.com>
2017-09-08 10:05:27 -05:00
David Galloway
a9314f0a17 doc/rados/operations/bluestore-migration: Add instruction for evacuating
host

Signed-off-by: David Galloway <dgallowa@redhat.com>
2017-09-08 10:48:32 -04:00
Sage Weil
f4991b71e2 Merge pull request #17011 from liewegas/wip-doc-bluestore-migration
doc/rados/operations/bluestore-migration: update docs a bit
2017-09-08 09:47:02 -05:00
David Galloway
f1b3d1e4bb doc/rados/operations/bluestore-migration: Fix typo in bluestore migration doc
Signed-off-by: David Galloway <dgallowa@redhat.com>
2017-09-08 09:45:53 -04:00
Xiaoxi Chen
14ffd9ba8c doc: fix typo on specify db block device
Should use block.db instead of block-db

Signed-off-by: Xiaoxi Chen <xiaoxchen@ebay.com>
2017-09-07 22:53:30 -07:00
Sage Weil
2bb5daa864 doc/rados/operations/bluestore-migration: typos
Signed-off-by: Sage Weil <sage@redhat.com>
2017-09-07 15:19:31 -04:00
John Spray
dee090e87a doc: add example of setting pool in cephfs layout
Signed-off-by: John Spray <john.spray@redhat.com>
2017-09-07 15:41:43 +02:00
Sage Weil
b198236d68 doc/man/8/ceph.rst: remove pg set_*full_ratio
Signed-off-by: Sage Weil <sage@redhat.com>
2017-09-06 10:18:06 -04:00
Sage Weil
e467873e36 doc/man/8/ceph: remove old 'ceph pg ' force_create_pg, set_[near]full_ratio
Signed-off-by: Sage Weil <sage@redhat.com>
2017-09-06 10:18:06 -04:00
Patrick Donnelly
f0f93c6645
Merge PR #17373 into master
* refs/remotes/upstream/pull/17373/head:
	doc/cephfs: add info on using EC pools with CephFS

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2017-09-05 12:48:41 -07:00
Casey Bodley
683212ae1f Merge pull request #17141 from theanalyst/doc-civetweb-ports
doc: rgw: mention the civetweb support for binding to multiple ports

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2017-09-05 11:39:12 -04:00
Ashish Singh
fec61eb5cc doc: Fixes rbd snapshot flatten example
Snapshot flatten example has incorrect image name, fixing the same.

Fixes: #17723

Signed-off-by: Ashish Singh <assingh@redhat.com>
2017-09-04 16:51:57 +05:30
Xie Xingguo
5ac0969b8a Merge pull request #17395 from theanalyst/cli-rados-stat2
cli: rados: support for high precision time using stat2

Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-09-04 09:18:20 +08:00
Alfredo Deza
3831d4023b Merge pull request #17425 from ceph/wip-ceph-volume-docs
docs: ceph-volume CLI updates

Reviewed-by: Andrew Schoen <aschoen@redhat.com>
2017-09-01 12:55:34 -04:00
Alfredo Deza
dc2f1ffb66 doc/ceph-volume prepare partitions with PARTUUID
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-09-01 12:12:43 -04:00
Alfredo Deza
aad84fc9ce doc/ceph-volume prepare needs both volume group and lv names
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-09-01 11:51:59 -04:00
Alfredo Deza
794067e694 doc/ceph-volume activate re-links the journal always
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-09-01 11:29:51 -04:00
Alfredo Deza
8858f02610 doc/ceph-volume emphasize the danger of calling prepare for an existing OSD
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-09-01 11:29:15 -04:00
Abhishek Lekshmanan
7b9dfd3ed0 doc/releases: the Kraken sleepeth, faintest sunlights flee
updating releases to retire Kraken, Hammer. Also updated to mention
Jewel will be around until at least N is finalized

Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
2017-09-01 16:05:46 +02:00
Alfredo Deza
219f64b8a5 doc/ceph-volume update intro to mention dm-cache
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-09-01 10:00:35 -04:00
Sage Weil
7949c2c603 Merge pull request #17364 from theanalyst/release-updates
doc: update releases to the current state
2017-09-01 08:46:52 -05:00
Abhishek Lekshmanan
948bff4c21 doc: update releases to the current state
Adding Luminous release date, and dropping links for dev releases (since
they've been merged to 12.2.0), also rearranged the table so that newer
releases come left

Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
2017-09-01 11:23:59 +02:00
Enming Zhang
4e79414bfe doc: fix doc/radosgw/admin.rst typos
Signed-off-by: Enming Zhang <enming.zhang@umcloud.com>
2017-08-31 21:52:05 +08:00
Abhishek Lekshmanan
f6db58093a doc: man: document stat, stat2 for rados cli
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
2017-08-31 14:14:10 +02:00
Abhishek L
d0f6580a83 Merge pull request #17362 from C2python/update_example
doc: Revise the Example of Bucket Policy

Reviewed-By: Abhishek Lekshmanan <abhishek@suse.com>
Reviewed-By: Adam Emerson <aemerson@redhat.com>
2017-08-31 10:27:23 +02:00
Sage Weil
fb795f556a Merge pull request #17382 from liewegas/wip-integration
src/script/build-integration-branch

Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-08-30 21:53:36 -05:00
Sage Weil
b5c2782615 src/script/build-integration-branch
Signed-off-by: Sage Weil <sage@redhat.com>
2017-08-30 22:53:10 -04:00
Jason Dillaman
b0abab17e3 doc: tweaks for the RBD iSCSI configuration documentation
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2017-08-30 10:16:26 -04:00
Aron Gunn
f109031cb5 doc/rbd: Replaced numbered steps with a # for dynamic numbering
Fixes: http://tracker.ceph.com/issues/20437

Signed-off-by: Aron Gunn <agunn@redhat.com>
2017-08-30 09:53:00 -04:00
Aron Gunn
2a59c82b3d doc/rbd: Updated the content based on engineering feedback
Fixes: http://tracker.ceph.com/issues/20437

Signed-off-by: Aron Gunn <agunn@redhat.com>
2017-08-30 09:52:57 -04:00
Aron Gunn
1d4f5b458d doc/rbd: Updated the content based on engineering feedback
Fixes: http://tracker.ceph.com/issues/20437

Signed-off-by: Aron Gunn <agunn@redhat.com>
2017-08-30 09:52:54 -04:00
Aron Gunn
441820d958 doc/rbd: Updated the content based on engineering feedback
Fixes: http://tracker.ceph.com/issues/20437

Signed-off-by: Aron Gunn <agunn@redhat.com>
2017-08-30 09:52:50 -04:00
Aron Gunn
c57266bf82 doc/rbd: Updated the requirements based on engineering feedback
Fixes: http://tracker.ceph.com/issues/20437

Signed-off-by: Aron Gunn <agunn@redhat.com>
2017-08-30 09:52:47 -04:00
Aron Gunn
9335742140 doc/rbd: Added the iSCSI gateway requirements content
Fixes: http://tracker.ceph.com/issues/20437

Signed-off-by: Aron Gunn <agunn@redhat.com>
2017-08-30 09:52:41 -04:00
Aron Gunn
d022034bb3 doc/rbd: Added the iSCSI gateway overview content
Fixes: http://tracker.ceph.com/issues/20437

Signed-off-by: Aron Gunn <agunn@redhat.com>
2017-08-30 09:52:09 -04:00
Aron Gunn
7e8233429b doc/rbd: Added the iSCSI gateway 'gwtop' monitoring content
Fixes: http://tracker.ceph.com/issues/20437

Signed-off-by: Aron Gunn <agunn@redhat.com>
2017-08-30 09:52:03 -04:00
Aron Gunn
cbf654c702 doc/rbd: Added the iSCSI targets, Ansible and CLI docs
Fixes: http://tracker.ceph.com/issues/20437

Signed-off-by: Aron Gunn <agunn@redhat.com>
2017-08-30 09:51:57 -04:00
Aron Gunn
f0e177fa3d doc/rbd: Added the iSCSI initiators, RHEL, Windows, and ESX docs
Fixes: http://tracker.ceph.com/issues/20437

Signed-off-by: Aron Gunn <agunn@redhat.com>
2017-08-30 09:51:50 -04:00
Aron Gunn
4ef8426bff doc/rbd: Updated the "toctree" adding the iSCSI gateway overview doc
Fixes: http://tracker.ceph.com/issues/20437

Signed-off-by: Aron Gunn <agunn@redhat.com>
2017-08-30 09:51:44 -04:00
Aron Gunn
2fd61f8de1 doc/rbd: Added the unmodified iSCSI initiator images for ESX and Windows 2016
Fixes: http://tracker.ceph.com/issues/20437

Signed-off-by: Aron Gunn <agunn@redhat.com>
2017-08-30 09:51:32 -04:00
John Spray
5dea164a01 doc/cephfs: add info on using EC pools with CephFS
Signed-off-by: John Spray <john.spray@redhat.com>
2017-08-30 14:23:27 +01:00
zhangwen
626ff1b3c5 doc: Revise the Example of Bucket Policy
Signed-off-by: Wen Zhang zhangwen1@unionpay.com
2017-08-30 16:53:00 +08:00
Abhishek Lekshmanan
01740c6a6c doc: rgw: mention the civetweb support for binding to multiple ports
We support binding multiple ports in civetweb after the upgrade to 1.8,
clarify this in the documentation as well

Fixes: http://tracker.ceph.com/issues/20942
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
2017-08-30 10:48:01 +02:00
Haomai Wang
4a3a25dece Merge pull request #17358 from tchaikov/wip-doc-disable-ofp
doc/dev/perf: add doc on disabling -fomit-frame-pointer

Reviewed-by: Haomai Wang <haomai@xsky.com>
2017-08-29 23:35:04 -07:00
Kefu Chai
4f4af6262a doc/dev/perf: add doc on disabling -fomit-frame-pointer
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-08-30 12:14:37 +08:00
Sage Weil
3cf248c04d Merge pull request #15847 from jan--f/doc-fix-multimds-cmds
doc: add allow_multimds and fs_name parameter

Reviewed-by: Yan, Zheng <zyan@redhat.com>
2017-08-29 22:19:59 -05:00
Sage Weil
9d16f3881a Merge pull request #17092 from Liuchang0812/wip-man-kvstore-tool
doc: add ceph-kvstore-tool's man

Reviewed-by: Sage Weil <sage@redhat.com>
2017-08-29 17:10:12 -05:00
Sage Weil
66838565bd Merge pull request #17119 from nrdmn/wip-dashboard-httproot
pybind/mgr/dashboard: add url_prefix

Reviewed-by: John Spray <john.spray@redhat.com>
2017-08-29 17:07:41 -05:00
Sage Weil
6207c61988 Merge pull request #17337 from scienceluo/wip-luo-fix-cinder-conf-branch
doc: move glance_api_version option to the right place

Reviewed-by: Sage Weil <sage@redhat.com>
2017-08-29 15:25:04 -05:00
Abhishek Lekshmanan
12b40971ca doc: release notes: changelog for 12.2.0
Amalgamated all the dev & RC changelogs + the changelog we saw post
12.1.4 into one large 12.2.0 changelog.

Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
2017-08-29 20:51:19 +02:00
Abhishek Lekshmanan
74801fda1c doc: 12.2.0 major release announcements
Reordered the RC releases sections back to their respective components,
added a ceph-mon section, added links to documentation wherever
possible, and a few forgotten RGW announcements. Also cleared up the
PendingReleaseNotes upto this point

Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
2017-08-29 14:45:01 +02:00
Luo Kexue
6a61aa9fec doc: move glance_api_version option to the right place
Signed-off-by: Luo Kexue <luo.kexue@zte.com.cn>
2017-08-29 17:09:41 +08:00
liuchang0812
0667db4eb6 doc: add ceph-kvstore-tool's man
Signed-off-by: liuchang0812 <liuchang0812@gmail.com>
2017-08-29 14:22:08 +08:00
Neha Ojha
e474630289 doc: fix order of options in osd new
Signed-off-by: Neha Ojha <nojha@redhat.com>
2017-08-28 15:59:19 -07:00
Kefu Chai
4fba9c0ee2 Merge pull request #17019 from dachary/wip-doc-ceph-disk
doc: document ceph-disk prepare class hierarchy

Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-08-28 19:17:33 +08:00
Sage Weil
ba38d3c337 doc/release-notes: clarify purpose of require-osd-release
Signed-off-by: Sage Weil <sage@redhat.com>
2017-08-25 18:48:09 -04:00
Kefu Chai
5127b858b4 Merge pull request #17242 from neha-ojha/wip-21023
mon: warn about using osd new instead of osd create

Reviewed-by: Sage Weil <sage@redhat.com>
2017-08-26 00:52:39 +08:00
Loic Dachary
ed89f8cb0e doc: document ceph-disk prepare class hierarchy
Signed-off-by: Loic Dachary <loic@dachary.org>
2017-08-25 15:48:59 +03:00
Neha Ojha
834ab275b7 mon: warn about using osd new instead of osd create
Signed-off-by: Neha Ojha <nojha@redhat.com>
2017-08-24 12:46:41 -07:00
Patrick Donnelly
019eefa84f
Merge PR #17150 into master
* refs/remotes/upstream/pull/17150/head:
	doc/cephfs: s/rados_max_object_size/osd_max_object_size

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2017-08-23 10:54:30 -07:00
Kefu Chai
a3c9389e5e Merge pull request #17154 from ktdreyer/doc-cat
doc: eliminate useless cat statement

Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-08-23 12:35:00 +08:00
Alfredo Deza
10c75e225b doc add ceph-volume and ceph-volume-systemd man pages to CMakeLists file
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-08-22 18:05:03 -04:00
Alfredo Deza
1c5b99b2f3 doc: include ceph-disk and ceph-disk-volume man pages in index
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-08-22 17:56:40 -04:00
Nick Erdmann
6d285fff0d pybind/mgr/dashboard: add url_prefix
This adds a configuration variable url_prefix to the dashboard that
that is prepended to all URLs so you can access the dashboard at
http://$IP:$PORT/$PREFIX/. This is necessary if you wish to use a
reverse http proxy that forwards to the dashboard under a sub-path.

Fixes: http://tracker.ceph.com/issues/20568
Signed-off-by: Nick Erdmann <n@nirf.de>
2017-08-22 16:14:42 +00:00
Ken Dreyer
3abc975985 doc: eliminate useless cat statement
Useless Use of Cat Award!

Signed-off-by: Ken Dreyer <kdreyer@redhat.com>
2017-08-22 09:15:31 -06:00
Alfredo Deza
1e2d9f1438 doc index the ceph-volume and ceph-volume-systemd man pages
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-08-22 10:36:33 -04:00
Alfredo Deza
2e08bee8ca doc/man create the ceph-volume man page
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-08-22 10:35:45 -04:00
Alfredo Deza
7c714e397d doc/man create the ceph-volume-systemd man page
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-08-22 10:35:33 -04:00
Zhu Shangzhong
6b75f2d840 doc/cephfs: s/rados_max_object_size/osd_max_object_size
Signed-off-by: Zhu Shangzhong <zhu.shangzhong@zte.com.cn>
2017-08-22 21:51:28 +08:00
Kefu Chai
335205bafa doc/conf.py: do not set html_use_smartypants explicitly
because it's deprecated, and is on by default in the specified sphinx
version (v1.6.3):

this change silences following warning:

build-doc/virtualenv/local/lib/python2.7/site-packages/sphinx/environment/__init__.py:683:
RemovedInSphinx17Warning: html_use_smartypants option is deprecated.
Smart quotes are on by default; if you want to disable or customize
them, use the smart_quotes option in docutils.conf.
  RemovedInSphinx17Warning)

Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-08-22 11:24:13 +08:00
Andrew Schoen
05d6dfd408 Merge pull request #17068 from ceph/ceph-volume-docs
ceph-volume docs

Reviewed-by: Andrew Schoen <aschoen@redhat.com>
2017-08-21 15:43:37 -05:00
Alfredo Deza
b5cf2f7802 docs/ceph-volume add lvm/create to the index
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-08-21 16:26:24 -04:00
Alfredo Deza
9613210577 doc/ceph-volume add the lvm create reference
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-08-21 16:26:24 -04:00
Alfredo Deza
9ca04aa852 doc ignore ceph-volume when building man pages
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-08-21 11:44:54 -04:00
Alfredo Deza
7d0c3e3eb4 doc: add LVM tag term to the glossary
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-08-21 11:44:54 -04:00
Alfredo Deza
87f7ff4783 doc/dev include ceph-volume devel docs
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-08-21 11:44:54 -04:00
Alfredo Deza
8f654a0daa docs: include ceph-volume's index file in the main toctree
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-08-21 11:44:54 -04:00
Alfredo Deza
302d79d772 doc/glossary add terminology used by ceph-volume
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-08-21 11:44:53 -04:00
Alfredo Deza
b8811fc06d doc/ceph-volume create the systemd lvm reference
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-08-21 11:44:53 -04:00
Alfredo Deza
68573d0be9 doc/ceph-volume create the intro to ceph-volume
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-08-21 11:44:53 -04:00
Alfredo Deza
9ec5eaf875 doc/ceph-volume create the main index
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-08-21 11:44:53 -04:00
Alfredo Deza
02de67eda7 doc/ceph-volume add the lvm scan reference
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-08-21 11:44:53 -04:00
Alfredo Deza
f8660990dc doc/ceph-volume create the lvm prepare reference
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-08-21 11:44:53 -04:00
Alfredo Deza
fd09deddcc doc/ceph-volume create the lvm activate reference
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-08-21 11:08:08 -04:00
Alfredo Deza
0071e1108b doc/install use the new mgr-administrator-guide label
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-08-21 11:08:08 -04:00
Alfredo Deza
309c73e8b0 doc/mgr add a label for the administrator guide
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-08-21 11:08:08 -04:00
Alfredo Deza
801725b924 doc/dev/ceph-volume add a toctree for the dev docs
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-08-21 11:08:08 -04:00
Alfredo Deza
ba811d2d90 doc/dev/ceph-volume add systemd reference
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-08-21 11:08:08 -04:00
Alfredo Deza
e0b7bd8f82 doc/dev/ceph-volume add plugin interface
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-08-21 11:08:07 -04:00
Alfredo Deza
b6d3983177 doc/dev/ceph-volume add the internal lvm api
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-08-21 11:08:07 -04:00
Kefu Chai
1cb188db01 Merge pull request #17044 from baruza/wip-doc-21007
doc: Improve the ceph fs set max_mds command

Reviewed-by: Zheng Yan <zyan@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-08-21 22:53:46 +08:00
Barbora Ančincová
2e46cc706e doc: Improve the ceph fs set max_mds command
Fixes: http://tracker.ceph.com/issues/21007
Signed-off-by: Bara Ancincova <bara@redhat.com>
2017-08-21 16:37:40 +02:00
songweibin
f3b39ac8e0 doc: fix a spell error and modify layout
Signed-off-by: songweibin <song.weibin@zte.com.cn>
2017-08-21 14:58:15 +08:00
iliul
de19b555fa doc: delete duplicate words
Signed-off-by: iliul <liul124@chinaunicom.cn>
2017-08-20 17:30:55 +08:00
Alfredo Deza
3ca95b6094 Merge pull request #17076 from ceph/toc-sidebar-fix
doc/templates update toctree call to include hidden entries

Reviewed-by: Andrew Schoen <aschoen@redhat.com>
2017-08-18 12:29:05 -04:00
Alfredo Deza
9bb3397a58 doc update template call for toctree
Up until version 1.1.3 of Sphinx, this call would show hidden toctree
entries. Most of Ceph's toctree's are hidden, so when the version of
Sphinx was bumped to >1.6, the sidebar stopped showing entries

Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-08-18 12:05:03 -04:00
David Zafman
021177b790 Merge pull request #16407 from dzafman/wip-20243
osd: Improve size scrub error handling and ignore system attrs in xattr checking

Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-08-17 20:05:40 -07:00
Adam Wolfe Gordon
1af67b7529 doc: Update mirroring docs to mention data-pool configuration
Signed-off-by: Adam Wolfe Gordon <awg@digitalocean.com>
(cherry picked from commit 1e001c19e9)
2017-08-17 15:45:25 -04:00
Alfredo Deza
b2c861ed62 doc/rados/configuration comment out '...' on ini blocks
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-08-16 11:08:59 -04:00
Alfredo Deza
e7a3bb94fb doc/rados/api comment out '...' on ini blocks
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-08-16 11:06:49 -04:00
Alfredo Deza
253804b3d6 doc/install describe shaman urls and how to retrieve list and repo files
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-08-16 10:54:33 -04:00
Alfredo Deza
2ef1eb9a00 doc/install update international for non-US
Use of "international" is ambiguous, for non-US users, international
could mean US.

Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-08-16 10:54:33 -04:00
Alfredo Deza
072bdbdf25 doc/install remove repetitive dev release information for rpm distros
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-08-16 10:54:33 -04:00
Alfredo Deza
765ab51b13 doc/install remove mention of autobuild key for dev packages
Dev packages are no longer signed, and the key is not used at all

Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-08-16 10:54:33 -04:00
Alfredo Deza
44c9698660 doc/install remove Apache and FastCGI instructions for RGW
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-08-16 10:54:32 -04:00
Alfredo Deza
a7fed6c213 doc: update repo-access to point to ceph-ci.git
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-08-16 10:54:32 -04:00
Alfredo Deza
457754e85b doc: fix short underline on release-notes
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-08-16 08:38:49 -04:00
Alfredo Deza
f78a991f59 doc exclude man_index when not building man pages
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-08-16 08:20:02 -04:00
Alfredo Deza
e2119245bf doc: create an index/toctree only for man pages
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-08-16 08:20:02 -04:00
Alfredo Deza
8e06659c34 doc: exclude mgr from man pages, define a man index.rst
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-08-16 08:20:01 -04:00
Alfredo Deza
5c334d8a2a doc/release-notes use new ref label for erasure code profiles
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-08-16 08:20:01 -04:00
Alfredo Deza
3ec44df21d doc/rados/operations use new ref labels in health-checks
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-08-16 08:20:01 -04:00
Alfredo Deza
d6164f2b19 doc/rados/operations add a ref label to erasure code profiles
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-08-16 08:20:01 -04:00
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
d8b287011c doc/cephfs add label to health messages for use in refs 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
58a82d9881 doc/radosgw add newline after field list
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-08-16 08:19:59 -04:00
Alfredo Deza
e898eb7424 doc/radosgw fix missing newline on 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
640e080f22 doc/logging fix unexpected indent in paragraph
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-08-16 08:19:59 -04:00
Alfredo Deza
e44f6d5b12 doc: bump the max depth of the toctree, so that it can find nested indexes
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-08-16 08:19:59 -04:00
Alfredo Deza
7409d326ab doc escape and remove invalid chars in release notes, causing sphinx errors
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-08-16 08:19:58 -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
Abhishek Lekshmanan
713e11ae38 doc: release notes for v12.1.4 Luminous
Adding the bits of changelog that went in post 12.1.3, one of the PRs
was directly cherry-picked onto Luminous and hence does not have a PR
reference.

Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
2017-08-15 17:13:25 +02: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
Sage Weil
bf9380457b mgr: implement 'osd safe-to-destroy' and 'ok-to-stop' commands
An osd is safe to destroy if

- we have osd_stat for it
- osd_stat indicates no pgs stored
- all pgs are known
- no pgs map to it

An osd is ok ot stop if

- we have pg stats
- no pgs will drop below min_size

Signed-off-by: Sage Weil <sage@redhat.com>
2017-08-11 22:54:33 -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
Matt Benjamin
50724db8e5 Merge pull request #16628 from theanalyst/rgw-policy-list-buckets
rgw: policy: support for s3 conditionals in ListBucket Op
2017-08-11 11:53:01 -04: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
John Spray
6ff57ed6f4 Merge pull request #16973 from jan--f/mgr-plugin-doc-accessor-init
doc/mgr/plugins: mgr accessor during init causes exception

Reviewed-by: John Spray <john.spray@redhat.com>
2017-08-11 12:23:48 +01:00
Sage Weil
1e606708bc Merge pull request #16918 from liewegas/wip-doc-bluestore-migration
doc/rados/operations/bluestore-migration: document bluestore migration process

Reviewed-by: Vasu Kulkarni <vasu@redhat.com>
2017-08-10 14:15:31 -05: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
Sage Weil
a60f690144 Merge pull request #16975 from theanalyst/doc-12-1-3-release-notes
doc: 12.1.3 release notes

Reviewed-by: Sage Weil <sage@redhat.com>
2017-08-10 13:30:05 -05:00
Abhishek Lekshmanan
e34d10ae10 doc: 12.1.3 release notes
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
2017-08-10 20:00:19 +02:00
Sage Weil
e9728fc71b doc/release-notes: remove mention of crush weight optimization
It's not there yet.

Signed-off-by: Sage Weil <sage@redhat.com>
2017-08-10 13:36:51 -04:00
Jan Fajerski
020d4ccb59 doc/mgr/plugins: mgr accessor during init causes exception
Currently calling a mgr accessor during a plugins __init__ method causes
a cyclic locking exception.

Signed-off-by: Jan Fajerski <jfajerski@suse.com>
2017-08-10 19:01:34 +02:00
Sage Weil
4f4df4244a doc/release-notes: fix link typo
Signed-off-by: Sage Weil <sage@redhat.com>
2017-08-10 10:35:51 -04:00
Abhishek Lekshmanan
c6e1b4e3f9 doc: add changelog for v11.2.1
Generated as::

git log v11.2.0..v11.2.1 --after="Thu Jan 19 13:08:40 2017 +0000" > doc/changelog/v11.2.1.txt

In order to avoid qe suite merges before this date

Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
2017-08-10 10:11:05 +02:00
Sage Weil
aeed87945b mon/OSDMonitor: implement 'osd crush ls <node>'
Signed-off-by: Sage Weil <sage@redhat.com>
2017-08-08 15:56:18 -04:00
Abhishek L
d83e1dd79e Merge pull request #16861 from wido/docs-mgr-zabbix-enable
doc: Update mgr doc on how to enable Zabbix module

Reviewed-By: John Spray <jcsp@redhat.com>
2017-08-08 21:07:35 +02:00
Sage Weil
a47831fb19 Merge pull request #16908 from dillaman/wip-20701
doc: update rbd-mirroring documentation

Reviewed-by: Sage Weil <sage@redhat.com>
2017-08-08 12:48:17 -05:00
Sage Weil
dab64cb7c5 Merge pull request #16910 from liewegas/wip-iana
doc/dev/iana: document our official IANA numbers
2017-08-08 12:46:21 -05:00
Sage Weil
b4473f8f4e Merge pull request #16911 from liewegas/wip-lead
doc/dev/index: update rados lead

Reviewed-by: Abhishek Lekshmanan <abhishek.lekshmanan@gmail.com>
2017-08-08 12:44:56 -05:00
Sage Weil
5e39bb5ed1 Merge pull request #16879 from smithfarm/wip-release-notes-11-2-1
doc: release-notes.rst: add Kraken v11.2.1 and update releases.rst

Reviewed-by: Abhishek Lekshmanan <abhishek.lekshmanan@gmail.com>
2017-08-08 12:41:06 -05:00
Abhishek L
8388d442eb Merge pull request #16907 from theanalyst/doc/rgw/s3-api-tagging
doc: rgw mention about tagging & bucket policies in s3api

Reviewed-By: Adam Emerson <aemerson@redhat.com>
Reviewed-By: Matt Benjamin <mbenjami@redhat.com>
2017-08-08 19:38:48 +02:00
Sage Weil
f19214687f doc/dev/index: update rados lead
Signed-off-by: Sage Weil <sage@redhat.com>
2017-08-08 13:37:42 -04:00
Sage Weil
dd84361c1e doc/dev/iana: document our official IANA numbers
PEN 50495
port 3300

Signed-off-by: Sage Weil <sage@redhat.com>
2017-08-08 13:36:39 -04:00
Jason Dillaman
3ecc35350a doc/release-notes: indicate that rbd-mirror should use unique IDs
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2017-08-08 12:46:56 -04:00
Jason Dillaman
b7ba3f68c3 doc: updated rbd-mirror daemon instructions
Fixes: http://tracker.ceph.com/issues/20701
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2017-08-08 12:43:32 -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
Abhishek Lekshmanan
a4c5ceaa6a doc: rgw mention about tagging & bucket policies in s3api
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
2017-08-08 18:39:46 +02:00
Mykola Golub
b4dbfcc879 rbd-ggate: tool to map images on FreeBSD via GEOM Gate
rbd-ggate spawns a process responsible for the creation of ggate
device and forwarding I/O requests between the GEOM Gate kernel
subsystem and RADOS.

On FreeBSD it provides functionality similar to rbd-nbd on Linux.

Signed-off-by: Mykola Golub <mgolub@mirantis.com>
2017-08-08 11:00:30 +02:00