Commit Graph

4444 Commits

Author SHA1 Message Date
Andrew Schoen
d4639ac116 ceph-volume: when zapping unmount osd directories
If you zap an lv, device or partition and it's currently mounted as a
ceph osd directory then it will be unmounted so the zap can complete.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
2018-02-13 16:58:05 -06: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
Kefu Chai
3a1357450c doc/dev/macos: add doc for building on MacOS
Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-02-13 00:05:47 +08: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
Kefu Chai
789b23ad85 doc/mgr: remove none user-facing code from doc
Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-02-09 01:47:35 +08: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
Casey Bodley
41229b47ed
Merge pull request #20188 from cbodley/wip-rgw-frontend-multimap
rgw: beast frontend can listen on multiple endpoints

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2018-02-05 13:52:04 -05:00
Abhishek Lekshmanan
640b2ae2ba doc: add sync modules to toc
Adding a seperate toc under sync modules for elastic, also renamed sync-plugins
to sync-modules

Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
2018-02-05 18:38:25 +01:00
Abhishek Lekshmanan
4306602862 doc: rgw add some basic documentation for sync plugins & ES
Mostly a rst formatted C-c C-v of Yehuda's mail to the ceph-devel lists

Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
2018-02-05 18:38:25 +01:00
Nathan Cutler
2855c30cdf doc: log-and-debug: fix default value of "log max recent"
Doc says 1000000, but the real figure is two orders of magnitude less:

    Option("log_max_recent", Option::TYPE_INT, Option::LEVEL_ADVANCED)
      .set_default(500)
      .set_daemon_default(10000)

Signed-off-by: Nathan Cutler <ncutler@suse.com>
2018-02-05 13:53:05 +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
0b2075759e doc/ceph-volume lvm prepare fully supports encryption now
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-02-02 08:36:45 -05:00
Alfredo Deza
e0d3bb8225 doc/ceph-volume scan update for encryption support
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-02-02 08:36:02 -05:00
Alfredo Deza
a7d11ca27d doc/ceph-volume remove notice that dmcrypt is not supported
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-02-02 08:28:40 -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
Casey Bodley
1bff073b0e rgw: beast frontend can listen on multiple endpoints
rgw_frontends options port= and endpoint= can be given multiple times,
and the beast frontend will listen on each endpoint

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

Signed-off-by: Casey Bodley <cbodley@redhat.com>
2018-02-01 11:22:25 -05:00
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
Casey Bodley
22df0fbffd rgw: civetweb accepts multiple port= entries
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2018-01-30 13:35:30 -05:00
Casey Bodley
50917930b9
Merge pull request #20058 from cbodley/wip-doc-rgw-frontends
doc/rgw: add page for http frontend configuration

Reviewed-by: Matt Benjamin <mbenjami@redhat.com>
2018-01-30 11:38:06 -05:00
Patrick Donnelly
0d6c5927ba
Merge PR #20165 into master
* refs/pull/20165/head:
	doc/client: uniform naming

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2018-01-30 08:35:58 -08:00
huanwen ren
78c3dfdf32 doc/client: uniform naming
Signed-off-by: huanwen ren <ren.huanwen@zte.com.cn>
2018-01-29 18:24:05 +08:00
John Spray
b2d406e07f
Merge pull request #20126 from tchaikov/wip-doc-mgr-auth
doc: update mgr related auth settings

Reviewed-by: John Spray <john.spray@redhat.com>
2018-01-29 10:03:36 +00: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
John Spray
29b5611d68 doc/dev: add a brief guide to serialization
Contributors encounter this pretty soon when trying
to add any feature to Ceph, so I'd like a central place
to point them to.

Ignoring feature bits etc for this simple example.

Signed-off-by: John Spray <john.spray@redhat.com>
2018-01-26 13:03:07 +00:00
Kefu Chai
8c2037effa doc: update mgr related auth settings
Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-01-26 15:24:47 +08: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
John Spray
191cce74e1 doc: note new mgr module error codes
Signed-off-by: John Spray <john.spray@redhat.com>
2018-01-24 13:08:21 -05:00
John Spray
712ad57d09 mgr: evaluate can_run method on modules
...and transmit the result to the monitor in
our beacon.

Fixes: http://tracker.ceph.com/issues/21502
Signed-off-by: John Spray <john.spray@redhat.com>
2018-01-24 13:08:20 -05:00
Andrew Schoen
f852f640bf
Merge pull request #20054 from ceph/wip-rm22619
ceph-volume: dmcrypt support for lvm

Reviewed-by: Andrew Schoen <aschoen@redhat.com>
2018-01-24 18:22:56 +01: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
Sage Weil
73934df3b0 doc/dev/msgr2.rst: a few notes on protocol goals
Signed-off-by: Sage Weil <sage@redhat.com>
2018-01-23 17:40:43 -06:00
Alfredo Deza
1ed0062eb6
Merge pull request #20010 from ceph/wip-rm22653
ceph-volume: adds a --destroy flag to ceph-volume lvm zap

Reviewed-by: Alfredo Deza <adeza@redhat.com>
2018-01-23 14:24:55 -05:00
Alfredo Deza
163ee6a612 doc/ceph-volume add lvm/encryption to the index
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-01-23 13:32:13 -05: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
Alfredo Deza
46babe80b6 doc/dev/ceph-volume update internal LVM metadata information
Includes dmcrypt information, and updated key names to reflect current
code

Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-01-23 13:32:13 -05:00
Jason Dillaman
ccd16d2215
Merge pull request #20020 from mikechristie/wip-doc-mnc-update-iscsi-client
doc: update ceph iscsi kernel and package info

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2018-01-23 09:11:32 -05:00
Mike Christie
3ab71020a5 doc: fix ceph-iscsi-config version number
Signed-off-by: Mike Christie <mchristi@redhat.com>
2018-01-22 17:10:04 -06:00
Alfredo Deza
a5f26c622b doc/ceph-volume OSD use the fsid file, not the osd_fsid
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-01-22 15:16:40 -05:00
Casey Bodley
b592ac44cc doc/rgw: add page for http frontend configuration
Fixes: http://tracker.ceph.com/issues/13523

Signed-off-by: Casey Bodley <cbodley@redhat.com>
2018-01-22 14:45:25 -05:00
Alfredo Deza
477670a091 doc/ceph-volume create an encryption doc explaining dmcrypt workflows
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-01-22 14:43:48 -05:00
Alfredo Deza
b020674f1e
Merge pull request #19960 from gohighsec/default_bluestore
doc: update man page to explain ceph-volume support bluestore

Reviewed-by: Alfredo Deza <adeza@redhat.com>
2018-01-22 14:42:58 -05:00
Sage Weil
b44bd85bbf
Merge pull request #20030 from tchaikov/wip-doc-cxx11
doc/dev/cxx: add C++11 ABI related doc
2018-01-22 10:49:14 -06:00
Abhishek Lekshmanan
5c09c7547c doc: rgw add the newly supported bucket policy conditionals
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
2018-01-22 14:47:33 +01:00
Shangzhong Zhu
e7d555b033 doc: redundant "cephfs" when set the "allow_multimds"
Signed-off-by: Shangzhong Zhu <zhu.shangzhong@zte.com.cn>
2018-01-22 19:46:16 +08:00
Mike Christie
5c30318660 doc: add ceph iscsi test kernel info
Signed-off-by: Mike Christie <mchristi@redhat.com>
2018-01-20 16:06:42 -06:00
Kefu Chai
92c2dd2750 doc/dev/cxx: add C++11 ABI related doc
Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-01-19 23:40:43 +08:00
Yuan Zhou
dcf70f5f64 doc: fix librbdpy example
need to connect cluster before opening ioctx

Signed-off-by: Yuan Zhou <yuan.zhou@intel.com>
2018-01-19 10:41:03 +08:00
Andrew Schoen
708cb43c50 ceph-volume: docs for the --destroy flag of lvm zap
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
2018-01-18 11:12:31 -06:00
Alfredo Deza
7cee6c8d46
Merge pull request #19949 from ceph/wip-bz1498521
ceph-volume: adds --crush-device-class flag for lvm prepare and create

Reviewed-by: Alfredo Deza <adeza@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-01-18 08:49:53 -05:00
songweibin
a68d08f88a doc/rbd: fix typo s/morror/mirror
Signed-off-by: songweibin <song.weibin@zte.com.cn>
2018-01-18 11:36:32 +08:00
John Wilkins
ee7d2dd092
Merge pull request #19931 from mikechristie/wip-doc-mnc-iscsi-updates
Misc iSCSI doc updates

Reviewed-by: John Wilkins <jowilkin@redhat.com>
2018-01-17 11:00:08 -08: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
Mike Christie
b56d994f3a doc: add rbd pool requirement for gwcli
Signed-off-by: Mike Christie <mchristi@redhat.com>
2018-01-16 12:48:55 -06:00
Mike Christie
4ca0d508bb doc: add daemon-reload for rbd-target-api setup
Signed-off-by: Mike Christie <mchristi@redhat.com>
2018-01-16 12:48:51 -06:00
Mike Christie
f45aafed1c doc: add gwcli manual install instructions
Signed-off-by: Mike Christie <mchristi@redhat.com>
2018-01-16 12:48:41 -06:00
Andrew Schoen
21f459437b ceph-volume: docs for --crush-device-class
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
2018-01-16 09:20:34 -06:00
Mike Christie
f80f083d0a doc: separate gwcli install from post install setup steps
Signed-off-by: Mike Christie <mchristi@redhat.com>
2018-01-15 13:02:24 -06:00
Mike Christie
3cc367dc6e doc: add note to clarify trusted_ip_list use
Signed-off-by: Mike Christie <mchristi@redhat.com>
2018-01-15 13:02:20 -06:00
Mike Christie
3806f9750d doc: update esx instructions
Signed-off-by: Mike Christie <mchristi@redhat.com>
2018-01-15 13:02:13 -06: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
Mike Christie
62661a2e23 doc: add warning about SCSI PGRs/reservations
Signed-off-by: Mike Christie <mchristi@redhat.com>
2018-01-11 19:57:54 -06:00
Mike Christie
78e12135ee doc: add esx web based client images
Signed-off-by: Mike Christie <mchristi@redhat.com>
2018-01-11 19:57:54 -06:00
Mike Christie
426b562fdc doc: remove windows based vsphere client images
Signed-off-by: Mike Christie <mchristi@redhat.com>
2018-01-11 19:57:54 -06:00
Mike Christie
480f6a82a2 doc: fix gwcli examples
Signed-off-by: Mike Christie <mchristi@redhat.com>
2018-01-11 19:57:54 -06:00
Mike Christie
f436e993d3 doc: Update ceph iscsi kernel/distro requirements.
Signed-off-by: Mike Christie <mchristi@redhat.com>
2018-01-11 19:57:54 -06:00
Sage Weil
c4a7881876
Merge pull request #19881 from liewegas/wip-kill-crush-location
ceph-crush-location: remove

Reviewed-by: Wido den Hollander <wido@widodh.nl>
2018-01-11 15:48:29 -06:00
Kefu Chai
98a38f408a
Merge pull request #19879 from jcsp/wip-doc-dashboard-standby
doc: update mgr/dashboard doc about standbys

Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-01-11 14:27:19 +08:00
Sage Weil
1d12dd40da
Merge pull request #19882 from adamwg/awg/fix-config-docs
doc: Update config file search paths to reflect reality
2018-01-10 10:00:06 -06:00
Kefu Chai
1128ac4651
Merge pull request #19374 from symptog/master
mgr/influx: Add InfluxDB SSL Option

Reviewed-by: Wido den Hollander <wido@42on.com>
2018-01-10 23:22:41 +08:00
Adam Wolfe Gordon
75d6b377fb doc: Update config file search paths to reflect reality
The config file paths listed in the docs don't match the config file
paths actually searched by ceph (see `src/common/config.cc`). Update the
docs to reflect the current reality.

Signed-off-by: Adam Wolfe Gordon <awg@digitalocean.com>
2018-01-09 23:07:53 +00:00
Sage Weil
3904bc0187 doc/rados/operations/crush-map: drop ceph-crush-location reference
Explain how to write a location hook; do not reference the old sample one.

Signed-off-by: Sage Weil <sage@redhat.com>
2018-01-09 16:35:04 -06:00
John Spray
fa14812cbb doc: update mgr/dashboard doc about standbys
Signed-off-by: John Spray <john.spray@redhat.com>
2018-01-09 22:23:33 +00: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
Patrick Donnelly
7829d22689
Merge PR #19791 into master
* refs/pull/19791/head:
	doc: misc fixes
	doc: fix heading

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2018-01-08 20:45:32 -08:00
Jos Collin
ecacd1078d doc: misc fixes
misc fixes for best-practices.

Signed-off-by: Jos Collin <jcollin@redhat.com>
2018-01-09 10:09:09 +05:30
Patrick Donnelly
cdea54757b
Merge PR #19807 into master
* refs/pull/19807/head:
	mds: warn for mds_cache_memory_limit bug in doc

Reviewed-by: Zheng Yan <zyan@redhat.com>
2018-01-08 14:27:36 -08:00
Patrick Donnelly
733d21f592
mds: warn for mds_cache_memory_limit bug in doc
Fixes: http://tracker.ceph.com/issues/22599

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2018-01-08 14:14:53 -08:00
Yuri Weinstein
5784779305
Merge pull request #19786 from dillaman/wip-osd-class-cap
osd: support class method whitelisting within caps

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2018-01-08 12:49:51 -08:00
Casey Bodley
b99dae03c3
Merge pull request #18324 from Jeegn-Chen/wip-bucket-quota-api
rgw: Admin API Support for bucket quota change

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2018-01-05 10:52:30 -05:00
Jos Collin
a925bb4520 doc: fix typo
Signed-off-by: Jos Collin <jcollin@redhat.com>
2018-01-05 19:37:31 +05:30
Jos Collin
db23f4ce30 doc: add mount.fuse.ceph to index
Added mount.fuse.ceph to index.rst

Fixes: http://tracker.ceph.com/issues/22595
Signed-off-by: Jos Collin <jcollin@redhat.com>
2018-01-05 19:29:55 +05:30
Jos Collin
a068fd842f doc: fix heading
Fixed 'Which kernel version?' heading not having brown color background.

Signed-off-by: Jos Collin <jcollin@redhat.com>
2018-01-05 11:24:28 +05:30
Jeegn Chen
0cbd26e88d doc: Add usage doc for individual bucket quota Admin API
Add usage doc for a new Admin API for individual bucket quota management

Fixes: http://tracker.ceph.com/issues/21811
Signed-off-by: Jeegn Chen <jeegnchen@gmail.com>
2018-01-05 01:48:51 +00:00
Jason Dillaman
f691ad1b93 doc/rados: document new class method whitelisting cap syntax
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2018-01-04 16:56:51 -05:00
Kefu Chai
37282f2158
Merge pull request #19752 from Liuchang0812/cleanup-dev-doc
doc: fix CFLAGS in doc/dev/cpu-profiler.rst

Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-01-03 15:46:25 +08:00
Chang Liu
489ef0f2be doc: fix CFLAGS in doc/dev/cpu-profiler.rst
Signed-off-by: Chang Liu <liuchang0812@gmail.com>
2018-01-03 15:19:06 +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
9fb89a8347
Merge pull request #19452 from wido/mgr-zabbix-runtimerror
mgr/Zabbix: Various fixes to Zabbix module

Reviewed-by: John Spray <john.spray@redhat.com>
2018-01-02 23:56:44 +08: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
1422785701
Merge pull request #15855 from linuxbox2/wip-nfs-docsync
RGW NFS:  mount cmdline example missing -osync

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2017-12-29 13:48:08 -06:00