Commit Graph

626 Commits

Author SHA1 Message Date
Gregory Farnum
3e22376353
Merge branch 'master' into bug_fix_1 2018-10-22 16:11:48 -07:00
James McClune
8372e85f52
doc: add spacing to subcommand references
Added appropriate spacing for subcommand
code references.

Fixes: https://tracker.ceph.com/issues/36527

Signed-off-by: James McClune <jmcclune@mcclunetechnologies.net>
2018-10-19 00:34:54 -04:00
Sage Weil
7ac6ab4b2f Merge PR #24494 into master
* refs/pull/24494/head:
	ceph-kvstore-tool: rename repair -> destructive-repair

Reviewed-by: Neha Ojha <nojha@redhat.com>
2018-10-14 13:11:11 -05:00
Sage Weil
8cc6369511 ceph-kvstore-tool: rename repair -> destructive-repair
This is shown to corrupt otherwise healthy rocksdb databases.  Rename to
make it clear that it is generally not safe to run and shoud only be used
as a last resort.

Signed-off-by: Sage Weil <sage@redhat.com>
2018-10-14 11:41:24 -05:00
Mykola Golub
b3e4d43c15 rbd: add 'config global' command to get/store overrides in mon config db
Signed-off-by: Mykola Golub <mgolub@suse.com>
2018-10-10 17:31:32 +03:00
Rishabh Dave
35825f93a2 ceph: describe application subcommand in ceph man page
Add the summary and syntax for all the subcommands under the subcommand
"ceph osd pool application" to ceph the manual page.

Signed-off-by: Rishabh Dave <ridave@redhat.com>
2018-10-03 18:50:26 +05:30
Stefan Kooman
183caeced7 doc: add "--timeout" option to rbd-nbd
Fixes: https://tracker.ceph.com/issues/22333
Signed-off-by: Stefan Kooman <stefan@bit.nl>
2018-09-28 19:39:10 +02:00
Patrick Donnelly
c0ba741a6e
Merge PR #24158 into master
* refs/pull/24158/head:
	cephfs: remove vestiges of mds deactivate

Reviewed-by: Douglas Fuller <dfuller@redhat.com>
2018-09-24 14:39:45 -07:00
Jason Dillaman
762a7ae386
Merge pull request #23743 from trociny/wip-rbd-config-pool
librbd: pool and image level config overrides

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2018-09-24 10:19:01 -04:00
Sage Weil
57c34b1905 Merge PR #24197 into master
* refs/pull/24197/head:
	doc: remove Calamari content from ceph-deploy

Reviewed-by: Alfredo Deza <adeza@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
2018-09-20 12:16:05 -05:00
Andrew Schoen
0def1a8349
Merge pull request #24201 from alfredodeza/wip-rm36088
ceph-volume  batch: allow journal+block.db sizing on the CLI

Reviewed-by: Andrew Schoen <aschoen@redhat.com>
2018-09-20 11:53:14 -05:00
Alfredo Deza
042c2cbe47 doc/man/ceph-volume update batch command with new sizing flags
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-09-20 11:02:14 -04:00
John Spray
c25b26c8a5 doc: remove Calamari content from ceph-deploy
Signed-off-by: John Spray <john.spray@redhat.com>
2018-09-20 13:13:04 +01:00
Mykola Golub
ecdf8cd6b2 rbd: add config commands
Signed-off-by: Mykola Golub <mgolub@suse.com>
2018-09-20 10:35:18 +03:00
Patrick Donnelly
f113fa80a9
cephfs: remove vestiges of mds deactivate
Fixes: http://tracker.ceph.com/issues/24001

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2018-09-19 15:23:38 -07:00
Casey Bodley
5cb54ecf87 radosgw-admin: remove opstate commands
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2018-09-19 10:32:55 -04:00
Mykola Golub
ad9fc49776
Merge pull request #23896 from Songweibin/wip-group-snap-rollback
rbd: add group snap rollback method

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Reviewed-by: Mykola Golub <mgolub@suse.com>
2018-09-13 19:35:10 +03:00
songweibin
dec2ea83cf tools/rbd: support group snap rollback CLI
Signed-off-by: songweibin <song.weibin@zte.com.cn>
2018-09-12 23:42:15 +08:00
Sage Weil
856a01fcfc doc/man/8/ceph: drop enumeration of pg states
This is more maintainable.

Signed-off-by: Sage Weil <sage@redhat.com>
2018-09-07 12:09:42 -05:00
Ruben Kerkhof
d05cd1a3e6 doc: remove deprecated 'scrubq' from ceph(8)
The option was removed in a30cbe9ade

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

Signed-off-by: Ruben Kerkhof <ruben@rubenkerkhof.com>
2018-09-06 16:24:16 +02:00
Gangbiao Liu
c7f579ad44 doc: Fix Spelling Error In File "ceph.rst" and "rbd.rst"
Signed-off-by: Gangbiao Liu <liugangbiao@cmss.chinamobile.com>
2018-09-05 01:51:27 +08:00
Sage Weil
487cfabc4f radosgw-admin: remove -a --auth-uid arg
It was already a no-op.

Signed-off-by: Sage Weil <sage@redhat.com>
2018-08-31 15:54:58 -05:00
Sage Weil
b83b4d5874 mon/OSDMonitor: remove 'osd pool {get,set} <name> auid ...'
Signed-off-by: Sage Weil <sage@redhat.com>
2018-08-31 15:54:58 -05:00
Sage Weil
2c26fb0fe1 rados: drop mkpool, rmpool commands
- mkpool and rmpool users should use the normal cli/mon commands

Signed-off-by: Sage Weil <sage@redhat.com>
2018-08-31 09:27:36 -05:00
Sage Weil
d6def8ba11 ceph-authtool: remove auid options
Signed-off-by: Sage Weil <sage@redhat.com>
2018-08-31 09:26:19 -05:00
Alfredo Deza
f8db9faf98 doc/man/ceph-volume uncomment flags that are now fully supported in batch
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-08-28 13:34:25 -07:00
James McClune
9fd5dc9cc2
doc: added reference label for ceph-deploy page
Added reST label for ceph-deploy page.

Signed-off-by: James McClune <jmcclune@mcclunetechnologies.net>
2018-08-16 22:05:20 -04:00
Kefu Chai
4cf9e35cf5
Merge pull request #23564 from falcon78921/wip-docs-links-1
doc: fixed broken urls

Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-08-15 11:46:28 +08:00
Mykola Golub
7f27f19753 rbd: CLI to migrate images
Signed-off-by: Mykola Golub <mgolub@suse.com>
2018-08-14 18:29:45 -04:00
James McClune
d1c087c93d
doc: added osdmaptool cross reference
Added osdmaptool cross reference for docs/rados/operations/control.rst.

Signed-off-by: James McClune <jmcclune@mcclunetechnologies.net>
2018-08-14 17:59:09 -04:00
Bryan Stillwell
791b00daa1 doc: Multiple spelling fixes
I ran a lot of the docs through aspell and found a number of spelling problems.

Signed-off-by: Bryan Stillwell <bstillwell@godaddy.com>
2018-08-09 14:51:25 -06:00
Alfredo Deza
e00d9bbf53 doc/man/ceph-volume add batch information
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-08-06 09:43:10 -04:00
Jos Collin
152f4fba1e
doc: s/Ceph FS/CephFS
Fixes: https://github.com/ceph/ceph/pull/22784#discussion_r200755460
Signed-off-by: Jos Collin <jcollin@redhat.com>
2018-07-28 19:59:33 +05:30
Nathan Cutler
392c3fed5d doc/man: mention import and export commands in rados manpage
Fixes: http://tracker.ceph.com/issues/4640
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2018-07-23 19:23:33 +02:00
Nathan Cutler
7c9229e787 doc: use :command: for subcommands in ceph-bluestore-tool manpage
Older versions of Sphinx, such as the one in CentOS 7, do not render "..
option::" lines correctly if the option contains a hyphen but does not start
with a hyphen. And ceph-bluestore-tool appears to be the only Ceph manpage
affected by this bug.

Fixes: http://tracker.ceph.com/issues/24800
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2018-07-19 14:08:00 +02:00
Brad Fitzpatrick
64212f3e6d doc: fix some it's -> its typos
Signed-off-by: Brad Fitzpatrick <brad@danga.com>
2018-07-02 19:16:23 -07:00
Jason Dillaman
3e8624f157 rbd: add support for namespaces
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2018-06-22 10:43:51 -04:00
Mykola Golub
80a51c9714
Merge pull request #22608 from dillaman/wip-24410
librbd: namespace create/remove/list support

Reviewed-by: Mykola Golub <mgolub@suse.com>
2018-06-21 11:02:25 +03:00
Jason Dillaman
1c8312544f doc/rbd: update man page
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2018-06-20 12:39:34 -04:00
Sage Weil
3cd7d5eb22 Merge PR #22343 into master
* refs/pull/22343/head:
	qa/standalone remove ceph-disk from activate_osd helper
	cmake: remove subman.sh tests
	test remove ceph-disk directory
	debian: remove ceph_detect_init python files from base
	qa/standalone remove virtualenv paths for ceph-disk and ceph-detect-init
	debian: remove ceph-disk ceph-detect-init python files
	rpm: remove ceph-disk ceph-detect-init python files
	alpine: remove ceph-disk ceph-detect-init python files
	alpine: remove ceph-osd and parttypeuuid udev rules
	debian: remove ceph-osd and parttypeuuid udev rules
	rpm: remove ceph-osd and parttypeuuid udev rules
	ceph-helpers.sh: remove ceph-disk, set up osds directly
	CMakeLists.txt: add back CEPH_BUILD_VIRTUALENV
	alpine: remove ceph-disk, add ceph-volume in APKBUILD.in
	upstart: remove ceph-disk activation call
	doc/install add anchor for manual osd deployment in freebsd guide
	doc/dev remove ceph-disk from freebsd guide, link to manual reference
	doc/dev/config-key remove ceph-disk references
	doc/dev remove ceph-disk.rst
	doc/dev: change ceph-disk suite examples for ceph-deploy
	doc/man_index: remove ceph-disk, ceph-detect-init refs
	doc/install: remove ceph-disk from freebsd examples
	doc/rados remove ceph-disk from man references
	doc/man remove ceph-disk ref from ceph-volume-systemd
	doc/man: update reference from ceph-disk to ceph-volume
	doc/man: remove ceph-disk, ceph-detect-init from cmake
	doc/man/ceph-volume remove doc reference to ceph-disk
	doc/man: remove ceph-disk, ceph-detect-init
	qa/suites: remove ceph-disk
	qa/run-standalone.sh: remove requirement for ceph-detect-init virtualenv
	qa/workunits: remove ceph-detect-init from rbdmapfile test
	qa/workunits: remove ceph-detect-init from ceph-helpers-root.sh
	qa/workunits: remove ceph-disk
	build: remove ceph-disk from freebsd script
	cmake: remove ceph-disk, ceph-detect-init tox tests
	init-ceph: remove ceph-disk
	cmake: remove top-level entries for ceph-disk, ceph-detect-init
	debian: remove ceph-detect-init references
	debian: remove ceph-disk references
	src: remove ceph-detect-init tool
	rpm: remove ceph-disk, ceph-detect-init from spec file
	test: remove subman script
	script: remove subman script
	udev: remove parttypeuuid rules for ceph-disk
	tool remove ceph-disk from ps-ceph.pl
	upstart: remove ceph-disk conf file
	systemd: remove ceph-disk from CMakeLists
	systemd: remove ceph-disk service
	udev: remove ceph-disk rules
	src: remove ceph-disk tool
2018-06-19 07:07:55 -05:00
Patrick Donnelly
c2311e1aeb
Merge PR #22340 into master
* refs/pull/22340/head:
	doc: update description of mount options for cephfs

Reviewed-by: Zheng Yan <zyan@redhat.com>
2018-06-15 07:31:34 -07:00
Alfredo Deza
ff309578a3 doc/man remove ceph-disk ref from ceph-volume-systemd
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-06-13 15:16:24 -04:00
Alfredo Deza
c092ce219a doc/man: update reference from ceph-disk to ceph-volume
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-06-13 15:16:24 -04:00
Alfredo Deza
c652c9279c doc/man: remove ceph-disk, ceph-detect-init from cmake
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-06-13 15:16:24 -04:00
Alfredo Deza
3494b7afbc doc/man/ceph-volume remove doc reference to ceph-disk
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-06-13 15:16:24 -04:00
Alfredo Deza
cf0fb97eab doc/man: remove ceph-disk, ceph-detect-init
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-06-13 15:16:24 -04:00
Jos Collin
d0520bc849 doc: ceph-mds option updates
Signed-off-by: Jos Collin <jcollin@redhat.com>
2018-06-04 17:00:02 +05:30
Chengguang Xu
7fb3bf14c5 doc: update description of mount options for cephfs
Based on kernel client code, wsize/rsize have default
value 16777216 (16*1024*1024) and rasize actually aligns
to PAGE_SIZE.

Signed-off-by: Chengguang Xu <cgxu519@gmx.com>
2018-05-31 20:07:28 +08:00
Kefu Chai
921134312e
Merge pull request #22214 from joscollin/wip-ceph-fuse-typo
doc: Fix typo in ceph-fuse(8)

Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-05-24 20:16:50 +08:00
Jos Collin
7fd3189c98 doc: Fix typo in ceph-fuse
Fixes: https://github.com/ceph/ceph/pull/21616#pullrequestreview-122923127
Signed-off-by: Jos Collin <jcollin@redhat.com>
2018-05-24 17:28:53 +05:30
Casey Bodley
ab5a158a3b
Merge pull request #22100 from joscollin/wip-rgw-period
rgw: update --url in usage and doc

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2018-05-22 11:15:45 -04:00
Jos Collin
d14f05e45f rgw: update --url in usage and doc
Signed-off-by: Jos Collin <jcollin@redhat.com>
2018-05-19 14:13:16 +05:30
Alfredo Deza
0a4cebd1dd doc/man/ceph-volume explain encryption and activate all with examples
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-05-17 09:41:51 -04:00
Casey Bodley
f9ee48caa2 rgw: remove all traces of cls replica_log
replica log was for the old radosgw sync agent, which was replaced with
multisite v2 in jewel. no sense in continuing to maintain and test it

Signed-off-by: Casey Bodley <cbodley@redhat.com>
2018-04-26 11:40:11 -04:00
Andrew Schoen
e5dfec58ae
Merge pull request #21570 from alfredodeza/wip-cv-doc-updates
ceph-volume update man page for prepare/activate flags

Reviewed-by: Andrew Schoen <aschoen@redhat.com>
2018-04-20 17:40:11 +00:00
Alfredo Deza
a454abc863 doc/man/ceph-volume update flags for activate
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-04-20 12:48:09 -04:00
Alfredo Deza
ae96b9f0a2 doc/man/ceph-volume update flags for prepare
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-04-20 12:48:01 -04:00
Ilya Dryomov
260741a47d doc: lock_timeout is a per mapping option
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
2018-04-20 16:39:09 +02:00
Ilya Dryomov
d0ccfb4026
Merge pull request #21344 from yangdongsheng/lock_timeout
rbd: support lock_timeout in rbd mapping

Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
2018-04-19 10:26:09 +02:00
Dongsheng Yang
b09e4fe584 rbd: support lock_timeout in rbd mapping
Signed-off-by: Dongsheng Yang <dongsheng.yang@easystack.cn>
2018-04-19 02:59:21 -04:00
Ilya Dryomov
6931ab7ec9
Merge pull request #21056 from hitoshikamei/rbdmap-notrim
rbd: add notrim option to rbd map

Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
2018-04-19 08:51:57 +02:00
Casey Bodley
3eb5652b78
Merge pull request #20027 from Leeshine/wip-rgw-sync-bucket-shards
rgw: improve sync status: display behind bucket shards 

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2018-04-13 16:30:20 -04:00
Jason Dillaman
6885380c24
Merge pull request #18317 from hitoshikamei/master-rbd
rbd: eager-thick provisioning support

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2018-03-30 08:45:15 -04:00
Patrick Donnelly
388303f31a
Merge PR #20983 into master
* refs/pull/20983/head:
	ceph_authtool: add mode option

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2018-03-29 09:47:59 -07:00
Sébastien Han
b179cd2755 ceph_authtool: add mode option
We now have the ability to set the keyring file mode with the help of
'--mode MODE'. The mode needs to be specified in octal using the format:
0600.

Closes: http://tracker.ceph.com/issues/23513

Signed-off-by: Sébastien Han <seb@redhat.com>
2018-03-29 18:40:45 +02:00
Hitoshi Kamei
bed9225607 rbd: add notrim option to rbd map
Add the notrim option to the rbd map command to avoid
discarding allocated blocks from a fully provisioned image,
and add the description of notrim option to manpage.

When enabled, user programs such as mkfs.xfs will receive -EOPNOTSUPP
if it sends a discard request for an image with this option.

Signed-off-by: Hitoshi Kamei <hitoshi.kamei.xm@hitachi.com>
Cc: Mitsuo Hayasaka <mitsuo.hayasaka.hu@hitachi.com>
2018-03-27 15:39:02 +09:00
Nathan Cutler
b71eb01705
Merge pull request #19439 from chardan/jfw-wip-14363-normalize-rm
rgw, mon: normalize delete/remove in admin console (cleanup 22444)

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Joao Eduardo Luis <joao@suse.de>
2018-03-26 15:35:40 +02:00
Hitoshi Kamei
ab0fb4d86a rbd: manpage for thick provision
Add the description of --thick-provision option for the rbd command.

Signed-off-by: Hitoshi Kamei <hitoshi.kamei.xm@hitachi.com>
Cc: Mitsuo Hayasaka <mitsuo.hayasaka.hu@hitachi.com>
2018-03-13 17:25:35 +09:00
Shengjing Zhu
2cbba835aa misc: fix various spelling errors
Signed-off-by: Shengjing Zhu <i@zhsj.me>
2018-03-10 23:39:20 +08:00
Patrick Donnelly
a1c5a552b8
Merge PR #20705 into master
* refs/pull/20705/head:
	doc: Fix -d description in ceph-fuse

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2018-03-07 11:27:58 -08:00
Jos Collin
7a574be986 doc: Fix -d description in ceph-fuse
Fixes: http://tracker.ceph.com/issues/23214
Signed-off-by: Jos Collin <jcollin@redhat.com>
2018-03-07 08:47:15 +05:30
Sage Weil
47073dc19d doc/man/8/ceph-conf: make not about ceph-conf's lack of mon config support
Steer people toward the mon explicitly or the --show-config-value option.

Signed-off-by: Sage Weil <sage@redhat.com>
2018-03-06 14:44:49 -06:00
Jesse Williamson
fa5398d31f rgw: normalize delete/remove in admin console
Normalizes "rm", deprecates any other (eg. "delete", del",
or "remove"). Provides backward compatibility with
existing commands, deprecates non-"rm".

http://tracker.ceph.com/issues/14363

Cleanup: http://tracker.ceph.com/issues/22444
Signed-off-by: Jesse Williamson <jwilliamson@suse.de>
2018-03-06 06:51:48 -08: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
songweibin
7deeef9164 rbd: allow remove all unprotected snapshots
allow remove all unprotected snapshots when exiting
protected snapshots in the same image.
Fixes: http://tracker.ceph.com/issues/23126

Signed-off-by: songweibin <song.weibin@zte.com.cn>
2018-03-01 21:01:24 +08:00
Jason Dillaman
8f45676ec3 Merge pull request #20577 from Songweibin/wip-group-rename
rbd: add group rename methods

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2018-02-27 08:28:08 -05:00
songweibin
034ad878fd rbd: add 'group rename' action to CLI and Python API
Signed-off-by: songweibin <song.weibin@zte.com.cn>
2018-02-26 10:21:58 +08:00
Patrick Donnelly
d59b41342a
Merge PR #20562 into master
* refs/pull/20562/head:
	doc:Update ceph-fuse doc

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2018-02-24 10:25:47 -08:00
Jos Collin
12b4960656 doc:Update ceph-fuse doc
Fixes: http://tracker.ceph.com/issues/23084
Signed-off-by: Jos Collin <jcollin@redhat.com>
2018-02-23 20:27:45 +05:30
lvshanchun
33a0ec7164 doc: update radosgw-admin.rst and help.t about data sync status
Signed-off-by: lvshanchun <lvshanchun@gmail.com>
2018-02-23 13:04:58 +08:00
Alfredo Deza
bdd7a0f7fe doc/man update ceph-deploy for the new ceph-volume API
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-02-22 08:19:56 -05:00
Sage Weil
13738cd752
Merge pull request #19939 from liewegas/wip-osd-new-class
mon,osd: do not use crush_device_class file to initalize class for new osds

Reviewed-by: Alfredo Deza <adeza@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Andrew Schoen <aschoen@redhat.com>
2018-02-12 11:17:14 -06:00
Sage Weil
59bdada5d5 mon/OSDMonitor: accept crush_device_class in 'osd new' json input
If provided, set the OSD device_class at OSD creation time.  This is
simpler than writing a file that the OSD has to read in and use to
set its initial device class, and also avoids a bit of sticky state
at the OSD that will make it keep trying to reset its device class on
startup if it ever gets cleared.

Note that we now ignore json input fields we don't understand, so remove
a test case.

Signed-off-by: Sage Weil <sage@redhat.com>
2018-02-08 12:34:49 -06:00
Andrew Schoen
cf2bc0abcd
Merge pull request #20264 from ceph/wip-rm22620
ceph-volume dmcrypt support for simple

Reviewed-by: Andrew Schoen <aschoen@redhat.com>
2018-02-07 15:21:04 +01:00
Patrick Donnelly
8711d79133
Merge PR #20261 into master
* refs/pull/20261/head:
	doc: Fix path in ceph-fuse.rst

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2018-02-03 12:23:30 -08:00
Jason Dillaman
3ac57a7eb7
Merge pull request #19711 from trociny/wip-20762
rbd: unified way to map images using different drivers

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Reviewed-by: Ilya Dryomov <idryomov@redhat.com>
Reviewed-by: Willem Jan Withagen <wjw@digiware.nl>
2018-02-02 13:56:13 -05:00
Jason Dillaman
deeeaebfa4
Merge pull request #20199 from Songweibin/wip-group-cleanup
rbd: group misc cleanup and update rbd man page

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2018-02-02 10:25:50 -05:00
Alfredo Deza
9524021aa1 doc/man/ceph-volume add simple documentation
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-02-02 08:26:58 -05:00
Jos Collin
5cd3b8c759 doc: Fix path in ceph-fuse.rst
This mistake was introduced in 9b6f9da3ce.

Signed-off-by: Jos Collin <jcollin@redhat.com>
2018-02-02 16:18:30 +05:30
Jos Collin
9b6f9da3ce
Merge pull request #20071 from joscollin/wip-ceph-fuse-doc
doc: Specify mount details in ceph-fuse

Reviewed-by: Zheng Yan <zyan@redhat.com>
2018-02-02 12:00:18 +05:30
Jos Collin
025cfe3e53 doc: Specify mount details in ceph-fuse
Signed-off-by: Jos Collin <jcollin@redhat.com>
2018-02-02 10:56:48 +05:30
songweibin
0e50c352b3 pybind/rbd: fix some typo
Signed-off-by: songweibin <song.weibin@zte.com.cn>
2018-01-31 17:34:35 +08:00
songweibin
a12f9b81cb doc/rbd: update rbd man page
Signed-off-by: songweibin <song.weibin@zte.com.cn>
2018-01-31 12:20:18 +08:00
Mykola Golub
6a57358add rbd: unified way to map images using different drivers
Instead of "rbd map|unmap|showmapped", "rbd ndb map|unmap|list",
"rbd ggate map|unmap|list" commands, provide:

 rbd device -t krbd|nbd|ggate|... map|unmap|list

which gives interface consistent between drivers.

Signed-off-by: Mykola Golub <mgolub@suse.com>
2018-01-29 09:34:11 +02:00
Jason Dillaman
6253490445
Merge pull request #19996 from Songweibin/wip-rbd-deep-cp
rbd: add deep cp CLI method

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2018-01-25 21:59:31 -05:00
songweibin
0551029242 rbd: add deep cp CLI method
Signed-off-by: songweibin <song.weibin@zte.com.cn>
2018-01-24 09:04:33 +08:00
Alfredo Deza
babcdf2fa5 doc/man/ceph-volume add dmcrypt support
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-01-23 13:32:13 -05:00
Alfredo Deza
ad73be2c2a doc/man/ceph-volume add docs for zap sub-command
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-01-23 13:32:13 -05:00
Alfredo Deza
498d7a06a1 doc/man/ceph-volume add docs for list sub-command
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-01-23 13:32:13 -05:00
lijing
c8bdb49c92 doc: update man page to explain ceph-volume support bluestore
Fixes: http://tracker.ceph.com/issues/22663
Signed-off-by: Jing Li lijing@gohighsec.com
2018-01-17 10:19:03 +08:00
Yuri Weinstein
a7b97806fc
Merge pull request #19793 from badone/wip-blocking-deep-scrub
ceph.in: Add blocking mode for scrub and deep-scrub

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2018-01-12 14:47:30 -08:00
Brad Hubbard
774b3735f0 doc/man: Add '--block' option for ceph command
Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
2018-01-12 12:47:36 +10:00
Casey Bodley
cb0f1aa086
Merge pull request #19854 from fangyuxiangGL/doc-sync-err
rgw: add radosgw-admin sync error trim to trim sync error log

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2018-01-09 11:15:15 -05:00
fang yuxiang
233a4d237d rgw: add radosgw-admin sync error trim to trim sync error log
Signed-off-by: fang yuxiang fang.yuxiang@eisoo.com
2018-01-09 14:24:42 +08: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
Kefu Chai
0667c1aeb1 doc: remove duplicated --max-buckets option desc
Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-01-02 12:46:28 +08:00
Sage Weil
cb43b4f974
Merge branch 'master' into wip-doc-radosgw-admin-max-buckets 2017-12-29 12:01:18 -06:00
songweibin
b00047ac25 doc: add missing several commands in rbd CLI man page
fix: http://tracker.ceph.com/issues/14539

Signed-off-by: songweibin <song.weibin@zte.com.cn>
2017-12-24 09:21:08 +08:00
songweibin
a926481cec doc: make rbd commads arranged in alphabetical order
Signed-off-by: songweibin <song.weibin@zte.com.cn>
2017-12-22 16:05:04 +08:00
Casey Bodley
b2e431d03a
Merge pull request #19273 from qrGitHub/wip-rgw-typo-UNKNOWN
rgw: correct typo UNKOWN to UNKNOWN

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2017-12-19 10:16:34 -05:00
Patrick Donnelly
d1877b68d9
Merge PR #18512 into master
* refs/pull/18512/head:
	mon,mgr,doc,test: standardize argument as role

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2017-12-15 11:08:29 -08:00
Vedant Nanda
3da7c403c0 updated osdmaptool's usage and added documentation
Fixes: http://tracker.ceph.com/issues/3214
Signed-off-by: Vedant Nanda <vedant15114@iiitd.ac.in>
2017-12-11 23:57:03 +05:30
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
Rishabh Dave
39cd6f993f doc/man: mention "ls" in the ceph osd's subcommands list
Though "ls" command is explained and it's usage shown in the man page,
it is not mentioned in the subcommands list of "ceph osd" in the
beginning.

Signed-off-by: Rishabh Dave <ridave@redhat.com>
2017-12-07 20:04:19 +05:30
Jos Collin
3b6d6031ca mon,mgr,doc,test: standardize argument as role
`ceph rmfailed` refers to its argument as "who" and `ceph repaired` refers to its argument as "rank". We should make these commands and others consistent by standardizing the argument as "role".

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

Signed-off-by: Jos Collin <jcollin@redhat.com>
2017-12-06 10:01:25 +05:30
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
7671b66e19 doc/man remove deprecation of ceph-disk man page title
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-12-04 17:01:33 -05:00
Alfredo Deza
bd00560c20 doc/man add deprecation notices to ceph-disk man page
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
Bingyin Zhang
ecbe65bd22 rgw: correct typo UNKOWN to UNKNOWN
Signed-off-by: Bingyin Zhang <zhangbingyin@cloudin.cn>
2017-12-01 15:30:01 +08:00
Jos Collin
61123c4070
Merge pull request #19215 from joscollin/wip-mount-fuse-ceph-typo
doc: Fix typo in mount.fuse.ceph

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2017-11-29 22:48:07 +05:30
Jos Collin
3dfb57e0ed doc: Fix typo in mount.fuse.ceph
Signed-off-by: Jos Collin <jcollin@redhat.com>
2017-11-29 21:43:46 +05:30
Orit Wasserman
1ad4b8df6b
Merge pull request #18267 from joscollin/wip-update-radosgw-admin-doc
doc: Update commands and options in radosgw-admin
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
2017-11-29 15:08:47 +02:00
Jos Collin
76a8dc1e31 doc: Update all OPTIONS sections in radosgw-admin
Updated all OPTIONS sections in RADOSGW-ADMIN doc page, using the latest options from rgw_admin.cc::usage()

Signed-off-by: Jos Collin <jcollin@redhat.com>
2017-11-29 16:48:32 +05:30
Jos Collin
6c39818eaf doc: doc for mount.fuse.ceph
Created doc for mount.fuse.ceph.

Fixes: http://tracker.ceph.com/issues/21539
Signed-off-by: Jos Collin <jcollin@redhat.com>
2017-11-28 15:56:09 +05:30
Xiaojun Liao
2b0afa7762 doc: remove duplicate line from ceph-authtool man page
Signed-off-by: Xiaojun Liao <xiaojunliao85@gmail.com>
2017-11-27 15:49:27 +08:00
Clément Pellegrini
d681e00bb6 doc: add --max-buckets to radosgw-admin(8)
Signed-off-by: Clément Pellegrini <clement.pellegrini@qarnot-computing.com>
2017-11-22 12:52:45 +01: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
Jos Collin
593f65aa13 doc: Update COMMANDS section in radosgw-admin
Updated the COMMANDS section in RADOSGW-ADMIN doc page, using the latest commands from rgw_admin.cc::usage()

Signed-off-by: Jos Collin <jcollin@redhat.com>
2017-11-19 18:44:16 +05:30
Jos Collin
eeec36bf48 rgw: fix rewrite options usage text
Fixed rewrite options usage text properly.

Signed-off-by: Jos Collin <jcollin@redhat.com>
2017-11-17 11:08:15 +05:30
Jos Collin
407238a42c
Merge pull request #18918 from ZVampirEM77/wip-em-rewrite-cmd
rgw: add rewrite cmd and options into radosgw-admin usage and doc

Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Jos Collin <jcollin@redhat.com>
2017-11-16 10:25:32 +05:30
Enming Zhang
cefa401072 rgw: add rewrite related cmd and parameter into radosgw-admin help info
+ radosgw-admin object rewrite
+ radosgw-admin bucket rewrite
+ --min-rewrite-size
+ --max-rewrite-size
+ --min-rewrite-stripe-size

Signed-off-by: Enming Zhang <enming.zhang@umcloud.com>
2017-11-16 11:15:40 +08:00
lvshanchun
8f56897c43 rgw: add data sync related cmd into radosgw-admin help info
+ radosgw-admin data sync status
+ radosgw-admin data sync init
+ radosgw-admin data sync run

Signed-off-by: lvshanchun <lvshanchun@gmail.com>
2017-11-15 10:52:20 -05:00
Leeshine
677bd52b4a rgw: add metadata sync related cmd into radosgw-admin help info
+ radosgw-admin metadata sync status
+ radosgw-admin metadata sync init
+ radosgw-admin metadata sync run

Signed-off-by: lvshanchun <lvshanchun@gmail.com>
2017-11-15 10:49:24 -05: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
Douglas Fuller
cd3cb7d3d1 OSD/OSDCap: Allow namespace and pool tag to be combined
Extend the OSD auth caps grammar to allow namespace and pool tag
cap combinations. Namespace must be listed first. Example:

allow rwx namespace ns* tag application key = value

Signed-off-by: Douglas Fuller <dfuller@redhat.com>
2017-11-07 10:29:39 -05:00
Yao Zongyou
d418a04e9f ceph-bluestore-tool: the right action is prime-osd-dir not prime-osd-dev
Signed-off-by: Yao Zongyou <yaozongyou@vip.qq.com>
2017-10-28 18:22:27 +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
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
Kefu Chai
b40d3eb709 Merge pull request #18379 from liewegas/wip-kill-replay-interval
osd/osd_types: pg_pool_t: remove crash_replay_interval member

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2017-10-21 10:39:40 +08:00
Kefu Chai
21cf1eb4fd Merge pull request #18256 from liewegas/wip-bluestore-superblock
os/bluestore: allow reconstruction of osd data dir from bluestore bdev label

Reviewed-By: Alfredo Deza <adeza@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-10-19 13:51:18 +08:00
Sage Weil
a8a514b957 osd/osd_types: pg_pool_t: remove crash_replay_interval member
We removed the dual ack before luminous, so this option is completely
obsolete now.

Signed-off-by: Sage Weil <sage@redhat.com>
2017-10-18 16:05:19 -05:00
Sage Weil
7b91e50dbd doc/man/8/ceph-bluestore-tool: add man page
Signed-off-by: Sage Weil <sage@redhat.com>
2017-10-16 14:29:10 -05:00
liuchang0812
51b5ba1aa2 doc: introduce repair subcommon of ceph-kvstore-tool
Signed-off-by: liuchang0812 <liuchang0812@gmail.com>
2017-10-16 22:52:10 +08:00
Orit Wasserman
8ea13174f7 rgw: add reshard commands to the man pages
Fixes: http://tracker.ceph.com/issues/21617
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
2017-10-09 14:16:55 +03:00
Jason Dillaman
8e86a43b63 Merge pull request #17461 from PCzhangPC/bench_rw_test
rbd:introduce rbd bench rw(for read and write mix) test

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2017-10-03 13:16:24 -04: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
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
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