Commit Graph

5927 Commits

Author SHA1 Message Date
Patrick Donnelly
30909f5a6a
Merge PR #29824 into master
* refs/pull/29824/head:
	qa: whitelist new FS_INLINE_DATA_DEPRECATED health warning
	mds: add a HEALTH_WARN message when inline_data is enabled
	mds: log a warning message when mds is started on an fs with inline_data
	mon: deprecate CephFS inline_data support

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Douglas Fuller <dfuller@redhat.com>
2019-09-24 04:32:28 -07:00
Patrick Donnelly
78b65e925a
Merge PR #30348 into master
* refs/pull/30348/head:
	doc: Add a new document on Dynamic Metadata Management in CephFS

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2019-09-23 19:36:17 -07:00
Sidharth Anupkrishnan
05bdceb1f7 doc: Add a new document on Dynamic Metadata Management in CephFS
Signed-off-by: Sidharth Anupkrishnan <sanupkri@redhat.com>
2019-09-23 19:57:26 +05:30
Sage Weil
ab594b9b31 Merge PR #30475 into master
* refs/pull/30475/head:
	qa/standalone/ceph-helpers: default pg autoscale mode off for standalone
	os/bluestore: fix objectstore_blackhole read-after-write
	test,misc: do not specify pg_num per pool
	mgr/volumes: do not specify pg_num
	pybind/ceph_volume_client: do not specify pg_num for new pools
	doc: remove all pg_num arguments to 'osd pool create'
	mon: do not require pg_num to 'osd pool create'
	common: default pg_autoscale_mode=on for new pools

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
2019-09-23 09:12:42 -05:00
Mykola Golub
9068510305
Merge pull request #30411 from dillaman/wip-41653
rbd-mirror: simplify peer bootstrapping

Reviewed-by: Mykola Golub <mgolub@suse.com>
2019-09-23 10:50:01 +03:00
Patrick Donnelly
9a274a6ae5
Merge PR #30428 into master
* refs/pull/30428/head:
	doc/dev/developer_guide: fix heading level

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: J. Eric Ivancich <ivancich@redhat.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2019-09-22 21:26:50 -07:00
Patrick Donnelly
61494b1c8b
Merge PR #30435 into master
* refs/pull/30435/head:
	doc: improve developer guide doc

Reviewed-by: Jeff Layton <jlayton@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2019-09-22 21:07:02 -07:00
Sage Weil
7b988e9fe1 doc: remove all pg_num arguments to 'osd pool create'
Also, update the dicussion about pg_num and pool creation, with a reference
to the autoscaler.

Signed-off-by: Sage Weil <sage@redhat.com>
2019-09-22 16:58:33 -05:00
Patrick Donnelly
7bce31f0b0
Merge PR #30427 into master
* refs/pull/30427/head:
	doc/cephfs: correct a description mistake about mds states

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2019-09-21 22:05:07 -07:00
Kefu Chai
a5160be989
Merge pull request #30383 from vumrao/wip-vumrao-tools-rados-add-pgid-in-help
tools/rados: add --pgid in help

Reviewed-by: Neha Ojha <nojha@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2019-09-22 11:37:41 +08:00
Yuval Lifshitz
751c4514e0
Merge pull request #28971 from yuvalif/wip-yuval-pubsub-api2
rgw/pubsub: add S3 compliant API to master zone
2019-09-20 01:35:02 +03:00
Casey Bodley
30b3ecbcc6
Merge pull request #29909 from cbodley/wip-40935
rgw: fix default storage class for get_compression_type

Reviewed-by: Abhishek Lekshmanan <abhishek@suse.com>
2019-09-19 14:22:18 -04:00
Jeff Layton
9c406d0ab3 mon: deprecate CephFS inline_data support
The plan is to start deprecating this feature now so that we can remove
it in a future release. Change it to require the
--yes-i-really-really-mean-it flag, and to emit a custom
warning when that isn't specified.

For now, we leave the testing in place since we do want to be notified
if something breaks before we're ready to rip it out completely.

Fixes: https://tracker.ceph.com/issues/41311
Signed-off-by: Jeff Layton <jlayton@redhat.com>
2019-09-19 09:15:13 -04:00
Kefu Chai
51dd3740db
Merge pull request #30453 from tchaikov/wip-doc-crimson
doc/dev/crimson: transpose options of compare.py

Reviewed-by: Yingxin Cheng <yingxin.cheng@intel.com>
2019-09-19 09:22:19 +08:00
Jason Dillaman
b1b934d24f doc/rbd: document new rbd mirror bootstrap commands
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2019-09-18 14:06:49 -04:00
Jason Dillaman
18e1d29fa3 doc/rbd: clarify cluster naming by using site-a/b
The local vs remote cluster naming has been confusing for multiple
users.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2019-09-18 14:06:49 -04:00
Kefu Chai
60a4dfd8ad doc/dev/crimson: transpose options of compare.py
they were `-a baseline -b test` before this change, and they should be
`-a test -b baseline`.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-09-18 17:15:27 +08:00
Vikhyat Umrao
ae9a24eaba tools/rados: add --pgid in help
This commit 825c7b9729 brought
the support for --pgid in rados ls but was not in help.
Fixes: https://tracker.ceph.com/issues/41876

Signed-off-by: Vikhyat Umrao <vumrao@redhat.com>
2019-09-17 14:07:12 -07:00
Casey Bodley
06cc5f4d3a
Merge pull request #29839 from hualongfeng/master
doc/radosgw/admin:fix how to modify subuser info

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2019-09-17 13:49:20 -04:00
Venky Shankar
382b089dde
Merge pull request #30381 from ajarr/fix-40689
doc: add ceph fs volumes and subvolumes documentation
2019-09-17 21:53:49 +05:30
Rishabh Dave
aa1fa3eba6 doc: improve developer guide doc
Mention that the virtual environment's default Python version should be
Python 2.7.

Signed-off-by: Rishabh Dave <ridave@redhat.com>
2019-09-17 21:46:29 +05:30
Nathan Cutler
cd07cb02cf doc/dev/developer_guide: fix heading level
Commit 3bb68e89f4 added a new subchapter under
"Testing -> Integration tests", but with the wrong heading level. This commit
fixes that and, additionally, splits the "Testing" chapter into two chapters so
the subheadings appear in the Table of Contents.

Signed-off-by: Nathan Cutler <ncutler@suse.com>
2019-09-17 17:15:49 +02:00
Alfredo Deza
712393daf3
Merge pull request #30429 from smithfarm/wip-rn-14.2.4
doc/releases: Ceph Nautilus v14.2.4 Release Notes

Reviewed-by: Alfredo Deza <adeza@redhat.com>
Reviewed-by:  Abhishek Lekshmanan <abhishek@suse.com>
2019-09-17 10:05:08 -04:00
Nathan Cutler
aea2a97200 doc/releases: Ceph Nautilus v14.2.4 Release Notes
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2019-09-17 15:10:01 +02:00
Xiao Guodong
7b5497d77a doc/cephfs: correct a description mistake about mds states
Fixes: http://tracker.ceph.com/issues/41893
Signed-off-by: Xiao Guodong <xiaogd@inspur.com>
2019-09-17 19:28:19 +08:00
Ramana Raja
aebf75c9df doc: add ceph fs volumes and subvolumes documentation
Fixes: https://tracker.ceph.com/issues/40689
Signed-off-by: Ramana Raja <rraja@redhat.com>
2019-09-17 15:56:47 +05:30
Patrick Donnelly
10cb50f994
Merge PR #29817 into master
* refs/pull/29817/head:
	doc: document that the kcephfs mount helper will search keyring files for secrets
	mount.ceph: fork a child to get info from local configuration
	mount.ceph: track mon string and path inside ceph_mount_info
	mount.ceph: add name and secret to ceph_mount_info
	mount.ceph: add ceph_mount_info structure
	mount.ceph: clean up debugging output and error messages
	mount.ceph: clean up return codes
	mount.ceph: add comment explaining why we need to modprobe
	mount.ceph: use bools for flags
	common: have read_secret_from_file return negative error codes

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2019-09-16 16:49:39 -07:00
Patrick Donnelly
b50295e3ef
Merge PR #30265 into master
* refs/pull/30265/head:
	doc: add a new document on CephFS distributed metadata cache

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2019-09-16 11:36:10 -07:00
Jeff Layton
29bb00c8e8 doc: add a new document on CephFS distributed metadata cache
Fixes: https://tracker.ceph.com/issues/41451
Signed-off-by: Jeff Layton <jlayton@redhat.com>
2019-09-16 14:35:07 -04:00
Patrick Donnelly
faac21f54f
Merge PR #29907 into master
* refs/pull/29907/head:
	doc: add a doc for vstart_runner.py

Reviewed-by: Varsha Rao <varao@redhat.com>
Reviewed-by: Jeff Layton <jlayton@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2019-09-13 12:04:45 -07:00
Casey Bodley
bf49aff3a1 rgw: disable compression/encryption on Appendable objects
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2019-09-13 14:49:46 -04:00
Andreas Krebs
76d3671d03 doc: Add missing ceph-volume lvm batch argument to ceph-volume.rst
The optional argument '--osds-per-device' is missing. Since this is quite helpful when creating NVMe based OSDs, it should be documented.

Signed-off-by: Andreas Krebs <wintamute@gmail.com>
2019-09-13 08:27:53 -04:00
Jeff Layton
551b271af4 doc: document that the kcephfs mount helper will search keyring files for secrets
Signed-off-by: Jeff Layton <jlayton@redhat.com>
2019-09-13 08:15:55 -04:00
Jeff Layton
eae0127513 mount.ceph: fork a child to get info from local configuration
When a secret and/or the mon addrs are not specified by the admin,
then mmap a MAP_SHARED buffer and spawn a child process to get that
info. For safety reasons, the child drops all capabilities other than
CAP_DAC_READ_SEARCH (to ensure that it'll be able to read the keyring,
should one be found). To achieve this, we add a new dependency on
libcap-ng.

Add a new C++ file with a single routine that will create a CephContext,
get a list of monitor addresses and scrape the keyring for a secret for
the specified cephx user.

If that info is found, then it is copied to fixed-length buffers in the
MAP_SHARED area and the child exits successfully.

The parent will then vet the returned info and copy it into the
appropriate fields if they are currently blank.

Fixes: https://tracker.ceph.com/issues/16656
Signed-off-by: Jeff Layton <jlayton@redhat.com>
2019-09-13 08:14:48 -04:00
Sebastian Wagner
8603e8394c
Merge pull request #29792 from sebastian-philipp/orchestrator-api-replace
mgr/orchestrator: Document OSD replacement

Reviewed-by: Juan Miguel Olmo Martínez <jolmomar@redhat.com>
Reviewed-by: Tim Serong <tserong@suse.com>
2019-09-12 17:46:27 +02:00
David Zafman
81bfdf6d0f
Merge pull request #30192 from dzafman/wip-41669
Make dumping of reservation info congruent between scrub and recovery

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
2019-09-11 14:20:24 -07:00
Rishabh Dave
0b5df40421 doc: add a doc for vstart_runner.py
Describe how to install teuthology, use vstart_runner.py to run tests
locally and briefly describe internals of vstart_runner.py

Signed-off-by: Rishabh Dave <ridave@redhat.com>
2019-09-11 23:37:58 +05:30
Patrick Donnelly
a779766be9
Merge PR #30014 into master
* refs/pull/30014/head:
	doc: update CephFS overview in introductory page
	doc: filesystem to file system

Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Ramana Raja <rraja@redhat.com>
Reviewed-by: Sidharth Anupkrishnan <sanupkri@redhat.com>
Reviewed-by: Rishabh Dave <ridave@redhat.com>
Reviewed-by: Jeff Layton <jlayton@redhat.com>
2019-09-11 09:59:51 -07:00
Yuval Lifshitz
543f8f7a27 rgw/pubsub: add notification filtering
Signed-off-by: Yuval Lifshitz <yuvalif@yahoo.com>
2019-09-11 19:24:55 +03:00
Lenz Grimmer
a9c2370ba8
Merge pull request #30292 from Reperator/wip-doc-dashboard-fix-typo
doc: Fixes typo for ceph dashboard command.
2019-09-11 07:17:46 +00:00
Sebastian Wagner
63d3a53386
Merge pull request #30281 from sebastian-philipp/doc-orchestrator-feature-update
doc/orchestrator: Sync status with reality

Reviewed-by: Tim Serong <tserong@suse.com>
2019-09-11 08:56:47 +02:00
Sage Weil
d1fd60b2da Merge PR #30308 into master
* refs/pull/30308/head:
	doc/dev: add teuthology priority recommendations

Reviewed-by: Neha Ojha <nojha@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: J. Eric Ivancich <ivancich@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
2019-09-10 16:13:33 -05:00
David Zafman
b3e1c58b0e osd: Replace active/pending scrub tracking for local/remote
This is similar to how recovery reservations are split between
local and remote.

It was the case that scrubs_pending was used for reservations at
the replicas as well as at the primary while requesting reservations
from the replicas.  There was no need for scrubs_pending to turn
into scrubs_active at the primary as nothing treated that value
as special.  scrubber.active = true when scrubbing is
actually going.

Now scurbber.local_reserved indicates scrubs_local incremented
Now scrubber.remote_reserved indicates scrubs_remote incremented

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

Signed-off-by: David Zafman <dzafman@redhat.com>
2019-09-10 13:33:27 -07:00
David Zafman
b98950e707 osd: Rename dump_reservations to dump_recovery_reservations
Signed-off-by: David Zafman <dzafman@redhat.com>
2019-09-10 13:32:29 -07:00
Patrick Donnelly
3bb68e89f4
doc/dev: add teuthology priority recommendations
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2019-09-10 12:59:28 -07:00
Alfredo Deza
5f5aac5c44
Merge pull request #30269 from dabukalam/patch-1
doc: Update ceph-deploy docs from dumpling to nautilus

Reviewed-by: Alfredo Deza <adeza@redhat.com>
2019-09-10 15:35:45 -04:00
Danny Abukalam
6deba986b3 doc: Update ceph-deploy docs from dumpling to nautilus
Signed-off-by: Danny Abukalam <danny@softiron.co.uk>
2019-09-10 18:53:48 +01:00
Patrick Donnelly
d2f705a2f2
doc: update CephFS overview in introductory page
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2019-09-10 09:37:41 -07:00
Yuval Lifshitz
923799fd96 rgw/pubsub: support deletion markers and multipart upload
Signed-off-by: Yuval Lifshitz <yuvalif@yahoo.com>
2019-09-10 18:54:05 +03:00
Yuval Lifshitz
c345566831 rgw/pubsub: push notifications documentation
Signed-off-by: Yuval Lifshitz <yuvalif@yahoo.com>
2019-09-10 18:54:05 +03:00