Commit Graph

562 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
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
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
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
Nathan Cutler
c02d41dcdb doc: document "rados cleanup" in rados manpage
Fixes: http://tracker.ceph.com/issues/20894
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2017-08-03 11:08:48 +02:00
Kefu Chai
f27d76400a doc/man/8/radosgw-admin: document --compression option
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-08-02 16:36:02 +08:00
songweibin
f9a94641e5 rbd: modified some commands' description into imperative sentence
Signed-off-by: songweibin <song.weibin@zte.com.cn>
2017-07-31 20:25:30 +08:00
Gregory Farnum
ba03ab92a8 Merge pull request #16629 from johnwilkins/wip-doc-remove-contractions
Remove contractions from the documentation.

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2017-07-27 10:49:38 -07:00
John Wilkins
ff2eebf88a doc/man: Removed contractions for ESL speakers.
Signed-off-by: John Wilkins <jowilkin@redhat.com>
2017-07-27 09:57:23 -07:00
Sage Weil
4eb1a518e3 mon: 'config-key put' -> 'config-key set'
Signed-off-by: Sage Weil <sage@redhat.com>
2017-07-26 14:10:08 -04:00
Sage Weil
f0b5900025 Merge pull request #16498 from Songweibin/wip-doc-rbd-trash-cli
doc: add rbd new trash cli and cleanups  in release-notes.rst
2017-07-25 21:49:26 -05:00
Kefu Chai
6ee0de8556 doc: document mClock related options
* rados/configuration/osd-config-ref.rst: document mClock related
  options
* release-notes.rst: fix syntax errors. link QoS to mClock related docs.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-07-25 12:59:13 +08:00
Kefu Chai
780c9acd43 doc: document "ceph osd set-require-min-compat-client"
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-07-24 18:16:25 +08:00
Kefu Chai
4a6a3413b2 doc: document "ceph features"
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-07-24 16:54:10 +08:00
songweibin
ba01a9462c doc: add rbd new trash cli in rbd.rst
Signed-off-by: songweibin <song.weibin@zte.com.cn>
2017-07-22 16:18:11 +08:00
Sage Weil
7d59d0d0b0 doc/man/8/ceph: document 'ceph mgr *' commands
Signed-off-by: Sage Weil <sage@redhat.com>
2017-07-21 11:25:26 -04:00
Sage Weil
3de9f22ce0 Merge pull request #16423 from liewegas/wip-ls
mon: '* list' -> '* ls'

Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-07-20 10:43:34 -05:00
Sage Weil
d6db84ca76 mon: hide 'osd crush rule list' (we prefer 'ls')
Signed-off-by: Sage Weil <sage@redhat.com>
2017-07-19 22:47:21 -04:00
Sage Weil
572a942f8f mon: 'auth list' -> 'auth ls'
Signed-off-by: Sage Weil <sage@redhat.com>
2017-07-19 12:33:14 -04:00
Sage Weil
2ebb8e13f6 mon: 'config-key list' -> 'config-key ls'
Signed-off-by: Sage Weil <sage@redhat.com>
2017-07-19 12:32:48 -04:00
Kefu Chai
a0d935966c doc: add instructions for replacing an OSD
* 8/ceph.rst: `rm` subcommand removes osd from osdmap, not the cluster.
  the latter is more ambiguous in different contexts.
* rados/operations/add-or-rm-osds.rst: add a subsection of "Replacing an
  OSD". update the subsection of "Removing the OSD" with "ceph osd
  purge" command
* release-notes.rst: link from it to the new subsection in add-or-rm-osds.rst

Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-07-19 11:23:47 +08:00
Kefu Chai
0abee472e3 mon: add force-create-pg back
and now it's "ceph osd force-create-pg'

Fixes: http://tracker.ceph.com/issues/20605
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-07-17 21:18:06 +08:00
Alfredo Deza
f04defe1b8 Merge pull request #16049 from fullerdj/wip-djf-key-timeout
ceph-create-keys: add an argument to override default 10-minute timeout

Reviewed-by: Alfredo Deza <adeza@redhat.com>
2017-07-10 07:52:24 -04:00
Douglas Fuller
73532825f5 ceph-create-keys: add an argument to override default 10-minute timeout
ceph-create-keys waits 10 minutes for mon quorum by default. Add an
option, -t, to override the timeout with a custom value in seconds.

Signed-off-by: Douglas Fuller <dfuller@redhat.com>
2017-07-07 17:43:37 -04:00
Jianpeng Ma
82a5e82f73 doc/rados.8: add offset option for put command.
Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
2017-07-06 21:55:11 +08:00
Sage Weil
0346998b5a doc: recommend against btrfs
Signed-off-by: Sage Weil <sage@redhat.com>
2017-06-30 13:54:18 -04:00
Joao Eduardo Luis
2fd3765440 mon: mark osd create as deprecated
With the introduction of `osd new`, we are now deprecating `osd create`
with the intent of removing it in a future release.

Signed-off-by: Joao Eduardo Luis <joao@suse.de>
2017-06-12 20:59:01 +01:00
Sameer Tiwari
9e37d893f0 Documentation: Fixed my mistake of describing the journal allowed vs desired.
Update to Bug http://tracker.ceph.com/issues/19879

Signed-off-by: Sameer Tiwari <stiwari@salesforce.com>
2017-06-07 11:53:22 -04:00
Sameer Tiwari
dcefefb554 Documentation Fixes for http://tracker.ceph.com/issues/19879
and related bug http://tracker.ceph.com/issues/20057

Signed-off-by: Sameer Tiwari <stiwari@salesforce.com>
2017-06-07 03:22:20 -04:00
Joao Eduardo Luis
e80faf198b doc/man: document new mon commands
Includes brief description for `ceph osd new`, `ceph osd destroy` and
`ceph osd purge`.

Signed-off-by: Joao Eduardo Luis <joao@suse.de>
2017-06-05 15:31:41 +01:00
Andreas Gerstmayr
5ededbef91 doc: add rados xattr commands to manpage
Signed-off-by: Andreas Gerstmayr <andreas.gerstmayr@catalysts.cc>
2017-05-30 16:02:09 +02:00
liuchang0812
a1cf9ae766 doc/tool: introduce "ceph tell x help" command in man
Signed-off-by: liuchang0812 <liuchang0812@gmail.com>
2017-05-26 10:27:26 +08:00
Kefu Chai
5af0f93f0e doc/8/man/ceph-detect-init: update with tested distro and init systems
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-05-12 15:26:12 +08:00
Drunkard Zhang
2df20b2b4b doc: cleanup in doc/man/8/ceph.rst
Subcommand doc has been removed in 904913b37f,
this is cleanup.

Signed-off-by: Drunkard Zhang <gongfan193@gmail.com>
2017-05-03 15:45:35 +08:00
Dan Mick
9f2e5c2418 mon/ConfigKeyService: add 'config-key dump' to show keys and vals
Signed-off-by: Dan Mick <dan.mick@redhat.com>
2017-04-27 20:09:24 -07:00
Ilya Dryomov
9038074796 Merge pull request #14785 from idryomov/wip-krbd-exclusive-option
rbd: recognize exclusive option

Reviewed-by: Mykola Golub <mgolub@mirantis.com>
2017-04-26 16:25:31 +02:00
Kefu Chai
b833ba71f1 Merge pull request #12460 from umullan/bucketunlink
doc: Correcting the remove bucket example and adding bucket link/unlink examples

Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-04-26 11:57:16 +08:00
Uday Mullangi
c7fb3db372 doc: Correcting the bucket unlink example with correct syntax
Signed-off-by: Uday Mullangi <umullangi@walmartlabs.com>
2017-04-26 09:26:52 +05:30
Ilya Dryomov
c72d8b0409 rbd: recognize exclusive map option
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
2017-04-25 20:15:41 +02:00
Nathan Cutler
b48b6f4ed8 doc: mention --show-mappings in crushtool manpage
Fixes: http://tracker.ceph.com/issues/19649
Signed-off-by: Loic Dachary <ldachary@redhat.com>
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2017-04-18 12:21:39 +02:00
David Zafman
a5731076ad osd: Handle backfillfull_ratio just like nearfull and full
Add BACKFILLFULL as a local OSD cur_state
Notify monitor of this new fullness state

Signed-off-by: David Zafman <dzafman@redhat.com>
2017-04-17 08:00:24 -07:00
Loic Dachary
8a2cf69ec4 Merge pull request #13310 from ceph/wip-ceph-disk-fix
ceph-disk: Add fix subcommand

Reviewed-by: Loic Dachary <ldachary@redhat.com>
2017-04-05 13:43:02 +02:00
Pan Liu
5c8d7bd1e4 rbd-nbd: polish the doc and help information.
Signed-off-by: Pan Liu <liupan1111@gmail.com>
2017-03-26 14:12:28 +08:00
wangzhengyong
02add5825c doc: add some undocumented options to rbd-nbd
Signed-off-by: wangzhengyong@cmss.chinamobile.com
2017-03-25 22:37:58 +08:00
Boris Ranto
6d5d30f6ed ceph-disk: Add fix subcommand
This subcommand will fix the SELinux labels and/or file permissions on
ceph data (/var/lib/ceph).

The command is also optimized to run the commands in parallel (per
sub-dir in /var/lib/ceph) and do restorecon and chown at the same time
to take advantage of the caching mechanisms.

Signed-off-by: Boris Ranto <branto@redhat.com>
2017-03-20 09:57:14 +01:00
Kefu Chai
ad4ffed838 Merge pull request #13936 from ZVampirEM77/cleanup-rgw-doc
doc: fix typos in radosgw-admin usage

Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-03-20 15:49:08 +08:00
Kefu Chai
58cbd2c315 man/8/ceph-disk: fix formatting
so the "optional argument" and "subcommands" subsections can be more
consistent with other man pages in ceph.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-03-15 13:56:52 +08:00
ZVampirEM77
ff20a0113d doc: fix typos in radosgw-admin usage
Signed-off-by: Enming Zhang <enming.zhang@umcloud.com>
2017-03-13 16:14:08 +08:00
Drunkard Zhang
230605eeeb doc: add missed commas
Signed-off-by: Drunkard Zhang <gongfan193@gmail.com>
2017-03-02 11:04:35 +08:00
Jason Dillaman
e0143b4952 Merge pull request #13361 from ddiss/rbdmap_unmap_from_file
rbdmap: consider /etc/ceph/rbdmap when unmapping images

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2017-02-22 12:53:55 -05:00
Dongsheng Yang
f16899a749 rbd: use the unified --export-format option for rbd export and rbd import
Signed-off-by: Dongsheng Yang <dongsheng.yang@easystack.cn>
2017-02-19 20:42:03 +08:00
Dongsheng Yang
26b858ee1e rbd: introduce --export-format to export command
Signed-off-by: Dongsheng Yang <dongsheng.yang@easystack.cn>
2017-02-19 20:42:03 +08:00
Dongsheng Yang
5e034600a2 rbd: introduce --import-format to import command
Signed-off-by: Dongsheng Yang <dongsheng.yang@easystack.cn>
2017-02-19 20:42:03 +08:00
David Disseldorp
f987396e12 doc: update description of rbdmap unmap[-all] behaviour
Fixes: http://tracker.ceph.com/issues/18884

Signed-off-by: David Disseldorp <ddiss@suse.de>
2017-02-16 20:31:45 +01:00
runsisi
1852dd27b8 mon/PGMonitor: ceph pg ls-by-pool only supports string type of pool arg
Signed-off-by: runsisi <runsisi@zte.com.cn>
2017-01-17 09:56:40 +08:00
Kefu Chai
2203a134d0 doc: update rados.8 with list-inconsistent-* commands
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-01-06 17:34:27 +08:00
Nathan Cutler
b61c8158d3 Merge pull request #11787 from SUSE/wip-17802
doc: clarify "ceph quorum" syntax

Reviewed-by: Joao Eduardo Luis <joao@suse.de>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-01-04 00:16:47 +01:00
Jason Dillaman
b4e10139fa Merge pull request #12509 from SUSE/wip-18262
doc: add verbiage to rbdmap manpage

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2017-01-03 09:32:37 -05:00
Nathan Cutler
76b31c1309 doc: clarify "ceph quorum" syntax
The man page did not prepare the user for the fact that "ceph quorum exit" will
cause a random monitor to leave quorum, nor did it say explicitly how to make
the command work on a specific monitor.

Fixes: http://tracker.ceph.com/issues/17802
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2016-12-27 12:11:04 +01:00
Nathan Cutler
fbac4a0815 doc: add verbiage to rbdmap manpage
Fixes: http://tracker.ceph.com/issues/18262
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2016-12-22 17:17:35 +01:00
Sage Weil
904913b37f mon/OSDMonitor: remove 'osd thrash' command
This is a dev hack to generate a bunch of bogus osdmaps.  The maps are
all screwed up anyway (e.g., invalid addrs) and this is minimally useful.

Signed-off-by: Sage Weil <sage@redhat.com>
2016-12-18 23:11:56 -05:00
Jason Dillaman
286ceb1e03 rados: optionally support reading omap key from file
Fixes: http://tracker.ceph.com/issues/18123
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2016-12-07 09:57:16 -05:00
Gregory Farnum
d54b8a2bc4 Merge pull request #11912 from SUSE/wip-17747-followup
doc: drop --journal-check from ceph-mds man page

Reviewed-by: John Spray <john.spray@redhat.com>
2016-11-14 13:07:06 -08:00