Commit Graph

480 Commits

Author SHA1 Message Date
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