Commit Graph

5944 Commits

Author SHA1 Message Date
xie xingguo
5f22e36b44 Revert "osd: give recovery ops initialized by client op a higher priority"
This reverts commit c0f87e0f91.

The 'osd_op_queue_cut_off' config option determines which level of
high priority ops should use strict priority ordering and may change
from time to time. Since the main strategy of 'osd_kick_recovery_op_priority'
is to simply follow up 'osd_op_queue_cut_off', we can instead make a direct
use of 'osd_op_queue_cut_off' to achieve the same thing explicitly.

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2019-09-29 13:08:29 +08:00
Kefu Chai
e741238745
Merge pull request #30441 from anthonyeleven/master
osd: Change osd op queue cut off default to high

Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
2019-09-28 16:05:05 +08:00
Sage Weil
dff5697464 Merge PR #30525 into master
* refs/pull/30525/head:
	qa/tasks/ceph.conf.template: disable power-of-2 warning
	qa/standalone/mon/health-mute: use power of 2 for pg_num
	osd/OSDMap: remove remaining g_conf() usage
	PendingReleaseNotes: add note for 14.2.5 so we can backport this
	osd/OSDMap: health alert for non-power-of-two pg_num

Reviewed-by: Kai Wagner <kwagner@suse.com>
Reviewed-by: Nathan Cutler <ncutler@suse.com>
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
2019-09-27 12:08:37 -05:00
Nathan Cutler
b4cec5a121
Merge pull request #30430 from smithfarm/wip-release-schedule-14.2.4
doc/releases/schedule.rst: add 14.2.3, 14.2.4, 15.0.0 and drop dumpling

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Abhishek Lekshmanan <abhishek@suse.com>
2019-09-27 11:58:32 +02:00
Patrick Donnelly
7baf44b89c
Merge PR #30406 into master
* refs/pull/30406/head:
	doc: move MDS deployment from main quick start to CephFS quick start
	doc: update CephFS Quick Start doc

Reviewed-by: Sidharth Anupkrishnan <sanupkri@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2019-09-26 23:51:15 -07:00
Patrick Donnelly
fa1ee5b4f6
Merge PR #30561 into master
* refs/pull/30561/head:
	doc/ceph-fuse: mention -k option in ceph-fuse man page

Reviewed-by: Douglas Fuller <dfuller@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Varsha Rao <varao@redhat.com>
Reviewed-by: Jeff Layton <jlayton@redhat.com>
Reviewed-by: Sidharth Anupkrishnan <sanupkri@redhat.com>
2019-09-26 23:11:05 -07:00
Patrick Donnelly
07db3c12a1
Merge PR #29906 into master
* refs/pull/29906/head:
	vstart_runner: name booleans for options differently
	qa/vstart_runner.py: add an option to remove old log
	qa/vstart_runner.py: make log initialization code reusable
	qa/vstart_runner.py: make printing of stdout of ps optional
	qa/vstart_runner.py: add timeout for vstart.sh and stop.sh
	qa/vstart_runner.py: add an option to teardown cluster

Reviewed-by: Jeff Layton <jlayton@redhat.com>
2019-09-26 22:12:03 -07:00
Rishabh Dave
26a18fca80 doc: move MDS deployment from main quick start to CephFS quick start
Signed-off-by: Rishabh Dave <ridave@redhat.com>
2019-09-25 13:03:09 +05:30
Rishabh Dave
cd3e0acb8d doc: update CephFS Quick Start doc
Also, skip the details about CephX user's keyring and monitor's socket
since the kernel driver can figure out these details automatically now.

Fixes: https://tracker.ceph.com/issues/41872
Signed-off-by: Rishabh Dave <ridave@redhat.com>
2019-09-25 13:02:23 +05:30
Rishabh Dave
a96a32bd2e doc/ceph-fuse: mention -k option in ceph-fuse man page
Fixes: https://tracker.ceph.com/issues/42044
Signed-off-by: Rishabh Dave <ridave@redhat.com>
2019-09-25 12:21:20 +05:30
Rishabh Dave
254f705e27 qa/vstart_runner.py: add an option to remove old log
Add an option "--clear-old-log" to get rid of log entries before making
entries for current batch of tests.

Signed-off-by: Rishabh Dave <ridave@redhat.com>
2019-09-25 12:13:10 +05:30
Rishabh Dave
1ef02b724d qa/vstart_runner.py: make printing of stdout of ps optional
stdout of ps command is generally pretty huge which makes it harder to
interpret logs. Don't print it by default and add "--log-ps-output" to
enable printing it.

Signed-off-by: Rishabh Dave <ridave@redhat.com>
2019-09-25 12:11:54 +05:30
Rishabh Dave
83ff993e95 qa/vstart_runner.py: add an option to teardown cluster
Add "--teardown" option so that vstart_runner.py tears down Ceph
cluster automatically after the batch of tests has completed running.
Also delete build/dev and build/out directories, after running stop.sh.

Update the doc for vstart_runner.py as well.

Signed-off-by: Rishabh Dave <ridave@redhat.com>
2019-09-25 12:09:58 +05:30
Sage Weil
6e46b1c0e5 osd/OSDMap: health alert for non-power-of-two pg_num
Fixes: https://tracker.ceph.com/issues/41647
Signed-off-by: Sage Weil <sage@redhat.com>
2019-09-24 09:26:33 -05:00
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
Anthony D'Atri
be4582c26a Change osd op queue cut off default to high
Discussion: https://www.mail-archive.com/ceph-users@ceph.io/msg00166.html

Signed-off-by: Anthony D'Atri <anthony.datri@gmail.com>
2019-09-18 06:50:27 -07: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
ad6304149e doc/releases/schedule.rst: drop dumpling from Timeline
The "dumpling" column goes past the right margin and looks wrong.
Also, this modification shortens the table by 10 rows or so, which
can't be a bad thing.

Signed-off-by: Nathan Cutler <ncutler@suse.com>
2019-09-17 17:42:50 +02:00
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
Nathan Cutler
53073a1528 doc/releases/schedule.rst: add Nautilus 14.2.3 and 14.2.4
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2019-09-17 16:29:19 +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